@cluesmith/codev 2.0.0-rc.6 → 2.0.0-rc.61

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 (377) hide show
  1. package/bin/af.js +2 -2
  2. package/bin/consult.js +1 -1
  3. package/bin/porch.js +6 -35
  4. package/dashboard/dist/assets/index-CXloFYpB.css +32 -0
  5. package/dashboard/dist/assets/index-Ca2fjOJf.js +131 -0
  6. package/dashboard/dist/assets/index-Ca2fjOJf.js.map +1 -0
  7. package/dashboard/dist/index.html +14 -0
  8. package/dist/agent-farm/cli.d.ts.map +1 -1
  9. package/dist/agent-farm/cli.js +94 -65
  10. package/dist/agent-farm/cli.js.map +1 -1
  11. package/dist/agent-farm/commands/architect.d.ts.map +1 -1
  12. package/dist/agent-farm/commands/architect.js +13 -6
  13. package/dist/agent-farm/commands/architect.js.map +1 -1
  14. package/dist/agent-farm/commands/attach.d.ts +13 -0
  15. package/dist/agent-farm/commands/attach.d.ts.map +1 -0
  16. package/dist/agent-farm/commands/attach.js +202 -0
  17. package/dist/agent-farm/commands/attach.js.map +1 -0
  18. package/dist/agent-farm/commands/cleanup.d.ts.map +1 -1
  19. package/dist/agent-farm/commands/cleanup.js +30 -3
  20. package/dist/agent-farm/commands/cleanup.js.map +1 -1
  21. package/dist/agent-farm/commands/consult.js +1 -1
  22. package/dist/agent-farm/commands/consult.js.map +1 -1
  23. package/dist/agent-farm/commands/index.d.ts +2 -2
  24. package/dist/agent-farm/commands/index.d.ts.map +1 -1
  25. package/dist/agent-farm/commands/index.js +2 -2
  26. package/dist/agent-farm/commands/index.js.map +1 -1
  27. package/dist/agent-farm/commands/open.d.ts +4 -2
  28. package/dist/agent-farm/commands/open.d.ts.map +1 -1
  29. package/dist/agent-farm/commands/open.js +34 -70
  30. package/dist/agent-farm/commands/open.js.map +1 -1
  31. package/dist/agent-farm/commands/send.d.ts.map +1 -1
  32. package/dist/agent-farm/commands/send.js +55 -17
  33. package/dist/agent-farm/commands/send.js.map +1 -1
  34. package/dist/agent-farm/commands/shell.d.ts +15 -0
  35. package/dist/agent-farm/commands/shell.d.ts.map +1 -0
  36. package/dist/agent-farm/commands/shell.js +61 -0
  37. package/dist/agent-farm/commands/shell.js.map +1 -0
  38. package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
  39. package/dist/agent-farm/commands/spawn.js +503 -226
  40. package/dist/agent-farm/commands/spawn.js.map +1 -1
  41. package/dist/agent-farm/commands/start.d.ts +3 -0
  42. package/dist/agent-farm/commands/start.d.ts.map +1 -1
  43. package/dist/agent-farm/commands/start.js +58 -265
  44. package/dist/agent-farm/commands/start.js.map +1 -1
  45. package/dist/agent-farm/commands/status.d.ts +2 -0
  46. package/dist/agent-farm/commands/status.d.ts.map +1 -1
  47. package/dist/agent-farm/commands/status.js +61 -3
  48. package/dist/agent-farm/commands/status.js.map +1 -1
  49. package/dist/agent-farm/commands/stop.d.ts +6 -0
  50. package/dist/agent-farm/commands/stop.d.ts.map +1 -1
  51. package/dist/agent-farm/commands/stop.js +116 -12
  52. package/dist/agent-farm/commands/stop.js.map +1 -1
  53. package/dist/agent-farm/commands/tower.d.ts +9 -0
  54. package/dist/agent-farm/commands/tower.d.ts.map +1 -1
  55. package/dist/agent-farm/commands/tower.js +59 -19
  56. package/dist/agent-farm/commands/tower.js.map +1 -1
  57. package/dist/agent-farm/db/index.d.ts.map +1 -1
  58. package/dist/agent-farm/db/index.js +124 -0
  59. package/dist/agent-farm/db/index.js.map +1 -1
  60. package/dist/agent-farm/db/schema.d.ts +2 -2
  61. package/dist/agent-farm/db/schema.d.ts.map +1 -1
  62. package/dist/agent-farm/db/schema.js +26 -5
  63. package/dist/agent-farm/db/schema.js.map +1 -1
  64. package/dist/agent-farm/db/types.d.ts +3 -0
  65. package/dist/agent-farm/db/types.d.ts.map +1 -1
  66. package/dist/agent-farm/db/types.js +3 -0
  67. package/dist/agent-farm/db/types.js.map +1 -1
  68. package/dist/agent-farm/hq-connector.d.ts +2 -6
  69. package/dist/agent-farm/hq-connector.d.ts.map +1 -1
  70. package/dist/agent-farm/hq-connector.js +2 -17
  71. package/dist/agent-farm/hq-connector.js.map +1 -1
  72. package/dist/agent-farm/lib/tower-client.d.ts +157 -0
  73. package/dist/agent-farm/lib/tower-client.d.ts.map +1 -0
  74. package/dist/agent-farm/lib/tower-client.js +223 -0
  75. package/dist/agent-farm/lib/tower-client.js.map +1 -0
  76. package/dist/agent-farm/servers/tower-server.js +2340 -109
  77. package/dist/agent-farm/servers/tower-server.js.map +1 -1
  78. package/dist/agent-farm/state.d.ts +4 -10
  79. package/dist/agent-farm/state.d.ts.map +1 -1
  80. package/dist/agent-farm/state.js +30 -31
  81. package/dist/agent-farm/state.js.map +1 -1
  82. package/dist/agent-farm/types.d.ts +48 -1
  83. package/dist/agent-farm/types.d.ts.map +1 -1
  84. package/dist/agent-farm/utils/config.d.ts.map +1 -1
  85. package/dist/agent-farm/utils/config.js +13 -14
  86. package/dist/agent-farm/utils/config.js.map +1 -1
  87. package/dist/agent-farm/utils/deps.d.ts.map +1 -1
  88. package/dist/agent-farm/utils/deps.js +0 -16
  89. package/dist/agent-farm/utils/deps.js.map +1 -1
  90. package/dist/agent-farm/utils/notifications.d.ts +30 -0
  91. package/dist/agent-farm/utils/notifications.d.ts.map +1 -0
  92. package/dist/agent-farm/utils/notifications.js +121 -0
  93. package/dist/agent-farm/utils/notifications.js.map +1 -0
  94. package/dist/agent-farm/utils/port-registry.d.ts +0 -1
  95. package/dist/agent-farm/utils/port-registry.d.ts.map +1 -1
  96. package/dist/agent-farm/utils/port-registry.js +1 -1
  97. package/dist/agent-farm/utils/port-registry.js.map +1 -1
  98. package/dist/agent-farm/utils/server-utils.d.ts +4 -4
  99. package/dist/agent-farm/utils/server-utils.d.ts.map +1 -1
  100. package/dist/agent-farm/utils/server-utils.js +4 -15
  101. package/dist/agent-farm/utils/server-utils.js.map +1 -1
  102. package/dist/agent-farm/utils/shell.d.ts +9 -22
  103. package/dist/agent-farm/utils/shell.d.ts.map +1 -1
  104. package/dist/agent-farm/utils/shell.js +34 -34
  105. package/dist/agent-farm/utils/shell.js.map +1 -1
  106. package/dist/agent-farm/utils/terminal-ports.d.ts +1 -1
  107. package/dist/agent-farm/utils/terminal-ports.js +1 -1
  108. package/dist/cli.d.ts.map +1 -1
  109. package/dist/cli.js +9 -54
  110. package/dist/cli.js.map +1 -1
  111. package/dist/commands/adopt.d.ts.map +1 -1
  112. package/dist/commands/adopt.js +49 -4
  113. package/dist/commands/adopt.js.map +1 -1
  114. package/dist/commands/consult/index.d.ts +2 -0
  115. package/dist/commands/consult/index.d.ts.map +1 -1
  116. package/dist/commands/consult/index.js +103 -6
  117. package/dist/commands/consult/index.js.map +1 -1
  118. package/dist/commands/doctor.d.ts.map +1 -1
  119. package/dist/commands/doctor.js +0 -15
  120. package/dist/commands/doctor.js.map +1 -1
  121. package/dist/commands/init.d.ts.map +1 -1
  122. package/dist/commands/init.js +41 -2
  123. package/dist/commands/init.js.map +1 -1
  124. package/dist/commands/porch/build-counter.d.ts +5 -0
  125. package/dist/commands/porch/build-counter.d.ts.map +1 -0
  126. package/dist/commands/porch/build-counter.js +5 -0
  127. package/dist/commands/porch/build-counter.js.map +1 -0
  128. package/dist/commands/porch/checks.d.ts +17 -29
  129. package/dist/commands/porch/checks.d.ts.map +1 -1
  130. package/dist/commands/porch/checks.js +96 -144
  131. package/dist/commands/porch/checks.js.map +1 -1
  132. package/dist/commands/porch/index.d.ts +21 -43
  133. package/dist/commands/porch/index.d.ts.map +1 -1
  134. package/dist/commands/porch/index.js +418 -1123
  135. package/dist/commands/porch/index.js.map +1 -1
  136. package/dist/commands/porch/next.d.ts +22 -0
  137. package/dist/commands/porch/next.d.ts.map +1 -0
  138. package/dist/commands/porch/next.js +481 -0
  139. package/dist/commands/porch/next.js.map +1 -0
  140. package/dist/commands/porch/plan.d.ts +70 -0
  141. package/dist/commands/porch/plan.d.ts.map +1 -0
  142. package/dist/commands/porch/plan.js +190 -0
  143. package/dist/commands/porch/plan.js.map +1 -0
  144. package/dist/commands/porch/prompts.d.ts +19 -0
  145. package/dist/commands/porch/prompts.d.ts.map +1 -0
  146. package/dist/commands/porch/prompts.js +255 -0
  147. package/dist/commands/porch/prompts.js.map +1 -0
  148. package/dist/commands/porch/protocol.d.ts +59 -0
  149. package/dist/commands/porch/protocol.d.ts.map +1 -0
  150. package/dist/commands/porch/protocol.js +294 -0
  151. package/dist/commands/porch/protocol.js.map +1 -0
  152. package/dist/commands/porch/state.d.ts +23 -112
  153. package/dist/commands/porch/state.d.ts.map +1 -1
  154. package/dist/commands/porch/state.js +81 -699
  155. package/dist/commands/porch/state.js.map +1 -1
  156. package/dist/commands/porch/types.d.ts +99 -164
  157. package/dist/commands/porch/types.d.ts.map +1 -1
  158. package/dist/commands/porch/types.js +2 -1
  159. package/dist/commands/porch/types.js.map +1 -1
  160. package/dist/commands/porch/verdict.d.ts +31 -0
  161. package/dist/commands/porch/verdict.d.ts.map +1 -0
  162. package/dist/commands/porch/verdict.js +59 -0
  163. package/dist/commands/porch/verdict.js.map +1 -0
  164. package/dist/commands/update.d.ts.map +1 -1
  165. package/dist/commands/update.js +31 -0
  166. package/dist/commands/update.js.map +1 -1
  167. package/dist/lib/scaffold.d.ts +37 -0
  168. package/dist/lib/scaffold.d.ts.map +1 -1
  169. package/dist/lib/scaffold.js +114 -0
  170. package/dist/lib/scaffold.js.map +1 -1
  171. package/dist/terminal/index.d.ts +8 -0
  172. package/dist/terminal/index.d.ts.map +1 -0
  173. package/dist/terminal/index.js +5 -0
  174. package/dist/terminal/index.js.map +1 -0
  175. package/dist/terminal/pty-manager.d.ts +60 -0
  176. package/dist/terminal/pty-manager.d.ts.map +1 -0
  177. package/dist/terminal/pty-manager.js +334 -0
  178. package/dist/terminal/pty-manager.js.map +1 -0
  179. package/dist/terminal/pty-session.d.ts +79 -0
  180. package/dist/terminal/pty-session.d.ts.map +1 -0
  181. package/dist/terminal/pty-session.js +215 -0
  182. package/dist/terminal/pty-session.js.map +1 -0
  183. package/dist/terminal/ring-buffer.d.ts +27 -0
  184. package/dist/terminal/ring-buffer.d.ts.map +1 -0
  185. package/dist/terminal/ring-buffer.js +74 -0
  186. package/dist/terminal/ring-buffer.js.map +1 -0
  187. package/dist/terminal/ws-protocol.d.ts +27 -0
  188. package/dist/terminal/ws-protocol.d.ts.map +1 -0
  189. package/dist/terminal/ws-protocol.js +44 -0
  190. package/dist/terminal/ws-protocol.js.map +1 -0
  191. package/package.json +18 -5
  192. package/skeleton/.claude/skills/af/SKILL.md +74 -0
  193. package/skeleton/.claude/skills/codev/SKILL.md +41 -0
  194. package/skeleton/.claude/skills/consult/SKILL.md +81 -0
  195. package/skeleton/.claude/skills/generate-image/SKILL.md +56 -0
  196. package/skeleton/DEPENDENCIES.md +3 -29
  197. package/skeleton/builders.md +1 -1
  198. package/skeleton/consult-types/impl-review.md +9 -0
  199. package/skeleton/porch/prompts/defend.md +1 -1
  200. package/skeleton/porch/prompts/evaluate.md +2 -2
  201. package/skeleton/porch/prompts/implement.md +1 -1
  202. package/skeleton/porch/prompts/plan.md +1 -1
  203. package/skeleton/porch/prompts/review.md +4 -4
  204. package/skeleton/porch/prompts/specify.md +1 -1
  205. package/skeleton/porch/prompts/understand.md +2 -2
  206. package/skeleton/protocol-schema.json +282 -0
  207. package/skeleton/protocols/bugfix/builder-prompt.md +54 -0
  208. package/skeleton/protocols/bugfix/prompts/fix.md +77 -0
  209. package/skeleton/protocols/bugfix/prompts/investigate.md +77 -0
  210. package/skeleton/protocols/bugfix/prompts/pr.md +61 -0
  211. package/skeleton/protocols/bugfix/protocol.json +19 -2
  212. package/skeleton/protocols/experiment/builder-prompt.md +52 -0
  213. package/skeleton/protocols/experiment/protocol.json +101 -0
  214. package/skeleton/protocols/experiment/protocol.md +3 -3
  215. package/skeleton/protocols/experiment/templates/notes.md +1 -1
  216. package/skeleton/protocols/maintain/builder-prompt.md +46 -0
  217. package/skeleton/protocols/maintain/prompts/audit.md +111 -0
  218. package/skeleton/protocols/maintain/prompts/clean.md +91 -0
  219. package/skeleton/protocols/maintain/prompts/sync.md +113 -0
  220. package/skeleton/protocols/maintain/prompts/verify.md +110 -0
  221. package/skeleton/protocols/maintain/protocol.json +141 -0
  222. package/skeleton/protocols/maintain/protocol.md +14 -8
  223. package/skeleton/protocols/protocol-schema.json +54 -1
  224. package/skeleton/protocols/spir/builder-prompt.md +59 -0
  225. package/skeleton/protocols/spir/prompts/implement.md +208 -0
  226. package/skeleton/protocols/{spider → spir}/prompts/plan.md +6 -70
  227. package/skeleton/protocols/{spider → spir}/prompts/review.md +7 -25
  228. package/skeleton/protocols/{spider → spir}/prompts/specify.md +33 -61
  229. package/skeleton/protocols/spir/protocol.json +152 -0
  230. package/skeleton/protocols/{spider → spir}/protocol.md +35 -21
  231. package/skeleton/protocols/{spider → spir}/templates/plan.md +14 -0
  232. package/skeleton/protocols/{spider → spir}/templates/review.md +1 -1
  233. package/skeleton/protocols/tick/builder-prompt.md +56 -0
  234. package/skeleton/protocols/tick/protocol.json +7 -2
  235. package/skeleton/protocols/tick/protocol.md +18 -18
  236. package/skeleton/protocols/tick/templates/review.md +1 -1
  237. package/skeleton/resources/commands/agent-farm.md +25 -43
  238. package/skeleton/resources/commands/overview.md +7 -17
  239. package/skeleton/resources/workflow-reference.md +4 -4
  240. package/skeleton/roles/architect.md +152 -315
  241. package/skeleton/roles/builder.md +109 -218
  242. package/skeleton/templates/AGENTS.md +2 -2
  243. package/skeleton/templates/CLAUDE.md +2 -2
  244. package/skeleton/templates/cheatsheet.md +7 -5
  245. package/skeleton/templates/projectlist.md +1 -1
  246. package/templates/dashboard/index.html +17 -43
  247. package/templates/dashboard/js/dialogs.js +7 -7
  248. package/templates/dashboard/js/files.js +2 -2
  249. package/templates/dashboard/js/main.js +4 -4
  250. package/templates/dashboard/js/projects.js +3 -3
  251. package/templates/dashboard/js/tabs.js +1 -1
  252. package/templates/dashboard/js/utils.js +22 -87
  253. package/templates/open.html +26 -0
  254. package/templates/tower.html +542 -27
  255. package/dist/agent-farm/commands/kickoff.d.ts +0 -19
  256. package/dist/agent-farm/commands/kickoff.d.ts.map +0 -1
  257. package/dist/agent-farm/commands/kickoff.js +0 -331
  258. package/dist/agent-farm/commands/kickoff.js.map +0 -1
  259. package/dist/agent-farm/commands/rename.d.ts +0 -13
  260. package/dist/agent-farm/commands/rename.d.ts.map +0 -1
  261. package/dist/agent-farm/commands/rename.js +0 -33
  262. package/dist/agent-farm/commands/rename.js.map +0 -1
  263. package/dist/agent-farm/commands/tutorial.d.ts +0 -10
  264. package/dist/agent-farm/commands/tutorial.d.ts.map +0 -1
  265. package/dist/agent-farm/commands/tutorial.js +0 -49
  266. package/dist/agent-farm/commands/tutorial.js.map +0 -1
  267. package/dist/agent-farm/commands/util.d.ts +0 -15
  268. package/dist/agent-farm/commands/util.d.ts.map +0 -1
  269. package/dist/agent-farm/commands/util.js +0 -108
  270. package/dist/agent-farm/commands/util.js.map +0 -1
  271. package/dist/agent-farm/servers/dashboard-server.d.ts +0 -7
  272. package/dist/agent-farm/servers/dashboard-server.d.ts.map +0 -1
  273. package/dist/agent-farm/servers/dashboard-server.js +0 -1872
  274. package/dist/agent-farm/servers/dashboard-server.js.map +0 -1
  275. package/dist/agent-farm/servers/open-server.d.ts +0 -7
  276. package/dist/agent-farm/servers/open-server.d.ts.map +0 -1
  277. package/dist/agent-farm/servers/open-server.js +0 -315
  278. package/dist/agent-farm/servers/open-server.js.map +0 -1
  279. package/dist/agent-farm/tutorial/index.d.ts +0 -8
  280. package/dist/agent-farm/tutorial/index.d.ts.map +0 -1
  281. package/dist/agent-farm/tutorial/index.js +0 -8
  282. package/dist/agent-farm/tutorial/index.js.map +0 -1
  283. package/dist/agent-farm/tutorial/prompts.d.ts +0 -57
  284. package/dist/agent-farm/tutorial/prompts.d.ts.map +0 -1
  285. package/dist/agent-farm/tutorial/prompts.js +0 -147
  286. package/dist/agent-farm/tutorial/prompts.js.map +0 -1
  287. package/dist/agent-farm/tutorial/runner.d.ts +0 -52
  288. package/dist/agent-farm/tutorial/runner.d.ts.map +0 -1
  289. package/dist/agent-farm/tutorial/runner.js +0 -204
  290. package/dist/agent-farm/tutorial/runner.js.map +0 -1
  291. package/dist/agent-farm/tutorial/state.d.ts +0 -26
  292. package/dist/agent-farm/tutorial/state.d.ts.map +0 -1
  293. package/dist/agent-farm/tutorial/state.js +0 -89
  294. package/dist/agent-farm/tutorial/state.js.map +0 -1
  295. package/dist/agent-farm/tutorial/steps/first-spec.d.ts +0 -7
  296. package/dist/agent-farm/tutorial/steps/first-spec.d.ts.map +0 -1
  297. package/dist/agent-farm/tutorial/steps/first-spec.js +0 -136
  298. package/dist/agent-farm/tutorial/steps/first-spec.js.map +0 -1
  299. package/dist/agent-farm/tutorial/steps/implementation.d.ts +0 -7
  300. package/dist/agent-farm/tutorial/steps/implementation.d.ts.map +0 -1
  301. package/dist/agent-farm/tutorial/steps/implementation.js +0 -76
  302. package/dist/agent-farm/tutorial/steps/implementation.js.map +0 -1
  303. package/dist/agent-farm/tutorial/steps/index.d.ts +0 -10
  304. package/dist/agent-farm/tutorial/steps/index.d.ts.map +0 -1
  305. package/dist/agent-farm/tutorial/steps/index.js +0 -10
  306. package/dist/agent-farm/tutorial/steps/index.js.map +0 -1
  307. package/dist/agent-farm/tutorial/steps/planning.d.ts +0 -7
  308. package/dist/agent-farm/tutorial/steps/planning.d.ts.map +0 -1
  309. package/dist/agent-farm/tutorial/steps/planning.js +0 -143
  310. package/dist/agent-farm/tutorial/steps/planning.js.map +0 -1
  311. package/dist/agent-farm/tutorial/steps/review.d.ts +0 -7
  312. package/dist/agent-farm/tutorial/steps/review.d.ts.map +0 -1
  313. package/dist/agent-farm/tutorial/steps/review.js +0 -78
  314. package/dist/agent-farm/tutorial/steps/review.js.map +0 -1
  315. package/dist/agent-farm/tutorial/steps/setup.d.ts +0 -7
  316. package/dist/agent-farm/tutorial/steps/setup.d.ts.map +0 -1
  317. package/dist/agent-farm/tutorial/steps/setup.js +0 -126
  318. package/dist/agent-farm/tutorial/steps/setup.js.map +0 -1
  319. package/dist/agent-farm/tutorial/steps/welcome.d.ts +0 -7
  320. package/dist/agent-farm/tutorial/steps/welcome.d.ts.map +0 -1
  321. package/dist/agent-farm/tutorial/steps/welcome.js +0 -50
  322. package/dist/agent-farm/tutorial/steps/welcome.js.map +0 -1
  323. package/dist/commands/pcheck/cache.d.ts +0 -48
  324. package/dist/commands/pcheck/cache.d.ts.map +0 -1
  325. package/dist/commands/pcheck/cache.js +0 -170
  326. package/dist/commands/pcheck/cache.js.map +0 -1
  327. package/dist/commands/pcheck/evaluator.d.ts +0 -15
  328. package/dist/commands/pcheck/evaluator.d.ts.map +0 -1
  329. package/dist/commands/pcheck/evaluator.js +0 -246
  330. package/dist/commands/pcheck/evaluator.js.map +0 -1
  331. package/dist/commands/pcheck/index.d.ts +0 -12
  332. package/dist/commands/pcheck/index.d.ts.map +0 -1
  333. package/dist/commands/pcheck/index.js +0 -249
  334. package/dist/commands/pcheck/index.js.map +0 -1
  335. package/dist/commands/pcheck/parser.d.ts +0 -39
  336. package/dist/commands/pcheck/parser.d.ts.map +0 -1
  337. package/dist/commands/pcheck/parser.js +0 -155
  338. package/dist/commands/pcheck/parser.js.map +0 -1
  339. package/dist/commands/pcheck/types.d.ts +0 -82
  340. package/dist/commands/pcheck/types.d.ts.map +0 -1
  341. package/dist/commands/pcheck/types.js +0 -5
  342. package/dist/commands/pcheck/types.js.map +0 -1
  343. package/dist/commands/porch/consultation.d.ts +0 -56
  344. package/dist/commands/porch/consultation.d.ts.map +0 -1
  345. package/dist/commands/porch/consultation.js +0 -330
  346. package/dist/commands/porch/consultation.js.map +0 -1
  347. package/dist/commands/porch/notifications.d.ts +0 -99
  348. package/dist/commands/porch/notifications.d.ts.map +0 -1
  349. package/dist/commands/porch/notifications.js +0 -223
  350. package/dist/commands/porch/notifications.js.map +0 -1
  351. package/dist/commands/porch/plan-parser.d.ts +0 -38
  352. package/dist/commands/porch/plan-parser.d.ts.map +0 -1
  353. package/dist/commands/porch/plan-parser.js +0 -166
  354. package/dist/commands/porch/plan-parser.js.map +0 -1
  355. package/dist/commands/porch/protocol-loader.d.ts +0 -46
  356. package/dist/commands/porch/protocol-loader.d.ts.map +0 -1
  357. package/dist/commands/porch/protocol-loader.js +0 -253
  358. package/dist/commands/porch/protocol-loader.js.map +0 -1
  359. package/dist/commands/porch/signal-parser.d.ts +0 -88
  360. package/dist/commands/porch/signal-parser.d.ts.map +0 -1
  361. package/dist/commands/porch/signal-parser.js +0 -148
  362. package/dist/commands/porch/signal-parser.js.map +0 -1
  363. package/dist/commands/tower.d.ts +0 -16
  364. package/dist/commands/tower.d.ts.map +0 -1
  365. package/dist/commands/tower.js +0 -21
  366. package/dist/commands/tower.js.map +0 -1
  367. package/skeleton/config.json +0 -7
  368. package/skeleton/porch/protocols/bugfix.json +0 -85
  369. package/skeleton/porch/protocols/spider.json +0 -135
  370. package/skeleton/porch/protocols/tick.json +0 -76
  371. package/skeleton/protocols/spider/prompts/defend.md +0 -215
  372. package/skeleton/protocols/spider/prompts/evaluate.md +0 -241
  373. package/skeleton/protocols/spider/prompts/implement.md +0 -149
  374. package/skeleton/protocols/spider/protocol.json +0 -210
  375. package/templates/dashboard/css/activity.css +0 -151
  376. package/templates/dashboard/js/activity.js +0 -112
  377. /package/skeleton/protocols/{spider → spir}/templates/spec.md +0 -0
