@staix/agent-hub 0.50.0 → 0.52.0

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 (350) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +1 -1
  3. package/docs/adding-an-ai-tool.md +26 -4
  4. package/docs/agent-notes/README.md +1 -0
  5. package/docs/agent-notes/adapters.md +4 -3
  6. package/docs/agent-notes/budget.md +8 -2
  7. package/docs/agent-notes/daemon.md +13 -8
  8. package/docs/agent-notes/local-worker.md +3 -3
  9. package/docs/agent-notes/security-review.md +6 -5
  10. package/docs/agent-notes/tasks.md +10 -3
  11. package/docs/agent-notes/tests.md +4 -3
  12. package/docs/cooperbench.md +1 -1
  13. package/docs/design/adapters.md +21 -0
  14. package/docs/design/cli-output-inventory.md +165 -150
  15. package/docs/design/cli-output.md +4 -3
  16. package/docs/design/guidance-probes.md +1 -0
  17. package/docs/design/roadmap.md +3 -1
  18. package/docs/design/task-board.md +35 -0
  19. package/docs/dogfood.md +21 -3
  20. package/docs/events.md +4 -2
  21. package/docs/memory.md +5 -3
  22. package/docs/operations.md +259 -19
  23. package/docs/quickstart.md +29 -2
  24. package/docs/roadmap.json +20 -20
  25. package/docs/roadmap.md +2 -2
  26. package/docs/roles.md +1 -1
  27. package/docs/sdlc.md +29 -5
  28. package/docs/security.md +11 -5
  29. package/docs/specs/2026-09-19-agent-hub-design.md +44 -0
  30. package/docs/specs/2026-09-19-multi-project-design.md +4 -0
  31. package/docs/specs/2026-09-20-upgrade-recovery-design.md +17 -0
  32. package/docs/specs/mcp-endpoint.md +63 -0
  33. package/docs/verification/2026-11-29-agy-1.5.20.md +33 -0
  34. package/docs/verification/2026-11-29-claude-profile-hook.md +12 -0
  35. package/docs/verification/2026-11-29-idle-daemon-footprint.md +75 -0
  36. package/docs/verification/2026-11-29-kimi-281-reviewer-compat.md +38 -0
  37. package/docs/verification/2026-11-29-kimi-tui-281.md +12 -0
  38. package/docs/verification/2026-11-30-0.51.0.md +91 -0
  39. package/docs/verification/2026-11-30-account-switch-1806.md +445 -0
  40. package/docs/verification/2026-11-30-capability-listing-shape-1808.md +45 -0
  41. package/docs/verification/2026-11-30-upgrade-keep-1807.md +174 -0
  42. package/docs/verification/2026-12-01-1811-confirmation-receipt.md +19 -0
  43. package/docs/verification/2026-12-01-1811-orca-agent-list.md +20 -0
  44. package/docs/verification/2026-12-01-1811-orca-pane-key.md +21 -0
  45. package/docs/verification/2026-12-02-1819-claude-process-after-renewal.md +54 -0
  46. package/docs/verification/2026-12-02-agy-1.5.21.md +74 -0
  47. package/docs/verification/2026-12-02-claude-implementer-2.1.334.md +44 -0
  48. package/docs/verification/2026-12-02-cli-import-graph.md +33 -0
  49. package/docs/verification/2026-12-03-0.52.0.md +150 -0
  50. package/docs/verification/2026-12-03-codex-0173-reviewer-isolation.md +53 -0
  51. package/docs/verification/2026-12-03-codex-0173-reviewer-tool-call.md +34 -0
  52. package/docs/verification/2026-12-03-jcode-1.3.0.md +25 -0
  53. package/docs/verification/agy/README.md +17 -0
  54. package/docs/verification/agy/cli-surface.ts +68 -0
  55. package/docs/verification/agy/interactive-bridge.ts +92 -0
  56. package/docs/verification/agy/interactive-session.ts +131 -0
  57. package/docs/verification/agy/launcher-nonce.ts +215 -0
  58. package/docs/verification/agy/native-hooks.ts +210 -0
  59. package/docs/verification/agy/originals/agent-hub-681/cli-surface.ts +87 -0
  60. package/docs/verification/agy/originals/agent-hub-681/native-hooks-adapted.ts +91 -0
  61. package/docs/verification/agy/originals/agent-hub-681/tui-actual.ts +200 -0
  62. package/docs/verification/agy/originals/agent-hub-684/probe.ts +107 -0
  63. package/docs/verification/agy/originals.json +25 -0
  64. package/docs/verification/agy/permission-new-functions.ts +128 -0
  65. package/docs/verification/agy/run-probe.py +108 -0
  66. package/docs/verification/agy/runtime.ts +171 -0
  67. package/docs/verification/agy/tmux-helper-control.ts +6 -0
  68. package/docs/verification/agy/tmux-session.ts +235 -0
  69. package/docs/verified.json +87 -42
  70. package/package.json +3 -3
  71. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  72. package/plugins/agent-hub/compat.json +157 -0
  73. package/plugins/agent-hub/kimi-hook.js +1416 -24985
  74. package/plugins/agent-hub/server.js +17415 -32755
  75. package/scripts/check-docs.mjs +1 -1
  76. package/src/adapters/acp.ts +13 -13
  77. package/src/adapters/agy/definition.ts +9 -26
  78. package/src/adapters/agy/entry.ts +2 -0
  79. package/src/adapters/channel-peer.ts +3 -1
  80. package/src/adapters/claude-channel-evidence.ts +7 -3
  81. package/src/adapters/claude-channel.ts +38 -257
  82. package/src/adapters/claude-implementer.ts +3 -1
  83. package/src/adapters/codex-appserver.ts +77 -15
  84. package/src/adapters/compat.ts +78 -14
  85. package/src/adapters/configured-acp.ts +23 -163
  86. package/src/adapters/configured-adapter-policy.ts +160 -0
  87. package/src/adapters/configured-pull-entry.ts +53 -0
  88. package/src/adapters/configured-pull.ts +38 -0
  89. package/src/adapters/conformance/fakes/app-server.ts +9 -2
  90. package/src/adapters/declaration-catalog.ts +25 -0
  91. package/src/adapters/declaration-data.ts +342 -0
  92. package/src/adapters/declaration-resolution.ts +53 -0
  93. package/src/adapters/definitions/builtin-metadata.ts +62 -84
  94. package/src/adapters/definitions/jcode-launch.ts +13 -0
  95. package/src/adapters/definitions/native-adapter-policy.ts +390 -0
  96. package/src/adapters/definitions/native-cli-claude-launch.ts +6 -3
  97. package/src/adapters/definitions/native-cli-codex-launch.ts +2 -1
  98. package/src/adapters/definitions/native-cli-entry-claude.ts +17 -2
  99. package/src/adapters/definitions/native-cli-entry-codex.ts +2 -0
  100. package/src/adapters/definitions/native-cli-entry-jcode.ts +6 -2
  101. package/src/adapters/definitions/native-cli-entry-kimi.ts +2 -0
  102. package/src/adapters/definitions/native-cli-entry-pi.ts +2 -0
  103. package/src/adapters/definitions/native-cli-entry-qwen.ts +2 -0
  104. package/src/adapters/definitions/native-cli-entry-types.ts +12 -3
  105. package/src/adapters/definitions/native-cli-jcode-home-init.ts +1 -1
  106. package/src/adapters/definitions/native-cli-launch-common.ts +2 -2
  107. package/src/adapters/definitions/native-cli-preview-common.ts +1 -1
  108. package/src/adapters/definitions/native-cli-retained.ts +1 -1
  109. package/src/adapters/definitions/native-config-defaults.ts +1 -1
  110. package/src/adapters/definitions/native-configuration.ts +18 -0
  111. package/src/adapters/definitions/native-help.ts +24 -0
  112. package/src/adapters/definitions/native-launch-declarations.ts +34 -0
  113. package/src/adapters/definitions/native-launch-policy.ts +4 -0
  114. package/src/adapters/definitions/native-launch-settings.ts +72 -0
  115. package/src/adapters/definitions/native-light-cli.ts +18 -0
  116. package/src/adapters/definitions/native-light-preview.ts +10 -0
  117. package/src/adapters/definitions/native-wrapper-launch.ts +10 -0
  118. package/src/adapters/definitions/qwen.ts +6 -29
  119. package/src/adapters/definitions/reviewer-variants.ts +7 -8
  120. package/src/adapters/external-declarations.ts +31 -0
  121. package/src/adapters/external-modules.ts +4 -29
  122. package/src/adapters/jcode.ts +19 -12
  123. package/src/adapters/native-capabilities.ts +18 -8
  124. package/src/adapters/native-facts-hooks.ts +12 -0
  125. package/src/adapters/native-proof-ports.ts +1 -1
  126. package/src/adapters/presets.ts +136 -0
  127. package/src/adapters/qwen-dual.ts +2 -2
  128. package/src/adapters/registry-types.ts +3 -0
  129. package/src/adapters/registry.ts +20 -81
  130. package/src/adapters/reviewer-print.ts +26 -9
  131. package/src/adapters/role-eligibility.ts +2 -1
  132. package/src/cli/accounts-import.ts +72 -0
  133. package/src/cli/agents-latest-table.ts +88 -0
  134. package/src/cli/agents-latest.ts +22 -0
  135. package/src/cli/agents-output.ts +10 -0
  136. package/src/cli/agents-presets.ts +100 -0
  137. package/src/cli/agents.ts +1 -1
  138. package/src/cli/attention.ts +3 -2
  139. package/src/cli/autonomy-homes.ts +7 -2
  140. package/src/cli/autonomy-offline.ts +1 -1
  141. package/src/cli/bench.ts +1 -1
  142. package/src/cli/budget-renew-guidance.ts +129 -0
  143. package/src/cli/claude-homes.ts +9 -5
  144. package/src/cli/claude-profile-hook.ts +31 -11
  145. package/src/cli/command-context.ts +3 -0
  146. package/src/cli/command-table.ts +123 -0
  147. package/src/cli/commands/accounts.ts +8 -0
  148. package/src/cli/commands/agents.ts +18 -0
  149. package/src/cli/commands/answer.ts +28 -0
  150. package/src/cli/commands/ask.ts +17 -0
  151. package/src/cli/commands/autonomy.ts +83 -0
  152. package/src/cli/commands/backlog.ts +46 -0
  153. package/src/cli/commands/bench.ts +60 -0
  154. package/src/cli/commands/board.ts +48 -0
  155. package/src/cli/commands/broker.ts +9 -0
  156. package/src/cli/commands/budget.ts +96 -0
  157. package/src/cli/commands/capabilities.ts +12 -0
  158. package/src/cli/commands/check-path.ts +55 -0
  159. package/src/cli/commands/completion.ts +8 -0
  160. package/src/cli/commands/console.ts +12 -0
  161. package/src/cli/commands/daemon.ts +8 -0
  162. package/src/cli/commands/deliverables.ts +25 -0
  163. package/src/cli/commands/doctor.ts +249 -0
  164. package/src/cli/commands/down.ts +3 -0
  165. package/src/cli/commands/export.ts +15 -0
  166. package/src/cli/commands/facts.ts +15 -0
  167. package/src/cli/commands/goal.ts +22 -0
  168. package/src/cli/commands/guidance.ts +102 -0
  169. package/src/cli/commands/help.ts +17 -0
  170. package/src/cli/commands/host.ts +45 -0
  171. package/src/cli/commands/init.ts +121 -0
  172. package/src/cli/commands/instructed.ts +19 -0
  173. package/src/cli/commands/instruction-hook.ts +15 -0
  174. package/src/cli/commands/intake.ts +24 -0
  175. package/src/cli/commands/kill.ts +15 -0
  176. package/src/cli/commands/learn.ts +23 -0
  177. package/src/cli/commands/lineage.ts +30 -0
  178. package/src/cli/commands/logs.ts +21 -0
  179. package/src/cli/commands/manager.ts +15 -0
  180. package/src/cli/commands/memory.ts +21 -0
  181. package/src/cli/commands/model.ts +25 -0
  182. package/src/cli/commands/models.ts +40 -0
  183. package/src/cli/commands/native.ts +39 -0
  184. package/src/cli/commands/pause.ts +5 -0
  185. package/src/cli/commands/peer.ts +32 -0
  186. package/src/cli/commands/permission.ts +26 -0
  187. package/src/cli/commands/permit.ts +12 -0
  188. package/src/cli/commands/pet.ts +24 -0
  189. package/src/cli/commands/projects.ts +49 -0
  190. package/src/cli/commands/queue.ts +70 -0
  191. package/src/cli/commands/recovery-run.ts +13 -0
  192. package/src/cli/commands/recovery.ts +130 -0
  193. package/src/cli/commands/release.ts +23 -0
  194. package/src/cli/commands/releases.ts +91 -0
  195. package/src/cli/commands/remember.ts +6 -0
  196. package/src/cli/commands/report.ts +27 -0
  197. package/src/cli/commands/research.ts +53 -0
  198. package/src/cli/commands/reset.ts +89 -0
  199. package/src/cli/commands/restart.ts +5 -0
  200. package/src/cli/commands/results.ts +31 -0
  201. package/src/cli/commands/resume.ts +5 -0
  202. package/src/cli/commands/review.ts +24 -0
  203. package/src/cli/commands/roadmap.ts +21 -0
  204. package/src/cli/commands/role.ts +34 -0
  205. package/src/cli/commands/roles.ts +30 -0
  206. package/src/cli/commands/room.ts +14 -0
  207. package/src/cli/commands/roster.ts +48 -0
  208. package/src/cli/commands/route.ts +9 -0
  209. package/src/cli/commands/say.ts +21 -0
  210. package/src/cli/commands/schedule.ts +17 -0
  211. package/src/cli/commands/sdlc.ts +321 -0
  212. package/src/cli/commands/settings.ts +148 -0
  213. package/src/cli/commands/setup.ts +89 -0
  214. package/src/cli/commands/shared-refusals.ts +25 -0
  215. package/src/cli/commands/smoke.ts +44 -0
  216. package/src/cli/commands/source.ts +64 -0
  217. package/src/cli/commands/specs.ts +13 -0
  218. package/src/cli/commands/status.ts +28 -0
  219. package/src/cli/commands/stop.ts +17 -0
  220. package/src/cli/commands/structure.ts +60 -0
  221. package/src/cli/commands/study.ts +39 -0
  222. package/src/cli/commands/tail.ts +19 -0
  223. package/src/cli/commands/task.ts +114 -0
  224. package/src/cli/commands/title.ts +17 -0
  225. package/src/cli/commands/turns.ts +10 -0
  226. package/src/cli/commands/ui.ts +47 -0
  227. package/src/cli/commands/undo.ts +77 -0
  228. package/src/cli/commands/up.ts +39 -0
  229. package/src/cli/commands/upgrade.ts +5 -0
  230. package/src/cli/commands/usage.ts +33 -0
  231. package/src/cli/commands/version.ts +5 -0
  232. package/src/cli/commands/watch.ts +30 -0
  233. package/src/cli/commands/worktrees.ts +31 -0
  234. package/src/cli/conductor-recovery.ts +1 -1
  235. package/src/cli/console-state.ts +5 -138
  236. package/src/cli/console-versions.ts +1 -1
  237. package/src/cli/facts-hook.ts +11 -4
  238. package/src/cli/help.ts +44 -20
  239. package/src/cli/identity.ts +27 -4
  240. package/src/cli/init-prompt.ts +1 -1
  241. package/src/cli/init-settings.ts +4 -35
  242. package/src/cli/init.ts +1 -1
  243. package/src/cli/json-text-spans.ts +57 -0
  244. package/src/cli/launch-check.ts +156 -0
  245. package/src/cli/launch.ts +19 -70
  246. package/src/cli/light-dispatch.ts +29 -0
  247. package/src/cli/main.js +8 -1
  248. package/src/cli/main.ts +257 -2799
  249. package/src/cli/memory.ts +1 -1
  250. package/src/cli/orca-probe.ts +119 -0
  251. package/src/cli/output.ts +45 -3
  252. package/src/cli/preview.ts +11 -6
  253. package/src/cli/recovery-launch.ts +1 -1
  254. package/src/cli/recovery-version-preflight.ts +28 -9
  255. package/src/cli/replace-process.ts +22 -0
  256. package/src/cli/report-layout.ts +142 -0
  257. package/src/cli/roadmap-usage.ts +16 -0
  258. package/src/cli/roadmap.ts +3 -16
  259. package/src/cli/sdlc-doctor.ts +27 -0
  260. package/src/cli/sdlc-output.ts +55 -1
  261. package/src/cli/setup-homes.ts +2 -2
  262. package/src/cli/start-agents-run.ts +85 -7
  263. package/src/cli/start-check.ts +28 -0
  264. package/src/cli/statusline-tee.ts +25 -4
  265. package/src/cli/terminal-recovery.ts +53 -10
  266. package/src/cli/upgrade-interactive.ts +1 -0
  267. package/src/cli/upgrade-runtime.ts +12 -1
  268. package/src/cli/upgrade.ts +4 -15
  269. package/src/cli/warn-line.ts +1 -1
  270. package/src/hub/accounts.ts +148 -0
  271. package/src/hub/addons.ts +20 -0
  272. package/src/hub/agent-drift.ts +2 -1
  273. package/src/hub/budget-projection.ts +39 -7
  274. package/src/hub/budget.ts +231 -16
  275. package/src/hub/channel-project.ts +3 -3
  276. package/src/hub/ci-watch.ts +311 -79
  277. package/src/hub/conductor-peer.ts +24 -0
  278. package/src/hub/conductor.ts +2 -21
  279. package/src/hub/config-apply.ts +25 -14
  280. package/src/hub/config-edit.ts +1 -1
  281. package/src/hub/config-tier.ts +2 -0
  282. package/src/hub/config.ts +535 -0
  283. package/src/hub/control-client.ts +49 -1
  284. package/src/hub/daemon.ts +492 -569
  285. package/src/hub/delivery-public.ts +11 -0
  286. package/src/hub/events.ts +3 -0
  287. package/src/hub/home-tag.ts +12 -0
  288. package/src/hub/host.ts +217 -0
  289. package/src/hub/hub-check.ts +125 -0
  290. package/src/hub/hub-tools.ts +2 -1
  291. package/src/hub/instance-budget.ts +2 -2
  292. package/src/hub/instance-config.ts +15 -126
  293. package/src/hub/instances.ts +22 -6
  294. package/src/hub/instruction-receipt.ts +2 -2
  295. package/src/hub/kimi-usage.ts +38 -11
  296. package/src/hub/lifecycle.ts +86 -4
  297. package/src/hub/mcp-bridge-core.ts +98 -0
  298. package/src/hub/mcp-channel-push.ts +20 -0
  299. package/src/hub/mcp-endpoint-serve.ts +178 -0
  300. package/src/hub/mcp-endpoint.ts +226 -0
  301. package/src/hub/mcp-tool-call.ts +181 -0
  302. package/src/hub/operational-settings.ts +2 -0
  303. package/src/hub/orca-env.ts +6 -0
  304. package/src/hub/orca-state.ts +84 -0
  305. package/src/hub/path-policy.ts +1 -1
  306. package/src/hub/peers.ts +5 -1
  307. package/src/hub/permission-mode.ts +5 -41
  308. package/src/hub/permission-paths.ts +41 -0
  309. package/src/hub/project.ts +20 -0
  310. package/src/hub/protocol-window.ts +58 -0
  311. package/src/hub/quota-origin.ts +20 -0
  312. package/src/hub/recovery-policy.ts +1 -1
  313. package/src/hub/registry.ts +36 -2
  314. package/src/hub/releases-inventory.ts +198 -0
  315. package/src/hub/report.ts +1 -1
  316. package/src/hub/research.ts +1 -1
  317. package/src/hub/review-brief.ts +47 -2
  318. package/src/hub/roster.ts +6 -3
  319. package/src/hub/routing.ts +9 -2
  320. package/src/hub/runtime-capture-prune.ts +25 -3
  321. package/src/hub/runtime-prune-health.ts +8 -1
  322. package/src/hub/sdlc-check.ts +205 -0
  323. package/src/hub/sdlc-release-authorization.ts +42 -21
  324. package/src/hub/sdlc-release-diagnostics.ts +5 -0
  325. package/src/hub/sdlc-release-policy.ts +21 -7
  326. package/src/hub/sdlc-release.ts +80 -20
  327. package/src/hub/sdlc-sync.ts +146 -0
  328. package/src/hub/sdlc.ts +38 -5
  329. package/src/hub/settings.ts +7 -4
  330. package/src/hub/start-agents.ts +1 -1
  331. package/src/hub/start-mode.ts +11 -4
  332. package/src/hub/structure-budget.ts +131 -0
  333. package/src/hub/structure-scan.ts +149 -0
  334. package/src/hub/tasks-experiment.ts +455 -0
  335. package/src/hub/tasks-guidance.ts +606 -0
  336. package/src/hub/tasks-roadmap-plan.ts +419 -0
  337. package/src/hub/tasks-roadmap.ts +491 -0
  338. package/src/hub/tasks-study.ts +661 -0
  339. package/src/hub/tasks-survey.ts +192 -0
  340. package/src/hub/tasks.ts +457 -2584
  341. package/src/hub/terminal-open.ts +5 -3
  342. package/src/hub/tooling.ts +3 -19
  343. package/src/hub/usage-rollup.ts +9 -3
  344. package/src/local/tools.ts +5 -0
  345. package/src/ui/index.html +1 -1
  346. package/src/ui/needs.ts +17 -5
  347. package/src/ui/peer-palette.ts +2 -4
  348. package/src/ui/plugin.ts +1 -1
  349. package/templates/presets/agents.json +60 -0
  350. package/templates/presets/confirmation-matrix.json +8 -8
