@cluesmith/codev 3.0.0-rc.1 → 3.0.0-rc.11

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.
Files changed (328) hide show
  1. package/LICENSE +201 -0
  2. package/bin/af.js +2 -2
  3. package/bin/afx.js +8 -0
  4. package/bin/consult.js +2 -1
  5. package/bin/team.js +2 -1
  6. package/{dashboard/dist/assets/index-nr0cXxtf.css → dashboard-dist/assets/index-Bs8I7N2s.css} +1 -1
  7. package/dashboard-dist/assets/index-CkNo2z6t.js +195 -0
  8. package/dashboard-dist/assets/index-CkNo2z6t.js.map +1 -0
  9. package/dashboard-dist/dist/assets/index-Bs8I7N2s.css +32 -0
  10. package/dashboard-dist/dist/assets/index-CkNo2z6t.js +195 -0
  11. package/dashboard-dist/dist/assets/index-CkNo2z6t.js.map +1 -0
  12. package/{dashboard → dashboard-dist}/dist/index.html +2 -2
  13. package/dashboard-dist/index.html +14 -0
  14. package/dist/agent-farm/cli.d.ts.map +1 -1
  15. package/dist/agent-farm/cli.js +17 -14
  16. package/dist/agent-farm/cli.js.map +1 -1
  17. package/dist/agent-farm/commands/architect.d.ts +4 -4
  18. package/dist/agent-farm/commands/architect.d.ts.map +1 -1
  19. package/dist/agent-farm/commands/architect.js +23 -12
  20. package/dist/agent-farm/commands/architect.js.map +1 -1
  21. package/dist/agent-farm/commands/attach.js +8 -8
  22. package/dist/agent-farm/commands/attach.js.map +1 -1
  23. package/dist/agent-farm/commands/bench.d.ts +1 -1
  24. package/dist/agent-farm/commands/bench.js +1 -1
  25. package/dist/agent-farm/commands/cleanup.d.ts.map +1 -1
  26. package/dist/agent-farm/commands/cleanup.js +10 -5
  27. package/dist/agent-farm/commands/cleanup.js.map +1 -1
  28. package/dist/agent-farm/commands/cron.js +1 -1
  29. package/dist/agent-farm/commands/cron.js.map +1 -1
  30. package/dist/agent-farm/commands/db.d.ts +3 -3
  31. package/dist/agent-farm/commands/db.js +4 -4
  32. package/dist/agent-farm/commands/db.js.map +1 -1
  33. package/dist/agent-farm/commands/open.js +2 -2
  34. package/dist/agent-farm/commands/open.js.map +1 -1
  35. package/dist/agent-farm/commands/rename.js +1 -1
  36. package/dist/agent-farm/commands/rename.js.map +1 -1
  37. package/dist/agent-farm/commands/send.d.ts +4 -1
  38. package/dist/agent-farm/commands/send.d.ts.map +1 -1
  39. package/dist/agent-farm/commands/send.js +8 -5
  40. package/dist/agent-farm/commands/send.js.map +1 -1
  41. package/dist/agent-farm/commands/shell.js +3 -3
  42. package/dist/agent-farm/commands/shell.js.map +1 -1
  43. package/dist/agent-farm/commands/spawn-roles.d.ts +2 -1
  44. package/dist/agent-farm/commands/spawn-roles.d.ts.map +1 -1
  45. package/dist/agent-farm/commands/spawn-roles.js +1 -1
  46. package/dist/agent-farm/commands/spawn-roles.js.map +1 -1
  47. package/dist/agent-farm/commands/spawn-worktree.d.ts +49 -10
  48. package/dist/agent-farm/commands/spawn-worktree.d.ts.map +1 -1
  49. package/dist/agent-farm/commands/spawn-worktree.js +356 -51
  50. package/dist/agent-farm/commands/spawn-worktree.js.map +1 -1
  51. package/dist/agent-farm/commands/spawn.d.ts +6 -6
  52. package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
  53. package/dist/agent-farm/commands/spawn.js +182 -74
  54. package/dist/agent-farm/commands/spawn.js.map +1 -1
  55. package/dist/agent-farm/commands/status.d.ts.map +1 -1
  56. package/dist/agent-farm/commands/status.js +48 -3
  57. package/dist/agent-farm/commands/status.js.map +1 -1
  58. package/dist/agent-farm/commands/team-update.d.ts +1 -1
  59. package/dist/agent-farm/commands/team-update.d.ts.map +1 -1
  60. package/dist/agent-farm/commands/team-update.js +8 -5
  61. package/dist/agent-farm/commands/team-update.js.map +1 -1
  62. package/dist/agent-farm/commands/team.d.ts +1 -1
  63. package/dist/agent-farm/commands/team.d.ts.map +1 -1
  64. package/dist/agent-farm/commands/team.js +7 -3
  65. package/dist/agent-farm/commands/team.js.map +1 -1
  66. package/dist/agent-farm/commands/tower-cloud.d.ts +2 -2
  67. package/dist/agent-farm/commands/tower-cloud.js +3 -3
  68. package/dist/agent-farm/commands/tower-cloud.js.map +1 -1
  69. package/dist/agent-farm/commands/tower.js +2 -2
  70. package/dist/agent-farm/commands/tower.js.map +1 -1
  71. package/dist/agent-farm/lib/cloud-config.js +2 -2
  72. package/dist/agent-farm/lib/cloud-config.js.map +1 -1
  73. package/dist/agent-farm/lib/tower-client.d.ts +6 -230
  74. package/dist/agent-farm/lib/tower-client.d.ts.map +1 -1
  75. package/dist/agent-farm/lib/tower-client.js +6 -293
  76. package/dist/agent-farm/lib/tower-client.js.map +1 -1
  77. package/dist/agent-farm/lib/tunnel-client.js +1 -1
  78. package/dist/agent-farm/lib/tunnel-client.js.map +1 -1
  79. package/dist/agent-farm/servers/message-write.d.ts +24 -0
  80. package/dist/agent-farm/servers/message-write.d.ts.map +1 -0
  81. package/dist/agent-farm/servers/message-write.js +63 -0
  82. package/dist/agent-farm/servers/message-write.js.map +1 -0
  83. package/dist/agent-farm/servers/overview.d.ts +10 -8
  84. package/dist/agent-farm/servers/overview.d.ts.map +1 -1
  85. package/dist/agent-farm/servers/overview.js +78 -38
  86. package/dist/agent-farm/servers/overview.js.map +1 -1
  87. package/dist/agent-farm/servers/send-buffer.d.ts +4 -3
  88. package/dist/agent-farm/servers/send-buffer.d.ts.map +1 -1
  89. package/dist/agent-farm/servers/send-buffer.js +7 -4
  90. package/dist/agent-farm/servers/send-buffer.js.map +1 -1
  91. package/dist/agent-farm/servers/tower-cron-parser.js +1 -1
  92. package/dist/agent-farm/servers/tower-cron-parser.js.map +1 -1
  93. package/dist/agent-farm/servers/tower-cron.d.ts.map +1 -1
  94. package/dist/agent-farm/servers/tower-cron.js +4 -5
  95. package/dist/agent-farm/servers/tower-cron.js.map +1 -1
  96. package/dist/agent-farm/servers/tower-instances.d.ts.map +1 -1
  97. package/dist/agent-farm/servers/tower-instances.js +15 -13
  98. package/dist/agent-farm/servers/tower-instances.js.map +1 -1
  99. package/dist/agent-farm/servers/tower-routes.d.ts.map +1 -1
  100. package/dist/agent-farm/servers/tower-routes.js +9 -16
  101. package/dist/agent-farm/servers/tower-routes.js.map +1 -1
  102. package/dist/agent-farm/servers/tower-server.js +1 -1
  103. package/dist/agent-farm/servers/tower-terminals.d.ts +2 -2
  104. package/dist/agent-farm/servers/tower-terminals.d.ts.map +1 -1
  105. package/dist/agent-farm/servers/tower-terminals.js +64 -36
  106. package/dist/agent-farm/servers/tower-terminals.js.map +1 -1
  107. package/dist/agent-farm/servers/tower-tunnel.js +2 -2
  108. package/dist/agent-farm/servers/tower-tunnel.js.map +1 -1
  109. package/dist/agent-farm/servers/tower-utils.d.ts +9 -6
  110. package/dist/agent-farm/servers/tower-utils.d.ts.map +1 -1
  111. package/dist/agent-farm/servers/tower-utils.js +13 -7
  112. package/dist/agent-farm/servers/tower-utils.js.map +1 -1
  113. package/dist/agent-farm/types.d.ts +13 -0
  114. package/dist/agent-farm/types.d.ts.map +1 -1
  115. package/dist/agent-farm/utils/config.d.ts +11 -0
  116. package/dist/agent-farm/utils/config.d.ts.map +1 -1
  117. package/dist/agent-farm/utils/config.js +39 -17
  118. package/dist/agent-farm/utils/config.js.map +1 -1
  119. package/dist/agent-farm/utils/harness.d.ts +85 -0
  120. package/dist/agent-farm/utils/harness.d.ts.map +1 -0
  121. package/dist/agent-farm/utils/harness.js +212 -0
  122. package/dist/agent-farm/utils/harness.js.map +1 -0
  123. package/dist/agent-farm/utils/roles.d.ts +11 -4
  124. package/dist/agent-farm/utils/roles.d.ts.map +1 -1
  125. package/dist/agent-farm/utils/roles.js +21 -6
  126. package/dist/agent-farm/utils/roles.js.map +1 -1
  127. package/dist/cli.d.ts +1 -1
  128. package/dist/cli.d.ts.map +1 -1
  129. package/dist/cli.js +40 -5
  130. package/dist/cli.js.map +1 -1
  131. package/dist/commands/adopt.d.ts.map +1 -1
  132. package/dist/commands/adopt.js +16 -45
  133. package/dist/commands/adopt.js.map +1 -1
  134. package/dist/commands/consult/index.d.ts +37 -3
  135. package/dist/commands/consult/index.d.ts.map +1 -1
  136. package/dist/commands/consult/index.js +281 -194
  137. package/dist/commands/consult/index.js.map +1 -1
  138. package/dist/commands/doctor.d.ts.map +1 -1
  139. package/dist/commands/doctor.js +121 -31
  140. package/dist/commands/doctor.js.map +1 -1
  141. package/dist/commands/init.d.ts.map +1 -1
  142. package/dist/commands/init.js +13 -43
  143. package/dist/commands/init.js.map +1 -1
  144. package/dist/commands/porch/artifacts.d.ts +69 -0
  145. package/dist/commands/porch/artifacts.d.ts.map +1 -0
  146. package/dist/commands/porch/artifacts.js +368 -0
  147. package/dist/commands/porch/artifacts.js.map +1 -0
  148. package/dist/commands/porch/checks.d.ts +14 -3
  149. package/dist/commands/porch/checks.d.ts.map +1 -1
  150. package/dist/commands/porch/checks.js +150 -4
  151. package/dist/commands/porch/checks.js.map +1 -1
  152. package/dist/commands/porch/config.d.ts +6 -9
  153. package/dist/commands/porch/config.d.ts.map +1 -1
  154. package/dist/commands/porch/config.js +12 -37
  155. package/dist/commands/porch/config.js.map +1 -1
  156. package/dist/commands/porch/index.d.ts +12 -7
  157. package/dist/commands/porch/index.d.ts.map +1 -1
  158. package/dist/commands/porch/index.js +273 -82
  159. package/dist/commands/porch/index.js.map +1 -1
  160. package/dist/commands/porch/next.d.ts.map +1 -1
  161. package/dist/commands/porch/next.js +142 -75
  162. package/dist/commands/porch/next.js.map +1 -1
  163. package/dist/commands/porch/notify.d.ts +2 -2
  164. package/dist/commands/porch/notify.js +5 -5
  165. package/dist/commands/porch/notify.js.map +1 -1
  166. package/dist/commands/porch/prompts.d.ts +2 -1
  167. package/dist/commands/porch/prompts.d.ts.map +1 -1
  168. package/dist/commands/porch/prompts.js +34 -38
  169. package/dist/commands/porch/prompts.js.map +1 -1
  170. package/dist/commands/porch/protocol.d.ts +4 -3
  171. package/dist/commands/porch/protocol.d.ts.map +1 -1
  172. package/dist/commands/porch/protocol.js +21 -21
  173. package/dist/commands/porch/protocol.js.map +1 -1
  174. package/dist/commands/porch/state.d.ts +27 -2
  175. package/dist/commands/porch/state.d.ts.map +1 -1
  176. package/dist/commands/porch/state.js +100 -9
  177. package/dist/commands/porch/state.js.map +1 -1
  178. package/dist/commands/porch/types.d.ts +10 -2
  179. package/dist/commands/porch/types.d.ts.map +1 -1
  180. package/dist/commands/sync.d.ts +26 -0
  181. package/dist/commands/sync.d.ts.map +1 -0
  182. package/dist/commands/sync.js +207 -0
  183. package/dist/commands/sync.js.map +1 -0
  184. package/dist/commands/update.d.ts +15 -2
  185. package/dist/commands/update.d.ts.map +1 -1
  186. package/dist/commands/update.js +159 -202
  187. package/dist/commands/update.js.map +1 -1
  188. package/dist/lib/config.d.ts +96 -0
  189. package/dist/lib/config.d.ts.map +1 -0
  190. package/dist/lib/config.js +165 -0
  191. package/dist/lib/config.js.map +1 -0
  192. package/dist/lib/forge-contracts.d.ts +100 -0
  193. package/dist/lib/forge-contracts.d.ts.map +1 -0
  194. package/dist/lib/forge-contracts.js +35 -0
  195. package/dist/lib/forge-contracts.js.map +1 -0
  196. package/dist/lib/forge.d.ts +102 -0
  197. package/dist/lib/forge.d.ts.map +1 -0
  198. package/dist/lib/forge.js +376 -0
  199. package/dist/lib/forge.js.map +1 -0
  200. package/dist/lib/github.d.ts +68 -60
  201. package/dist/lib/github.d.ts.map +1 -1
  202. package/dist/lib/github.js +160 -169
  203. package/dist/lib/github.js.map +1 -1
  204. package/dist/lib/skeleton.d.ts +15 -5
  205. package/dist/lib/skeleton.d.ts.map +1 -1
  206. package/dist/lib/skeleton.js +82 -7
  207. package/dist/lib/skeleton.js.map +1 -1
  208. package/dist/lib/team-github.d.ts +7 -3
  209. package/dist/lib/team-github.d.ts.map +1 -1
  210. package/dist/lib/team-github.js +29 -19
  211. package/dist/lib/team-github.js.map +1 -1
  212. package/dist/terminal/pty-manager.d.ts.map +1 -1
  213. package/dist/terminal/pty-manager.js +2 -0
  214. package/dist/terminal/pty-manager.js.map +1 -1
  215. package/dist/terminal/ws-protocol.d.ts +10 -8
  216. package/dist/terminal/ws-protocol.d.ts.map +1 -1
  217. package/dist/terminal/ws-protocol.js +3 -0
  218. package/dist/terminal/ws-protocol.js.map +1 -1
  219. package/package.json +27 -24
  220. package/scripts/forge/gitea/auth-status.sh +3 -0
  221. package/scripts/forge/gitea/issue-comment.sh +3 -0
  222. package/scripts/forge/gitea/issue-list.sh +3 -0
  223. package/scripts/forge/gitea/issue-view.sh +3 -0
  224. package/scripts/forge/gitea/pr-exists.sh +6 -0
  225. package/scripts/forge/gitea/pr-list.sh +3 -0
  226. package/scripts/forge/gitea/pr-merge.sh +3 -0
  227. package/scripts/forge/gitea/pr-view.sh +3 -0
  228. package/scripts/forge/gitea/recently-closed.sh +3 -0
  229. package/scripts/forge/gitea/recently-merged.sh +3 -0
  230. package/scripts/forge/gitea/repo-archive.sh +11 -0
  231. package/scripts/forge/gitea/user-identity.sh +3 -0
  232. package/scripts/forge/github/auth-status.sh +4 -0
  233. package/scripts/forge/github/issue-comment.sh +5 -0
  234. package/scripts/forge/github/issue-list.sh +4 -0
  235. package/scripts/forge/github/issue-view.sh +5 -0
  236. package/scripts/forge/github/on-it-timestamps.sh +8 -0
  237. package/scripts/forge/github/pr-diff.sh +10 -0
  238. package/scripts/forge/github/pr-exists.sh +7 -0
  239. package/scripts/forge/github/pr-list.sh +4 -0
  240. package/scripts/forge/github/pr-merge.sh +5 -0
  241. package/scripts/forge/github/pr-search.sh +5 -0
  242. package/scripts/forge/github/pr-view.sh +11 -0
  243. package/scripts/forge/github/recently-closed.sh +15 -0
  244. package/scripts/forge/github/recently-merged.sh +15 -0
  245. package/scripts/forge/github/repo-archive.sh +10 -0
  246. package/scripts/forge/github/team-activity.sh +5 -0
  247. package/scripts/forge/github/user-identity.sh +4 -0
  248. package/scripts/forge/gitlab/auth-status.sh +3 -0
  249. package/scripts/forge/gitlab/issue-comment.sh +3 -0
  250. package/scripts/forge/gitlab/issue-list.sh +3 -0
  251. package/scripts/forge/gitlab/issue-view.sh +3 -0
  252. package/scripts/forge/gitlab/pr-diff.sh +3 -0
  253. package/scripts/forge/gitlab/pr-exists.sh +5 -0
  254. package/scripts/forge/gitlab/pr-list.sh +3 -0
  255. package/scripts/forge/gitlab/pr-merge.sh +3 -0
  256. package/scripts/forge/gitlab/pr-search.sh +3 -0
  257. package/scripts/forge/gitlab/pr-view.sh +3 -0
  258. package/scripts/forge/gitlab/recently-closed.sh +3 -0
  259. package/scripts/forge/gitlab/recently-merged.sh +3 -0
  260. package/scripts/forge/gitlab/repo-archive.sh +12 -0
  261. package/scripts/forge/gitlab/user-identity.sh +3 -0
  262. package/skeleton/.claude/skills/afx/SKILL.md +144 -0
  263. package/skeleton/.claude/skills/codev/SKILL.md +3 -3
  264. package/skeleton/.claude/skills/consult/SKILL.md +1 -1
  265. package/skeleton/.claude/skills/porch/SKILL.md +2 -2
  266. package/skeleton/DEPENDENCIES.md +1 -1
  267. package/skeleton/builders.md +4 -4
  268. package/skeleton/protocol-schema.json +2 -2
  269. package/skeleton/protocols/air/builder-prompt.md +6 -6
  270. package/skeleton/protocols/air/prompts/pr.md +17 -5
  271. package/skeleton/protocols/air/protocol.md +1 -2
  272. package/skeleton/protocols/aspir/builder-prompt.md +28 -6
  273. package/skeleton/protocols/aspir/prompts/review.md +11 -0
  274. package/skeleton/protocols/aspir/protocol.json +9 -1
  275. package/skeleton/protocols/aspir/protocol.md +1 -1
  276. package/skeleton/protocols/aspir/templates/plan.md +0 -20
  277. package/skeleton/protocols/aspir/templates/spec.md +0 -28
  278. package/skeleton/protocols/bugfix/builder-prompt.md +6 -6
  279. package/skeleton/protocols/bugfix/prompts/pr.md +16 -4
  280. package/skeleton/protocols/experiment/builder-prompt.md +15 -0
  281. package/skeleton/protocols/experiment/protocol.md +1 -6
  282. package/skeleton/protocols/maintain/builder-prompt.md +12 -11
  283. package/skeleton/protocols/maintain/prompts/maintain.md +88 -0
  284. package/skeleton/protocols/maintain/prompts/review.md +84 -0
  285. package/skeleton/protocols/maintain/protocol.json +14 -68
  286. package/skeleton/protocols/maintain/protocol.md +111 -409
  287. package/skeleton/protocols/maintain/templates/maintenance-run.md +18 -49
  288. package/skeleton/protocols/protocol-schema.json +1 -1
  289. package/skeleton/protocols/spike/builder-prompt.md +1 -1
  290. package/skeleton/protocols/spike/protocol.md +4 -4
  291. package/skeleton/protocols/spir/builder-prompt.md +28 -5
  292. package/skeleton/protocols/spir/prompts/review.md +11 -0
  293. package/skeleton/protocols/spir/protocol.json +9 -1
  294. package/skeleton/protocols/spir/protocol.md +2 -2
  295. package/skeleton/protocols/spir/templates/plan.md +0 -20
  296. package/skeleton/protocols/spir/templates/spec.md +0 -28
  297. package/skeleton/resources/commands/agent-farm.md +84 -84
  298. package/skeleton/resources/commands/codev.md +1 -1
  299. package/skeleton/resources/commands/consult.md +16 -7
  300. package/skeleton/resources/commands/overview.md +14 -15
  301. package/skeleton/resources/risk-triage.md +1 -1
  302. package/skeleton/resources/workflow-reference.md +14 -14
  303. package/skeleton/roles/architect.md +55 -43
  304. package/skeleton/roles/builder.md +22 -14
  305. package/skeleton/templates/AGENTS.md +4 -3
  306. package/skeleton/templates/CLAUDE.md +4 -3
  307. package/skeleton/templates/cheatsheet.md +11 -12
  308. package/templates/3d-viewer.html +16 -18
  309. package/templates/tower.html +1 -1
  310. package/dashboard/dist/assets/index-CiIBsixF.js +0 -194
  311. package/dashboard/dist/assets/index-CiIBsixF.js.map +0 -1
  312. package/skeleton/.claude/skills/af/SKILL.md +0 -146
  313. package/skeleton/porch/prompts/understand.md +0 -61
  314. package/skeleton/porch/prompts/verify.md +0 -58
  315. package/skeleton/protocols/maintain/prompts/audit.md +0 -111
  316. package/skeleton/protocols/maintain/prompts/clean.md +0 -91
  317. package/skeleton/protocols/maintain/prompts/sync.md +0 -113
  318. package/skeleton/protocols/maintain/prompts/verify.md +0 -110
  319. package/skeleton/protocols/tick/builder-prompt.md +0 -65
  320. package/skeleton/protocols/tick/consult-types/impl-review.md +0 -72
  321. package/skeleton/protocols/tick/consult-types/plan-review.md +0 -59
  322. package/skeleton/protocols/tick/consult-types/pr-review.md +0 -72
  323. package/skeleton/protocols/tick/consult-types/spec-review.md +0 -55
  324. package/skeleton/protocols/tick/protocol.json +0 -151
  325. package/skeleton/protocols/tick/protocol.md +0 -277
  326. package/skeleton/protocols/tick/templates/plan.md +0 -67
  327. package/skeleton/protocols/tick/templates/review.md +0 -89
  328. package/skeleton/protocols/tick/templates/spec.md +0 -61