@@ -3,16 +3,16 @@
3
3
 
4
4
  ## Overview
5
5
 
6
- TICK is an **amendment workflow** for existing SPIDER specifications. Rather than creating new standalone specs, TICK modifies existing spec and plan documents in-place, tracking changes in an "Amendments" section.
6
+ TICK is an **amendment workflow** for existing SPIR specifications. Rather than creating new standalone specs, TICK modifies existing spec and plan documents in-place, tracking changes in an "Amendments" section.
7
7
 
8
- **Core Principle**: TICK is for *refining* existing specs. SPIDER is for *creating* new specs.
8
+ **Core Principle**: TICK is for *refining* existing specs. SPIR is for *creating* new specs.
9
9
 
10
- **Key Insight**: TICKs are not small SPIDERs - they're amendments to existing SPIDERs. This eliminates the "TICK vs SPIDER" decision problem and keeps related work together.
10
+ **Key Insight**: TICKs are not small SPIRs - they're amendments to existing SPIRs. This eliminates the "TICK vs SPIR" decision problem and keeps related work together.
11
11
 
12
12
  ## When to Use TICK
13
13
 
14
14
  ### Use TICK when:
15
- - Making **amendments to an existing SPIDER spec** that is already `integrated`
15
+ - Making **amendments to an existing SPIR spec** that is already `integrated`
16
16
  - Small scope (< 300 lines of new/changed code)
