@cluesmith/codev 2.0.3 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard/dist/assets/index-BblS3DWL.js +135 -0
- package/dashboard/dist/assets/index-BblS3DWL.js.map +1 -0
- package/dashboard/dist/assets/index-Cr9PyjqX.css +32 -0
- package/dashboard/dist/index.html +2 -2
- package/dist/agent-farm/cli.d.ts.map +1 -1
- package/dist/agent-farm/cli.js +54 -61
- package/dist/agent-farm/cli.js.map +1 -1
- package/dist/agent-farm/commands/architect.d.ts +5 -5
- package/dist/agent-farm/commands/architect.d.ts.map +1 -1
- package/dist/agent-farm/commands/architect.js +37 -20
- package/dist/agent-farm/commands/architect.js.map +1 -1
- package/dist/agent-farm/commands/attach.d.ts +19 -0
- package/dist/agent-farm/commands/attach.d.ts.map +1 -1
- package/dist/agent-farm/commands/attach.js +169 -29
- package/dist/agent-farm/commands/attach.js.map +1 -1
- package/dist/agent-farm/commands/cleanup.d.ts +12 -0
- package/dist/agent-farm/commands/cleanup.d.ts.map +1 -1
- package/dist/agent-farm/commands/cleanup.js +108 -7
- package/dist/agent-farm/commands/cleanup.js.map +1 -1
- package/dist/agent-farm/commands/send.d.ts +22 -2
- package/dist/agent-farm/commands/send.d.ts.map +1 -1
- package/dist/agent-farm/commands/send.js +97 -178
- package/dist/agent-farm/commands/send.js.map +1 -1
- package/dist/agent-farm/commands/spawn-roles.d.ts +3 -9
- package/dist/agent-farm/commands/spawn-roles.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn-roles.js +14 -53
- package/dist/agent-farm/commands/spawn-roles.js.map +1 -1
- package/dist/agent-farm/commands/spawn-worktree.d.ts +11 -18
- package/dist/agent-farm/commands/spawn-worktree.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn-worktree.js +35 -22
- package/dist/agent-farm/commands/spawn-worktree.js.map +1 -1
- package/dist/agent-farm/commands/spawn.d.ts +8 -6
- package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn.js +207 -89
- package/dist/agent-farm/commands/spawn.js.map +1 -1
- package/dist/agent-farm/commands/start.d.ts.map +1 -1
- package/dist/agent-farm/commands/start.js +2 -6
- package/dist/agent-farm/commands/start.js.map +1 -1
- package/dist/agent-farm/commands/status.d.ts.map +1 -1
- package/dist/agent-farm/commands/status.js +5 -35
- package/dist/agent-farm/commands/status.js.map +1 -1
- package/dist/agent-farm/commands/stop.d.ts.map +1 -1
- package/dist/agent-farm/commands/stop.js +2 -6
- package/dist/agent-farm/commands/stop.js.map +1 -1
- package/dist/agent-farm/commands/tower-cloud.d.ts +2 -9
- package/dist/agent-farm/commands/tower-cloud.d.ts.map +1 -1
- package/dist/agent-farm/commands/tower-cloud.js +12 -47
- package/dist/agent-farm/commands/tower-cloud.js.map +1 -1
- package/dist/agent-farm/commands/tower.d.ts.map +1 -1
- package/dist/agent-farm/commands/tower.js +6 -23
- package/dist/agent-farm/commands/tower.js.map +1 -1
- package/dist/agent-farm/db/index.d.ts.map +1 -1
- package/dist/agent-farm/db/index.js +52 -2
- package/dist/agent-farm/db/index.js.map +1 -1
- package/dist/agent-farm/db/schema.d.ts +1 -1
- package/dist/agent-farm/db/schema.d.ts.map +1 -1
- package/dist/agent-farm/db/schema.js +1 -1
- package/dist/agent-farm/lib/cloud-config.d.ts +1 -0
- package/dist/agent-farm/lib/cloud-config.d.ts.map +1 -1
- package/dist/agent-farm/lib/cloud-config.js +2 -2
- package/dist/agent-farm/lib/cloud-config.js.map +1 -1
- package/dist/agent-farm/lib/tower-client.d.ts +65 -6
- package/dist/agent-farm/lib/tower-client.d.ts.map +1 -1
- package/dist/agent-farm/lib/tower-client.js +57 -2
- package/dist/agent-farm/lib/tower-client.js.map +1 -1
- package/dist/agent-farm/servers/overview.d.ts +157 -0
- package/dist/agent-farm/servers/overview.d.ts.map +1 -0
- package/dist/agent-farm/servers/overview.js +625 -0
- package/dist/agent-farm/servers/overview.js.map +1 -0
- package/dist/agent-farm/servers/tower-instances.d.ts +1 -3
- package/dist/agent-farm/servers/tower-instances.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-instances.js +12 -14
- package/dist/agent-farm/servers/tower-instances.js.map +1 -1
- package/dist/agent-farm/servers/tower-messages.d.ts +87 -0
- package/dist/agent-farm/servers/tower-messages.d.ts.map +1 -0
- package/dist/agent-farm/servers/tower-messages.js +202 -0
- package/dist/agent-farm/servers/tower-messages.js.map +1 -0
- package/dist/agent-farm/servers/tower-routes.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-routes.js +182 -34
- package/dist/agent-farm/servers/tower-routes.js.map +1 -1
- package/dist/agent-farm/servers/tower-server.js +30 -6
- package/dist/agent-farm/servers/tower-server.js.map +1 -1
- package/dist/agent-farm/servers/tower-terminals.d.ts +9 -3
- package/dist/agent-farm/servers/tower-terminals.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-terminals.js +129 -84
- package/dist/agent-farm/servers/tower-terminals.js.map +1 -1
- package/dist/agent-farm/servers/tower-tunnel.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-tunnel.js +3 -19
- package/dist/agent-farm/servers/tower-tunnel.js.map +1 -1
- package/dist/agent-farm/servers/tower-types.d.ts +0 -2
- package/dist/agent-farm/servers/tower-types.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-websocket.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-websocket.js +27 -5
- package/dist/agent-farm/servers/tower-websocket.js.map +1 -1
- package/dist/agent-farm/types.d.ts +4 -5
- package/dist/agent-farm/types.d.ts.map +1 -1
- package/dist/agent-farm/utils/agent-names.d.ts +85 -0
- package/dist/agent-farm/utils/agent-names.d.ts.map +1 -0
- package/dist/agent-farm/utils/agent-names.js +140 -0
- package/dist/agent-farm/utils/agent-names.js.map +1 -0
- package/dist/agent-farm/utils/display.d.ts +8 -0
- package/dist/agent-farm/utils/display.d.ts.map +1 -0
- package/dist/agent-farm/utils/display.js +26 -0
- package/dist/agent-farm/utils/display.js.map +1 -0
- package/dist/agent-farm/utils/message-format.d.ts +17 -0
- package/dist/agent-farm/utils/message-format.d.ts.map +1 -0
- package/dist/agent-farm/utils/message-format.js +41 -0
- package/dist/agent-farm/utils/message-format.js.map +1 -0
- package/dist/agent-farm/utils/notifications.d.ts.map +1 -1
- package/dist/agent-farm/utils/notifications.js +7 -16
- package/dist/agent-farm/utils/notifications.js.map +1 -1
- package/dist/agent-farm/utils/server-utils.d.ts +4 -0
- package/dist/agent-farm/utils/server-utils.d.ts.map +1 -1
- package/dist/agent-farm/utils/server-utils.js +20 -0
- package/dist/agent-farm/utils/server-utils.js.map +1 -1
- package/dist/agent-farm/utils/shell.d.ts +5 -0
- package/dist/agent-farm/utils/shell.d.ts.map +1 -1
- package/dist/agent-farm/utils/shell.js +15 -11
- package/dist/agent-farm/utils/shell.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +46 -15
- package/dist/cli.js.map +1 -1
- package/dist/commands/adopt.d.ts.map +1 -1
- package/dist/commands/adopt.js +1 -13
- package/dist/commands/adopt.js.map +1 -1
- package/dist/commands/consult/index.d.ts +34 -9
- package/dist/commands/consult/index.d.ts.map +1 -1
- package/dist/commands/consult/index.js +617 -263
- package/dist/commands/consult/index.js.map +1 -1
- package/dist/commands/consult/metrics.d.ts +90 -0
- package/dist/commands/consult/metrics.d.ts.map +1 -0
- package/dist/commands/consult/metrics.js +203 -0
- package/dist/commands/consult/metrics.js.map +1 -0
- package/dist/commands/consult/stats.d.ts +18 -0
- package/dist/commands/consult/stats.d.ts.map +1 -0
- package/dist/commands/consult/stats.js +150 -0
- package/dist/commands/consult/stats.js.map +1 -0
- package/dist/commands/consult/usage-extractor.d.ts +41 -0
- package/dist/commands/consult/usage-extractor.d.ts.map +1 -0
- package/dist/commands/consult/usage-extractor.js +122 -0
- package/dist/commands/consult/usage-extractor.js.map +1 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +5 -3
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +1 -13
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/porch/index.d.ts.map +1 -1
- package/dist/commands/porch/index.js +13 -12
- package/dist/commands/porch/index.js.map +1 -1
- package/dist/commands/porch/next.d.ts.map +1 -1
- package/dist/commands/porch/next.js +57 -77
- package/dist/commands/porch/next.js.map +1 -1
- package/dist/commands/porch/plan.d.ts.map +1 -1
- package/dist/commands/porch/plan.js +17 -2
- package/dist/commands/porch/plan.js.map +1 -1
- package/dist/commands/porch/prompts.d.ts +10 -1
- package/dist/commands/porch/prompts.d.ts.map +1 -1
- package/dist/commands/porch/prompts.js +56 -29
- package/dist/commands/porch/prompts.js.map +1 -1
- package/dist/commands/porch/protocol.js +2 -2
- package/dist/commands/porch/state.d.ts +13 -0
- package/dist/commands/porch/state.d.ts.map +1 -1
- package/dist/commands/porch/state.js +49 -2
- package/dist/commands/porch/state.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +0 -10
- package/dist/commands/update.js.map +1 -1
- package/dist/lib/github.d.ts +82 -0
- package/dist/lib/github.d.ts.map +1 -0
- package/dist/lib/github.js +181 -0
- package/dist/lib/github.js.map +1 -0
- package/dist/lib/scaffold.d.ts +0 -21
- package/dist/lib/scaffold.d.ts.map +1 -1
- package/dist/lib/scaffold.js +0 -57
- package/dist/lib/scaffold.js.map +1 -1
- package/dist/terminal/index.d.ts +16 -0
- package/dist/terminal/index.d.ts.map +1 -1
- package/dist/terminal/index.js +14 -0
- package/dist/terminal/index.js.map +1 -1
- package/dist/terminal/pty-manager.d.ts.map +1 -1
- package/dist/terminal/pty-manager.js +8 -5
- package/dist/terminal/pty-manager.js.map +1 -1
- package/dist/terminal/pty-session.js +4 -4
- package/dist/terminal/pty-session.js.map +1 -1
- package/dist/terminal/session-manager.d.ts +64 -0
- package/dist/terminal/session-manager.d.ts.map +1 -1
- package/dist/terminal/session-manager.js +299 -10
- package/dist/terminal/session-manager.js.map +1 -1
- package/dist/terminal/shellper-client.d.ts +2 -1
- package/dist/terminal/shellper-client.d.ts.map +1 -1
- package/dist/terminal/shellper-client.js +4 -2
- package/dist/terminal/shellper-client.js.map +1 -1
- package/dist/terminal/shellper-main.js +33 -4
- package/dist/terminal/shellper-main.js.map +1 -1
- package/dist/terminal/shellper-process.d.ts +24 -7
- package/dist/terminal/shellper-process.d.ts.map +1 -1
- package/dist/terminal/shellper-process.js +139 -36
- package/dist/terminal/shellper-process.js.map +1 -1
- package/dist/terminal/shellper-protocol.d.ts +1 -0
- package/dist/terminal/shellper-protocol.d.ts.map +1 -1
- package/dist/terminal/shellper-protocol.js.map +1 -1
- package/package.json +4 -1
- package/skeleton/.claude/skills/af/SKILL.md +10 -10
- package/skeleton/.claude/skills/consult/SKILL.md +55 -38
- package/skeleton/.claude/skills/porch/SKILL.md +53 -0
- package/skeleton/DEPENDENCIES.md +2 -2
- package/skeleton/builders.md +8 -19
- package/skeleton/maintain/.gitkeep +1 -1
- package/skeleton/porch/prompts/specify.md +1 -1
- package/skeleton/protocol-schema.json +1 -1
- package/skeleton/protocols/bugfix/prompts/pr.md +18 -7
- package/skeleton/protocols/bugfix/protocol.json +1 -1
- package/skeleton/protocols/experiment/protocol.md +17 -17
- package/skeleton/protocols/maintain/consult-types/impl-review.md +72 -0
- package/skeleton/protocols/maintain/consult-types/pr-review.md +72 -0
- package/skeleton/protocols/maintain/prompts/audit.md +2 -2
- package/skeleton/protocols/maintain/prompts/sync.md +1 -1
- package/skeleton/protocols/maintain/prompts/verify.md +1 -1
- package/skeleton/protocols/maintain/protocol.json +4 -4
- package/skeleton/protocols/maintain/protocol.md +11 -12
- package/skeleton/protocols/maintain/templates/maintenance-run.md +2 -2
- package/skeleton/protocols/protocol-schema.json +1 -1
- package/skeleton/protocols/spir/consult-types/impl-review.md +72 -0
- package/skeleton/protocols/spir/consult-types/phase-review.md +72 -0
- package/skeleton/protocols/spir/consult-types/pr-review.md +72 -0
- package/skeleton/protocols/spir/prompts/plan.md +4 -4
- package/skeleton/protocols/spir/prompts/review.md +8 -8
- package/skeleton/protocols/spir/prompts/specify.md +6 -6
- package/skeleton/protocols/spir/protocol.json +16 -16
- package/skeleton/protocols/spir/protocol.md +8 -8
- package/skeleton/protocols/spir/templates/review.md +2 -2
- package/skeleton/protocols/tick/consult-types/impl-review.md +72 -0
- package/skeleton/protocols/tick/consult-types/plan-review.md +59 -0
- package/skeleton/protocols/tick/consult-types/pr-review.md +72 -0
- package/skeleton/protocols/tick/consult-types/spec-review.md +55 -0
- package/skeleton/protocols/tick/protocol.json +2 -7
- package/skeleton/protocols/tick/protocol.md +31 -31
- package/skeleton/resources/commands/agent-farm.md +21 -19
- package/skeleton/resources/commands/codev.md +0 -36
- package/skeleton/resources/commands/consult.md +88 -234
- package/skeleton/resources/commands/overview.md +6 -7
- package/skeleton/resources/spikes.md +3 -3
- package/skeleton/resources/workflow-reference.md +28 -28
- package/skeleton/roles/architect.md +34 -38
- package/skeleton/roles/builder.md +14 -14
- package/skeleton/roles/consultant.md +6 -0
- package/skeleton/templates/AGENTS.md +6 -6
- package/skeleton/templates/CLAUDE.md +6 -6
- package/skeleton/templates/cheatsheet.md +22 -18
- package/skeleton/templates/lifecycle.md +9 -9
- package/skeleton/templates/pr-overview.md +5 -5
- package/templates/open.html +6 -3
- package/templates/tower.html +1 -41
- package/dashboard/dist/assets/index-4n9zpWLY.css +0 -32
- package/dashboard/dist/assets/index-UsH9ixz1.js +0 -136
- package/dashboard/dist/assets/index-UsH9ixz1.js.map +0 -1
- package/dist/agent-farm/commands/consult.d.ts +0 -15
- package/dist/agent-farm/commands/consult.d.ts.map +0 -1
- package/dist/agent-farm/commands/consult.js +0 -39
- package/dist/agent-farm/commands/consult.js.map +0 -1
- package/dist/agent-farm/utils/gate-status.d.ts +0 -16
- package/dist/agent-farm/utils/gate-status.d.ts.map +0 -1
- package/dist/agent-farm/utils/gate-status.js +0 -79
- package/dist/agent-farm/utils/gate-status.js.map +0 -1
- package/skeleton/templates/projectlist-archive.md +0 -21
- package/skeleton/templates/projectlist.md +0 -147
- /package/skeleton/{consult-types → protocols/bugfix/consult-types}/impl-review.md +0 -0
- /package/skeleton/{consult-types/pr-ready.md → protocols/bugfix/consult-types/pr-review.md} +0 -0
- /package/skeleton/{consult-types → protocols/spir/consult-types}/plan-review.md +0 -0
- /package/skeleton/{consult-types → protocols/spir/consult-types}/spec-review.md +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Implementation Review Prompt
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
You are reviewing implementation work during the Implement phase. A builder has completed a plan phase and needs feedback before proceeding. Your job is to verify the implementation matches the spec and plan.
|
|
5
|
+
|
|
6
|
+
## CRITICAL: Verify Before Flagging
|
|
7
|
+
|
|
8
|
+
Before requesting changes for missing configuration, incorrect patterns, or framework issues:
|
|
9
|
+
1. **Check `package.json`** for actual dependency versions — framework conventions change between major versions
|
|
10
|
+
2. **Read the actual config files** (or confirm their deliberate absence) before flagging missing configs
|
|
11
|
+
3. **Do not assume** your training data reflects the version in use — verify against project files
|
|
12
|
+
4. If "Previous Iteration Context" is provided, read it carefully before re-raising concerns that were already disputed
|
|
13
|
+
|
|
14
|
+
## Focus Areas
|
|
15
|
+
|
|
16
|
+
1. **Spec Adherence**
|
|
17
|
+
- Does the implementation fulfill the spec requirements for this phase?
|
|
18
|
+
- Are acceptance criteria met?
|
|
19
|
+
|
|
20
|
+
2. **Code Quality**
|
|
21
|
+
- Is the code readable and maintainable?
|
|
22
|
+
- Are there obvious bugs or issues?
|
|
23
|
+
- Are error cases handled appropriately?
|
|
24
|
+
|
|
25
|
+
3. **Test Coverage**
|
|
26
|
+
- Are the tests adequate for this phase?
|
|
27
|
+
- Do tests cover the main paths AND edge cases?
|
|
28
|
+
|
|
29
|
+
4. **Plan Alignment**
|
|
30
|
+
- Does the implementation follow the plan?
|
|
31
|
+
- Are there plan items skipped or partially completed?
|
|
32
|
+
|
|
33
|
+
5. **UX Verification** (if spec has UX requirements)
|
|
34
|
+
- Does the actual user experience match what the spec describes?
|
|
35
|
+
- If spec says "async" or "non-blocking", is it actually async?
|
|
36
|
+
|
|
37
|
+
## Verdict Format
|
|
38
|
+
|
|
39
|
+
After your review, provide your verdict in exactly this format:
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
---
|
|
43
|
+
VERDICT: [APPROVE | REQUEST_CHANGES | COMMENT]
|
|
44
|
+
SUMMARY: [One-line summary of your assessment]
|
|
45
|
+
CONFIDENCE: [HIGH | MEDIUM | LOW]
|
|
46
|
+
---
|
|
47
|
+
KEY_ISSUES:
|
|
48
|
+
- [Issue 1 or "None"]
|
|
49
|
+
- [Issue 2]
|
|
50
|
+
...
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**Verdict meanings:**
|
|
54
|
+
- `APPROVE`: Phase is complete, builder can proceed
|
|
55
|
+
- `REQUEST_CHANGES`: Issues that must be fixed before proceeding
|
|
56
|
+
- `COMMENT`: Minor suggestions, can proceed but note feedback
|
|
57
|
+
|
|
58
|
+
## Scoping (Multi-Phase Plans)
|
|
59
|
+
|
|
60
|
+
When the implementation plan has multiple phases (e.g., scaffolding, landing, media_rtl):
|
|
61
|
+
- **ONLY review work belonging to the current plan phase**
|
|
62
|
+
- The query will specify which phase you are reviewing
|
|
63
|
+
- Do NOT request changes for functionality scheduled in later phases
|
|
64
|
+
- Do NOT flag missing features that are out of scope for this phase
|
|
65
|
+
- If unsure whether something belongs to this phase, check the plan file
|
|
66
|
+
|
|
67
|
+
## Notes
|
|
68
|
+
|
|
69
|
+
- This is a phase-level review, not the final PR review
|
|
70
|
+
- Focus on "does this phase work" not "is the whole feature done"
|
|
71
|
+
- If referencing line numbers, use `file:line` format
|
|
72
|
+
- The builder needs actionable feedback to continue
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Plan Review Prompt
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
You are reviewing an implementation plan during the Plan phase. The spec has been approved - now you must evaluate whether the plan adequately describes HOW to implement it.
|
|
5
|
+
|
|
6
|
+
## Focus Areas
|
|
7
|
+
|
|
8
|
+
1. **Spec Coverage**
|
|
9
|
+
- Does the plan address all requirements in the spec?
|
|
10
|
+
- Are there spec requirements not covered by any phase?
|
|
11
|
+
- Are there phases that go beyond the spec scope?
|
|
12
|
+
|
|
13
|
+
2. **Phase Breakdown**
|
|
14
|
+
- Are phases appropriately sized (not too large or too small)?
|
|
15
|
+
- Is the sequence logical (dependencies respected)?
|
|
16
|
+
- Can each phase be completed and committed independently?
|
|
17
|
+
|
|
18
|
+
3. **Technical Approach**
|
|
19
|
+
- Is the implementation approach sound?
|
|
20
|
+
- Are the right files/modules being modified?
|
|
21
|
+
- Are there obvious better approaches being missed?
|
|
22
|
+
|
|
23
|
+
4. **Testability**
|
|
24
|
+
- Does each phase have clear test criteria?
|
|
25
|
+
- Will the Defend step (writing tests) be feasible?
|
|
26
|
+
- Are edge cases from the spec addressable?
|
|
27
|
+
|
|
28
|
+
5. **Risk Assessment**
|
|
29
|
+
- Are there potential blockers not addressed?
|
|
30
|
+
- Are dependencies on other systems identified?
|
|
31
|
+
- Is the plan realistic given constraints?
|
|
32
|
+
|
|
33
|
+
## Verdict Format
|
|
34
|
+
|
|
35
|
+
After your review, provide your verdict in exactly this format:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
---
|
|
39
|
+
VERDICT: [APPROVE | REQUEST_CHANGES | COMMENT]
|
|
40
|
+
SUMMARY: [One-line summary of your assessment]
|
|
41
|
+
CONFIDENCE: [HIGH | MEDIUM | LOW]
|
|
42
|
+
---
|
|
43
|
+
KEY_ISSUES:
|
|
44
|
+
- [Issue 1 or "None"]
|
|
45
|
+
- [Issue 2]
|
|
46
|
+
...
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Verdict meanings:**
|
|
50
|
+
- `APPROVE`: Plan is ready for human review
|
|
51
|
+
- `REQUEST_CHANGES`: Significant issues with approach or coverage
|
|
52
|
+
- `COMMENT`: Minor suggestions, plan is workable but could improve
|
|
53
|
+
|
|
54
|
+
## Notes
|
|
55
|
+
|
|
56
|
+
- The spec has already been approved - don't re-litigate spec decisions
|
|
57
|
+
- Focus on the quality of the plan as a guide for builders
|
|
58
|
+
- Consider: Would a builder be able to follow this plan successfully?
|
|
59
|
+
- If referencing existing code, verify file paths seem accurate
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# PR Ready Review Prompt
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
You are performing a final self-check during the Review phase. The builder has completed all implementation phases and is about to create a PR. This is the last check before the work goes to the architect for integration review.
|
|
5
|
+
|
|
6
|
+
## Focus Areas
|
|
7
|
+
|
|
8
|
+
1. **Completeness**
|
|
9
|
+
- Are all spec requirements implemented?
|
|
10
|
+
- Are all plan phases complete?
|
|
11
|
+
- Is the review document written (`codev/reviews/XXXX-name.md`)?
|
|
12
|
+
- Are all commits properly formatted (`[Spec XXXX][Phase]`)?
|
|
13
|
+
|
|
14
|
+
2. **Test Status**
|
|
15
|
+
- Do all tests pass?
|
|
16
|
+
- Is test coverage adequate for the changes?
|
|
17
|
+
- Are there any skipped or flaky tests?
|
|
18
|
+
|
|
19
|
+
3. **Code Cleanliness**
|
|
20
|
+
- Is there any debug code left in?
|
|
21
|
+
- Are there any TODO comments that should be resolved?
|
|
22
|
+
- Are there any `// REVIEW:` comments that weren't addressed?
|
|
23
|
+
- Is the code properly formatted?
|
|
24
|
+
|
|
25
|
+
4. **Documentation**
|
|
26
|
+
- Are inline comments clear where needed?
|
|
27
|
+
- Is the review document comprehensive?
|
|
28
|
+
- Are any new APIs documented?
|
|
29
|
+
|
|
30
|
+
5. **PR Readiness**
|
|
31
|
+
- Is the branch up to date with main?
|
|
32
|
+
- Are commits atomic and well-described?
|
|
33
|
+
- Is the change diff reasonable in size?
|
|
34
|
+
|
|
35
|
+
## Verdict Format
|
|
36
|
+
|
|
37
|
+
After your review, provide your verdict in exactly this format:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
---
|
|
41
|
+
VERDICT: [APPROVE | REQUEST_CHANGES | COMMENT]
|
|
42
|
+
SUMMARY: [One-line summary of your assessment]
|
|
43
|
+
CONFIDENCE: [HIGH | MEDIUM | LOW]
|
|
44
|
+
---
|
|
45
|
+
KEY_ISSUES:
|
|
46
|
+
- [Issue 1 or "None"]
|
|
47
|
+
- [Issue 2]
|
|
48
|
+
...
|
|
49
|
+
|
|
50
|
+
PR_SUMMARY: |
|
|
51
|
+
## Summary
|
|
52
|
+
[2-3 sentences describing what this PR does]
|
|
53
|
+
|
|
54
|
+
## Key Changes
|
|
55
|
+
- [Change 1]
|
|
56
|
+
- [Change 2]
|
|
57
|
+
|
|
58
|
+
## Test Plan
|
|
59
|
+
- [How to test]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Verdict meanings:**
|
|
63
|
+
- `APPROVE`: Ready to create PR
|
|
64
|
+
- `REQUEST_CHANGES`: Issues to fix before PR creation
|
|
65
|
+
- `COMMENT`: Minor items, can create PR but note feedback
|
|
66
|
+
|
|
67
|
+
## Notes
|
|
68
|
+
|
|
69
|
+
- This is the builder's final self-review before hand-off
|
|
70
|
+
- The PR_SUMMARY in your output can be used as the PR description
|
|
71
|
+
- Focus on "is this ready for someone else to review" not "is this perfect"
|
|
72
|
+
- Any issues found here are cheaper to fix than during integration review
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Specification Review Prompt
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
You are reviewing a feature specification during the Specify phase. Your role is to ensure the spec is complete, correct, and feasible before it moves to human approval.
|
|
5
|
+
|
|
6
|
+
## Focus Areas
|
|
7
|
+
|
|
8
|
+
1. **Completeness**
|
|
9
|
+
- Are all requirements clearly stated?
|
|
10
|
+
- Are success criteria defined?
|
|
11
|
+
- Are edge cases considered?
|
|
12
|
+
- Is scope well-bounded (not too broad or vague)?
|
|
13
|
+
|
|
14
|
+
2. **Correctness**
|
|
15
|
+
- Do requirements make sense technically?
|
|
16
|
+
- Are there contradictions?
|
|
17
|
+
- Is the problem statement accurate?
|
|
18
|
+
|
|
19
|
+
3. **Feasibility**
|
|
20
|
+
- Can this be implemented with available tools/constraints?
|
|
21
|
+
- Are there obvious technical blockers?
|
|
22
|
+
- Is the scope realistic for a single spec?
|
|
23
|
+
|
|
24
|
+
4. **Clarity**
|
|
25
|
+
- Would a builder understand what to build?
|
|
26
|
+
- Are acceptance criteria testable?
|
|
27
|
+
- Is terminology consistent?
|
|
28
|
+
|
|
29
|
+
## Verdict Format
|
|
30
|
+
|
|
31
|
+
After your review, provide your verdict in exactly this format:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
---
|
|
35
|
+
VERDICT: [APPROVE | REQUEST_CHANGES | COMMENT]
|
|
36
|
+
SUMMARY: [One-line summary of your assessment]
|
|
37
|
+
CONFIDENCE: [HIGH | MEDIUM | LOW]
|
|
38
|
+
---
|
|
39
|
+
KEY_ISSUES:
|
|
40
|
+
- [Issue 1 or "None"]
|
|
41
|
+
- [Issue 2]
|
|
42
|
+
...
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Verdict meanings:**
|
|
46
|
+
- `APPROVE`: Spec is ready for human review
|
|
47
|
+
- `REQUEST_CHANGES`: Significant issues must be fixed before proceeding
|
|
48
|
+
- `COMMENT`: Minor suggestions, can proceed but consider feedback
|
|
49
|
+
|
|
50
|
+
## Notes
|
|
51
|
+
|
|
52
|
+
- You are NOT reviewing code - you are reviewing the specification document
|
|
53
|
+
- Focus on WHAT is being built, not HOW it will be implemented (that's for plan review)
|
|
54
|
+
- Be constructive - identify issues AND suggest solutions
|
|
55
|
+
- If the spec references other specs, note if context seems missing
|
|
@@ -119,16 +119,11 @@
|
|
|
119
119
|
"consultation": {
|
|
120
120
|
"on": "review",
|
|
121
121
|
"models": ["gemini", "codex"],
|
|
122
|
-
"type": "impl
|
|
122
|
+
"type": "impl",
|
|
123
123
|
"parallel": true,
|
|
124
124
|
"max_rounds": 1
|
|
125
125
|
},
|
|
126
|
-
"gate":
|
|
127
|
-
"name": "pr-ready",
|
|
128
|
-
"description": "Amendment ready for PR",
|
|
129
|
-
"requires": ["tests_pass", "review_complete"],
|
|
130
|
-
"next": null
|
|
131
|
-
}
|
|
126
|
+
"gate": "pr"
|
|
132
127
|
}
|
|
133
128
|
],
|
|
134
129
|
"signals": {
|
|
@@ -50,7 +50,7 @@ TICK is an **amendment workflow** for existing SPIR specifications. Rather than
|
|
|
50
50
|
**Example**:
|
|
51
51
|
```
|
|
52
52
|
User: "Use TICK to add password reset to the auth system"
|
|
53
|
-
Agent finds: specs/
|
|
53
|
+
Agent finds: specs/2-user-authentication.md (status: integrated)
|
|
54
54
|
Agent determines: Next TICK is TICK-001 (first amendment)
|
|
55
55
|
```
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ Agent determines: Next TICK is TICK-001 (first amendment)
|
|
|
58
58
|
|
|
59
59
|
**Agent Actions**:
|
|
60
60
|
1. Analyze what needs to change in the spec
|
|
61
|
-
2. Update relevant sections of `specs
|
|
61
|
+
2. Update relevant sections of `specs/NNN-name.md`:
|
|
62
62
|
- Problem Statement (if scope expands)
|
|
63
63
|
- Success Criteria (if new criteria added)
|
|
64
64
|
- Solution Approaches (if design changes)
|
|
@@ -78,14 +78,14 @@ Agent determines: Next TICK is TICK-001 (first amendment)
|
|
|
78
78
|
**Plan Changes**:
|
|
79
79
|
- [Phase/steps]: [What was added/modified]
|
|
80
80
|
|
|
81
|
-
**Review**: See `reviews
|
|
81
|
+
**Review**: See `reviews/NNN-name-tick-001.md`
|
|
82
82
|
```
|
|
83
|
-
4. **COMMIT**: `[TICK
|
|
83
|
+
4. **COMMIT**: `[TICK NNN-NNN] Spec: [description]`
|
|
84
84
|
|
|
85
85
|
### Phase 3: Planning Amendment (Autonomous)
|
|
86
86
|
|
|
87
87
|
**Agent Actions**:
|
|
88
|
-
1. Update `plans
|
|
88
|
+
1. Update `plans/NNN-name.md` with new implementation steps
|
|
89
89
|
2. Add/modify phases as needed
|
|
90
90
|
3. Add entry to "Amendment History" section at bottom:
|
|
91
91
|
```markdown
|
|
@@ -95,9 +95,9 @@ Agent determines: Next TICK is TICK-001 (first amendment)
|
|
|
95
95
|
- [Phase added]: [Description]
|
|
96
96
|
- [Implementation steps]: [What was updated]
|
|
97
97
|
|
|
98
|
-
**Review**: See `reviews
|
|
98
|
+
**Review**: See `reviews/NNN-name-tick-001.md`
|
|
99
99
|
```
|
|
100
|
-
4. **COMMIT**: `[TICK
|
|
100
|
+
4. **COMMIT**: `[TICK NNN-NNN] Plan: [description]`
|
|
101
101
|
|
|
102
102
|
### Phase 4: Implementation (Autonomous)
|
|
103
103
|
|
|
@@ -105,12 +105,12 @@ Agent determines: Next TICK is TICK-001 (first amendment)
|
|
|
105
105
|
1. Execute implementation steps from the plan
|
|
106
106
|
2. Write code following fail-fast principles
|
|
107
107
|
3. Test functionality
|
|
108
|
-
4. **COMMIT**: `[TICK
|
|
108
|
+
4. **COMMIT**: `[TICK NNN-NNN] Impl: [description]`
|
|
109
109
|
|
|
110
110
|
### Phase 5: Review (User Checkpoint)
|
|
111
111
|
|
|
112
112
|
**Agent Actions**:
|
|
113
|
-
1. Create review document: `reviews
|
|
113
|
+
1. Create review document: `reviews/NNN-name-tick-NNN.md`
|
|
114
114
|
- What was amended and why
|
|
115
115
|
- Changes made to spec and plan
|
|
116
116
|
- Implementation challenges
|
|
@@ -120,7 +120,7 @@ Agent determines: Next TICK is TICK-001 (first amendment)
|
|
|
120
120
|
- Focus: Code quality, missed issues, improvements
|
|
121
121
|
- Update review with consultation feedback
|
|
122
122
|
3. **Update Architecture Documentation** (if applicable)
|
|
123
|
-
4. **COMMIT**: `[TICK
|
|
123
|
+
4. **COMMIT**: `[TICK NNN-NNN] Review: [description]`
|
|
124
124
|
5. **PRESENT TO USER**: Show summary with consultation insights
|
|
125
125
|
|
|
126
126
|
**User Actions**:
|
|
@@ -130,7 +130,7 @@ Agent determines: Next TICK is TICK-001 (first amendment)
|
|
|
130
130
|
|
|
131
131
|
**If Changes Requested**:
|
|
132
132
|
- Agent makes changes
|
|
133
|
-
- Commits: `[TICK
|
|
133
|
+
- Commits: `[TICK NNN-NNN] Fixes: [description]`
|
|
134
134
|
- Updates review document
|
|
135
135
|
- Repeats until user approval
|
|
136
136
|
|
|
@@ -140,9 +140,9 @@ TICK amendments modify existing files and create new review files:
|
|
|
140
140
|
|
|
141
141
|
| File Type | Pattern | Example |
|
|
142
142
|
|-----------|---------|---------|
|
|
143
|
-
| Spec (modified) | `specs
|
|
144
|
-
| Plan (modified) | `plans
|
|
145
|
-
| Review (new) | `reviews
|
|
143
|
+
| Spec (modified) | `specs/NNN-name.md` | `specs/2-user-authentication.md` |
|
|
144
|
+
| Plan (modified) | `plans/NNN-name.md` | `plans/2-user-authentication.md` |
|
|
145
|
+
| Review (new) | `reviews/NNN-name-tick-NNN.md` | `reviews/2-user-authentication-tick-001.md` |
|
|
146
146
|
|
|
147
147
|
**Note**: Spec and plan files are modified in-place. Only the review file is new.
|
|
148
148
|
|
|
@@ -151,16 +151,16 @@ TICK amendments modify existing files and create new review files:
|
|
|
151
151
|
**TICK commits reference the parent spec and TICK number**:
|
|
152
152
|
|
|
153
153
|
```
|
|
154
|
-
[TICK
|
|
155
|
-
[TICK
|
|
156
|
-
[TICK
|
|
157
|
-
[TICK
|
|
158
|
-
[TICK
|
|
154
|
+
[TICK 2-001] Spec: Add password reset feature
|
|
155
|
+
[TICK 2-001] Plan: Add password reset implementation
|
|
156
|
+
[TICK 2-001] Impl: Add password reset feature
|
|
157
|
+
[TICK 2-001] Review: Password reset implementation
|
|
158
|
+
[TICK 2-001] Fixes: Address review feedback
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
The format `[TICK
|
|
162
|
-
-
|
|
163
|
-
-
|
|
161
|
+
The format `[TICK <parent>-<tick>]` identifies:
|
|
162
|
+
- `<parent>`: Parent spec number (e.g., 2)
|
|
163
|
+
- `<tick>`: TICK amendment number (e.g., 001, 002, 003)
|
|
164
164
|
|
|
165
165
|
## Key Differences from SPIR
|
|
166
166
|
|
|
@@ -168,7 +168,7 @@ The format `[TICK ####-NNN]` identifies:
|
|
|
168
168
|
|--------|--------|------|
|
|
169
169
|
| Purpose | Create new features | Amend existing features |
|
|
170
170
|
| File creation | Creates new spec/plan/review | Modifies spec/plan, creates review |
|
|
171
|
-
| Sequential numbering | Gets new number (
|
|
171
|
+
| Sequential numbering | Gets new number (1, 2) | Uses parent's number (2-001) |
|
|
172
172
|
| Scope | Any size | < 300 lines typically |
|
|
173
173
|
| Prerequisites | None | Existing integrated spec required |
|
|
174
174
|
| User checkpoints | Multiple (spec, plan, phases) | Two (start, end) |
|
|
@@ -195,24 +195,24 @@ Is there an existing spec to amend?
|
|
|
195
195
|
**User**: "Add password reset to the user authentication system"
|
|
196
196
|
|
|
197
197
|
**Agent**:
|
|
198
|
-
1. **Identify**: Finds `specs/
|
|
198
|
+
1. **Identify**: Finds `specs/2-user-authentication.md` (integrated)
|
|
199
199
|
2. **Amend Spec** (30 seconds):
|
|
200
200
|
- Updates Success Criteria with password reset requirements
|
|
201
201
|
- Adds TICK-001 entry to Amendments section
|
|
202
|
-
- Commit: `[TICK
|
|
202
|
+
- Commit: `[TICK 2-001] Spec: Add password reset feature`
|
|
203
203
|
3. **Amend Plan** (30 seconds):
|
|
204
204
|
- Adds Phase 4: Password Reset Email Service
|
|
205
205
|
- Adds TICK-001 entry to Amendment History
|
|
206
|
-
- Commit: `[TICK
|
|
206
|
+
- Commit: `[TICK 2-001] Plan: Add password reset implementation`
|
|
207
207
|
4. **Implement** (2 minutes):
|
|
208
208
|
- Creates password reset endpoint
|
|
209
209
|
- Implements email service
|
|
210
210
|
- Tests functionality
|
|
211
|
-
- Commit: `[TICK
|
|
211
|
+
- Commit: `[TICK 2-001] Impl: Add password reset feature`
|
|
212
212
|
5. **Review** (1 minute):
|
|
213
|
-
- Creates `reviews/
|
|
213
|
+
- Creates `reviews/2-user-authentication-tick-001.md`
|
|
214
214
|
- Runs 3-way consultation (Gemini, Codex, Claude)
|
|
215
|
-
- Commit: `[TICK
|
|
215
|
+
- Commit: `[TICK 2-001] Review: Password reset implementation`
|
|
216
216
|
- Shows user the completed work
|
|
217
217
|
|
|
218
218
|
**Total Time**: ~4 minutes for simple amendment
|
|
@@ -243,8 +243,8 @@ Existing standalone TICK projects (created before this protocol change) are gran
|
|
|
243
243
|
**Optional Migration** (if desired):
|
|
244
244
|
1. Identify the "parent spec" the TICK logically extends
|
|
245
245
|
2. Move TICK content into an amendment entry in the parent spec
|
|
246
|
-
3. Archive the standalone files with a note: "Migrated to spec
|
|
247
|
-
4. Update
|
|
246
|
+
3. Archive the standalone files with a note: "Migrated to spec NNN as TICK-NNN"
|
|
247
|
+
4. Update the GitHub Issue to reflect the change
|
|
248
248
|
|
|
249
249
|
## Benefits
|
|
250
250
|
|
|
@@ -144,11 +144,13 @@ Does NOT clean up worktrees - use `af cleanup` for that.
|
|
|
144
144
|
Spawn a new builder.
|
|
145
145
|
|
|
146
146
|
```bash
|
|
147
|
-
af spawn [options]
|
|
147
|
+
af spawn [issue-number] [options]
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
+
**Arguments:**
|
|
151
|
+
- `issue-number` - Issue number to build (positional, e.g., `42`)
|
|
152
|
+
|
|
150
153
|
**Options:**
|
|
151
|
-
- `-p, --project <id>` - Spawn builder for a spec (e.g., `0042`)
|
|
152
154
|
- `--task <text>` - Spawn builder with a task description
|
|
153
155
|
- `--protocol <name>` - Spawn builder to run a protocol
|
|
154
156
|
- `--shell` - Spawn a bare Claude session
|
|
@@ -166,8 +168,8 @@ Creates a new builder in an isolated git worktree. The builder gets:
|
|
|
166
168
|
**Examples:**
|
|
167
169
|
|
|
168
170
|
```bash
|
|
169
|
-
# Spawn builder for
|
|
170
|
-
af spawn
|
|
171
|
+
# Spawn builder for issue #42
|
|
172
|
+
af spawn 42
|
|
171
173
|
|
|
172
174
|
# Spawn with task description
|
|
173
175
|
af spawn --task "Fix login bug in auth module"
|
|
@@ -176,7 +178,7 @@ af spawn --task "Fix login bug in auth module"
|
|
|
176
178
|
af spawn --shell
|
|
177
179
|
|
|
178
180
|
# Spawn with context files
|
|
179
|
-
af spawn
|
|
181
|
+
af spawn 42 --files "src/auth.ts,tests/auth.test.ts"
|
|
180
182
|
```
|
|
181
183
|
|
|
182
184
|
---
|
|
@@ -198,8 +200,8 @@ Displays the current state of all builders and the architect:
|
|
|
198
200
|
│ ID │ Name │ Status │ Branch │
|
|
199
201
|
├────────┼──────────────┼─────────────┼─────────┤
|
|
200
202
|
│ arch │ Architect │ running │ main │
|
|
201
|
-
│
|
|
202
|
-
│
|
|
203
|
+
│ 42 │ auth-feature │ implementing│ builder/42-auth │
|
|
204
|
+
│ 43 │ api-refactor │ pr │ builder/43-api │
|
|
203
205
|
└────────┴──────────────┴─────────────┴─────────┘
|
|
204
206
|
```
|
|
205
207
|
|
|
@@ -207,7 +209,7 @@ Status values:
|
|
|
207
209
|
- `spawning` - Worktree created, builder starting
|
|
208
210
|
- `implementing` - Actively working
|
|
209
211
|
- `blocked` - Stuck, needs architect help
|
|
210
|
-
- `pr
|
|
212
|
+
- `pr` - Implementation complete
|
|
211
213
|
- `complete` - Merged, can be cleaned up
|
|
212
214
|
|
|
213
215
|
---
|
|
@@ -232,10 +234,10 @@ Removes a builder's worktree and associated resources. By default, refuses to de
|
|
|
232
234
|
|
|
233
235
|
```bash
|
|
234
236
|
# Clean up completed builder
|
|
235
|
-
af cleanup -p
|
|
237
|
+
af cleanup -p 42
|
|
236
238
|
|
|
237
239
|
# Force cleanup (may lose work)
|
|
238
|
-
af cleanup -p
|
|
240
|
+
af cleanup -p 42 --force
|
|
239
241
|
```
|
|
240
242
|
|
|
241
243
|
---
|
|
@@ -249,7 +251,7 @@ af send [builder] [message] [options]
|
|
|
249
251
|
```
|
|
250
252
|
|
|
251
253
|
**Arguments:**
|
|
252
|
-
- `builder` - Builder ID (e.g., `
|
|
254
|
+
- `builder` - Builder ID (e.g., `42`)
|
|
253
255
|
- `message` - Message to send
|
|
254
256
|
|
|
255
257
|
**Options:**
|
|
@@ -270,16 +272,16 @@ Sends text to a builder's terminal. Useful for:
|
|
|
270
272
|
|
|
271
273
|
```bash
|
|
272
274
|
# Send message to builder
|
|
273
|
-
af send
|
|
275
|
+
af send 42 "Focus on the auth module first"
|
|
274
276
|
|
|
275
277
|
# Interrupt and send new instructions
|
|
276
|
-
af send
|
|
278
|
+
af send 42 --interrupt "Stop that. Try a different approach."
|
|
277
279
|
|
|
278
280
|
# Send to all builders
|
|
279
281
|
af send --all "Time to wrap up, create PRs"
|
|
280
282
|
|
|
281
283
|
# Include file content
|
|
282
|
-
af send
|
|
284
|
+
af send 42 --file src/api.ts "Review this implementation"
|
|
283
285
|
```
|
|
284
286
|
|
|
285
287
|
---
|
|
@@ -352,7 +354,7 @@ af rename <id> <name>
|
|
|
352
354
|
**Example:**
|
|
353
355
|
|
|
354
356
|
```bash
|
|
355
|
-
af rename
|
|
357
|
+
af rename 42 "auth-rework"
|
|
356
358
|
```
|
|
357
359
|
|
|
358
360
|
---
|
|
@@ -527,8 +529,8 @@ Customize commands via `af-config.json` at the project root:
|
|
|
527
529
|
Or override via CLI flags:
|
|
528
530
|
|
|
529
531
|
```bash
|
|
530
|
-
af start --architect-cmd "claude --model opus"
|
|
531
|
-
af spawn
|
|
532
|
+
af dash start --architect-cmd "claude --model opus"
|
|
533
|
+
af spawn 42 --builder-cmd "claude --model haiku"
|
|
532
534
|
```
|
|
533
535
|
|
|
534
536
|
---
|
|
@@ -537,8 +539,8 @@ af spawn -p 0042 --builder-cmd "claude --model haiku"
|
|
|
537
539
|
|
|
538
540
|
| File | Description |
|
|
539
541
|
|------|-------------|
|
|
540
|
-
| `.agent-farm/state.
|
|
541
|
-
| `~/.agent-farm/
|
|
542
|
+
| `.agent-farm/state.db` | Project runtime state (SQLite) |
|
|
543
|
+
| `~/.agent-farm/global.db` | Global port registry (SQLite) |
|
|
542
544
|
| `af-config.json` | Agent Farm configuration (project root) |
|
|
543
545
|
|
|
544
546
|
---
|
|
@@ -30,7 +30,6 @@ Creates a minimal codev project structure:
|
|
|
30
30
|
- `codev/specs/` - Specification files
|
|
31
31
|
- `codev/plans/` - Implementation plans
|
|
32
32
|
- `codev/reviews/` - Review documents
|
|
33
|
-
- `codev/projectlist.md` - Project tracking
|
|
34
33
|
- `CLAUDE.md` / `AGENTS.md` - AI agent instructions
|
|
35
34
|
- `.gitignore` - Standard ignores
|
|
36
35
|
|
|
@@ -95,7 +94,6 @@ Verifies that all required dependencies are installed and properly configured:
|
|
|
95
94
|
|
|
96
95
|
**Core Dependencies (required):**
|
|
97
96
|
- Node.js (>= 18.0.0)
|
|
98
|
-
- ttyd (>= 1.7.0)
|
|
99
97
|
- git (>= 2.5.0)
|
|
100
98
|
- gh (GitHub CLI, authenticated)
|
|
101
99
|
|
|
@@ -122,7 +120,6 @@ Codev Doctor - Checking your environment
|
|
|
122
120
|
Core Dependencies (required for Agent Farm)
|
|
123
121
|
|
|
124
122
|
✓ Node.js 20.10.0
|
|
125
|
-
✓ ttyd 1.7.4
|
|
126
123
|
✓ git 2.42.0
|
|
127
124
|
✓ gh authenticated
|
|
128
125
|
✓ @cluesmith/codev 1.0.0
|
|
@@ -172,39 +169,6 @@ codev update --force
|
|
|
172
169
|
|
|
173
170
|
---
|
|
174
171
|
|
|
175
|
-
### codev tower
|
|
176
|
-
|
|
177
|
-
Cross-project dashboard showing all agent-farm instances.
|
|
178
|
-
|
|
179
|
-
```bash
|
|
180
|
-
codev tower [options]
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
**Options:**
|
|
184
|
-
- `-p, --port <port>` - Port to run on (default: 4100)
|
|
185
|
-
- `--stop` - Stop the tower dashboard
|
|
186
|
-
|
|
187
|
-
**Description:**
|
|
188
|
-
|
|
189
|
-
Starts a web-based dashboard that shows all running agent-farm instances across different projects. Useful when working on multiple codev projects simultaneously.
|
|
190
|
-
|
|
191
|
-
The tower aggregates status from the global port registry at `~/.agent-farm/ports.json`.
|
|
192
|
-
|
|
193
|
-
**Examples:**
|
|
194
|
-
|
|
195
|
-
```bash
|
|
196
|
-
# Start tower dashboard
|
|
197
|
-
codev tower
|
|
198
|
-
|
|
199
|
-
# Start on custom port
|
|
200
|
-
codev tower -p 4200
|
|
201
|
-
|
|
202
|
-
# Stop the dashboard
|
|
203
|
-
codev tower --stop
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
---
|
|
207
|
-
|
|
208
172
|
## See Also
|
|
209
173
|
|
|
210
174
|
- [af](agent-farm.md) - Agent Farm commands
|