@@ -1,11 +1,11 @@
1
- # af - Agent Farm CLI
1
+ # afx - Agent Farm CLI
2
2
 
3
- The `af` (agent-farm) command manages multi-agent orchestration for software development. It spawns and manages builders in isolated git worktrees.
3
+ The `afx` (agent-farm) command manages multi-agent orchestration for software development. It spawns and manages builders in isolated git worktrees.
4
4
 
5
5
  ## Synopsis
6
6
 
7
7
  ```
8
- af <command> [options]
8
+ afx <command> [options]
9
9
  ```
10
10
 
11
11
  ## Global Options
@@ -18,18 +18,18 @@ af <command> [options]
18
18
 
19
19
  ## Commands
20
20
 
21
- ### af workspace
21
+ ### afx workspace
22
22
 
23
23
  Workspace commands - start/stop the workspace for this project.
24
24
 
25
- > **Deprecation note:** `af dash` is a deprecated alias for `af workspace`. It still works but prints a deprecation warning.
25
+ > **Deprecation note:** `afx dash` is a deprecated alias for `afx workspace`. It still works but prints a deprecation warning.
26
26
 
27
- #### af workspace start
27
+ #### afx workspace start
28
28
 
29
29
  Start the workspace.
30
30
 
31
31
  ```bash
32
- af workspace start [options]
32
+ afx workspace start [options]
33
33
  ```