17
17
  - Requirements are clear and well-defined
18
18
  - No fundamental architecture changes
@@ -23,7 +23,7 @@ TICK is an **amendment workflow** for existing SPIDER specifications. Rather tha
23
23
  - Utility function additions to existing modules
24
24
  - Refactoring within an existing feature
25
25
 
26
- ### Use SPIDER instead when:
26
+ ### Use SPIR instead when:
27
27
  - Creating a **new feature from scratch** (no existing spec to amend)
28
28
  - Major architecture changes (scope too large for amendment)
29
29
  - Unclear requirements needing exploration
@@ -31,8 +31,8 @@ TICK is an **amendment workflow** for existing SPIDER specifications. Rather tha
31
31
  - Multiple stakeholders need alignment
32
32
 
33
33
  ### Cannot Use TICK when:
34
- - No relevant SPIDER spec exists (create a new SPIDER spec instead)
35
- - Target spec is not yet `integrated` (complete the SPIDER cycle first)
34
+ - No relevant SPIR spec exists (create a new SPIR spec instead)
35
+ - Target spec is not yet `integrated` (complete the SPIR cycle first)
36
36
 
37
37
  ## Amendment Workflow
38
38
 
@@ -162,9 +162,9 @@ The format `[TICK ####-NNN]` identifies:
162
162
  - `####`: Parent spec number (e.g., 0002)
