From 5893cb1faaa354057533ca13560353f3730fbb26 Mon Sep 17 00:00:00 2001 From: M Waleed Kadous Date: Thu, 30 Apr 2026 13:57:48 -0700 Subject: [PATCH 1/4] chore(porch): bugfix-712 init bugfix --- .../status.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml diff --git a/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml b/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml new file mode 100644 index 000000000..8f987a8c4 --- /dev/null +++ b/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml @@ -0,0 +1,12 @@ +id: bugfix-712 +title: stale-af-cli-references-in-res +protocol: bugfix +phase: investigate +plan_phases: [] +current_plan_phase: null +gates: {} +iteration: 1 +build_complete: false +history: [] +started_at: '2026-04-30T20:57:47.917Z' +updated_at: '2026-04-30T20:57:47.918Z' From e094db7ab98f827913cbbaf169890d6506277726 Mon Sep 17 00:00:00 2001 From: M Waleed Kadous Date: Thu, 30 Apr 2026 14:03:02 -0700 Subject: [PATCH 2/4] [Bugfix #712] Fix stale 'af' CLI references in resource docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Post-afx rename cleanup — updates references missed in PR #649 (Spec 647). Changes: - risk-triage.md (codev + codev-skeleton): path packages/codev/src/commands/af/ → packages/codev/src/agent-farm/commands/ - claude_vs_codev_task.md: example shell command stages af-config.json → .codev/config.json (v3 layout) - arch.md: remove stale "Utility | af-shell-{id}" session row (terminal_sessions schema only has 'architect', 'builder', 'shell') - arch.md: bin/ listing now includes afx.js (primary) alongside af.js (deprecated alias) - test-infrastructure.md: tests/e2e/af.bats → tests/e2e/afx.bats Out of scope: historical artifacts (codev/projects/, codev/specs/, codev/plans/, codev/reviews/, codev/resources/bench-results/, codev/team/people/), out-of-repo files (~/.claude/), and intentional backward-compat references (.af-cron/ filesystem path, af.js deprecated alias). Fixes #712 --- codev-skeleton/resources/risk-triage.md | 2 +- codev/resources/arch.md | 3 +-- codev/resources/claude_vs_codev_task.md | 2 +- codev/resources/risk-triage.md | 2 +- codev/resources/test-infrastructure.md | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/codev-skeleton/resources/risk-triage.md b/codev-skeleton/resources/risk-triage.md index 1a54377af..ccf5ab135 100644 --- a/codev-skeleton/resources/risk-triage.md +++ b/codev-skeleton/resources/risk-triage.md @@ -41,7 +41,7 @@ gh pr view --json files | jq '.files[].path' | `packages/codev/src/state/` | State management | High | | `codev/protocols/` | Protocol definitions | High | | `codev-skeleton/protocols/` | Protocol templates | High | -| `packages/codev/src/commands/af/` | Agent Farm commands | Medium | +| `packages/codev/src/agent-farm/commands/` | Agent Farm commands | Medium | | `packages/codev/src/commands/consult/` | Consultation system | Medium | | `packages/codev/src/lib/` | Shared libraries | Medium | | `packages/codev/src/commands/` (other) | CLI commands | Medium | diff --git a/codev/resources/arch.md b/codev/resources/arch.md index 32adf5cf8..af3701bc4 100644 --- a/codev/resources/arch.md +++ b/codev/resources/arch.md @@ -271,7 +271,6 @@ Each session has a unique name based on its purpose: | Architect | `architect` | `architect` | | Builder | `builder-{protocol}-{id}` | `builder-spir-126` | | Shell | `shell-{id}` | `shell-U1A2B3C4` | -| Utility | `af-shell-{id}` | `af-shell-U5D6E7F8` | #### node-pty Terminal Manager (Spec 0085, extended by Spec 0104) @@ -999,7 +998,7 @@ This is the `@cluesmith/codev` npm package containing all CLI tools: - `src/agent-farm/` - Agent Farm orchestration (afx command) - `src/commands/` - codev subcommands (init, adopt, doctor, update, eject, tower) - `src/commands/consult/` - Multi-agent consultation (consult command) - - `bin/` - CLI entry points (codev.js, af.js, consult.js, team.js, porch.js) + - `bin/` - CLI entry points (codev.js, afx.js, af.js (deprecated alias), consult.js, team.js, porch.js) - `skeleton/` - Embedded copy of codev-skeleton (built during `npm run build`) - `templates/` - HTML templates for Agent Farm (`afx`) dashboard and annotator - `dist/` - Compiled JavaScript diff --git a/codev/resources/claude_vs_codev_task.md b/codev/resources/claude_vs_codev_task.md index f987fa220..697a98ac8 100644 --- a/codev/resources/claude_vs_codev_task.md +++ b/codev/resources/claude_vs_codev_task.md @@ -76,7 +76,7 @@ Commit the settings in both repos: ```bash cd /tmp/todo-vibe-2026 && git add .claude/settings.json && git commit -m "Initial" && git push -cd /tmp/todo-spir-2026 && git add .claude/settings.json af-config.json codev/ CLAUDE.md AGENTS.md && git commit -m "Initial" && git push +cd /tmp/todo-spir-2026 && git add .claude/settings.json .codev/config.json codev/ CLAUDE.md AGENTS.md && git commit -m "Initial" && git push ``` ### 1.4 Write Prompt Files diff --git a/codev/resources/risk-triage.md b/codev/resources/risk-triage.md index 1a54377af..ccf5ab135 100644 --- a/codev/resources/risk-triage.md +++ b/codev/resources/risk-triage.md @@ -41,7 +41,7 @@ gh pr view --json files | jq '.files[].path' | `packages/codev/src/state/` | State management | High | | `codev/protocols/` | Protocol definitions | High | | `codev-skeleton/protocols/` | Protocol templates | High | -| `packages/codev/src/commands/af/` | Agent Farm commands | Medium | +| `packages/codev/src/agent-farm/commands/` | Agent Farm commands | Medium | | `packages/codev/src/commands/consult/` | Consultation system | Medium | | `packages/codev/src/lib/` | Shared libraries | Medium | | `packages/codev/src/commands/` (other) | CLI commands | Medium | diff --git a/codev/resources/test-infrastructure.md b/codev/resources/test-infrastructure.md index a12bc408e..cc00b7125 100644 --- a/codev/resources/test-infrastructure.md +++ b/codev/resources/test-infrastructure.md @@ -114,7 +114,7 @@ These are the most expensive tests and are NOT run in CI. | `tests/e2e/init.bats` | `codev init` creates correct files and directories | | `tests/e2e/adopt.bats` | `codev adopt` for existing projects | | `tests/e2e/doctor.bats` | `codev doctor` diagnostics | -| `tests/e2e/af.bats` | `afx` subcommands (status, help, etc.) | +| `tests/e2e/afx.bats` | `afx` subcommands (status, help, etc.) | | `tests/e2e/consult.bats` | `consult` subcommands | ### Legacy/framework tests From 00853e19f21798cd0117d7b567ed45ce1f61077f Mon Sep 17 00:00:00 2001 From: M Waleed Kadous Date: Thu, 30 Apr 2026 14:06:49 -0700 Subject: [PATCH 3/4] chore(porch): bugfix-712 fix phase-transition --- .../bugfix-712-stale-af-cli-references-in-res/status.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml b/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml index 8f987a8c4..187e9d0d7 100644 --- a/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml +++ b/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml @@ -1,7 +1,7 @@ id: bugfix-712 title: stale-af-cli-references-in-res protocol: bugfix -phase: investigate +phase: fix plan_phases: [] current_plan_phase: null gates: {} @@ -9,4 +9,4 @@ iteration: 1 build_complete: false history: [] started_at: '2026-04-30T20:57:47.917Z' -updated_at: '2026-04-30T20:57:47.918Z' +updated_at: '2026-04-30T21:06:49.621Z' From 04feb0306de8ad798d7876586b1f5e29b5f32ab1 Mon Sep 17 00:00:00 2001 From: M Waleed Kadous Date: Thu, 30 Apr 2026 14:08:35 -0700 Subject: [PATCH 4/4] chore(porch): bugfix-712 pr phase-transition --- .../bugfix-712-stale-af-cli-references-in-res/status.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml b/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml index 187e9d0d7..fbdfadd64 100644 --- a/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml +++ b/codev/projects/bugfix-712-stale-af-cli-references-in-res/status.yaml @@ -1,7 +1,7 @@ id: bugfix-712 title: stale-af-cli-references-in-res protocol: bugfix -phase: fix +phase: pr plan_phases: [] current_plan_phase: null gates: {} @@ -9,4 +9,4 @@ iteration: 1 build_complete: false history: [] started_at: '2026-04-30T20:57:47.917Z' -updated_at: '2026-04-30T21:06:49.621Z' +updated_at: '2026-04-30T21:08:35.302Z'