@@ -5,134 +5,166 @@ Snapshot recorded 2026-11-25 for #1654 T1.
5
5
  Generated from the built-in dispatch table, adapter entries and HELP. Width is measured in terminal cells on color-off help at 80 columns.
6
6
  Overview summaries are recorded verbatim for the T2 grammar pass. Help-only entries include global forms.
7
7
 
8
- Overview width: 79 cells. Dispatch entries: 90. Help command words: 92.
8
+ Overview width: 79 cells. Dispatch entries: 94. Help command words: 96.
9
9
 
10
10
  | Command | Dispatch | Help width | Overview summary (cells) | Example | Flags | Observed help deviations |
11
11
  | --- | --- | ---: | --- | --- | --- | --- |
12
12
  | --live-test | Help only | 76 | Projects / user-authorized console delegation (person only) (48) | Yes | --project | Repeated forms |
13
13
  | --project | Help only | 44 | Projects / run a command against another project (37) | Yes | - | Repeated forms |
14
- | --version | main.ts | 40 | Projects / print the installed version (27) | Yes | --version | Repeated forms |
15
- | agents | main.ts | 79 | Daemon and runtime / show each agent CLI's version and verdict (41) | Yes | --json --revoke | Repeated forms |
14
+ | --version | commands/version.ts | 40 | Projects / print the installed version (27) | Yes | --version | Repeated forms |
15
+ | accounts | commands/accounts.ts | 73 | Daemon and runtime / print an accounts block from Orca (person only) (47) | No | --from | Repeated forms |
16
+ | agents | commands/agents.ts | 80 | Daemon and runtime / show each agent CLI's version and verdict (41) | Yes | --json --latest --revoke --as --pull | Repeated forms |
16
17
  | agy | adapter | 80 | Agents / start optional Antigravity CLI in this terminal (47) | Yes | --print-command --dry-run | Repeated forms |