163
163
  - `NNN`: TICK amendment number (e.g., 001, 002, 003)
164
164
 
165
- ## Key Differences from SPIDER
165
+ ## Key Differences from SPIR
166
166
 
167
- | Aspect | SPIDER | TICK |
167
+ | Aspect | SPIR | TICK |
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 |
@@ -178,16 +178,16 @@ The format `[TICK ####-NNN]` identifies:
178
178
 
179
179
  ```
180
180
  Is there an existing spec to amend?
181
- ├── NO → Use SPIDER (create new spec)
181
+ ├── NO → Use SPIR (create new spec)
182
182
  └── YES → Is it integrated?
183
- ├── NO → Complete SPIDER cycle first
183
+ ├── NO → Complete SPIR cycle first
184
184
  └── YES → Is the change small (<300 LOC)?
185
185
  ├── YES → Use TICK (amend existing spec)
186
- └── NO → Use SPIDER (scope too large)
186
+ └── NO → Use SPIR (scope too large)
187
187
  ```
188
188
 
189
189
  **Mental Model**:
190
- - SPIDER = Create new feature from scratch
190
+ - SPIR = Create new feature from scratch
191
191
  - TICK = Refine/extend existing feature
192
192
 
193
193
  ## Example TICK Workflow
@@ -251,7 +251,7 @@ Existing standalone TICK projects (created before this protocol change) are gran
251
251
  1. **Single source of truth**: Spec file shows complete feature evolution
