From 8398d7149d4c202d7eea299dbf5880e7eee131f8 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Thu, 2 Apr 2026 08:55:38 -0400 Subject: [PATCH] fix: flake.nix typo, generate.sh word-splitting, README accuracy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - flake.nix: fix gettex → gettext typo, restore codex package - generate.sh: replace ls-based loop with direct glob (word-splitting safe) - README.md: fix AGENTS.md source column (rules/*.md only, not CLAUDE.md) --- README.md | 2 +- flake.nix | 6 +++++- generate.sh | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9647e8d..7622784 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ nix develop # enter devShell with yq + envsubst |---|---|---| | `agents/*.md` (templates) | `claude/agents/*.md` | `~/.claude/agents/` | | `agents/*.md` (templates) | `codex/agents/*.toml` | `~/.codex/agents/` | -| `CLAUDE.md` + `rules/*.md` | `codex/AGENTS.md` | `~/.codex/AGENTS.md` | +| `rules/*.md` | `codex/AGENTS.md` | `~/.codex/AGENTS.md` | | `settings.json` | `codex/config.toml` | `~/.codex/config.toml` | | `skills/` | (shared as-is) | `~/.claude/skills/` + `~/.agents/skills/` | diff --git a/flake.nix b/flake.nix index f038eb6..3d58609 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,11 @@ in { devShells = forAllSystems (pkgs: { default = pkgs.mkShell { - packages = [ pkgs.yq-go pkgs.gettext pkgs.codex ]; + packages = with pkgs; [ + yq-go + gettext + codex + ]; }; }); }; diff --git a/generate.sh b/generate.sh index d6e4601..cfb08fa 100755 --- a/generate.sh +++ b/generate.sh @@ -254,7 +254,7 @@ TOML echo "# Agent Team Instructions" echo "" echo "Agent-team specific protocols live in skills (orchestrate, conventions, worker-protocol, qa-checklist, message-schema, project)." - for rules_file in $(ls "$RULES_DIR"/*.md | sort); do + for rules_file in "$RULES_DIR"/*.md; do echo "" cat "$rules_file" done