17
- | answer | main.ts | 80 | Messages and approvals / list and answer open hub_ask questions (38) | Yes | --other --instructed --json --color | Repeated forms |
18
- | ask | main.ts | 79 | Tasks and review / answer from the board, memory and the log (41) | Yes | --remember | Repeated forms |
19
- | autonomy | main.ts | 80 | Messages and approvals / apply the autonomy preset (25) | Yes | --all-projects --yes --json | Repeated forms |
20
- | backlog | main.ts | 80 | Daemon and runtime / return accepted untouched work to the backlog (45) | Yes | --reserved --unreserve --json --color --full | Repeated forms |
21
- | bench | main.ts | 80 | History and reports / run a benchmark suite against attached peers (44) | Yes | --arm --repeat --tasks --addon --memory --json --suite --mixed --format | Repeated forms |
22
- | board | main.ts | 80 | Tasks and review / show the task board, import open issues (39) | Yes | --label --milestone --repo --ready --columns --release --release-id --handoffs --json --full --color | Repeated forms |
23
- | broker | main.ts | 80 | Tasks and review / run the ciphertext relay for rooms (34) | Yes | --hostname --port --public-url --owner --state-dir --yes | Repeated forms |
24
- | budget | main.ts | 80 | Budget / quota windows per peer and why one is paused (44) | Yes | --json --full --color --resets-in --window --reason | Repeated forms |
25
- | capabilities | main.ts | 80 | Tasks and review / list the skills each attached peer offers (41) | Yes | --json --color | Repeated forms |
26
- | check-path | main.ts | 76 | History and reports / other owners' open tasks that claim a file (42) | Yes | --peer --hook | Repeated forms |
18
+ | answer | commands/answer.ts | 80 | Messages and approvals / list and answer open hub_ask questions (38) | Yes | --other --instructed --json --color | Repeated forms |
19
+ | ask | commands/ask.ts | 79 | Tasks and review / answer from the board, memory and the log (41) | Yes | --remember | Repeated forms |
20
+ | autonomy | commands/autonomy.ts | 80 | Messages and approvals / apply the autonomy preset (25) | Yes | --all-projects --yes --json | Repeated forms |
21
+ | backlog | commands/backlog.ts | 80 | Daemon and runtime / return accepted untouched work to the backlog (45) | Yes | --reserved --unreserve --json --color --full | Repeated forms |
22
+ | bench | commands/bench.ts | 80 | History and reports / run a benchmark suite against attached peers (44) | Yes | --arm --repeat --tasks --addon --memory --json --suite --mixed --format | Repeated forms |
23
+ | board | commands/board.ts | 80 | Tasks and review / show the task board, import open issues (39) | Yes | --label --milestone --repo --ready --columns --release --release-id --handoffs --json --full --color | Repeated forms |
24
+ | broker | commands/broker.ts | 80 | Tasks and review / run the ciphertext relay for rooms (34) | Yes | --hostname --port --public-url --owner --state-dir --yes | Repeated forms |
25
+ | budget | commands/budget.ts | 80 | Budget / quota windows per peer and why one is paused (44) | Yes | --json --full --color --reset --switched --resets-in --window --reason | Repeated forms |
26
+ | capabilities | commands/capabilities.ts | 80 | Tasks and review / list the skills each attached peer offers (41) | Yes | --json --color | Repeated forms |
27
+ | check-path | commands/check-path.ts | 76 | History and reports / other owners' open tasks that claim a file (42) | Yes | --peer --hook | Repeated forms |
27
28
  | claude | adapter | 73 | Agents / launch Claude Code with the hub channel (39) | Yes | --print-command --unattended --as | Repeated forms |
28
29
  | codex | adapter | 73 | Agents / start the Codex adapter and attach the TUI (42) | Yes | --print-command --unattended --as | Repeated forms |
29
- | completion | main.ts | 78 | Projects / print a shell completion script (31) | Yes | - | Repeated forms |
30
- | console | main.ts | 79 | Daemon and runtime / open the human console (22) | Yes | --panels --color --no-pet | Repeated forms |
31
- | daemon | main.ts | 74 | Daemon and runtime / internal: the detached hub process (34) | No | --unattended | Internal, Repeated forms |
32
- | deliverables | main.ts | 80 | Tasks and review / what each task delivered and a reviewer approved (48) | Yes | --task --approved --check --json --color | Repeated forms |
33
- | doctor | main.ts | 80 | Daemon and runtime / check tools, daemon, plugin, models and memory (46) | Yes | --json --full --ascii --color --stale-anchors --orphans --kill | Repeated forms |
34
- | down | main.ts | 73 | Daemon and runtime / stop this project's hub (same as kill) (38) | Yes | - | Repeated forms |
35
- | export | main.ts | 75 | History and reports / events as JSON lines (20) | Yes | --since | Repeated forms |
36
- | facts | main.ts | 79 | Hooks / Claude hook for turn-free facts (31) | No | --hook | Internal, Repeated forms |
37
- | goal | main.ts | 80 | History and reports / long-term tasks and who holds them (34) | Yes | --all --json --milestone --depends --shared --force | Repeated forms |
38
- | guidance | main.ts | 80 | History and reports / guidance declarations and the probe lifecycle (45) | Yes | --file --json --id --revision --variant --task --task-created --cursor | Repeated forms |
39
- | help | main.ts | 57 | Projects / this overview, or one command's usage (37) | Yes | --ascii | Repeated forms |
40
- | init | main.ts | 80 | Projects / write .agenthub/config.json and the AGENTS.md block (51) | Yes | --profile --agents --sdlc --required-checks --coordination --memory --no-memory --research --no-research --snapshots --no-snapshots --pi --no-pi --specs --no-specs --spec-review --conductor --planner --reviewer --track-config --no-track-config --no-jcode-home --autonomy --shadow --release-guard --yes --dry-run --json | Repeated forms |
41
- | instructed | main.ts | 78 | Projects / run a confirmed exact or intent instruction (43) | Yes | - | Repeated forms |
42
- | instruction-hook | main.ts | 76 | Projects / internal Claude prompt and Stop hook (36) | No | - | Repeated forms |
43
- | intake | main.ts | 80 | Tasks and review / turn a plain request into a draft backlog card (46) | Yes | --source --json --color | Repeated forms |
30
+ | completion | commands/completion.ts | 78 | Projects / print a shell completion script (31) | Yes | - | Repeated forms |
31
+ | console | commands/console.ts | 79 | Daemon and runtime / open the human console (22) | Yes | --panels --color --no-pet | Repeated forms |
32
+ | daemon | commands/daemon.ts | 74 | Daemon and runtime / internal: the detached hub process (34) | No | --unattended | Internal, Repeated forms |
33
+ | deliverables | commands/deliverables.ts | 80 | Tasks and review / what each task delivered and a reviewer approved (48) | Yes | --task --approved --check --json --color | Repeated forms |
34
+ | doctor | commands/doctor.ts | 80 | Daemon and runtime / check tools, daemon, plugin, models and memory (46) | Yes | --json --full --ascii --color --stale-anchors --orphans --kill | Repeated forms |
35
+ | down | commands/down.ts | 73 | Daemon and runtime / stop this project's hub (same as kill) (38) | Yes | - | Repeated forms |
36
+ | export | commands/export.ts | 75 | History and reports / events as JSON lines (20) | Yes | --since | Repeated forms |
37
+ | facts | commands/facts.ts | 79 | Hooks / Claude hook for turn-free facts (31) | No | --hook | Internal, Repeated forms |
38
+ | goal | commands/goal.ts | 80 | History and reports / long-term tasks and who holds them (34) | Yes | --all --json --milestone --depends --shared --force | Repeated forms |
39
+ | guidance | commands/guidance.ts | 80 | History and reports / guidance declarations and the probe lifecycle (45) | Yes | --file --json --id --revision --variant --task --task-created --cursor | Repeated forms |
40
+ | help | commands/help.ts | 57 | Projects / this overview, or one command's usage (37) | Yes | --ascii | Repeated forms |
41
+ | host | commands/host.ts | 77 | Daemon and runtime / internal: the shared per-runtime host process (45) | No | --runtime --add-current --unattended | Internal, Repeated forms |
42
+ | init | commands/init.ts | 80 | Projects / write .agenthub/config.json and the AGENTS.md block (51) | Yes | --profile --agents --sdlc --required-checks --coordination --memory --no-memory --research --no-research --snapshots --no-snapshots --pi --no-pi --specs --no-specs --spec-review --conductor --planner --reviewer --track-config --no-track-config --no-jcode-home --autonomy --shadow --release-guard --yes --dry-run --json | Repeated forms |
43
+ | instructed | commands/instructed.ts | 78 | Projects / run a confirmed exact or intent instruction (43) | Yes | - | Repeated forms |
44
+ | instruction-hook | commands/instruction-hook.ts | 76 | Projects / internal Claude prompt and Stop hook (36) | No | - | Repeated forms |
45
+ | intake | commands/intake.ts | 80 | Tasks and review / turn a plain request into a draft backlog card (46) | Yes | --source --json --color | Repeated forms |
44
46
  | jcode | adapter | 80 | Agents / start optional Jcode, in its TUI or headless (44) | Yes | --mode --model --provider-profile --session-id --print-command --as | Repeated forms |