252
252
  2. **Clear history**: Amendments section documents all changes chronologically
253
253
  3. **Reduced fragmentation**: Related work stays together
254
- 4. **Simpler mental model**: "New vs amendment" is clearer than "SPIDER vs TICK"
254
+ 4. **Simpler mental model**: "New vs amendment" is clearer than "SPIR vs TICK"
255
255
  5. **Preserved context**: Looking at a spec shows all refinements
256
256
 
257
257
  ## Limitations
@@ -264,14 +264,14 @@ Existing standalone TICK projects (created before this protocol change) are gran
264
264
  ## Best Practices
265
265
 
266
266
  1. **Verify spec is integrated**: Never TICK a spec that isn't complete
267
- 2. **Keep TICKs small**: If scope grows, consider new SPIDER spec
267
+ 2. **Keep TICKs small**: If scope grows, consider new SPIR spec
268
268
  3. **Clear summaries**: Amendment entries should be self-explanatory
269
269
  4. **Test before review**: Always test functionality before presenting
270
270
  5. **Honest documentation**: Document all deviations in review
271
271
 
272
272
  ## Templates
273
273
 
274
- TICK uses the standard SPIDER templates with amendments sections:
275
- - Spec template: `codev/protocols/spider/templates/spec.md` (includes Amendments section)
276
- - Plan template: `codev/protocols/spider/templates/plan.md` (includes Amendment History section)
274
+ TICK uses the standard SPIR templates with amendments sections:
275
+ - Spec template: `codev/protocols/spir/templates/spec.md` (includes Amendments section)
276
+ - Plan template: `codev/protocols/spir/templates/plan.md` (includes Amendment History section)
277
277
  - Review template: `codev/protocols/tick/templates/review.md` (TICK-specific)