34
34
 
35
35
  **Options:**
@@ -53,16 +53,16 @@ The workspace overview is accessible via browser at `http://localhost:<port>`.
53
53
 
54
54
  ```bash
55
55
  # Start with defaults
56
- af workspace start
56
+ afx workspace start
57
57
 
58
58
  # Start with custom port
59
- af workspace start -p 4300
59
+ afx workspace start -p 4300
60
60
 
61
61
  # Start with specific command
62
- af workspace start -c "claude --model opus"
62
+ afx workspace start -c "claude --model opus"
63
63
 
64
64
  # Start on remote machine
65
- af workspace start --remote user@host
65
+ afx workspace start --remote user@host
66
66
  ```
67
67
 
68
68
  #### Remote Access
@@ -71,13 +71,13 @@ Start Agent Farm on a remote machine and access it from your local workstation w
71
71
 
72
72
  ```bash
73
73
  # On your local machine - one command does everything:
74
- af workspace start --remote user@remote-host
74
+ afx workspace start --remote user@remote-host
75
75
 
76
76
  # Or with explicit project path:
77
- af workspace start --remote user@remote-host:/path/to/project
77
+ afx workspace start --remote user@remote-host:/path/to/project
78
78
 
79
79
  # With custom port:
80
- af workspace start --remote user@remote-host --port 4300
80
+ afx workspace start --remote user@remote-host --port 4300
81
81
  ```