45
- | kill | main.ts | 25 | Daemon and runtime / stop this project's hub (23) | Yes | - | Repeated forms |
47
+ | kill | commands/kill.ts | 25 | Daemon and runtime / stop this project's hub (23) | Yes | - | Repeated forms |
46
48
  | kimi | adapter | 77 | Agents / start Kimi in its own TUI, or headless over ACP (47) | Yes | --print-command --mode --model --as | Repeated forms |
47
- | learn | main.ts | 79 | Tasks and review / review recurring-criterion candidates (37) | Yes | --all --accepted --json --color | Repeated forms |
48
- | lineage | main.ts | 78 | History and reports / execution metadata and evidence strengths (41) | Yes | --task --attempt --root --task-scope --task-created --cursor --nodes --edges --bytes --json --revision --ref --from | Repeated forms, Bracket wraps |
49
+ | learn | commands/learn.ts | 79 | Tasks and review / review recurring-criterion candidates (37) | Yes | --all --accepted --json --color | Repeated forms |
50
+ | lineage | commands/lineage.ts | 78 | History and reports / execution metadata and evidence strengths (41) | Yes | --task --attempt --root --task-scope --task-created --cursor --nodes --edges --bytes --json --revision --ref --from | Repeated forms, Bracket wraps |
49
51
  | local | adapter | 73 | Agents / start the hub-native worker on self-hosted models (49) | Yes | --route --model --as | Repeated forms |
50
- | logs | main.ts | 77 | Daemon and runtime / show the hub log (16) | Yes | -f | Repeated forms |
51
- | manager | main.ts | 67 | Dashboard / internal: the dashboard manager process (39) | No | - | Internal, Repeated forms |
52
- | memory | main.ts | 80 | History and reports / the hub's own project memory (28) | Yes | --tier --kind --peer --machine --since --limit --json --ungrouped --hops --history --as-of --remote --label --db --restart --apply --days | Repeated forms |
53
- | model | main.ts | 80 | Messages and approvals / select or inspect runtime models (32) | Yes | --json | Repeated forms |
54
- | models | main.ts | 76 | Agents / inspect local model state (25) | Yes | --json --color | Repeated forms |
55
- | pause | main.ts | 54 | Messages and approvals / hold or release a peer's deliveries (35) | Yes | - | Repeated forms |
56
- | peer | main.ts | 77 | Agents / hand the attached session to a standby (38) | Yes | --json --color | Repeated forms |
57
- | permission | main.ts | 75 | Messages and approvals / inspect or set a peer's permission mode (39) | Yes | --yes | Repeated forms |
58
- | permit | main.ts | 60 | Messages and approvals / answer a permission request (27) | Yes | - | Repeated forms |
59
- | pet | main.ts | 78 | Daemon and runtime / read attention without connecting (33) | Yes | --short --window --close --palette | Repeated forms |
52
+ | logs | commands/logs.ts | 77 | Daemon and runtime / show the hub log (16) | Yes | -f | Repeated forms |
53
+ | manager | commands/manager.ts | 67 | Dashboard / internal: the dashboard manager process (39) | No | - | Internal, Repeated forms |
54
+ | memory | commands/memory.ts | 80 | History and reports / the hub's own project memory (28) | Yes | --tier --kind --peer --machine --since --limit --json --ungrouped --hops --history --as-of --remote --label --db --restart --apply --days | Repeated forms |
55
+ | model | commands/model.ts | 80 | Messages and approvals / select or inspect runtime models (32) | Yes | --json | Repeated forms |
56
+ | models | commands/models.ts | 76 | Agents / inspect local model state (25) | Yes | --json --color | Repeated forms |
57
+ | pause | commands/pause.ts | 54 | Messages and approvals / hold or release a peer's deliveries (35) | Yes | - | Repeated forms |
58
+ | peer | commands/peer.ts | 77 | Agents / hand the attached session to a standby (38) | Yes | --json --color | Repeated forms |
59
+ | permission | commands/permission.ts | 75 | Messages and approvals / inspect or set a peer's permission mode (39) | Yes | --yes | Repeated forms |
60
+ | permit | commands/permit.ts | 60 | Messages and approvals / answer a permission request (27) | Yes | - | Repeated forms |
61
+ | pet | commands/pet.ts | 78 | Daemon and runtime / read attention without connecting (33) | Yes | --short --window --close --palette | Repeated forms |
60
62
  | pi | adapter | 80 | Agents / start Pi in a terminal, or headless (35) | Yes | --print-command --mode --headless --backend --model --session-id --session-file --replace-session --as | Repeated forms |
61
- | projects | main.ts | 74 | Projects / list registered projects and live status (40) | Yes | --json --full --color --state --confirm | Repeated forms |
62
- | queue | main.ts | 80 | Messages and approvals / inspect and resolve durable deliveries (38) | Yes | --peer --all --json --full --color --action --reason --revision --state --yes | Repeated forms |
63
+ | projects | commands/projects.ts | 74 | Projects / list registered projects and live status (40) | Yes | --json --full --color --state --confirm | Repeated forms |
64
+ | queue | commands/queue.ts | 80 | Messages and approvals / inspect and resolve durable deliveries (38) | Yes | --peer --all --json --full --color --action --reason --revision --state --yes | Repeated forms |
63
65
  | qwen | adapter | 80 | Agents / start optional Qwen Code, headless or in its TUI (48) | Yes | --mode --model --session-id --print-command --as | Repeated forms |