@@ -77,7 +77,7 @@
77
77
 
78
78
  ## TICK Protocol Feedback
79
79
  - **Autonomous execution**: [Worked well / Issues encountered]
80
- - **Single-phase approach**: [Appropriate / Should have used SPIDER]
80
+ - **Single-phase approach**: [Appropriate / Should have used SPIR]
81
81
  - **Speed vs quality trade-off**: [Balanced / Too fast / Too slow]
82
82
  - **End-only consultation**: [Caught issues / Missed opportunities]
83
83
 
@@ -18,12 +18,16 @@ af <command> [options]
18
18
 
19
19
  ## Commands
20
20
 
21
- ### af start
21
+ ### af dash
22
+
23
+ Project dashboard commands - start/stop the architect dashboard for this project.
24
+
25
+ #### af dash start
22
26
 
23
27
  Start the architect dashboard.
24
28
 
25
29
  ```bash
26
- af start [options]
30
+ af dash start [options]
27
31
  ```
28
32
 
29
33
  **Options:**
@@ -47,16 +51,16 @@ The dashboard is accessible via browser at `http://localhost:<port>`.
47
51
 
48
52
  ```bash
49
53
  # Start with defaults
50
- af start
54
+ af dash start
51
55
 
52
56
  # Start with custom port
53
- af start -p 4300
57
+ af dash start -p 4300
54
58
 
55
59
  # Start with specific command
56
- af start -c "claude --model opus"
60
+ af dash start -c "claude --model opus"
57
61
 
58
62
  # Start on remote machine
59
- af start --remote user@host
63
+ af dash start --remote user@host
60
64
  ```