82
82
 
83
83
  This single command:
@@ -92,16 +92,16 @@ The workspace and all terminals work identically to local development. Press Ctr
92
92
 
93
93
  **Port Selection:**
94
94
 
95
- The port is determined by the global port registry (`af ports list`). Each project gets a consistent 100-port block (e.g., 4200-4299, 4600-4699). The same port is used on both local and remote ends for the SSH tunnel.
95
+ The port is determined by the global port registry (`afx ports list`). Each project gets a consistent 100-port block (e.g., 4200-4299, 4600-4699). The same port is used on both local and remote ends for the SSH tunnel.
96
96
 
97
97
  ```bash
98
98
  # Check your project's port allocation
99
- af ports list
99
+ afx ports list
100
100
  ```
101
101
 
102
102
  **Prerequisites:**
103
103
  - SSH server must be running on the remote machine
104
- - Agent Farm (`af`) must be installed on the remote machine
104
+ - Agent Farm (`afx`) must be installed on the remote machine
105
105
  - **Passwordless SSH required** - set up with `ssh-copy-id user@host`
106
106
  - Same version of codev on both machines (warnings shown if mismatched)
107
107
 
@@ -112,23 +112,23 @@ If the remote can't find `claude` or other commands, ensure they're in your PATH
112
112
  export PATH="$HOME/.local/bin:$PATH"