64
- | recovery | main.ts | 80 | Daemon and runtime / inspect, resume or abort a held operation (41) | Yes | --json --color --fresh-session --reason --stop-and-archive | Repeated forms |
65
- | recovery-run | main.ts | 71 | Daemon and runtime / internal: a detached recovery runner (36) | No | - | Internal, Repeated forms |
66
- | release | main.ts | 80 | Tasks and review / plan and ship releases (22) | Yes | --json --color | Repeated forms |
67
- | remember | main.ts | 44 | Tasks and review / save a note to shared memory (28) | Yes | - | Repeated forms |
68
- | report | main.ts | 79 | History and reports / turns, tokens, messages and task events (39) | Yes | --since --by --json --color --dogfood | Repeated forms |
69
- | research | main.ts | 80 | History and reports / success and rework rates per approved task (42) | Yes | --since --all --json --format --dataset | Repeated forms |
70
- | reset | main.ts | 78 | Daemon and runtime / discard queued deliveries and clear holds (41) | Yes | --all --yes | Repeated forms |
71
- | restart | main.ts | 80 | Daemon and runtime / recover this project's runtime (30) | Yes | --dry-run --yes --json --verbose --color | Repeated forms |
72
- | results | main.ts | 80 | Messages and approvals / list what your runs left behind (31) | Yes | --unread --read --read-all --unread-last --json --color | Repeated forms |
73
- | resume | main.ts | 54 | Messages and approvals / hold or release a peer's deliveries (35) | Yes | - | Repeated forms |
74
- | review | main.ts | 78 | Tasks and review / give a review verdict on a task (31) | Yes | --unmet --head --findings --security-pass | Repeated forms |
75
- | roadmap | main.ts | 80 | Tasks and review / milestones and their computed progress (38) | Yes | --json --title --outcome --horizon --order --target --parent --revision --repo --list --accept --publish --apply --confirm --write --issue | Repeated forms |
76
- | role | main.ts | 78 | Agents / read catalog guidance for a role (32) | Yes | --group | Repeated forms |
77
- | roles | main.ts | 78 | Messages and approvals / each peer's flow roles, planner and reviewers (45) | Yes | --json --color | Repeated forms |
78
- | room | main.ts | 80 | Tasks and review / encrypted rooms between hubs (person only) (42) | Yes | --broker --label --accept --name --roster --confirm --frame --action --json | Repeated forms |
79
- | roster | main.ts | 80 | Messages and approvals / every known peer and its participation (38) | Yes | --json --color --yes --now | Repeated forms |
80
- | route | main.ts | 74 | Tasks and review / why a task went where it did (28) | Yes | --class | Repeated forms |
81
- | say | main.ts | 79 | Messages and approvals / send a message as the console user (34) | Yes | - | Repeated forms |
82
- | schedule | main.ts | 80 | Tasks and review / list and run machine-local schedules (36) | Yes | --json --color | Repeated forms |
83
- | sdlc | main.ts | 80 | Daemon and runtime / read lifecycle gates and the next action (40) | Yes | --json --color --focus --profile --since --pr --dry-run --mode --required-checks --issue --repo --review --reviewers --ci | Repeated forms |
84
- | settings | main.ts | 80 | Messages and approvals / list, read and change settings (30) | Yes | --json --yes --preview --now --reason | Repeated forms |
85
- | setup | main.ts | 80 | Projects / install the plugin and hooks, choose default agents (51) | Yes | --yes --agents --research --no-research --undo | Repeated forms |
86
- | smoke | main.ts | 80 | Tasks and review / live smoke test in a temporary project (38) | Yes | --project-id --receipt --timeout-ms --json | Repeated forms |
87
- | source | main.ts | 79 | Tasks and review / register inputs as content-hashed sources (41) | Yes | --json --color | Repeated forms |
88
- | specs | main.ts | 80 | Projects / read design specs and check their freshness (43) | Yes | --json --require-fresh --base --yes | Repeated forms |
89
- | status | main.ts | 80 | Daemon and runtime / is the hub OK, and what to do next (34) | Yes | --json --full --verbose --ascii --color --all | Repeated forms |
90
- | stop | main.ts | 80 | Agents / stop a hub-owned headless peer (30) | Yes | - | Repeated forms |
91
- | study | main.ts | 80 | Tasks and review / research campaign contracts (27) | Yes | --reason --json --color --revision --task --after --campaign --attempt --events-after --plan --baseline --variant | Repeated forms |
92
- | tail | main.ts | 57 | Messages and approvals / live stream of messages and states (34) | Yes | - | Repeated forms |
93
- | task | main.ts | 80 | Tasks and review / put tasks on the board and move them along (42) | Yes | --class --owner --path --after --urgent --needs-network --needs-worktree --backlog --detail --list --sync --project --issue --task --duplicate-ok --key --json --color --full --role --revision --model --model-said --manifest --disposition --reason --superseded-by --created | Repeated forms |
94
- | title | main.ts | 77 | Messages and approvals / rename a Pi or local-worker session (35) | Yes | - | Repeated forms |
95
- | turns | main.ts | 74 | History and reports / recent turns and the files each changed (39) | Yes | --limit --json --color | Repeated forms |
96
- | ui | main.ts | 78 | Dashboard / open the local dashboard (24) | Yes | --no-open --json --settings --all --stop | Repeated forms |
97
- | undo | main.ts | 79 | History and reports / put back the files a turn changed (33) | Yes | --yes --context | Repeated forms |
98
- | up | main.ts | 79 | Daemon and runtime / start the daemon and this project's default agents (50) | Yes | --unattended --no-console --no-agents | Repeated forms |
99
- | upgrade | main.ts | 79 | Daemon and runtime / review and upgrade this project (31) | Yes | --project --all-stopped --to --dry-run --yes --json --verbose --color | Repeated forms |
100
- | usage | main.ts | 79 | History and reports / tokens per group from the roll-up (33) | Yes | --since --by --json --color --peer --limit | Repeated forms |
101
- | version | main.ts | 40 | Projects / print the installed version (27) | Yes | --version | Repeated forms |
102
- | watch | main.ts | 77 | Messages and approvals / watch a headless ACP peer's activity (36) | Yes | --no-thoughts --color | Repeated forms |
103
- | worktrees | main.ts | 78 | Projects / list worktrees, preview and confirm cleanup (43) | Yes | --json --confirm | Repeated forms |
66
+ | recovery | commands/recovery.ts | 80 | Daemon and runtime / inspect, resume or abort a held operation (41) | Yes | --json --color --fresh-session --reason --stop-and-archive | Repeated forms |
67
+ | recovery-run | commands/recovery-run.ts | 71 | Daemon and runtime / internal: a detached recovery runner (36) | No | - | Internal, Repeated forms |
68
+ | release | commands/release.ts | 80 | Tasks and review / plan and ship releases (22) | Yes | --json --color | Repeated forms |
69
+ | releases | commands/releases.ts | 77 | Tasks and review / list and prune hub runtime copies (33) | Yes | --json --kind --older-than --apply | Repeated forms |
70
+ | remember | commands/remember.ts | 44 | Tasks and review / save a note to shared memory (28) | Yes | - | Repeated forms |
71
+ | report | commands/report.ts | 79 | History and reports / turns, tokens, messages and task events (39) | Yes | --since --by --json --color --dogfood | Repeated forms |
72
+ | research | commands/research.ts | 80 | History and reports / success and rework rates per approved task (42) | Yes | --since --all --json --format --dataset | Repeated forms |
73
+ | reset | commands/reset.ts | 78 | Daemon and runtime / discard queued deliveries and clear holds (41) | Yes | --all --yes | Repeated forms |
74
+ | restart | commands/restart.ts | 80 | Daemon and runtime / recover this project's runtime (30) | Yes | --dry-run --yes --json --verbose --color | Repeated forms |
75
+ | results | commands/results.ts | 80 | Messages and approvals / list what your runs left behind (31) | Yes | --unread --read --read-all --unread-last --json --color | Repeated forms |
76
+ | resume | commands/resume.ts | 54 | Messages and approvals / hold or release a peer's deliveries (35) | Yes | - | Repeated forms |
77
+ | review | commands/review.ts | 78 | Tasks and review / give a review verdict on a task (31) | Yes | --unmet --head --findings --security-pass | Repeated forms |
78
+ | roadmap | commands/roadmap.ts | 80 | Tasks and review / milestones and their computed progress (38) | Yes | --json --title --outcome --horizon --order --target --parent --revision --repo --list --accept --publish --apply --confirm --write --issue | Repeated forms |
79
+ | role | commands/role.ts | 78 | Agents / read catalog guidance for a role (32) | Yes | --group | Repeated forms |
80
+ | roles | commands/roles.ts | 78 | Messages and approvals / each peer's flow roles, planner and reviewers (45) | Yes | --json --color | Repeated forms |
81
+ | room | commands/room.ts | 80 | Tasks and review / encrypted rooms between hubs (person only) (42) | Yes | --broker --label --accept --name --roster --confirm --frame --action --json | Repeated forms |
82
+ | roster | commands/roster.ts | 80 | Messages and approvals / every known peer and its participation (38) | Yes | --json --color --yes --now | Repeated forms |
83
+ | route | commands/route.ts | 74 | Tasks and review / why a task went where it did (28) | Yes | --class | Repeated forms |
84
+ | say | commands/say.ts | 79 | Messages and approvals / send a message as the console user (34) | Yes | - | Repeated forms |
85
+ | schedule | commands/schedule.ts | 80 | Tasks and review / list and run machine-local schedules (36) | Yes | --json --color | Repeated forms |
86
+ | sdlc | commands/sdlc.ts | 80 | Daemon and runtime / read lifecycle gates and the next action (40) | Yes | --all --json --color --write-roadmap --close-settled-issues --apply --confirm --focus --profile --since --pr --dry-run --mode --required-checks --issue --repo --review --reviewers --ci | Repeated forms |
87
+ | settings | commands/settings.ts | 80 | Messages and approvals / list, read and change settings (30) | Yes | --json --yes --preview --now --reason | Repeated forms |
88
+ | setup | commands/setup.ts | 80 | Projects / install the plugin and hooks, choose default agents (51) | Yes | --yes --agents --research --no-research --undo | Repeated forms |
89
+ | smoke | commands/smoke.ts | 80 | Tasks and review / live smoke test in a temporary project (38) | Yes | --project-id --receipt --timeout-ms --json | Repeated forms |
90
+ | source | commands/source.ts | 79 | Tasks and review / register inputs as content-hashed sources (41) | Yes | --json --color | Repeated forms |
91
+ | specs | commands/specs.ts | 80 | Projects / read design specs and check their freshness (43) | Yes | --json --require-fresh --base --yes | Repeated forms |
92
+ | status | commands/status.ts | 80 | Daemon and runtime / is the hub OK, and what to do next (34) | Yes | --json --full --verbose --ascii --color --all | Repeated forms |
93
+ | stop | commands/stop.ts | 80 | Agents / stop a hub-owned headless peer (30) | Yes | - | Repeated forms |
94
+ | structure | commands/structure.ts | 74 | Tasks and review / check file budgets and shared names (35) | Yes | --json --write | Repeated forms |
95
+ | study | commands/study.ts | 80 | Tasks and review / research campaign contracts (27) | Yes | --reason --json --color --revision --task --after --campaign --attempt --events-after --plan --baseline --variant | Repeated forms |
96
+ | tail | commands/tail.ts | 57 | Messages and approvals / live stream of messages and states (34) | Yes | - | Repeated forms |
97
+ | task | commands/task.ts | 80 | Tasks and review / put tasks on the board and move them along (42) | Yes | --class --owner --path --after --urgent --needs-network --needs-worktree --backlog --detail --list --sync --project --issue --task --duplicate-ok --key --json --color --full --role --revision --model --model-said --manifest --disposition --reason --superseded-by --created | Repeated forms |
98
+ | title | commands/title.ts | 77 | Messages and approvals / rename a Pi or local-worker session (35) | Yes | - | Repeated forms |
99
+ | turns | commands/turns.ts | 74 | History and reports / recent turns and the files each changed (39) | Yes | --limit --json --color | Repeated forms |
100
+ | ui | commands/ui.ts | 78 | Dashboard / open the local dashboard (24) | Yes | --no-open --json --settings --all --stop | Repeated forms |
101
+ | undo | commands/undo.ts | 79 | History and reports / put back the files a turn changed (33) | Yes | --yes --context | Repeated forms |
102
+ | up | commands/up.ts | 80 | Daemon and runtime / start the daemon and this project's default agents (50) | Yes | --unattended --no-console --no-agents --wait --json | Repeated forms |
103
+ | upgrade | commands/upgrade.ts | 79 | Daemon and runtime / review and upgrade this project (31) | Yes | --project --all-stopped --to --dry-run --yes --json --verbose --color | Repeated forms |
104
+ | usage | commands/usage.ts | 79 | History and reports / tokens per group from the roll-up (33) | Yes | --since --by --json --color --peer --limit | Repeated forms |
105
+ | version | commands/version.ts | 40 | Projects / print the installed version (27) | Yes | --version | Repeated forms |
106
+ | watch | commands/watch.ts | 77 | Messages and approvals / watch a headless ACP peer's activity (36) | Yes | --no-thoughts --color | Repeated forms |
107
+ | worktrees | commands/worktrees.ts | 78 | Projects / list worktrees, preview and confirm cleanup (43) | Yes | --json --confirm | Repeated forms |
104
108
 
105
109
  ## Direct output call sites
106
110
 
107
- Counts come from each handler body in src/cli/main.ts. The adapter entries share one handler. These counts include machine and diagnostic branches.
111
+ Counts come from the dispatched command bodies. The adapter entries share one handler. These counts include machine and diagnostic branches.
108
112
  A delegated call needs its own renderer or a fixture before the human-view width can be measured.
109
113
 
110
114
  | Command | Direct output calls |
111
115
  | --- | --- |