61
65
 
62
66
  #### Remote Access
@@ -65,13 +69,13 @@ Start Agent Farm on a remote machine and access it from your local workstation w
65
69
 
66
70
  ```bash
67
71
  # On your local machine - one command does everything:
68
- af start --remote user@remote-host
72
+ af dash start --remote user@remote-host
69
73
 
70
74
  # Or with explicit project path:
71
- af start --remote user@remote-host:/path/to/project
75
+ af dash start --remote user@remote-host:/path/to/project
72
76
 
73
77
  # With custom port:
74
- af start --remote user@remote-host --port 4300
78
+ af dash start --remote user@remote-host --port 4300
75
79
  ```
76
80
 
77
81
  This single command:
@@ -112,19 +116,17 @@ export PATH="$HOME/.local/bin:$PATH"
112
116
 
113
117
  ```bash
114
118
  # DEPRECATED: Exposes dashboard without authentication
115
- af start --allow-insecure-remote
119
+ af dash start --allow-insecure-remote
116
120
  ```
117
121
 
118
122
  The `--allow-insecure-remote` flag binds to `0.0.0.0` with no authentication. Use `--remote` instead for secure access via SSH.
119
123
 
120
- ---
124
+ #### af dash stop
121
125
 
122
- ### af stop
123
-
124
- Stop all agent farm processes.
126
+ Stop all agent farm processes for this project.
125
127
 
126
128
  ```bash
127
- af stop
129
+ af dash stop
128
130
  ```
129
131
 
130
132
  **Description:**
@@ -306,16 +308,14 @@ af open src/auth/login.ts
306
308
 
307
309
  ---
308
310
 
309
- ### af util
311
+ ### af shell
310
312
 
311
313
  Spawn a utility shell terminal.
312
314
 
313
315
  ```bash
314
- af util [options]
316
+ af shell [options]
315
317
  ```
316
318
 
317
- **Aliases:** `af shell`
318
-
319
319
  **Options:**
320
320
  - `-n, --name <name>` - Name for the shell terminal
321
321
 
@@ -330,10 +330,10 @@ Opens a general-purpose shell terminal in the dashboard. Useful for:
330
330
 
331
331
  ```bash
332
332
  # Open utility shell
333
- af util
333
+ af shell
334
334
 
335
335
  # Open with custom name
336
- af util -n "test-runner"
336
+ af shell -n "test-runner"
337
337
  ```
338
338
 
339
339
  ---
@@ -358,25 +358,6 @@ af rename 0042 "auth-rework"
358
358
 
359
359
  ---
360
360
 
361
- ### af tutorial
362
-
363
- Interactive tutorial for new users.
364
-
365
- ```bash
366
- af tutorial [options]
367
- ```
368
-
369
- **Options:**
370
- - `--reset` - Start tutorial fresh
371
- - `--skip` - Skip current step
372
- - `--status` - Show tutorial progress
373
-
374
- **Description:**
375
-
376
- Walks through the basics of using agent-farm with guided steps.
377
-
378
- ---
379
-
380
361
  ### af ports
381
362
 
382
363
  Manage global port registry.
@@ -410,7 +391,7 @@ Removes entries for projects that no longer exist.
410
391
 