113
113
  ```
114
114
 
115
- **Limitation**: File annotation tabs (`af open`) use separate ports and won't work through the tunnel. Use terminals for file viewing, or forward additional ports manually.
115
+ **Limitation**: File annotation tabs (`afx open`) use separate ports and won't work through the tunnel. Use terminals for file viewing, or forward additional ports manually.
116
116
 
117
117
  **Legacy mode** (deprecated):
118
118
 
119
119
  ```bash
120
120
  # DEPRECATED: Exposes workspace without authentication
121
- af workspace start --allow-insecure-remote
121
+ afx workspace start --allow-insecure-remote
122
122
  ```
123
123
 
124
124
  The `--allow-insecure-remote` flag binds to `0.0.0.0` with no authentication. Use `--remote` instead for secure access via SSH.
125
125
 
126
- #### af workspace stop
126
+ #### afx workspace stop
127
127
 
128
128
  Stop all agent farm processes for this project.
129
129
 
130
130
  ```bash
131
- af workspace stop
131
+ afx workspace stop
132
132
  ```
133
133
 
134
134
  **Description:**
@@ -137,23 +137,23 @@ Stops all running agent-farm processes including:
137
137
  - Terminal sessions (shellper processes)
138
138
  - Workspace servers
139
139
 
140
- Does NOT clean up worktrees - use `af cleanup` for that.
140
+ Does NOT clean up worktrees - use `afx cleanup` for that.
141
141
 
142
142
  ---
143
143
 
144
- ### af spawn
144
+ ### afx spawn
145
145
 
146
146
  Spawn a new builder.
147
147
 
148
148
  ```bash
149
- af spawn [issue-number] --protocol <name> [options]
149
+ afx spawn [issue-number] --protocol <name> [options]
150
150
  ```
151
151
 
152
152
  **Arguments:**
153
153
  - `issue-number` - Issue number to build (positional, e.g., `42`)
154
154
 
155
155
  **Required:**
156
- - `--protocol <name>` - Protocol to use: spir, bugfix, tick, maintain, experiment. **REQUIRED** for all numbered spawns. Only `--task`, `--shell`, and `--worktree` spawns skip this flag.
156
+ - `--protocol <name>` - Protocol to use: spir, aspir, air, bugfix, maintain, experiment. **REQUIRED** for all numbered spawns. Only `--task`, `--shell`, and `--worktree` spawns skip this flag.
157
157
 
158
158
  **Options:**
159
159
  - `--task <text>` - Spawn builder with a task description (no `--protocol` needed)
@@ -181,37 +181,37 @@ Creates a new builder in an isolated git worktree. The builder gets:
181
181
 
182
182
  ```bash
183
183
  # Spawn builder for issue #42 — --protocol is REQUIRED
184
- af spawn 42 --protocol spir
184
+ afx spawn 42 --protocol spir
185
185
 
186
186
  # Spawn builder for a bugfix
187
- af spawn 42 --protocol bugfix
187
+ afx spawn 42 --protocol bugfix
188
188
 
189
189
  # Spawn with task description (no --protocol needed)
190
- af spawn --task "Fix login bug in auth module"
190
+ afx spawn --task "Fix login bug in auth module"
191
191
 
192
192
  # Spawn bare Claude session (no --protocol needed)
193
- af spawn --shell
193
+ afx spawn --shell
194
194
 
195
195
  # Spawn with context files
196
- af spawn 42 --protocol spir --files "src/auth.ts,tests/auth.test.ts"
196
+ afx spawn 42 --protocol spir --files "src/auth.ts,tests/auth.test.ts"
197
197
  ```
198
198
 
199
199
  **Common Errors:**
200
200
 
201
201
  | Error | Cause | Fix |
202
202
  |-------|-------|-----|
203
- | "Missing required flag: --protocol" | Forgot `--protocol` | Add `--protocol spir` (or bugfix, tick, etc.) |
203
+ | "Missing required flag: --protocol" | Forgot `--protocol` | Add `--protocol spir` (or bugfix, air, etc.) |
204
204
  | "Dirty worktree" | Uncommitted changes | Run `git status`, commit changes, retry |
205
- | "Builder already exists" | Worktree collision | Use `--resume` to resume, or `af cleanup` first |
205
+ | "Builder already exists" | Worktree collision | Use `--resume` to resume, or `afx cleanup` first |
206
206
 
207
207
  ---
208
208
 
209
- ### af status
209
+ ### afx status
210
210
 
211
211
  Show status of all agents.
212
212
 
213
213
  ```bash