116
+ | ui | fail (7), console.log (6) |
117
+ | setup | fail (7), console.log (9) |
118
+ | sdlc | printOutput (2), showToolText (3), fail (58), console.log (14), process.stdout.write (2), renderSdlcCosts (1), renderSdlcMetrics (1), renderSdlcMerge (1) |
119
+ | down | Delegated / no direct output call |
120
+ | doctor | fail (2), console.log (3), formatMemoryStaleAnchors (1), printOutput (2), renderOrphanCleanup (1), renderDoctor (1) |
121
+ | recovery | fail (12), console.error (3), console.log (15), renderOperation (1), renderBlocked (1), renderRecoveryStatus (1), renderSummary (1) |
122
+ | up | fail (1), console.error (2), process.stderr.write (1), console.log (2) |
123
+ | backlog | showToolText (1), console.log (5), printOutput (1), renderBacklog (1), fail (7), renderBacklogResult (5) |
124
+ | roadmap | fail (2), console.log (3), renderRoadmap (1) |
125
+ | structure | fail (4), printOutput (1) |
126
+ | study | fail (1), showToolText (6), renderStudyEvidence (2), renderSynthesisReadiness (1), renderExperiments (1), renderStudyShow (1), renderStudyList (1), renderStudyReceipt (1) |
127
+ | task | showToolText (3), fail (14), console.log (7), renderHandoffs (1), renderHandoffReceipt (1) |
128
+ | permission | fail (2), console.log (3) |
129
+ | autonomy | console.log (4), fail (1) |
130
+ | settings | printOutput (1), fail (17), process.stdout.write (1), console.log (2) |
131
+ | permit | fail (1) |
132
+ | answer | fail (3), console.log (2), printOutput (2), renderQuestions (1), renderAnswerReceipt (1) |
133
+ | results | fail (4), console.log (3), printOutput (3), renderAnswerReceipt (2), renderResults (1) |
134
+ | pet | fail (4), console.log (2), renderPet (1), process.stdout.write (1) |
135
+ | roles | fail (1), console.log (1), printOutput (1), renderRoles (1) |
136
+ | status | console.log (3), printOutput (1), renderStatus (1), renderStatusDefault (1), renderPet (1) |
137
+ | logs | console.log (3), fail (1) |
138
+ | export | fail (1), console.log (2) |
139
+ | bench | console.log (7), formatBenchReport (2), formatRuns (2), fail (5), formatCompare (1), process.stdout.write (1) |
140
+ | memory | fail (3), console.log (2), formatMemoryProfileCheck (1) |
141
+ | goal | fail (2), console.log (1) |
142
+ | research | console.log (4), fail (3), process.stdout.write (1), formatAddons (1), formatResearch (1) |
143
+ | report | fail (2), console.log (2), formatDogfood (1), printOutput (1), renderReport (1) |
144
+ | specs | Delegated / no direct output call |
145
+ | worktrees | fail (3), console.log (3), printOutput (3), renderWorktrees (1), renderTidyPreview (1), renderTidyResult (1) |
146
+ | usage | fail (5), process.stderr.write (1), console.log (1), printOutput (1), renderLimits (1), renderTotal (1), renderUsage (1) |
147
+ | instructed | fail (3), process.stdout.write (1) |
148
+ | instruction-hook | Delegated / no direct output call |
149
+ | facts | fail (1), console.log (1) |
150
+ | check-path | fail (1), console.log (2) |
151
+ | turns | console.log (1), printOutput (1), renderTurns (1) |
152
+ | undo | fail (12), printOutput (5), renderUndoPlan (1), renderLifecycleReceipt (4) |
153
+ | kill | printOutput (2), renderLifecycleReceipt (2), fail (1) |
154
+ | reset | fail (7), printOutput (3), renderLifecycleReceipt (2), renderResetPlan (1) |
155
+ | role | fail (7), console.log (3) |
156
+ | agents | Delegated / no direct output call |
157
+ | accounts | Delegated / no direct output call |
112
158
  | upgrade | Delegated / no direct output call |
113
159
  | restart | Delegated / no direct output call |
114
- | recovery | fail (12), console.error (3), console.log (15), renderOperation (1), renderBlocked (1), renderRecoveryStatus (1), renderSummary (1) |
115
160
  | recovery-run | fail (1) |
116
161
  | help | renderHelp (1), fail (1), console.log (1) |
117
- | completion | fail (1), process.stdout.write (1) |
118
- | --version | console.log (1) |
119
- | version | console.log (1) |
120
162
  | projects | fail (4), console.log (2) |
121
- | ui | fail (7), console.log (6) |
122
163
  | manager | Delegated / no direct output call |
123
- | setup | fail (7), console.log (9) |
124
164
  | init | fail (5), console.log (11), console.error (1) |
125
165
  | daemon | console.error (2) |
166
+ | host | process.stderr.write (1) |
126
167
  | console | fail (2) |
127
- | up | console.error (2), console.log (2) |
128
- | claude | Delegated / no direct output call |
129
- | codex | Delegated / no direct output call |
130
- | kimi | Delegated / no direct output call |
131
- | pi | Delegated / no direct output call |
132
- | local | Delegated / no direct output call |
133
- | qwen | Delegated / no direct output call |
134
- | jcode | Delegated / no direct output call |
135
- | agy | Delegated / no direct output call |
136
168
  | guidance | fail (21), console.log (10), renderGuidanceReceipt (1), renderGuidance (1) |
137
169
  | lineage | fail (6), console.log (4), renderExecutionLineage (1) |
138
170
  | model | fail (6), console.log (1), printOutput (1), renderRuntimeModels (1) |
@@ -141,23 +173,19 @@ A delegated call needs its own renderer or a fixture before the human-view width
141
173
  | queue | fail (12), console.log (6), printOutput (3), renderQueue (1), renderQueueShow (2) |
142
174
  | watch | fail (3), console.log (1) |
143
175
  | tail | console.log (4), renderTailEvent (1) |
144
- | budget | fail (8), console.log (3), printOutput (3), renderBudgetResult (1), renderExecutionBudgetStatus (1), renderBudget (1) |
145
- | backlog | showToolText (1), console.log (5), printOutput (1), renderBacklog (1), fail (7), renderBacklogResult (5) |
146
- | roadmap | fail (2), console.log (3), renderRoadmap (1) |
176
+ | budget | console.log (4), printOutput (4), fail (8), renderBudgetResult (1), renderExecutionBudgetStatus (1), renderBudget (1) |
147
177
  | release | showToolText (1), fail (3) |
178
+ | releases | fail (1) |
148
179
  | smoke | fail (6), console.log (2) |
149
180
  | room | fail (2) |
150
181
  | broker | fail (1) |
151
182
  | source | console.log (2), printOutput (2), renderSourceList (1), fail (4), renderSourceAdd (1) |
152
183
  | schedule | showToolText (3), renderScheduleList (1), fail (1), renderScheduleRun (1), renderScheduleChange (1) |
153
- | study | fail (2), showToolText (6), renderStudyEvidence (2), renderSynthesisReadiness (1), renderExperiments (1), renderStudyShow (1), renderStudyList (1), renderStudyReceipt (1) |
154
184
  | capabilities | fail (1), showToolText (1), renderCapabilities (1) |
155
185
  | learn | fail (2), showToolText (2), renderLearnList (1), renderLearnChange (1) |
156
186
  | intake | fail (3), showToolText (2), renderIntakeChange (1), renderIntake (1) |
157
187
  | deliverables | fail (2), console.log (5) |
158
188
  | board | fail (8), console.log (3), showToolText (1), renderHandoffs (1), printOutput (2), renderBoardColumns (1), renderBoard (1) |
159
- | sdlc | printOutput (2), showToolText (3), fail (51), console.log (12), process.stdout.write (2), renderSdlcCosts (1), renderSdlcMetrics (1), renderSdlcMerge (1) |
160
- | task | showToolText (3), fail (15), console.log (7), renderHandoffs (1), renderHandoffReceipt (1) |
161
189
  | review | fail (5), console.log (2) |
162
190
  | remember | console.log (1) |
163
191
  | ask | fail (2), printOutput (1), renderAskAnswer (1) |
@@ -167,38 +195,18 @@ A delegated call needs its own renderer or a fixture before the human-view width
167
195
  | stop | fail (2), console.log (1) |
168
196
  | peer | fail (7), console.log (2) |
169
197
  | title | fail (3), console.log (2) |
170
- | permission | fail (3), console.log (3) |
171
198
  | roster | fail (5), console.log (3), printOutput (4), renderRoster (1) |
172
- | autonomy | console.log (4), fail (1) |
173
- | settings | printOutput (1), fail (18), process.stdout.write (1), console.log (2) |
174
- | permit | fail (1) |
175
- | answer | fail (3), console.log (2), printOutput (2), renderQuestions (1), renderAnswerReceipt (1) |
176
- | results | fail (4), console.log (3), printOutput (3), renderAnswerReceipt (2), renderResults (1) |
177
- | pet | fail (4), console.log (2), renderPet (1), process.stdout.write (1) |
178
- | roles | fail (1), console.log (1), printOutput (1), renderRoles (1) |
179
- | status | console.log (3), printOutput (1), renderStatus (1), renderStatusDefault (1), renderPet (1) |
180
- | logs | console.log (3), fail (1) |
181
- | export | fail (1), console.log (2) |
182
- | bench | console.log (7), formatBenchReport (2), formatRuns (2), fail (6), formatCompare (1), process.stdout.write (1) |
183
- | memory | fail (3), console.log (2), formatMemoryProfileCheck (1) |
184
- | goal | fail (2), console.log (1) |
185
- | research | console.log (4), fail (4), process.stdout.write (1), formatAddons (1), formatResearch (1) |
186
- | report | fail (2), console.log (2), formatDogfood (1), printOutput (1), renderReport (1) |
187
- | specs | Delegated / no direct output call |
188
- | worktrees | fail (3), console.log (3), printOutput (3), renderWorktrees (1), renderTidyPreview (1), renderTidyResult (1) |
189
- | usage | fail (6), process.stderr.write (1), console.log (1), printOutput (1), renderLimits (1), renderTotal (1), renderUsage (1) |
190
- | instructed | fail (3), process.stdout.write (1) |
191
- | instruction-hook | Delegated / no direct output call |
192
- | facts | fail (1), console.log (1) |
193
- | check-path | fail (1), console.log (2) |
194
- | turns | console.log (1), printOutput (1), renderTurns (1) |
195
- | undo | fail (12), printOutput (5), renderUndoPlan (1), renderLifecycleReceipt (4) |
196
- | kill | printOutput (2), renderLifecycleReceipt (2), fail (1) |
197
- | down | Delegated / no direct output call |
198
- | reset | fail (7), printOutput (3), renderLifecycleReceipt (2), renderResetPlan (1) |
199
- | role | fail (7), console.log (3) |
200
- | agents | Delegated / no direct output call |
201
- | doctor | fail (2), console.log (3), formatMemoryStaleAnchors (1), printOutput (2), renderOrphanCleanup (1), renderDoctor (1) |
199
+ | completion | fail (1), process.stdout.write (1) |
200
+ | --version | console.log (1) |
201
+ | version | console.log (1) |
202
+ | claude | Delegated / no direct output call |
203
+ | codex | Delegated / no direct output call |
204
+ | kimi | Delegated / no direct output call |
205
+ | pi | Delegated / no direct output call |
206
+ | local | Delegated / no direct output call |
207
+ | qwen | Delegated / no direct output call |
208
+ | jcode | Delegated / no direct output call |
209
+ | agy | Delegated / no direct output call |
202
210
 
