@cluesmith/codev 2.0.0-rc.6 → 2.0.0-rc.60
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/bin/af.js +2 -2
- package/bin/consult.js +1 -1
- package/bin/porch.js +6 -35
- package/dashboard/dist/assets/index-CXloFYpB.css +32 -0
- package/dashboard/dist/assets/index-Ca2fjOJf.js +131 -0
- package/dashboard/dist/assets/index-Ca2fjOJf.js.map +1 -0
- package/dashboard/dist/index.html +14 -0
- package/dist/agent-farm/cli.d.ts.map +1 -1
- package/dist/agent-farm/cli.js +94 -65
- package/dist/agent-farm/cli.js.map +1 -1
- package/dist/agent-farm/commands/architect.d.ts.map +1 -1
- package/dist/agent-farm/commands/architect.js +13 -6
- package/dist/agent-farm/commands/architect.js.map +1 -1
- package/dist/agent-farm/commands/attach.d.ts +13 -0
- package/dist/agent-farm/commands/attach.d.ts.map +1 -0
- package/dist/agent-farm/commands/attach.js +202 -0
- package/dist/agent-farm/commands/attach.js.map +1 -0
- package/dist/agent-farm/commands/cleanup.d.ts.map +1 -1
- package/dist/agent-farm/commands/cleanup.js +30 -3
- package/dist/agent-farm/commands/cleanup.js.map +1 -1
- package/dist/agent-farm/commands/consult.js +1 -1
- package/dist/agent-farm/commands/consult.js.map +1 -1
- package/dist/agent-farm/commands/index.d.ts +2 -2
- package/dist/agent-farm/commands/index.d.ts.map +1 -1
- package/dist/agent-farm/commands/index.js +2 -2
- package/dist/agent-farm/commands/index.js.map +1 -1
- package/dist/agent-farm/commands/open.d.ts +4 -2
- package/dist/agent-farm/commands/open.d.ts.map +1 -1
- package/dist/agent-farm/commands/open.js +37 -70
- package/dist/agent-farm/commands/open.js.map +1 -1
- package/dist/agent-farm/commands/send.d.ts.map +1 -1
- package/dist/agent-farm/commands/send.js +55 -17
- package/dist/agent-farm/commands/send.js.map +1 -1
- package/dist/agent-farm/commands/{util.d.ts → shell.d.ts} +5 -5
- package/dist/agent-farm/commands/shell.d.ts.map +1 -0
- package/dist/agent-farm/commands/{util.js → shell.js} +23 -36
- package/dist/agent-farm/commands/shell.js.map +1 -0
- package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn.js +503 -226
- package/dist/agent-farm/commands/spawn.js.map +1 -1
- package/dist/agent-farm/commands/start.d.ts +3 -0
- package/dist/agent-farm/commands/start.d.ts.map +1 -1
- package/dist/agent-farm/commands/start.js +55 -265
- package/dist/agent-farm/commands/start.js.map +1 -1
- package/dist/agent-farm/commands/status.d.ts +2 -0
- package/dist/agent-farm/commands/status.d.ts.map +1 -1
- package/dist/agent-farm/commands/status.js +61 -3
- package/dist/agent-farm/commands/status.js.map +1 -1
- package/dist/agent-farm/commands/stop.d.ts +6 -0
- package/dist/agent-farm/commands/stop.d.ts.map +1 -1
- package/dist/agent-farm/commands/stop.js +116 -12
- package/dist/agent-farm/commands/stop.js.map +1 -1
- package/dist/agent-farm/commands/tower.d.ts +9 -0
- package/dist/agent-farm/commands/tower.d.ts.map +1 -1
- package/dist/agent-farm/commands/tower.js +59 -19
- 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 +124 -0
- package/dist/agent-farm/db/index.js.map +1 -1
- package/dist/agent-farm/db/schema.d.ts +2 -2
- package/dist/agent-farm/db/schema.d.ts.map +1 -1
- package/dist/agent-farm/db/schema.js +26 -5
- package/dist/agent-farm/db/schema.js.map +1 -1
- package/dist/agent-farm/db/types.d.ts +3 -0
- package/dist/agent-farm/db/types.d.ts.map +1 -1
- package/dist/agent-farm/db/types.js +3 -0
- package/dist/agent-farm/db/types.js.map +1 -1
- package/dist/agent-farm/hq-connector.d.ts +2 -6
- package/dist/agent-farm/hq-connector.d.ts.map +1 -1
- package/dist/agent-farm/hq-connector.js +2 -17
- package/dist/agent-farm/hq-connector.js.map +1 -1
- package/dist/agent-farm/lib/tower-client.d.ts +157 -0
- package/dist/agent-farm/lib/tower-client.d.ts.map +1 -0
- package/dist/agent-farm/lib/tower-client.js +223 -0
- package/dist/agent-farm/lib/tower-client.js.map +1 -0
- package/dist/agent-farm/servers/tower-server.js +2137 -112
- package/dist/agent-farm/servers/tower-server.js.map +1 -1
- package/dist/agent-farm/state.d.ts +4 -10
- package/dist/agent-farm/state.d.ts.map +1 -1
- package/dist/agent-farm/state.js +30 -31
- package/dist/agent-farm/state.js.map +1 -1
- package/dist/agent-farm/types.d.ts +48 -1
- package/dist/agent-farm/types.d.ts.map +1 -1
- package/dist/agent-farm/utils/config.d.ts.map +1 -1
- package/dist/agent-farm/utils/config.js +13 -14
- package/dist/agent-farm/utils/config.js.map +1 -1
- package/dist/agent-farm/utils/deps.d.ts.map +1 -1
- package/dist/agent-farm/utils/deps.js +0 -16
- package/dist/agent-farm/utils/deps.js.map +1 -1
- package/dist/agent-farm/utils/notifications.d.ts +30 -0
- package/dist/agent-farm/utils/notifications.d.ts.map +1 -0
- package/dist/agent-farm/utils/notifications.js +121 -0
- package/dist/agent-farm/utils/notifications.js.map +1 -0
- package/dist/agent-farm/utils/port-registry.d.ts +0 -1
- package/dist/agent-farm/utils/port-registry.d.ts.map +1 -1
- package/dist/agent-farm/utils/port-registry.js +1 -1
- package/dist/agent-farm/utils/port-registry.js.map +1 -1
- package/dist/agent-farm/utils/server-utils.d.ts +4 -4
- package/dist/agent-farm/utils/server-utils.d.ts.map +1 -1
- package/dist/agent-farm/utils/server-utils.js +4 -15
- package/dist/agent-farm/utils/server-utils.js.map +1 -1
- package/dist/agent-farm/utils/shell.d.ts +9 -22
- package/dist/agent-farm/utils/shell.d.ts.map +1 -1
- package/dist/agent-farm/utils/shell.js +34 -34
- package/dist/agent-farm/utils/shell.js.map +1 -1
- package/dist/agent-farm/utils/terminal-ports.d.ts +1 -1
- package/dist/agent-farm/utils/terminal-ports.js +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +7 -54
- package/dist/cli.js.map +1 -1
- package/dist/commands/adopt.d.ts.map +1 -1
- package/dist/commands/adopt.js +49 -4
- package/dist/commands/adopt.js.map +1 -1
- package/dist/commands/consult/index.d.ts +1 -0
- package/dist/commands/consult/index.d.ts.map +1 -1
- package/dist/commands/consult/index.js +85 -6
- package/dist/commands/consult/index.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +0 -15
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +41 -2
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/porch/build-counter.d.ts +5 -0
- package/dist/commands/porch/build-counter.d.ts.map +1 -0
- package/dist/commands/porch/build-counter.js +5 -0
- package/dist/commands/porch/build-counter.js.map +1 -0
- package/dist/commands/porch/checks.d.ts +17 -29
- package/dist/commands/porch/checks.d.ts.map +1 -1
- package/dist/commands/porch/checks.js +96 -144
- package/dist/commands/porch/checks.js.map +1 -1
- package/dist/commands/porch/index.d.ts +21 -43
- package/dist/commands/porch/index.d.ts.map +1 -1
- package/dist/commands/porch/index.js +418 -1123
- package/dist/commands/porch/index.js.map +1 -1
- package/dist/commands/porch/next.d.ts +22 -0
- package/dist/commands/porch/next.d.ts.map +1 -0
- package/dist/commands/porch/next.js +479 -0
- package/dist/commands/porch/next.js.map +1 -0
- package/dist/commands/porch/plan.d.ts +70 -0
- package/dist/commands/porch/plan.d.ts.map +1 -0
- package/dist/commands/porch/plan.js +190 -0
- package/dist/commands/porch/plan.js.map +1 -0
- package/dist/commands/porch/prompts.d.ts +19 -0
- package/dist/commands/porch/prompts.d.ts.map +1 -0
- package/dist/commands/porch/prompts.js +255 -0
- package/dist/commands/porch/prompts.js.map +1 -0
- package/dist/commands/porch/protocol.d.ts +59 -0
- package/dist/commands/porch/protocol.d.ts.map +1 -0
- package/dist/commands/porch/protocol.js +294 -0
- package/dist/commands/porch/protocol.js.map +1 -0
- package/dist/commands/porch/state.d.ts +23 -112
- package/dist/commands/porch/state.d.ts.map +1 -1
- package/dist/commands/porch/state.js +81 -699
- package/dist/commands/porch/state.js.map +1 -1
- package/dist/commands/porch/types.d.ts +99 -164
- package/dist/commands/porch/types.d.ts.map +1 -1
- package/dist/commands/porch/types.js +2 -1
- package/dist/commands/porch/types.js.map +1 -1
- package/dist/commands/porch/verdict.d.ts +31 -0
- package/dist/commands/porch/verdict.d.ts.map +1 -0
- package/dist/commands/porch/verdict.js +59 -0
- package/dist/commands/porch/verdict.js.map +1 -0
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +31 -0
- package/dist/commands/update.js.map +1 -1
- package/dist/lib/scaffold.d.ts +37 -0
- package/dist/lib/scaffold.d.ts.map +1 -1
- package/dist/lib/scaffold.js +114 -0
- package/dist/lib/scaffold.js.map +1 -1
- package/dist/terminal/index.d.ts +8 -0
- package/dist/terminal/index.d.ts.map +1 -0
- package/dist/terminal/index.js +5 -0
- package/dist/terminal/index.js.map +1 -0
- package/dist/terminal/pty-manager.d.ts +60 -0
- package/dist/terminal/pty-manager.d.ts.map +1 -0
- package/dist/terminal/pty-manager.js +334 -0
- package/dist/terminal/pty-manager.js.map +1 -0
- package/dist/terminal/pty-session.d.ts +79 -0
- package/dist/terminal/pty-session.d.ts.map +1 -0
- package/dist/terminal/pty-session.js +215 -0
- package/dist/terminal/pty-session.js.map +1 -0
- package/dist/terminal/ring-buffer.d.ts +27 -0
- package/dist/terminal/ring-buffer.d.ts.map +1 -0
- package/dist/terminal/ring-buffer.js +74 -0
- package/dist/terminal/ring-buffer.js.map +1 -0
- package/dist/terminal/ws-protocol.d.ts +27 -0
- package/dist/terminal/ws-protocol.d.ts.map +1 -0
- package/dist/terminal/ws-protocol.js +44 -0
- package/dist/terminal/ws-protocol.js.map +1 -0
- package/package.json +18 -5
- package/skeleton/.claude/skills/af/SKILL.md +74 -0
- package/skeleton/.claude/skills/codev/SKILL.md +41 -0
- package/skeleton/.claude/skills/consult/SKILL.md +81 -0
- package/skeleton/.claude/skills/generate-image/SKILL.md +56 -0
- package/skeleton/DEPENDENCIES.md +3 -29
- package/skeleton/builders.md +1 -1
- package/skeleton/porch/prompts/defend.md +1 -1
- package/skeleton/porch/prompts/evaluate.md +2 -2
- package/skeleton/porch/prompts/implement.md +1 -1
- package/skeleton/porch/prompts/plan.md +1 -1
- package/skeleton/porch/prompts/review.md +4 -4
- package/skeleton/porch/prompts/specify.md +1 -1
- package/skeleton/porch/prompts/understand.md +2 -2
- package/skeleton/protocol-schema.json +282 -0
- package/skeleton/protocols/bugfix/builder-prompt.md +54 -0
- package/skeleton/protocols/bugfix/prompts/fix.md +77 -0
- package/skeleton/protocols/bugfix/prompts/investigate.md +77 -0
- package/skeleton/protocols/bugfix/prompts/pr.md +61 -0
- package/skeleton/protocols/bugfix/protocol.json +19 -2
- package/skeleton/protocols/experiment/builder-prompt.md +52 -0
- package/skeleton/protocols/experiment/protocol.json +101 -0
- package/skeleton/protocols/experiment/protocol.md +3 -3
- package/skeleton/protocols/experiment/templates/notes.md +1 -1
- package/skeleton/protocols/maintain/builder-prompt.md +46 -0
- package/skeleton/protocols/maintain/prompts/audit.md +111 -0
- package/skeleton/protocols/maintain/prompts/clean.md +91 -0
- package/skeleton/protocols/maintain/prompts/sync.md +113 -0
- package/skeleton/protocols/maintain/prompts/verify.md +110 -0
- package/skeleton/protocols/maintain/protocol.json +141 -0
- package/skeleton/protocols/maintain/protocol.md +14 -8
- package/skeleton/protocols/protocol-schema.json +54 -1
- package/skeleton/protocols/spir/builder-prompt.md +59 -0
- package/skeleton/protocols/spir/prompts/implement.md +208 -0
- package/skeleton/protocols/{spider → spir}/prompts/plan.md +6 -70
- package/skeleton/protocols/{spider → spir}/prompts/review.md +7 -25
- package/skeleton/protocols/{spider → spir}/prompts/specify.md +33 -61
- package/skeleton/protocols/spir/protocol.json +152 -0
- package/skeleton/protocols/{spider → spir}/protocol.md +35 -21
- package/skeleton/protocols/{spider → spir}/templates/plan.md +14 -0
- package/skeleton/protocols/{spider → spir}/templates/review.md +1 -1
- package/skeleton/protocols/tick/builder-prompt.md +56 -0
- package/skeleton/protocols/tick/protocol.json +7 -2
- package/skeleton/protocols/tick/protocol.md +18 -18
- package/skeleton/protocols/tick/templates/review.md +1 -1
- package/skeleton/resources/commands/agent-farm.md +25 -43
- package/skeleton/resources/commands/overview.md +7 -17
- package/skeleton/resources/workflow-reference.md +4 -4
- package/skeleton/roles/architect.md +152 -315
- package/skeleton/roles/builder.md +109 -218
- package/skeleton/templates/AGENTS.md +2 -2
- package/skeleton/templates/CLAUDE.md +2 -2
- package/skeleton/templates/cheatsheet.md +7 -5
- package/skeleton/templates/projectlist.md +1 -1
- package/templates/dashboard/index.html +17 -43
- package/templates/dashboard/js/dialogs.js +7 -7
- package/templates/dashboard/js/files.js +2 -2
- package/templates/dashboard/js/main.js +4 -4
- package/templates/dashboard/js/projects.js +3 -3
- package/templates/dashboard/js/tabs.js +1 -1
- package/templates/dashboard/js/utils.js +22 -87
- package/templates/open.html +26 -0
- package/templates/tower.html +542 -27
- package/dist/agent-farm/commands/kickoff.d.ts +0 -19
- package/dist/agent-farm/commands/kickoff.d.ts.map +0 -1
- package/dist/agent-farm/commands/kickoff.js +0 -331
- package/dist/agent-farm/commands/kickoff.js.map +0 -1
- package/dist/agent-farm/commands/rename.d.ts +0 -13
- package/dist/agent-farm/commands/rename.d.ts.map +0 -1
- package/dist/agent-farm/commands/rename.js +0 -33
- package/dist/agent-farm/commands/rename.js.map +0 -1
- package/dist/agent-farm/commands/tutorial.d.ts +0 -10
- package/dist/agent-farm/commands/tutorial.d.ts.map +0 -1
- package/dist/agent-farm/commands/tutorial.js +0 -49
- package/dist/agent-farm/commands/tutorial.js.map +0 -1
- package/dist/agent-farm/commands/util.d.ts.map +0 -1
- package/dist/agent-farm/commands/util.js.map +0 -1
- package/dist/agent-farm/servers/dashboard-server.d.ts +0 -7
- package/dist/agent-farm/servers/dashboard-server.d.ts.map +0 -1
- package/dist/agent-farm/servers/dashboard-server.js +0 -1872
- package/dist/agent-farm/servers/dashboard-server.js.map +0 -1
- package/dist/agent-farm/servers/open-server.d.ts +0 -7
- package/dist/agent-farm/servers/open-server.d.ts.map +0 -1
- package/dist/agent-farm/servers/open-server.js +0 -315
- package/dist/agent-farm/servers/open-server.js.map +0 -1
- package/dist/agent-farm/tutorial/index.d.ts +0 -8
- package/dist/agent-farm/tutorial/index.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/index.js +0 -8
- package/dist/agent-farm/tutorial/index.js.map +0 -1
- package/dist/agent-farm/tutorial/prompts.d.ts +0 -57
- package/dist/agent-farm/tutorial/prompts.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/prompts.js +0 -147
- package/dist/agent-farm/tutorial/prompts.js.map +0 -1
- package/dist/agent-farm/tutorial/runner.d.ts +0 -52
- package/dist/agent-farm/tutorial/runner.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/runner.js +0 -204
- package/dist/agent-farm/tutorial/runner.js.map +0 -1
- package/dist/agent-farm/tutorial/state.d.ts +0 -26
- package/dist/agent-farm/tutorial/state.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/state.js +0 -89
- package/dist/agent-farm/tutorial/state.js.map +0 -1
- package/dist/agent-farm/tutorial/steps/first-spec.d.ts +0 -7
- package/dist/agent-farm/tutorial/steps/first-spec.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/steps/first-spec.js +0 -136
- package/dist/agent-farm/tutorial/steps/first-spec.js.map +0 -1
- package/dist/agent-farm/tutorial/steps/implementation.d.ts +0 -7
- package/dist/agent-farm/tutorial/steps/implementation.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/steps/implementation.js +0 -76
- package/dist/agent-farm/tutorial/steps/implementation.js.map +0 -1
- package/dist/agent-farm/tutorial/steps/index.d.ts +0 -10
- package/dist/agent-farm/tutorial/steps/index.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/steps/index.js +0 -10
- package/dist/agent-farm/tutorial/steps/index.js.map +0 -1
- package/dist/agent-farm/tutorial/steps/planning.d.ts +0 -7
- package/dist/agent-farm/tutorial/steps/planning.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/steps/planning.js +0 -143
- package/dist/agent-farm/tutorial/steps/planning.js.map +0 -1
- package/dist/agent-farm/tutorial/steps/review.d.ts +0 -7
- package/dist/agent-farm/tutorial/steps/review.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/steps/review.js +0 -78
- package/dist/agent-farm/tutorial/steps/review.js.map +0 -1
- package/dist/agent-farm/tutorial/steps/setup.d.ts +0 -7
- package/dist/agent-farm/tutorial/steps/setup.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/steps/setup.js +0 -126
- package/dist/agent-farm/tutorial/steps/setup.js.map +0 -1
- package/dist/agent-farm/tutorial/steps/welcome.d.ts +0 -7
- package/dist/agent-farm/tutorial/steps/welcome.d.ts.map +0 -1
- package/dist/agent-farm/tutorial/steps/welcome.js +0 -50
- package/dist/agent-farm/tutorial/steps/welcome.js.map +0 -1
- package/dist/commands/pcheck/cache.d.ts +0 -48
- package/dist/commands/pcheck/cache.d.ts.map +0 -1
- package/dist/commands/pcheck/cache.js +0 -170
- package/dist/commands/pcheck/cache.js.map +0 -1
- package/dist/commands/pcheck/evaluator.d.ts +0 -15
- package/dist/commands/pcheck/evaluator.d.ts.map +0 -1
- package/dist/commands/pcheck/evaluator.js +0 -246
- package/dist/commands/pcheck/evaluator.js.map +0 -1
- package/dist/commands/pcheck/index.d.ts +0 -12
- package/dist/commands/pcheck/index.d.ts.map +0 -1
- package/dist/commands/pcheck/index.js +0 -249
- package/dist/commands/pcheck/index.js.map +0 -1
- package/dist/commands/pcheck/parser.d.ts +0 -39
- package/dist/commands/pcheck/parser.d.ts.map +0 -1
- package/dist/commands/pcheck/parser.js +0 -155
- package/dist/commands/pcheck/parser.js.map +0 -1
- package/dist/commands/pcheck/types.d.ts +0 -82
- package/dist/commands/pcheck/types.d.ts.map +0 -1
- package/dist/commands/pcheck/types.js +0 -5
- package/dist/commands/pcheck/types.js.map +0 -1
- package/dist/commands/porch/consultation.d.ts +0 -56
- package/dist/commands/porch/consultation.d.ts.map +0 -1
- package/dist/commands/porch/consultation.js +0 -330
- package/dist/commands/porch/consultation.js.map +0 -1
- package/dist/commands/porch/notifications.d.ts +0 -99
- package/dist/commands/porch/notifications.d.ts.map +0 -1
- package/dist/commands/porch/notifications.js +0 -223
- package/dist/commands/porch/notifications.js.map +0 -1
- package/dist/commands/porch/plan-parser.d.ts +0 -38
- package/dist/commands/porch/plan-parser.d.ts.map +0 -1
- package/dist/commands/porch/plan-parser.js +0 -166
- package/dist/commands/porch/plan-parser.js.map +0 -1
- package/dist/commands/porch/protocol-loader.d.ts +0 -46
- package/dist/commands/porch/protocol-loader.d.ts.map +0 -1
- package/dist/commands/porch/protocol-loader.js +0 -253
- package/dist/commands/porch/protocol-loader.js.map +0 -1
- package/dist/commands/porch/signal-parser.d.ts +0 -88
- package/dist/commands/porch/signal-parser.d.ts.map +0 -1
- package/dist/commands/porch/signal-parser.js +0 -148
- package/dist/commands/porch/signal-parser.js.map +0 -1
- package/dist/commands/tower.d.ts +0 -16
- package/dist/commands/tower.d.ts.map +0 -1
- package/dist/commands/tower.js +0 -21
- package/dist/commands/tower.js.map +0 -1
- package/skeleton/config.json +0 -7
- package/skeleton/porch/protocols/bugfix.json +0 -85
- package/skeleton/porch/protocols/spider.json +0 -135
- package/skeleton/porch/protocols/tick.json +0 -76
- package/skeleton/protocols/spider/prompts/defend.md +0 -215
- package/skeleton/protocols/spider/prompts/evaluate.md +0 -241
- package/skeleton/protocols/spider/prompts/implement.md +0 -149
- package/skeleton/protocols/spider/protocol.json +0 -210
- package/templates/dashboard/css/activity.css +0 -151
- package/templates/dashboard/js/activity.js +0 -112
- /package/skeleton/protocols/{spider → spir}/templates/spec.md +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: af
|
|
3
|
+
description: Agent Farm CLI quick reference. Use when running af commands to check correct syntax, subcommands, and flags. Prevents guessing at command names.
|
|
4
|
+
disable-model-invocation: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Agent Farm Quick Reference
|
|
8
|
+
|
|
9
|
+
## Tower (Dashboard Server)
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
af tower start # Start Tower on port 4100
|
|
13
|
+
af tower stop # Stop Tower
|
|
14
|
+
af tower log # Tail Tower logs
|
|
15
|
+
af tower status # Check if Tower is running
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
There is NO `af tower restart` — use `af tower stop && af tower start`.
|
|
19
|
+
|
|
20
|
+
## Dashboard
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
af dash start # Start architect dashboard for current project
|
|
24
|
+
af dash stop # Stop dashboard for current project
|
|
25
|
+
af dash open # Open dashboard in browser
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Builder Management
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
af spawn -p 0003 # Spawn builder for spec (strict mode, default)
|
|
32
|
+
af spawn --soft -p 0003 # Spawn builder (soft mode)
|
|
33
|
+
af spawn --issue 42 # Spawn builder for a bugfix
|
|
34
|
+
af status # Check all builder status
|
|
35
|
+
af cleanup --project 0003 # Clean up builder worktree (safe)
|
|
36
|
+
af cleanup --project 0003 -f # Force cleanup
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Utility
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
af util # Open utility shell
|
|
43
|
+
af open file.ts # Open file in annotation viewer
|
|
44
|
+
af ports list # List port allocations
|
|
45
|
+
af send <builder> "msg" # Send message to a builder
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Configuration
|
|
49
|
+
|
|
50
|
+
Edit `af-config.json` at project root to customize shell commands.
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"shell": {
|
|
55
|
+
"architect": "claude",
|
|
56
|
+
"builder": "claude",
|
|
57
|
+
"shell": "bash"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Pre-Spawn Checklist
|
|
63
|
+
|
|
64
|
+
**Before `af spawn`, commit all local changes.** Builders work in git worktrees
|
|
65
|
+
branched from HEAD — uncommitted files (specs, plans, codev updates) are invisible
|
|
66
|
+
to the builder. The spawn command will refuse if the worktree is dirty (override
|
|
67
|
+
with `--force`).
|
|
68
|
+
|
|
69
|
+
## Common Mistakes
|
|
70
|
+
|
|
71
|
+
- **Spawning with uncommitted changes** — builder won't see specs, plans, or codev updates
|
|
72
|
+
- There is NO `codev tower` command — Tower is managed via `af tower`
|
|
73
|
+
- There is NO `restart` subcommand — stop then start
|
|
74
|
+
- There is NO `af start` for Tower — use `af tower start` or `af dash start`
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codev
|
|
3
|
+
description: Codev project management CLI quick reference. Use when running codev commands to check correct syntax for init, adopt, update, and doctor.
|
|
4
|
+
disable-model-invocation: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# codev - Project Management CLI
|
|
8
|
+
|
|
9
|
+
## Commands
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
codev init [name] # Create a new codev project
|
|
13
|
+
codev init my-app -y # Non-interactive with defaults
|
|
14
|
+
codev adopt # Add codev to existing project (run from project root)
|
|
15
|
+
codev adopt -y # Skip conflict prompts
|
|
16
|
+
codev update # Update protocols, roles, skills from installed package
|
|
17
|
+
codev update --dry-run # Preview changes without applying
|
|
18
|
+
codev update --force # Force overwrite all framework files
|
|
19
|
+
codev doctor # Check system dependencies
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## What Each Command Does
|
|
23
|
+
|
|
24
|
+
### codev init
|
|
25
|
+
Creates a new project directory with codev structure: specs/, plans/, reviews/, protocols, CLAUDE.md, AGENTS.md, .claude/skills/, af-config.json, .gitignore.
|
|
26
|
+
|
|
27
|
+
### codev adopt
|
|
28
|
+
Adds codev to the **current directory**. Detects existing CLAUDE.md/AGENTS.md and creates `.codev-new` versions for merge if conflicts exist. Spawns Claude to merge automatically.
|
|
29
|
+
|
|
30
|
+
### codev update
|
|
31
|
+
Updates framework files (protocols, roles, skills) from the installed `@cluesmith/codev` package. **Never touches user data** (specs, plans, reviews). If you've customized a framework file, creates a `.codev-new` version for manual merge.
|
|
32
|
+
|
|
33
|
+
### codev doctor
|
|
34
|
+
Checks that all required dependencies are installed: Node.js (>=18), tmux (>=3), git (>=2.5), gh (authenticated), and at least one AI CLI (Claude, Gemini, or Codex).
|
|
35
|
+
|
|
36
|
+
## Common Mistakes
|
|
37
|
+
|
|
38
|
+
- There is NO `codev tower` command — Tower is managed via `af tower start` / `af tower stop`
|
|
39
|
+
- `codev init` creates a **new directory** — use `codev adopt` for existing projects
|
|
40
|
+
- `codev update` only updates framework files — it will never overwrite your specs/plans/reviews
|
|
41
|
+
- Always run `codev adopt` and `codev update` from the **project root directory**
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: consult
|
|
3
|
+
description: AI consultation CLI quick reference. Use when running consult commands to check syntax for PR reviews, spec reviews, plan reviews, and general queries across Gemini, Codex, and Claude.
|
|
4
|
+
disable-model-invocation: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# consult - AI Consultation CLI
|
|
8
|
+
|
|
9
|
+
## Synopsis
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
consult -m <model> <subcommand> [args] [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
The `-m` / `--model` flag is **always required**.
|
|
16
|
+
|
|
17
|
+
## Models
|
|
18
|
+
|
|
19
|
+
| Model | Alias | Speed | Approach |
|
|
20
|
+
|-------|-------|-------|----------|
|
|
21
|
+
| `gemini` | `pro` | ~120-150s | Pure text analysis, fast |
|
|
22
|
+
| `codex` | `gpt` | ~200-250s | Shell command exploration, thorough |
|
|
23
|
+
| `claude` | `opus` | ~60-120s | Balanced tool use |
|
|
24
|
+
|
|
25
|
+
## Subcommands
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
consult -m gemini pr 42 # Review a pull request
|
|
29
|
+
consult -m codex spec 42 # Review a specification
|
|
30
|
+
consult -m gemini plan 42 # Review an implementation plan
|
|
31
|
+
consult -m claude general "query" # General question (quoted string)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Options
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
-n, --dry-run # Show command without running
|
|
38
|
+
-t, --type <type> # Review type (spec-review, plan-review, impl-review, pr-ready, integration-review)
|
|
39
|
+
-r, --role <role> # Custom role from codev/roles/ (without .md extension)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Review Types (--type)
|
|
43
|
+
|
|
44
|
+
| Type | Stage | Use Case |
|
|
45
|
+
|------|-------|----------|
|
|
46
|
+
| `spec-review` | conceived | Review spec completeness |
|
|
47
|
+
| `plan-review` | specified | Review implementation plan |
|
|
48
|
+
| `impl-review` | implementing | Review code implementation |
|
|
49
|
+
| `pr-ready` | implemented | Final check before PR |
|
|
50
|
+
| `integration-review` | committed | Architect's integration review |
|
|
51
|
+
|
|
52
|
+
Review type prompts live in `codev/consult-types/` and can be customized.
|
|
53
|
+
|
|
54
|
+
## Parallel Consultation (3-Way / cmap)
|
|
55
|
+
|
|
56
|
+
Run all three models in parallel for thorough reviews:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
consult -m gemini spec 42 &
|
|
60
|
+
consult -m codex spec 42 &
|
|
61
|
+
consult -m claude spec 42 &
|
|
62
|
+
wait
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Or from Claude Code, use **cmap** pattern: three parallel background Bash calls.
|
|
66
|
+
|
|
67
|
+
## Custom Roles
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
consult -m gemini --role security-reviewer pr 42
|
|
71
|
+
consult -m codex --role architect general "Review this design"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Roles are markdown files in `codev/roles/`. Create your own by adding `.md` files there.
|
|
75
|
+
|
|
76
|
+
## Common Mistakes
|
|
77
|
+
|
|
78
|
+
- The `-m` flag is **required** — `consult pr 42` will fail without it
|
|
79
|
+
- PR numbers are GitHub PR numbers, not spec numbers
|
|
80
|
+
- Spec/plan numbers match the `0042` prefix in filenames (pass just `42`, not `0042`)
|
|
81
|
+
- General queries must be **quoted**: `consult -m gemini general "your question here"`
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: generate-image
|
|
3
|
+
description: AI image generation CLI using Gemini. Use when generating images, checking syntax for resolution, aspect ratio, and reference image options.
|
|
4
|
+
disable-model-invocation: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# generate-image - AI Image Generation
|
|
8
|
+
|
|
9
|
+
Uses Google Gemini (gemini-3-pro-image-preview) to generate images from text prompts.
|
|
10
|
+
|
|
11
|
+
## Synopsis
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
codev generate-image "<prompt>" [options]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Options
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
-o, --output <file> # Output file path (default: output.png)
|
|
21
|
+
-r, --resolution <res> # Resolution: 1K, 2K, 4K (default: 1K)
|
|
22
|
+
-a, --aspect <ratio> # Aspect ratio (default: 1:1)
|
|
23
|
+
--ref <image> # Reference image (repeatable, max 14)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Aspect Ratios
|
|
27
|
+
|
|
28
|
+
`1:1` | `16:9` | `9:16` | `3:4` | `4:3` | `3:2` | `2:3`
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# Basic generation
|
|
34
|
+
codev generate-image "A sunset over mountains"
|
|
35
|
+
|
|
36
|
+
# High-res widescreen
|
|
37
|
+
codev generate-image "A futuristic city" -r 4K -a 16:9 -o city.png
|
|
38
|
+
|
|
39
|
+
# With reference images (style transfer)
|
|
40
|
+
codev generate-image "Same style but with cats" --ref style.png --ref layout.png
|
|
41
|
+
|
|
42
|
+
# Prompt from file
|
|
43
|
+
codev generate-image prompt.txt -o result.png
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Prerequisites
|
|
47
|
+
|
|
48
|
+
Requires `GEMINI_API_KEY` or `GOOGLE_API_KEY` environment variable.
|
|
49
|
+
Get a key at https://aistudio.google.com/apikey
|
|
50
|
+
|
|
51
|
+
## Common Mistakes
|
|
52
|
+
|
|
53
|
+
- Prompt must be **quoted** if it contains spaces
|
|
54
|
+
- Prompt can also be a `.txt` file path (auto-detected by extension)
|
|
55
|
+
- Reference images must exist on disk — max 14 images
|
|
56
|
+
- Output defaults to `output.png` in current directory — use `-o` to change
|
package/skeleton/DEPENDENCIES.md
CHANGED
|
@@ -57,29 +57,6 @@ sudo apt install tmux
|
|
|
57
57
|
tmux -V # Should show tmux 3.x or higher
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
### ttyd
|
|
61
|
-
|
|
62
|
-
| Requirement | Value |
|
|
63
|
-
|-------------|-------|
|
|
64
|
-
| Minimum Version | 1.7.0 |
|
|
65
|
-
| Purpose | Web-based terminal for dashboard access |
|
|
66
|
-
|
|
67
|
-
**Installation:**
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
# macOS
|
|
71
|
-
brew install ttyd
|
|
72
|
-
|
|
73
|
-
# Ubuntu/Debian (build from source)
|
|
74
|
-
sudo apt install build-essential cmake git libjson-c-dev libwebsockets-dev
|
|
75
|
-
git clone https://github.com/tsl0922/ttyd.git
|
|
76
|
-
cd ttyd && mkdir build && cd build
|
|
77
|
-
cmake .. && make && sudo make install
|
|
78
|
-
|
|
79
|
-
# Verify
|
|
80
|
-
ttyd --version # Should show 1.7.x or higher
|
|
81
|
-
```
|
|
82
|
-
|
|
83
60
|
### git
|
|
84
61
|
|
|
85
62
|
| Requirement | Value |
|
|
@@ -193,7 +170,6 @@ codex --version
|
|
|
193
170
|
|------------|-----------------|-----------|
|
|
194
171
|
| Node.js | 18.0.0 | Yes |
|
|
195
172
|
| tmux | 3.0 | Yes |
|
|
196
|
-
| ttyd | 1.7.0 | Yes |
|
|
197
173
|
| git | 2.5.0 | Yes |
|
|
198
174
|
| gh | latest | Yes |
|
|
199
175
|
| Claude Code | latest | At least one AI CLI |
|
|
@@ -210,7 +186,7 @@ All dependencies are available via Homebrew:
|
|
|
210
186
|
|
|
211
187
|
```bash
|
|
212
188
|
# Install all core dependencies at once
|
|
213
|
-
brew install node tmux
|
|
189
|
+
brew install node tmux gh
|
|
214
190
|
|
|
215
191
|
# Git is included with Xcode command line tools
|
|
216
192
|
xcode-select --install
|
|
@@ -218,15 +194,13 @@ xcode-select --install
|
|
|
218
194
|
|
|
219
195
|
### Ubuntu/Debian
|
|
220
196
|
|
|
221
|
-
Most dependencies are available via apt
|
|
197
|
+
Most dependencies are available via apt:
|
|
222
198
|
|
|
223
199
|
```bash
|
|
224
200
|
# Core dependencies
|
|
225
201
|
sudo apt install nodejs npm tmux git
|
|
226
202
|
|
|
227
203
|
# gh requires adding GitHub's apt repository (see above)
|
|
228
|
-
|
|
229
|
-
# ttyd must be built from source (see above)
|
|
230
204
|
```
|
|
231
205
|
|
|
232
206
|
### Windows
|
|
@@ -267,7 +241,7 @@ sudo apt update
|
|
|
267
241
|
sudo apt install tmux
|
|
268
242
|
```
|
|
269
243
|
|
|
270
|
-
###
|
|
244
|
+
### Terminal connection issues
|
|
271
245
|
|
|
272
246
|
Ensure no firewall is blocking the ports (default: 4200-4299):
|
|
273
247
|
|
package/skeleton/builders.md
CHANGED
|
@@ -4,7 +4,7 @@ Track active builder agents here. Update manually or via `architect status`.
|
|
|
4
4
|
|
|
5
5
|
## Status Values
|
|
6
6
|
|
|
7
|
-
- **spawning**: Worktree being created,
|
|
7
|
+
- **spawning**: Worktree being created, terminal starting
|
|
8
8
|
- **implementing**: Builder is working
|
|
9
9
|
- **blocked**: Builder waiting for architect input
|
|
10
10
|
- **pr-ready**: Builder has created a PR
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Evaluate Phase Prompt
|
|
2
2
|
|
|
3
|
-
You are the **Verifier** hat in a Ralph-
|
|
3
|
+
You are the **Verifier** hat in a Ralph-SPIR loop.
|
|
4
4
|
|
|
5
5
|
## Your Mission
|
|
6
6
|
|
|
@@ -66,7 +66,7 @@ Create or update evaluation notes in the status file:
|
|
|
66
66
|
```markdown
|
|
67
67
|
## Evaluation Report
|
|
68
68
|
|
|
69
|
-
**Evaluator**: Ralph-
|
|
69
|
+
**Evaluator**: Ralph-SPIR Verifier
|
|
70
70
|
**Date**: {date}
|
|
71
71
|
**Phase**: {phase-name}
|
|
72
72
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Review Phase Prompt
|
|
2
2
|
|
|
3
|
-
You are the **Reviewer** hat in a Ralph-
|
|
3
|
+
You are the **Reviewer** hat in a Ralph-SPIR loop.
|
|
4
4
|
|
|
5
5
|
## Your Mission
|
|
6
6
|
|
|
7
|
-
Create the final deliverables: PR and review document. This is the capstone of the
|
|
7
|
+
Create the final deliverables: PR and review document. This is the capstone of the SPIR protocol.
|
|
8
8
|
|
|
9
9
|
## Input Context
|
|
10
10
|
|
|
@@ -27,7 +27,7 @@ Create `codev/reviews/{project-id}-{name}.md` with:
|
|
|
27
27
|
- **ID**: {project-id}
|
|
28
28
|
- **Spec**: `codev/specs/{project-id}-{name}.md`
|
|
29
29
|
- **Plan**: `codev/plans/{project-id}-{name}.md`
|
|
30
|
-
- **Protocol**: ralph-
|
|
30
|
+
- **Protocol**: ralph-spir
|
|
31
31
|
- **Completed**: {date}
|
|
32
32
|
|
|
33
33
|
## Summary
|
|
@@ -78,7 +78,7 @@ One paragraph summarizing what was built and why.
|
|
|
78
78
|
2. Pattern that worked well
|
|
79
79
|
|
|
80
80
|
### Process Insights
|
|
81
|
-
1. What worked well in the
|
|
81
|
+
1. What worked well in the SPIR process
|
|
82
82
|
2. What could be improved
|
|
83
83
|
|
|
84
84
|
## Recommendations
|
|
@@ -30,7 +30,7 @@ TICK is appropriate when:
|
|
|
30
30
|
- [ ] Requirements are clear
|
|
31
31
|
- [ ] No architectural changes needed
|
|
32
32
|
|
|
33
|
-
If NOT appropriate, signal: `<signal>
|
|
33
|
+
If NOT appropriate, signal: `<signal>NEEDS_SPIR</signal>`
|
|
34
34
|
|
|
35
35
|
### 3. Document Understanding
|
|
36
36
|
|
|
@@ -58,4 +58,4 @@ When understanding is complete:
|
|
|
58
58
|
|
|
59
59
|
- DO NOT start implementing
|
|
60
60
|
- DO NOT create new spec files (amend existing)
|
|
61
|
-
- Keep scope small - if > 300 LOC, recommend
|
|
61
|
+
- Keep scope small - if > 300 LOC, recommend SPIR instead
|