214
- af status
214
+ afx status
215
215
  ```
216
216
 
217
217
  **Description:**
@@ -237,12 +237,12 @@ Status values:
237
237
 
238
238
  ---
239
239
 
240
- ### af cleanup
240
+ ### afx cleanup
241
241
 
242
242
  Clean up a builder worktree and branch.
243
243
 
244
244
  ```bash
245
- af cleanup -p <id> [options]
245
+ afx cleanup -p <id> [options]
246
246
  ```
247
247
 
248
248
  **Options:**
@@ -257,20 +257,20 @@ Removes a builder's worktree and associated resources. By default, refuses to de
257
257
 
258
258
  ```bash
259
259
  # Clean up completed builder
260
- af cleanup -p 42
260
+ afx cleanup -p 42
261
261
 
262
262
  # Force cleanup (may lose work)
263
- af cleanup -p 42 --force
263
+ afx cleanup -p 42 --force
264
264
  ```
265
265
 
266
266
  ---
267
267
 
268
- ### af send
268
+ ### afx send
269
269
 
270
270
  Send instructions to a running builder.
271
271
 
272
272
  ```bash
273
- af send [builder] [message] [options]
273
+ afx send [builder] [message] [options]
274
274
  ```
275
275
 
276
276
  **Arguments:**
@@ -295,26 +295,26 @@ Sends text to a builder's terminal. Useful for:
295
295
 
296
296
  ```bash
297
297
  # Send message to builder
298
- af send 42 "Focus on the auth module first"
298
+ afx send 42 "Focus on the auth module first"
299
299
 
300
300
  # Interrupt and send new instructions
301
- af send 42 --interrupt "Stop that. Try a different approach."
301
+ afx send 42 --interrupt "Stop that. Try a different approach."
302
302
 
303
303
  # Send to all builders
304
- af send --all "Time to wrap up, create PRs"
304
+ afx send --all "Time to wrap up, create PRs"
305
305
 
306
306
  # Include file content
307
- af send 42 --file src/api.ts "Review this implementation"
307
+ afx send 42 --file src/api.ts "Review this implementation"
308
308
  ```
309
309
 
310
310
  ---
311
311
 
312
- ### af open
312
+ ### afx open
313
313
 
314
314
  Open file annotation viewer.
315
315
 
316
316
  ```bash
317
- af open <file>
317
+ afx open <file>
318
318
  ```
319
319
 
320
320
  **Arguments:**
@@ -327,17 +327,17 @@ Opens a web-based viewer for annotating files with review comments. Comments use
327
327
  **Example:**
328
328
 
329
329
  ```bash
330
- af open src/auth/login.ts
330
+ afx open src/auth/login.ts
331
331
  ```
332
332
 
333
333
  ---
334
334
 
335
- ### af shell
335
+ ### afx shell
336
336
 
337
337
  Spawn a utility shell terminal.
338
338
 
339
339
  ```bash
340
- af shell [options]
340
+ afx shell [options]
341
341
  ```
342
342
 
343
343
  **Options:**
@@ -354,20 +354,20 @@ Opens a general-purpose shell terminal in the workspace overview. Useful for:
354
354
 
355
355
  ```bash
356
356
  # Open utility shell
357
- af shell
357
+ afx shell
358
358
 
359
359
  # Open with custom name
360
- af shell -n "test-runner"
360
+ afx shell -n "test-runner"
361
361
  ```
362
362
 
363
363
  ---
364
364
 
365
- ### af rename
365
+ ### afx rename
366
366
 
367
367
  Rename a builder or utility terminal.
368
368
 
369
369
  ```bash
370
- af rename <id> <name>
370
+ afx rename <id> <name>
371
371
  ```
372
372
 
373
373
  **Arguments:**
@@ -377,21 +377,21 @@ af rename <id> <name>
377
377
  **Example:**
378
378
 
379
379
  ```bash
380
- af rename 42 "auth-rework"
380
+ afx rename 42 "auth-rework"
381
381
  ```
382
382
 
383
383
  ---
384
384
 
385
- ### af ports
385
+ ### afx ports
386
386
 
387
387
  Manage global port registry.
388
388
 
389
- #### af ports list
389
+ #### afx ports list
390
390
 
391
391
  List all port allocations.
392
392
 
393
393
  ```bash
394
- af ports list
394
+ afx ports list
395
395
  ```
396
396
 
397
397
  Shows port blocks allocated to different projects:
@@ -401,73 +401,73 @@ Port Allocations
401
401
  4300-4399: /Users/me/project-b
402
402
  ```
403
403
 
404
- #### af ports cleanup
404
+ #### afx ports cleanup
405
405
 
406
406
  Remove stale port allocations.
407
407
 
408
408
  ```bash
409
- af ports cleanup
409
+ afx ports cleanup
410
410
  ```
411
411
 
412
412
  Removes entries for projects that no longer exist.
413
413
 
414
414
  ---
415
415
 
416
- ### af tower
416
+ ### afx tower
417
417
 
418
418
  Manage the cross-project tower dashboard. Tower shows all agent-farm instances across projects and provides cloud connectivity via codevos.ai.
419
419
 
420
- #### af tower start
420
+ #### afx tower start
421
421
 
422
422
  Start the tower dashboard.
423
423
 
424
424
  ```bash
425
- af tower start [options]
425
+ afx tower start [options]
426
426
  ```
427
427
 
428
428
  **Options:**
429
429
  - `-p, --port <port>` - Port to run on (default: 4100)
430
430
 
431
- #### af tower stop
431
+ #### afx tower stop
432
432
 
433
433
  Stop the tower dashboard.
434
434
 
435
435
  ```bash
436
- af tower stop [options]
436
+ afx tower stop [options]
437
437
  ```
438
438
 
439
439
  **Options:**
440
440
  - `-p, --port <port>` - Port to stop (default: 4100)
441
441
 
442
- #### af tower register
442
+ #### afx tower register
443
443
 
444
444
  Register this tower with codevos.ai for remote access.