203
211
  ## Inline literal output
204
212
 
@@ -207,20 +215,20 @@ Interpolated and daemon-supplied strings require runtime fixtures. They are coun
207
215
 
208
216
  | Command | Text source | Stream | Literal width |
209
217
  | --- | --- | --- | ---: |
210
- | recovery | src/cli/main.ts:1049 | stdout | 29 |
211
- | recovery | src/cli/main.ts:1082 | stdout | 60 |
212
- | projects | src/cli/main.ts:1176 | stdout | 45 |
213
- | ui | src/cli/main.ts:1200 | stdout | 57 |
214
- | ui | src/cli/main.ts:1223 | stdout | 76 |
215
- | models | src/cli/main.ts:1611 | stdout | 11 |
216
- | say | src/cli/main.ts:1635 | stdout | 46 |
217
- | roadmap | src/cli/main.ts:1839 | stdout | 46 |
218
- | deliverables | src/cli/main.ts:2076 | stdout | 70 |
219
- | roster | src/cli/main.ts:2627 | stdout | 19 |
220
- | roster | src/cli/main.ts:2634 | stdout | 19 |
221
- | autonomy | src/cli/main.ts:2685 | stdout | 75 |
222
- | bench | src/cli/main.ts:2992 | stdout | 107 |
223
- | usage | src/cli/main.ts:3176 | stderr | 121 |
218
+ | ui | src/cli/commands/ui.ts:23 | stdout | 57 |
219
+ | ui | src/cli/commands/ui.ts:46 | stdout | 76 |
220
+ | recovery | src/cli/commands/recovery.ts:62 | stdout | 29 |
221
+ | recovery | src/cli/commands/recovery.ts:95 | stdout | 60 |
222
+ | roadmap | src/cli/commands/roadmap.ts:17 | stdout | 46 |
223
+ | autonomy | src/cli/commands/autonomy.ts:66 | stdout | 75 |
224
+ | bench | src/cli/commands/bench.ts:18 | stdout | 107 |
225
+ | usage | src/cli/commands/usage.ts:30 | stderr | 121 |
226
+ | projects | src/cli/commands/projects.ts:43 | stdout | 45 |
227
+ | models | src/cli/commands/models.ts:27 | stdout | 11 |
228
+ | say | src/cli/commands/say.ts:17 | stdout | 46 |
229
+ | deliverables | src/cli/commands/deliverables.ts:24 | stdout | 70 |
230
+ | roster | src/cli/commands/roster.ts:36 | stdout | 19 |
231
+ | roster | src/cli/commands/roster.ts:43 | stdout | 19 |
224
232
 
225
233
  ## Renderer candidates
226
234
 
@@ -230,7 +238,9 @@ The separate report-by-task fixture measures 79 cells.
230
238
 
231
239
  | File and renderer | Text source | Report | Direct layout references | Fixture width or scope |
232
240
  | --- | --- | --- | --- | --- |
241
+ | src/cli/accounts-import.ts:renderBlock | CLI | - | Inline / indirect | Unmeasured |
233
242
  | src/cli/agents-output.ts:renderAgents | CLI | Direct | Report, grid | Unmeasured |
243
+ | src/cli/agents-output.ts:renderAgentsLatest | CLI | Direct | Report, grid | Unmeasured |
234
244
  | src/cli/answer-output.ts:renderAskAnswer | CLI | Direct | Report | Unmeasured |
235
245
  | src/cli/answer-output.ts:renderQuestions | CLI | Direct | Report | Unmeasured |
236
246
  | src/cli/answer-output.ts:renderAnswerReceipt | CLI | Direct | Report | Unmeasured |
@@ -246,6 +256,7 @@ The separate report-by-task fixture measures 79 cells.
246
256
  | src/cli/help.ts:renderOverview | CLI | Direct | LayoutReport, blank, paint, wrap | 79 |
247
257
  | src/cli/intake-output.ts:renderIntake | CLI | Direct | Report, grid | 76 |
248
258
  | src/cli/intake-output.ts:renderIntakeChange | CLI | Direct | Report, grid | 54 |
259
+ | src/cli/launch-check.ts:renderLaunchCheck | CLI | - | Inline / indirect | Unmeasured |
249
260
  | src/cli/learn-output.ts:renderLearnList | CLI | Direct | Report, grid | 55 |
250
261
  | src/cli/learn-output.ts:renderLearnAccepted | CLI | Direct | Report, grid | Unmeasured |
251
262
  | src/cli/learn-output.ts:renderLearnChange | CLI | Direct | Report | 70 |
@@ -285,6 +296,8 @@ The separate report-by-task fixture measures 79 cells.
285
296
  | src/cli/schedule-output.ts:renderScheduleRun | CLI | Direct | Report | 33 |
286
297
  | src/cli/schedule-output.ts:renderScheduleChange | CLI | Direct | Report | 23 |
287
298
  | src/cli/sdlc-output.ts:renderSdlcConfiguration | CLI | Direct | LayoutReport | 70 |
299
+ | src/cli/sdlc-output.ts:renderSdlcCheck | CLI | Direct | LayoutReport | Unmeasured |
300
+ | src/cli/sdlc-output.ts:renderSdlcSync | CLI | Direct | LayoutReport | Unmeasured |
288
301
  | src/cli/sdlc-output.ts:renderSdlcSurvey | CLI | Direct | LayoutReport | 29 |
289
302
  | src/cli/sdlc-output.ts:renderSdlcQueue | CLI | Direct | LayoutReport, grid | 36 |
290
303
  | src/cli/sdlc-output.ts:renderSdlcAudit | CLI | Direct | LayoutReport | 50 |
@@ -345,6 +358,8 @@ The separate report-by-task fixture measures 79 cells.
345
358
  | src/hub/dogfood.ts:formatDogfood | Hub | - | Inline / indirect | 43 |
346
359
  | src/hub/envelope.ts:renderDigest | Hub | - | Inline / indirect | 1483 |
347
360
  | src/hub/guidance-variants.ts:renderGuidanceVariantV1 | Hub | - | Inline / indirect | Guidance payload for agents |
361
+ | src/hub/hub-check.ts:renderHubCheck | Hub | - | Inline / indirect | Unmeasured |
362
+ | src/hub/hub-check.ts:renderHubCheckUnavailable | Hub | - | Inline / indirect | Unmeasured |
348
363
  | src/hub/invocations.ts:renderInvocationResult | Hub | - | Inline / indirect | 109 |
349
364
  | src/hub/memory-profile-check.ts:formatMemoryProfileCheck | Hub | - | Inline / indirect | 27 |
350
365
  | src/hub/memory-stale-anchors.ts:formatMemoryStaleAnchors | Hub | - | Inline / indirect | 59 |
@@ -10,6 +10,7 @@ tags: [agent-hub, cli, contract]
10
10
  paths:
11
11
  - src/cli/output-standard.ts
12
12
  - src/cli/console-state.ts
13
+ - src/cli/report-layout.ts
13
14
  - src/cli/output.ts
14
15
  - test/cli-output-conformance.test.ts
15
16
  verified-against: 2db80cdd539b9c7032f2ea53e905d7a5f709a7b4
@@ -162,13 +163,13 @@ Glyphs are semantic; each pairs with one role. Code uses named constants, never
162
163
  ## Per-language notes (guidance)
163
164
 
164
165
  - Go: lipgloss v2 as dot uses it; lipgloss downsamples colors itself, so define roles with ANSI colors and add a theme only per the color policy. Disable its CLICOLOR handling only if it disagrees with the table above.
165
- - TypeScript / Bun: a small zero-dependency module (role to SGR map, marker table, color resolution, `paint`). `ahub` grows its existing `Tone` / `PALETTE` / `paint` in `src/cli/console-state.ts` instead of adding a dependency.
166
+ - TypeScript / Bun: a small zero-dependency module (role to SGR map, marker table, color resolution, `paint`). `ahub` grows its existing `Tone` / `PALETTE` / `paint` in `src/cli/report-layout.ts`, with re-exports from `src/cli/console-state.ts`, instead of adding a dependency.
166
167
  - Rust: `anstyle` + `anstream`, and clap's `styles()` set to the same roles for help.
167
168
  - Python: `rich` or `click.style`, gated by the same policy.
168
169
 
169
170
  ## Implementation in ahub
170
171
 
171
- `src/cli/output-standard.ts` re-exports the portable executable form from `@staix/cli-output`: `Role` and `ROLE_SGR` (the nine roles), `TONE_SGR` (the console tones that are not an identity palette entry), `MARKERS`, `markerCell`, `SECTION_MARKER`, `cellWidth`, `resolveColor` with `streamEnv` (the precedence table, per stream) and `asciiMarkers` (`--ascii` and the non-UTF-8 locale fallback). `src/cli/console-state.ts` keeps `Tone` and `PALETTE` (mapped onto the roles through `TONE_ROLE`; a tone with no entry names an identity color, never a status), re-exports the style names, lets a `Span` carry a `role` (it wins over its `tone`) and holds the `Report` builder for the layout grammar. `test/cli-output-conformance.test.ts` runs the five conformance checks and fails on a raw SGR literal in `src/cli/` and `src/hub/` outside `src/cli/output-standard.ts`, `src/cli/console.ts` (the full-screen console) and the identity palettes (`src/ui/peer-palette.ts`, `src/adapters/definitions/native-display.ts`).
172
+ `src/cli/output-standard.ts` re-exports the portable executable form from `@staix/cli-output`: `Role` and `ROLE_SGR` (the nine roles), `TONE_SGR` (the console tones that are not an identity palette entry), `MARKERS`, `markerCell`, `SECTION_MARKER`, `cellWidth`, `resolveColor` with `streamEnv` (the precedence table, per stream) and `asciiMarkers` (`--ascii` and the non-UTF-8 locale fallback). `src/cli/report-layout.ts` owns `Tone`, `PALETTE`, `paint` and the `Report` builder for the layout grammar. The palette maps onto the roles through `TONE_ROLE`; a tone with no entry names an identity color, never a status. A `Span` can carry a `role` (it wins over its `tone`). `src/cli/console-state.ts` re-exports these declarations. `test/cli-output-conformance.test.ts` runs the five conformance checks and fails on a raw SGR literal in `src/cli/` and `src/hub/` outside `src/cli/output-standard.ts`, `src/cli/console.ts` (the full-screen console) and the identity palettes (`src/ui/peer-palette.ts`, `src/adapters/definitions/native-display.ts`).
172
173
 