411
392
  ### af tower
412
393
 
413
- Manage the tower dashboard.
394
+ Manage the cross-project tower dashboard. Tower shows all agent-farm instances across projects.
414
395
 
415
396
  #### af tower start
416
397
 
@@ -422,6 +403,7 @@ af tower start [options]
422
403
 
423
404
  **Options:**
424
405
  - `-p, --port <port>` - Port to run on (default: 4100)
406
+ - `-w, --web` - Enable web access mode (requires CODEV_WEB_KEY)
425
407
 
426
408
  #### af tower stop
427
409
 
@@ -495,7 +477,7 @@ af db stats [options]
495
477
 
496
478
  ## Configuration
497
479
 
498
- Customize commands via `codev/config.json`:
480
+ Customize commands via `af-config.json` at the project root:
499
481
 
500
482
  ```json
501
483
  {
@@ -522,7 +504,7 @@ af spawn -p 0042 --builder-cmd "claude --model haiku"
522
504
  |------|-------------|
523
505
  | `.agent-farm/state.json` | Project runtime state |
524
506
  | `~/.agent-farm/ports.json` | Global port registry |
525
- | `codev/config.json` | Project configuration |
507
+ | `af-config.json` | Agent Farm configuration (project root) |
526
508
 
527
509
  ---
528
510
 
@@ -21,7 +21,7 @@ codev adopt
21
21
  codev doctor
22
22
 
23
23
  # Start the architect dashboard
24
- af start
24
+ af dash start
25
25
 
26
26
  # Consult an AI model about a spec
27
27
  consult -m gemini spec 42
@@ -46,7 +46,6 @@ This installs all three commands globally: `codev`, `af`, and `consult`.
46
46
  | `codev doctor` | Check system dependencies |
47
47
  | `codev update` | Update codev templates and protocols |
48
48
  | `codev import <source>` | AI-assisted protocol import from other projects |
49
- | `codev tower` | Cross-project dashboard |
50
49
 
51
50
  See [codev.md](codev.md) for full documentation.
52
51
 
@@ -54,14 +53,15 @@ See [codev.md](codev.md) for full documentation.
54
53
 
55
54
  | Command | Description |
56
55
  |---------|-------------|
57
- | `af start` | Start the architect dashboard |
58
- | `af stop` | Stop all agent farm processes |
56
+ | `af dash start` | Start the architect dashboard |
57
+ | `af dash stop` | Stop all agent farm processes |
59
58
  | `af spawn` | Spawn a new builder |
60
59
  | `af status` | Show status of all agents |
61
60
  | `af cleanup` | Clean up a builder worktree |
62
61
  | `af send` | Send instructions to a builder |
63
62
  | `af open` | Open file annotation viewer |
64
- | `af util` | Spawn a utility shell |
63
+ | `af shell` | Spawn a utility shell |
64
+ | `af tower` | Cross-project dashboard |
65
65
 
66
66
  See [agent-farm.md](agent-farm.md) for full documentation.
67
67
 
@@ -87,21 +87,11 @@ All codev commands support:
87
87
 
88
88
  ## Configuration
89
89
 
90
- Customize agent-farm commands via `codev/config.json`:
91
-
92
- ```json
93
- {
94
- "shell": {
95
- "architect": "claude --model opus",
96
- "builder": "claude --model sonnet",
97
- "shell": "bash"
98
- }
99
- }
100
- ```
90
+ 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`.
101
91
 
102
92
  ## Related Documentation
103
93
 
104
- - [SPIDER Protocol](../protocols/spider/protocol.md) - Multi-phase development workflow
94
+ - [SPIR Protocol](../protocols/spir/protocol.md) - Multi-phase development workflow
105
95
  - [TICK Protocol](../protocols/tick/protocol.md) - Fast amendment workflow
106
96
  - [Architect Role](../roles/architect.md) - Architect responsibilities
107
97
  - [Builder Role](../roles/builder.md) - Builder responsibilities
@@ -1,6 +1,6 @@
1
1
  # Architect-Builder Workflow Reference
2
2
 
3
- Quick reference for the 7-stage project workflow. For protocol details, see `codev/protocols/spider/protocol.md`.
3
+ Quick reference for the 7-stage project workflow. For protocol details, see `codev/protocols/spir/protocol.md`.
4
4
 
5
5
  ## Workflow Overview
6
6
 
@@ -77,7 +77,7 @@ AI agents must stop and wait for human action at these gates.
77
77
 
78
78
  ```bash
79
79
  # Start the dashboard
80
- af start
80
+ af dash start
81
81
 
82
82
  # Spawn a builder for a project
83
83
  af spawn -p 0044
@@ -95,7 +95,7 @@ af open codev/specs/0044-name.md
95
95
  af cleanup -p 0044
96
96
 
97
97
  # Stop everything
98
- af stop
98
+ af dash stop
99
99
  ```
100
100
 
101
101
  ### Builder Commands
@@ -236,7 +236,7 @@ af cleanup -p XXXX --force
236
236
 
237
237
  ## Related Documentation
238
238
 
239
- - Full SPIDER protocol: `codev/protocols/spider/protocol.md`
239
+ - Full SPIR protocol: `codev/protocols/spir/protocol.md`
240
240
  - Builder role: `codev/roles/builder.md`
241
241
  - Architect role: `codev/roles/architect.md`
242
242
  - Consultant role: `codev/roles/consultant.md`