445
445
 
446
446
  ```bash
447
- af tower register [options]
447
+ afx tower register [options]
448
448
  ```
449
449
 
450
450
  **Options:**
451
451
  - `--reauth` - Re-authenticate without changing tower name
452
452
  - `-p, --port <port>` - Tower port to signal after registration (default: 4100)
453
453
 
454
- #### af tower deregister
454
+ #### afx tower deregister
455
455
 
456
456
  Remove this tower's registration from codevos.ai.
457
457
 
458
458
  ```bash
459
- af tower deregister [options]
459
+ afx tower deregister [options]
460
460
  ```
461
461
 
462
462
  **Options:**
463
463
  - `-p, --port <port>` - Tower port to signal after deregistration (default: 4100)
464
464
 
465
- #### af tower status
465
+ #### afx tower status
466
466
 
467
467
  Show tower status including cloud connection info.
468
468
 
469
469
  ```bash
470
- af tower status [options]
470
+ afx tower status [options]
471
471
  ```
472
472
 
473
473
  **Options:**
@@ -478,27 +478,27 @@ af tower status [options]
478
478
 
479
479
  ---
480
480
 
481
- ### af db
481
+ ### afx db
482
482
 
483
483
  Database debugging and maintenance commands.
484
484
 
485
- #### af db dump
485
+ #### afx db dump
486
486
 
487
487
  Export all tables to JSON.
488
488
 
489
489
  ```bash
490
- af db dump [options]
490
+ afx db dump [options]
491
491
  ```
492
492
 
493
493
  **Options:**
494
494
  - `--global` - Dump global.db instead of project db
495
495
 
496
- #### af db query
496
+ #### afx db query
497
497
 
498
498
  Run a SELECT query.
499
499
 
500
500
  ```bash
501
- af db query <sql> [options]
501
+ afx db query <sql> [options]
502
502
  ```
503
503
 
504
504
  **Options:**
@@ -507,27 +507,27 @@ af db query <sql> [options]
507
507
  **Example:**
508
508
 
509
509
  ```bash
510
- af db query "SELECT * FROM builders WHERE status = 'implementing'"
510
+ afx db query "SELECT * FROM builders WHERE status = 'implementing'"
511
511
  ```
512
512
 
513
- #### af db reset
513
+ #### afx db reset
514
514
 
515
515
  Delete database and start fresh.
516
516
 
517
517
  ```bash
518
- af db reset [options]
518
+ afx db reset [options]
519
519
  ```
520
520
 
521
521
  **Options:**
522
522
  - `--global` - Reset global.db
523
523
  - `--force` - Skip confirmation
524
524
 
525
- #### af db stats
525
+ #### afx db stats
526
526
 
527
527
  Show database statistics.
528
528
 
529
529
  ```bash
530
- af db stats [options]
530
+ afx db stats [options]
531
531
  ```
532
532
 
533
533
  **Options:**
@@ -537,7 +537,7 @@ af db stats [options]
537
537
 
538
538
  ## Configuration
539
539
 
540
- Customize commands via `af-config.json` at the project root:
540
+ Customize commands via `.codev/config.json` at the project root:
541
541
 
542
542
  ```json
543
543
  {
@@ -552,8 +552,8 @@ Customize commands via `af-config.json` at the project root:
552
552
  Or override via CLI flags:
553
553
 
554
554
  ```bash
555
- af workspace start --architect-cmd "claude --model opus"
556
- af spawn 42 --protocol spir --builder-cmd "claude --model haiku"
555
+ afx workspace start --architect-cmd "claude --model opus"
556
+ afx spawn 42 --protocol spir --builder-cmd "claude --model haiku"
557
557
  ```
558
558
 
559
559
  ---
@@ -564,7 +564,7 @@ af spawn 42 --protocol spir --builder-cmd "claude --model haiku"
564
564
  |------|-------------|
565
565
  | `.agent-farm/state.db` | Project runtime state (SQLite) |
566
566
  | `~/.agent-farm/global.db` | Global port registry (SQLite) |
567
- | `af-config.json` | Agent Farm configuration (project root) |
567
+ | `.codev/config.json` | Agent Farm configuration (project root) |
568
568
 
569
569
  ---
570
570
 
@@ -171,6 +171,6 @@ codev update --force
171
171
 
172
172
  ## See Also
173
173
 
174
- - [af](agent-farm.md) - Agent Farm commands
174
+ - [afx](agent-farm.md) - Agent Farm commands
175
175
  - [consult](consult.md) - AI consultation
176
176
  - [overview](overview.md) - CLI overview
@@ -1,6 +1,6 @@
1
1
  # consult - AI Consultation CLI
2
2
 
3
- The `consult` command provides a unified interface for AI consultation with external models (Gemini, Codex, Claude). It operates in three modes: general (ad-hoc prompts), protocol-based (structured reviews), and stats.
3
+ The `consult` command provides a unified interface for AI consultation with external models (Gemini, Codex, Claude, Hermes). It operates in three modes: general (ad-hoc prompts), protocol-based (structured reviews), and stats.
4
4
 
5
5
  ## Synopsis
6
6
 
@@ -22,6 +22,7 @@ consult stats [options]
22
22
  | `gemini` | `pro` | gemini-cli | File access via --yolo, fast |
23
23
  | `codex` | `gpt` | @openai/codex | Read-only sandbox, thorough |
24
24
  | `claude` | `opus` | Claude Agent SDK | Balanced analysis with tool use |
25
+ | `hermes` | - | hermes CLI (`hermes chat -q`) | Uses Hermes agent as consult backend |
25
26
 
26
27
  ## Modes
27
28
 
@@ -45,7 +46,7 @@ Cannot combine `--prompt` with `--prompt-file` or `--type`.
45
46
 
46
47
  ### Protocol Mode
47
48
 
48
- Run structured reviews tied to a development protocol (SPIR, TICK, bugfix, maintain).
49
+ Run structured reviews tied to a development protocol (SPIR, ASPIR, AIR, bugfix, maintain).
49
50
 
50
51
  ```bash
51
52
  # Review a spec (auto-detects project context in builder worktrees)