173
174
  ## Adoption
174
175
 
@@ -213,7 +214,7 @@ the dated snapshot as help and renderers change.
213
214
  - AC1: `@staix/cli-output` holds this standard. This spec records the hub's adoption. `src/cli/console-state.ts` exposes the nine roles and the marker table; `Tone` stays as the TUI's vocabulary through a mapping onto roles. A test fails on raw SGR literals in `src/cli/` and `src/hub/` human-output code outside the compatibility re-export `src/cli/output-standard.ts`, with an allowlist for the identity palettes (`src/ui/peer-palette.ts`, `src/adapters/definitions/native-display.ts`) and the full-screen console (`src/cli/console.ts`).
214
215
  - AC2: `ahub status` default view: header, then an `Attention` section listing every item that needs action as marker + text + `→` next step, then sections for the hub, peers and tasks, with plain keys in peer detail. The current full detail stays available behind `--verbose`. `--json` unchanged; exit code unchanged (`0`).
215
216
  - AC3: `ahub doctor`: marker + check + finding rows, failures then warnings then unknowns then oks within each section, capped CHECK width, a summary line. Behavior change, named in the CHANGELOG: `doctor` exits `1` when any row is `fail` (it exits `0` today). `ahub setup` keeps its own exit behavior (it calls the doctor function, not the process exit). `--json` unchanged.
216
- - AC4: `ahub help` overview uses one-line summaries; the long text moves to `ahub help <command>`. Every command, subcommand and flag still appears, and the help-vs-`main.ts` check keeps passing.
217
+ - AC4: `ahub help` overview uses one-line summaries; the long text moves to `ahub help <command>`. Every command, subcommand and flag still appears, and the help-vs-command-table check keeps passing.
217
218
  - AC5: the shared `fail()` helper in `src/cli/main.ts` prints the error line format (marker only on a TTY, plain `ahub: ` on a pipe) and accepts an optional next step. Behavior changes, named in the CHANGELOG and with their tests updated in the same PR: usage errors exit `2` (they exit `1` today, for example `test/identity-cli.test.ts` and `test/structural-config-cli-process.test.ts`), and `ahub task show <missing id>` prints to stderr and exits `1`. Call sites gain a next step only where the fix is known; daemon refusal text is passed through unchanged.
218
219
  - AC6: the five conformance checks run in `bun test`.
219
220
 
@@ -18,6 +18,7 @@ paths:
18
18
  - src/hub/control-client.ts
19
19
  - src/hub/restart.ts
20
20
  - src/cli/main.ts
21
+ - src/cli/commands/guidance.ts
21
22
  - src/cli/help.ts
22
23
  - test/guidance-probes.test.ts
23
24
  - test/guidance-probes-control.test.ts
@@ -23,10 +23,12 @@ paths:
23
23
  - src/hub/daemon.ts
24
24
  - src/hub/restart.ts
25
25
  - src/cli/roadmap.ts
26
+ - src/cli/roadmap-usage.ts
26
27
  - src/cli/roadmap-write.ts
27
28
  - src/cli/console.ts
28
29
  - src/cli/console-state.ts
29
30
  - src/cli/main.ts
31
+ - src/cli/commands/roadmap.ts
30
32
  - src/cli/help.ts
31
33
  - src/cli/identity.ts
32
34
  - src/hub/ui.ts
@@ -310,7 +312,7 @@ A local milestone has at most one remote number per repository. R3's `milestone_
310
312
 
311
313
  `ahub roadmap check` and `ahub roadmap export` share one live issue-state resolver over screened roadmap references. It reads at most 100 unique refs with at most four requests in flight, a 20-second shared deadline and a 10-second limit per call. Unreadable, unattempted and late results stay `unknown`. The export uses only those live states and derives its issue totals from them. Plan-review evidence remains available to its existing readers. `ahub roadmap export` renders deterministic JSON and Markdown from the screened snapshot and these live states. `--write` writes only `docs/roadmap.md` and `docs/roadmap.json` in the caller's Git worktree after proving it shares the selected repository, enforcing its current deny, read-only and PII path policy and refusing symlinks or hardlinks. A partially completed two-file write is reported. `--issue <n> --apply --confirm <fingerprint>` updates that issue body only after a matching preview, under the same person/conductor policy. The fingerprint binds repository, issue and rendered body.
312
314
 
313
- Task state and merge changes schedule affected public milestones for an ids-only supervision notice. The existing five-minute merge-readback sweep rechecks unresolved findings, including the close-lag boundary. The hub's own pass reuses one working-tree spec check for up to 60 s across its milestone reads (#1738), so spec freshness in a finding can be up to a minute old. Reads by the person and peers check again, once per read: a roadmap check keeps the one spec check it started with across all of its issue reads. A durable marker suppresses a finding already delivered; an unavailable feed or evidence is retried on a later change or sweep. Private tasks are never named. `scripts/check-roadmap.mjs` is a standalone Node validator: it checks the generated JSON's schema, linked spec IDs and tracked spec paths, and checks known issue states when a GitHub token is available. `scripts/check.sh` and the hosted docs step run it. The Node-only release docs checker exempts three records from its stamp manifest: `docs/roadmap.md`, `docs/smoke.md` and `docs/gsd-collaboration-analysis.md`. The roadmap validator covers the generated roadmap page.
315
+ Task state and merge changes schedule affected public milestones for an ids-only supervision notice. The existing five-minute merge-readback sweep rechecks unresolved findings, including the close-lag boundary. The hub's own pass reuses one working-tree spec check for up to 60 s across its milestone reads (#1738), so spec freshness in a finding can be up to a minute old. Reads by the person and peers check again, once per read: a roadmap check keeps the one spec check it started with across all of its issue reads. A durable marker suppresses a finding already delivered; an unavailable feed or evidence is retried on a later change or sweep. Private tasks are never named. `scripts/check-roadmap.mjs` is a standalone Node validator: it checks the generated JSON's schema, linked spec IDs and tracked spec paths, and compares every issue state with GitHub when a token is available. A ref recorded as `unknown` differs if GitHub resolves it to `open` or `closed`. CI blocks live drift in PRs that change either generated export. Other PRs and pushes to main use `--warn-drift`, which annotates drift and unreadable issue states. Structural errors fail in both modes, with or without a token. `scripts/check.sh` and the hosted decision job run the validator. The Node-only release docs checker exempts three records from its stamp manifest: `docs/roadmap.md`, `docs/smoke.md` and `docs/gsd-collaboration-analysis.md`. The roadmap validator covers the generated roadmap page.
314
316
 
315
317
  ## Dashboard and console surfaces (R5)
316
318
 
@@ -20,6 +20,7 @@ paths:
20
20
  - src/hub/task-sweep.ts
21
21
  - src/hub/settled-roles.ts
22
22
  - src/hub/conductor.ts
23
+ - src/hub/conductor-peer.ts
23
24
  - src/hub/supervision.ts
24
25
  - src/hub/hub-tools.ts
25
26
  - src/hub/tool-refusal.ts
@@ -481,6 +482,40 @@ without adding writable settings or widening caller authority. See
481
482
  [SDLC required checks](../sdlc.md#required-checks-at-initialization) for bounds and
482
483
  unsupported workflow shapes.
483
484
 
485
+ A task's CI watcher starts at the first exact-head PR lifecycle record, recorded
486
+ wait or submission. It remains attached across draft work, review and
487
+ approval, with a deadline per phase, and stops on a different head, merge,
488
+ close or cancellation. Each poll is one bounded, metadata-only
489
+ `gh api graphql` read. It reads check contexts, draft and conflict state,
490
+ the latest ReadyForReview timestamp and unresolved thread flags. Missing,
491
+ errored or paginated proof is pending. A macOS aggregate from a pre-ready
492
+ workflow run cannot report a ready failure. Draft results go to the owner,
493
+ in-review results to the owner and reviewer, and approved results to the
494
+ reviewer and conductor. Merge readiness requires exact-head required checks
495
+ and zero unresolved threads. Two consecutive conflicts notify the owner and conductor once per head.
496
+ After ten minutes, a successful empty rollup tells them that no run has been
497
+ observed if the watcher has never seen a run on that head. An unreadable
498
+ response does not establish absence. Suppress the missing-run notice while the
499
+ PR is conflicting. If the conflict clears on the same head, report a still-missing
500
+ run after a successful read. The watcher keeps running until its phase deadline.
501
+ Each notice carries identifiers and check names only. Merge remains a
502
+ separate guarded action.
503
+ When the only missing prerequisite is an attributable run still in progress, the watcher waits for completion. A reservation records the check start time. Copied shard or aggregate results cannot spend another retry or trigger a final failure notice. A confirmed retry renews its phase deadline once. The watcher reports the final result even if a failure was already reported before the retry.
504
+
505
+ On a ready PR in review or approved, a configured retry budget can rerun one
506
+ failed required shard from a verified workflow run. The hub reserves each
507
+ attempt in task history before dispatch. Reservations bind the job, run
508
+ attempt and PR head, survive hub restarts and reset for a new head. A failed
509
+ dispatch consumes its reservation because GitHub may already have accepted it.
510
+
511
+
512
+ Approving a dependency sends one `ready` task notice to the owner of each
513
+ owned, unstarted dependent with no remaining dependency or planned-start
514
+ hold. Reopening and approving the dependency again sends a new notice if the
515
+ dependent still qualifies. The planner's `Planner work ready:` notice lists
516
+ these cards as `owned_ready: #id (owner)`. Unowned dependents still use the normal
517
+ offer path.
518
+
484
519
  ## Entry diagnostics (#1328 T2)
485
520
 
486
521
  Build-entry guidance is pure snapshot data, ordered as missing issue identity,