@@ -68,7 +69,7 @@ consult -m gemini --type integration
68
69
  ```
69
70
 
70
71
  **Options:**
71
- - `--protocol <name>` — Protocol: spir, bugfix, tick, maintain
72
+ - `--protocol <name>` — Protocol: spir, aspir, air, bugfix, maintain
72
73
  - `-t, --type <type>` — Review type: spec, plan, impl, pr, phase, integration
73
74
  - `--issue <number>` — Issue number (required from architect context)
74
75
 
@@ -108,16 +109,21 @@ These flags are used by porch (the protocol orchestrator) when generating consul
108
109
  --project-id <id> Project ID for metrics
109
110
  ```
110
111
 
111
- ## Parallel Consultation (3-Way Reviews)
112
+ ## Parallel Consultation (Multi-Model Reviews)
113
+
114
+ Default project configuration uses a 3-model set (`gemini`, `codex`, `claude`).
112
115
 
113
116
  For thorough reviews, run multiple models in parallel:
114
117
 
115
118
  ```bash
116
- # 3-way spec review
119
+ # Default 3-way spec review
117
120
  consult -m gemini --protocol spir --type spec &
118
121
  consult -m codex --protocol spir --type spec &
119
122
  consult -m claude --protocol spir --type spec &
120
123
  wait
124
+
125
+ # Optional: include Hermes as a 4th reviewer
126
+ consult -m hermes --protocol spir --type spec
121
127
  ```
122
128
 
123
129
  ## Performance
@@ -183,12 +189,15 @@ consult -m codex --protocol spir --type pr --issue 42
183
189
  # Protocol: implementation review with bugfix protocol
184
190
  consult -m claude --protocol bugfix --type impl
185
191
 
186
- # 3-way parallel review
192
+ # Default 3-way parallel review
187
193
  consult -m gemini --protocol spir --type spec &
188
194
  consult -m codex --protocol spir --type spec &
189
195
  consult -m claude --protocol spir --type spec &
190
196
  wait
191
197
 
198
+ # Optional: include Hermes as an additional reviewer
199
+ consult -m hermes --protocol spir --type spec
200
+
192
201
  # Stats
193
202
  consult stats --days 7 --json
194
203
  ```
@@ -196,5 +205,5 @@ consult stats --days 7 --json
196
205
  ## See Also
197
206
 
198
207
  - [codev](codev.md) - Project management commands
199
- - [af](agent-farm.md) - Agent Farm commands
208
+ - [afx](agent-farm.md) - Agent Farm commands
200
209
  - [overview](overview.md) - CLI overview
@@ -5,7 +5,7 @@ Codev provides three CLI tools for AI-assisted software development:
5
5
  | Tool | Description |
6
6
  |------|-------------|
7
7
  | `codev` | Project setup, maintenance, and framework commands |
8
- | `af` | Agent Farm - multi-agent orchestration for development |
8
+ | `afx` | Agent Farm - multi-agent orchestration for development |
9
9
  | `consult` | AI consultation with external models (Gemini, Codex, Claude) |
10
10
 
11
11
  ## Quick Start
@@ -21,7 +21,7 @@ codev adopt
21
21
  codev doctor
22
22
 
23
23
  # Start the workspace
24
- af workspace start
24
+ afx workspace start
25
25
 
26
26
  # Consult an AI model about a spec
27
27
  consult -m gemini --protocol spir --type spec
@@ -33,7 +33,7 @@ consult -m gemini --protocol spir --type spec
33
33
  npm install -g @cluesmith/codev
34
34
  ```
35
35
 
36
- This installs all three commands globally: `codev`, `af`, and `consult`.
36
+ This installs all three commands globally: `codev`, `afx`, and `consult`.
37
37
 
38
38
  ## Command Summaries
39
39
 
@@ -49,19 +49,19 @@ This installs all three commands globally: `codev`, `af`, and `consult`.
49
49
 
50
50
  See [codev.md](codev.md) for full documentation.
51
51
 
52
- ### af - Agent Farm
52
+ ### afx - Agent Farm
53
53
 
54
54
  | Command | Description |
55
55
  |---------|-------------|
56
- | `af workspace start` | Start the workspace |
57
- | `af workspace stop` | Stop all agent farm processes |
58
- | `af spawn` | Spawn a new builder |
59
- | `af status` | Show status of all agents |
60
- | `af cleanup` | Clean up a builder worktree |
61
- | `af send` | Send instructions to a builder |
62
- | `af open` | Open file annotation viewer |
63
- | `af shell` | Spawn a utility shell |
64
- | `af tower` | Cross-project dashboard |
56
+ | `afx workspace start` | Start the workspace |
57
+ | `afx workspace stop` | Stop all agent farm processes |
58
+ | `afx spawn` | Spawn a new builder |
59
+ | `afx status` | Show status of all agents |
60
+ | `afx cleanup` | Clean up a builder worktree |
61
+ | `afx send` | Send instructions to a builder |
62
+ | `afx open` | Open file annotation viewer |
63
+ | `afx shell` | Spawn a utility shell |
64
+ | `afx tower` | Cross-project dashboard |
65
65
 
66
66
  See [agent-farm.md](agent-farm.md) for full documentation.
67
67
 
@@ -86,11 +86,10 @@ All codev commands support:
86
86
 
87
87
  ## Configuration
88
88
 
89
- Agent Farm is configured via `af-config.json` at the project root. Created during `codev init` or `codev adopt`. Override via CLI flags: `--architect-cmd`, `--builder-cmd`, `--shell-cmd`.
89
+ Agent Farm is configured via `.codev/config.json` at the project root. Created during `codev init` or `codev adopt`. Override via CLI flags: `--architect-cmd`, `--builder-cmd`, `--shell-cmd`.
90
90
 
91
91
  ## Related Documentation
92
92
 
93
93
  - [SPIR Protocol](../protocols/spir/protocol.md) - Multi-phase development workflow
94
- - [TICK Protocol](../protocols/tick/protocol.md) - Fast amendment workflow
95
94
  - [Architect Role](../roles/architect.md) - Architect responsibilities
96
95
  - [Builder Role](../roles/builder.md) - Builder responsibilities
@@ -77,7 +77,7 @@ Low-risk test fix. Corrects assertion in foo.test.ts.
77
77
  ---
78
78
  Architect review"
79
79
 
80
- af send 0042 "PR approved, please merge"
80
+ afx send 0042 "PR approved, please merge"
81
81
  ```
82
82
 
83
83
  ### Medium Risk: New Feature (180 lines, 3 files, commands/)