@staix/agent-hub 0.12.44 → 0.13.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 (197) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +83 -116
  3. package/THIRD_PARTY_NOTICES.md +29 -0
  4. package/docs/adding-an-ai-tool.md +102 -14
  5. package/docs/agent-notes/README.md +15 -0
  6. package/docs/agent-notes/adapters.md +63 -46
  7. package/docs/agent-notes/budget.md +7 -2
  8. package/docs/agent-notes/bus.md +6 -4
  9. package/docs/agent-notes/daemon.md +15 -8
  10. package/docs/agent-notes/local-worker.md +6 -4
  11. package/docs/agent-notes/tasks.md +18 -5
  12. package/docs/agent-notes/tests.md +11 -9
  13. package/docs/dogfood.md +92 -0
  14. package/docs/events.md +14 -1
  15. package/docs/operations.md +349 -26
  16. package/docs/profiles.md +2 -2
  17. package/docs/quickstart.md +12 -2
  18. package/docs/sdlc.md +61 -13
  19. package/docs/security.md +24 -12
  20. package/docs/smoke.md +9 -4
  21. package/docs/specs/2026-09-19-agent-hub-design.md +873 -13
  22. package/docs/verification/2026-10-19-reviewer-isolation.md +2 -0
  23. package/docs/verification/2026-10-21-469-r1-dashboard-tokens.md +43 -0
  24. package/docs/verification/2026-10-21-469-r2-dashboard-shell.md +54 -0
  25. package/docs/verification/2026-10-21-469-r3-dashboard-board.md +51 -0
  26. package/docs/verification/2026-10-21-469-r4-dashboard-views.md +77 -0
  27. package/docs/verification/2026-10-21-469-r6-dashboard-motion-states.md +82 -0
  28. package/docs/verification/2026-10-22-0.12.45.md +60 -0
  29. package/docs/verification/2026-10-22-code-facts.md +78 -0
  30. package/docs/verification/2026-10-22-codex-reviewer-isolation.md +47 -0
  31. package/docs/verification/2026-10-22-kimi-qwen-compat.md +79 -0
  32. package/docs/verification/2026-10-23-0.13.0.md +89 -0
  33. package/docs/verification/assets/469-r1-board-1440-dark.png +0 -0
  34. package/docs/verification/assets/469-r1-board-1440-light.png +0 -0
  35. package/docs/verification/assets/469-r1-board-390-dark.png +0 -0
  36. package/docs/verification/assets/469-r1-board-390-light.png +0 -0
  37. package/docs/verification/assets/469-r2-agents-1440-dark.png +0 -0
  38. package/docs/verification/assets/469-r2-agents-768-dark.png +0 -0
  39. package/docs/verification/assets/469-r2-board-1024-light.png +0 -0
  40. package/docs/verification/assets/469-r2-board-1440-dark.png +0 -0
  41. package/docs/verification/assets/469-r2-board-1440-light.png +0 -0
  42. package/docs/verification/assets/469-r2-board-390-dark.png +0 -0
  43. package/docs/verification/assets/469-r2-board-390-light.png +0 -0
  44. package/docs/verification/assets/469-r2-board-768-light.png +0 -0
  45. package/docs/verification/assets/469-r3-board-1440-dark.png +0 -0
  46. package/docs/verification/assets/469-r3-board-1440-light.png +0 -0
  47. package/docs/verification/assets/469-r3-board-390-light.png +0 -0
  48. package/docs/verification/assets/469-r3-detail-1440-dark.png +0 -0
  49. package/docs/verification/assets/469-r3-detail-1440-light.png +0 -0
  50. package/docs/verification/assets/469-r3-detail-390-dark.png +0 -0
  51. package/docs/verification/assets/469-r3-plan-1440-light.png +0 -0
  52. package/docs/verification/assets/469-r3-plan-390-light.png +0 -0
  53. package/docs/verification/assets/469-r4-agents-1440-dark.png +0 -0
  54. package/docs/verification/assets/469-r4-agents-1440-light.png +0 -0
  55. package/docs/verification/assets/469-r4-agents-390-dark.png +0 -0
  56. package/docs/verification/assets/469-r4-memory-1440-dark.png +0 -0
  57. package/docs/verification/assets/469-r4-memory-1440-light.png +0 -0
  58. package/docs/verification/assets/469-r4-memory-390-dark.png +0 -0
  59. package/docs/verification/assets/469-r4-message-1440-light.png +0 -0
  60. package/docs/verification/assets/469-r4-office-1440-dark.png +0 -0
  61. package/docs/verification/assets/469-r4-office-1440-light.png +0 -0
  62. package/docs/verification/assets/469-r4-settings-1440-dark.png +0 -0
  63. package/docs/verification/assets/469-r4-settings-1440-light.png +0 -0
  64. package/docs/verification/assets/469-r4-stream-1440-light.png +0 -0
  65. package/docs/verification/assets/469-r4-stream-390-light.png +0 -0
  66. package/docs/verification/assets/469-r6-agents-empty-390-dark.png +0 -0
  67. package/docs/verification/assets/469-r6-agents-empty-390-light.png +0 -0
  68. package/docs/verification/assets/469-r6-board-1440-light.png +0 -0
  69. package/docs/verification/assets/469-r6-board-390-dark.png +0 -0
  70. package/docs/verification/assets/469-r6-board-empty-1440-dark.png +0 -0
  71. package/docs/verification/assets/469-r6-board-empty-1440-light.png +0 -0
  72. package/docs/verification/assets/469-r6-disconnected-1440-dark.png +0 -0
  73. package/docs/verification/assets/469-r6-disconnected-1440-light.png +0 -0
  74. package/docs/verification/assets/469-r6-disconnected-390-dark.png +0 -0
  75. package/docs/verification/assets/469-r6-skeleton-1440-light.png +0 -0
  76. package/docs/verification/assets/469-r6-skeleton-390-dark.png +0 -0
  77. package/docs/verification/assets/469-r6-toasts-1440-dark.png +0 -0
  78. package/docs/verification/assets/469-r6-toasts-1440-light.png +0 -0
  79. package/docs/verification/assets/469-r6-toasts-390-light.png +0 -0
  80. package/docs/verification/dogfood/2026-10-22.md +3109 -0
  81. package/docs/verified.json +19 -16
  82. package/package.json +5 -1
  83. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  84. package/plugins/agent-hub/server.js +10120 -9623
  85. package/src/adapters/adapter-api.ts +2 -0
  86. package/src/adapters/agy/definition.ts +3 -1
  87. package/src/adapters/agy/entry.ts +5 -4
  88. package/src/adapters/claude-channel.ts +32 -12
  89. package/src/adapters/codex-appserver.ts +19 -2
  90. package/src/adapters/codex-review-isolation.ts +12 -5
  91. package/src/adapters/compat.ts +140 -0
  92. package/src/adapters/conformance/acp.ts +114 -0
  93. package/src/adapters/conformance/codex.ts +191 -0
  94. package/src/adapters/conformance/enrollment.ts +43 -0
  95. package/src/adapters/conformance/factories.ts +17 -0
  96. package/src/adapters/conformance/fake-paths.ts +12 -0
  97. package/src/adapters/conformance/fakes/acp-server.ts +267 -0
  98. package/src/adapters/conformance/fakes/acp-watchdog-agent.ts +10 -0
  99. package/src/adapters/conformance/fakes/app-server.ts +119 -0
  100. package/src/adapters/conformance/fakes/codex-bin.ts +15 -0
  101. package/src/adapters/conformance/fakes/jcode-agent.ts +91 -0
  102. package/src/adapters/conformance/fakes/model-server.ts +39 -0
  103. package/src/adapters/conformance/fakes/pi-rpc.ts +32 -0
  104. package/src/adapters/conformance/index.ts +11 -0
  105. package/src/adapters/conformance/kit.ts +50 -0
  106. package/src/adapters/conformance/local-pi.ts +100 -0
  107. package/src/adapters/conformance/owned-acp.ts +44 -0
  108. package/src/adapters/definitions/builtin-metadata.ts +25 -7
  109. package/src/adapters/definitions/native-cli-doctor.ts +12 -5
  110. package/src/adapters/definitions/native-cli-entry-jcode.ts +9 -6
  111. package/src/adapters/definitions/native-cli-entry-kimi.ts +7 -1
  112. package/src/adapters/definitions/native-cli-entry.ts +7 -19
  113. package/src/adapters/definitions/native-cli-jcode-mcp.ts +9 -2
  114. package/src/adapters/definitions/native-cli-preview-common.ts +2 -0
  115. package/src/adapters/definitions/native-cli-preview-jcode.ts +8 -2
  116. package/src/adapters/definitions/native-cli-preview-qwen.ts +2 -1
  117. package/src/adapters/definitions/native-cli-preview.ts +2 -11
  118. package/src/adapters/definitions/qwen-native.ts +7 -3
  119. package/src/adapters/definitions/qwen.ts +5 -1
  120. package/src/adapters/external-metadata.ts +48 -0
  121. package/src/adapters/external-module-scan.ts +126 -0
  122. package/src/adapters/external-modules.ts +240 -0
  123. package/src/adapters/jcode.ts +72 -31
  124. package/src/adapters/kimi-review.ts +6 -3
  125. package/src/adapters/pi.ts +2 -0
  126. package/src/adapters/public.ts +7 -0
  127. package/src/adapters/registry-types.ts +13 -1
  128. package/src/adapters/registry.ts +52 -15
  129. package/src/cli/agents.ts +40 -0
  130. package/src/cli/console-review.ts +54 -0
  131. package/src/cli/console-state.ts +124 -29
  132. package/src/cli/console-symbols.ts +74 -0
  133. package/src/cli/console-usage.ts +89 -0
  134. package/src/cli/console.ts +26 -1
  135. package/src/cli/help.ts +36 -21
  136. package/src/cli/identity.ts +30 -7
  137. package/src/cli/init.ts +109 -11
  138. package/src/cli/main.ts +145 -16
  139. package/src/cli/output.ts +44 -1
  140. package/src/cli/preview.ts +1 -1
  141. package/src/cli/sdlc-release-guard.ts +82 -0
  142. package/src/cli/upgrade-labels.ts +1 -1
  143. package/src/cli/upgrade-presentation.ts +1 -1
  144. package/src/cli/upgrade-restore-state.ts +3 -2
  145. package/src/cli/upgrade-runtime.ts +4 -1
  146. package/src/hub/action-class.ts +362 -0
  147. package/src/hub/action-policy.ts +106 -0
  148. package/src/hub/board.ts +72 -11
  149. package/src/hub/budget.ts +71 -2
  150. package/src/hub/bus.ts +43 -3
  151. package/src/hub/checks.ts +80 -31
  152. package/src/hub/code-facts.ts +223 -0
  153. package/src/hub/config-apply.ts +28 -11
  154. package/src/hub/config-reload.ts +8 -5
  155. package/src/hub/config-trust.ts +7 -4
  156. package/src/hub/control-client.ts +4 -1
  157. package/src/hub/daemon.ts +332 -61
  158. package/src/hub/dogfood-read.ts +199 -0
  159. package/src/hub/dogfood.ts +163 -0
  160. package/src/hub/envelope.ts +1 -1
  161. package/src/hub/events.ts +11 -2
  162. package/src/hub/facts.ts +76 -13
  163. package/src/hub/hub-tools.ts +45 -7
  164. package/src/hub/inbox-polling.ts +25 -0
  165. package/src/hub/instance-config.ts +17 -5
  166. package/src/hub/instance-execution.ts +20 -8
  167. package/src/hub/instances.ts +75 -2
  168. package/src/hub/peers.ts +9 -0
  169. package/src/hub/plan-conformance.ts +83 -0
  170. package/src/hub/profiles.ts +7 -2
  171. package/src/hub/release-worktree.ts +56 -0
  172. package/src/hub/review-brief.ts +36 -0
  173. package/src/hub/review-findings.ts +104 -0
  174. package/src/hub/roster.ts +31 -5
  175. package/src/hub/sdlc-queue.ts +48 -11
  176. package/src/hub/sdlc-release-authorization.ts +173 -0
  177. package/src/hub/sdlc-release.ts +16 -1
  178. package/src/hub/sdlc.ts +71 -18
  179. package/src/hub/settings.ts +10 -3
  180. package/src/hub/snapshots.ts +101 -14
  181. package/src/hub/symbol-normalizer.ts +26 -0
  182. package/src/hub/task-code-symbols.ts +90 -0
  183. package/src/hub/task-sweep.ts +3 -2
  184. package/src/hub/tasks.ts +556 -88
  185. package/src/hub/test-integrity.ts +162 -0
  186. package/src/hub/ui.ts +2 -2
  187. package/src/hub/usage-rollup.ts +361 -0
  188. package/src/local/sandbox.ts +5 -3
  189. package/src/ui/index.html +560 -78
  190. package/src/ui/office-model.ts +3 -1
  191. package/src/ui/peer-palette.ts +44 -0
  192. package/templates/AGENTS.block.md +1 -1
  193. package/templates/profiles/dev.json +6 -1
  194. package/templates/profiles/general.json +6 -1
  195. package/templates/profiles/research.json +6 -1
  196. package/templates/profiles/writing.json +6 -1
  197. package/templates/release-guard.block.md +6 -0
@@ -0,0 +1,89 @@
1
+ # 0.13.0 release verification
2
+
3
+ This record covers release preparation and source review. It does not claim publication, installation, a running-hub restart or a live TUI launch.
4
+
5
+ ## Candidate
6
+
7
+ Version 0.13.0, from merged main at 1423a0c6. On 2026-10-22 the person directed: finish the work in progress and release agent-hub and agent-mem. They also set the version rule: a release with any feature bumps the minor version, and a fix-only release bumps the patch. This release adds features, so it is 0.13.0 rather than 0.12.46. The rule is now in AGENTS.md "Releasing".
8
+
9
+ - Version policy for native agent CLIs (#691, #692): `ahub agents`, person trust, and named refusals. Receipts for Codex reviewer 0.163.0 (#697), and for Kimi reviewer 2.3.0 and Qwen Code 0.26.0 (#714).
10
+ - Extra Jcode instances with hub tools bound to an owned launch (#685, #693).
11
+ - Usage, in three slices (#683):
12
+ - U1, ledger events (#698);
13
+ - U2, the roll-up and `ahub usage` (#702);
14
+ - U3, the console Usage panel (#706).
15
+ - Code structure (#682, #684):
16
+ - optional code facts (#703);
17
+ - head-bound task symbols (#708);
18
+ - console changed symbols (#709) and overlaps (#710);
19
+ - normalized plan-symbol overlap (#715).
20
+ - SDLC:
21
+ - issue and PR identity linking (#694, #695);
22
+ - test integrity (#481 S4, #674);
23
+ - person release approval (#481 S6, #690);
24
+ - the dogfood scorecard (#687, #701, #704);
25
+ - profile review checklists (#507, #675).
26
+ - Console review guidance (#711, #712) and the pull-only queue drain with person bulk discard (#713, #716). Empty pull-only polling is detected (#681, #696).
27
+ - The action-policy foundation (#636 slice 1, #678). Adapter pre-tool gates are still pending.
28
+ - Fixes:
29
+ - check exit and pipes (#558, #676);
30
+ - snapshot attribution (#612, #672);
31
+ - WIP-respecting readiness (#655, #671);
32
+ - sandbox kill markers (#700);
33
+ - flaky macOS tests (#375, #376, #378).
34
+ - Still open:
35
+ - #689, config editing from the console and dashboard;
36
+ - #683 U4, the dashboard Usage view (board #358);
37
+ - agent-mem#13 P3 and P4, the hooks and the switch from the hub to amem;
38
+ - #684 phases 3 and 4.
39
+
40
+ ## Reviews
41
+
42
+ Each PR was reviewed by the planner. Where a PR changed shared storage, concurrency or privacy, an independent read-only reviewer also checked it in an isolated worktree. Every codex-connector thread was fixed or answered and resolved before merge, and each PR merged only on exact-head CI success on Ubuntu and macOS.
43
+
44
+ | PR | Final head | Review | CI |
45
+ | --- | --- | --- | --- |
46
+ | #692 (#691) | see PR | Registry guard, seed re-anchor | exact head, success |
47
+ | #695 (#694) | see PR | Pre-effect identity semantics | exact head, success |
48
+ | #706 (#683 U3) | b7bacde5 | Two rounds. The first-answer test asserted a fold time; it now asserts the complete-or-behind contract | exact head, success |
49
+ | #707 (#378) | e2387aea | Two rounds; the seed now fails on a named assertion, not a timeout | exact head, success |
50
+ | #708 (#684 2a) | 3c762864 | Separate-table receipt, flow-revision fence, PII drop | exact head, success |
51
+ | #709 (#684 2b) | 23a0d7c6 | A connector P1 (a raw receipt rendered unscreened) fixed with a `repositoryKey` guard | exact head, success |
52
+ | #710 (#379) | 3212f667 | Shared disjointness predicate, PII pairs excluded | exact head, success |
53
+ | #712 (#711) | f571745c | Six changes per the issue; the agent-shell cause offers no bypass | exact head, success |
54
+ | #714 (#373) | c959f131 | A connector finding (stale version guidance) fixed by deriving it from COMPAT | exact head, success (the local gate rerun at the hosted 1260 s ceiling) |
55
+ | #715 (#682 1b) | e72578c0 | The dogfood row and two nits added by the reviewer, who said so in the PR | exact head, success |
56
+ | #716 (#713) | a6206f0a | Eight items, including busy-peer queued discard and closed-list refusal causes; console-only discard | exact head, success |
57
+
58
+ ## Document review
59
+
60
+ Fourteen documents were stale against the 0.12.45 stamps (`help.ts` against c969a519). Read-only reviewers in five groups checked each one against `git log <stamp>..HEAD` over its paths, plus PR #715's diff. They corrected every statement a merged change made wrong or missing, with a code reference for each.
61
+
62
+ | Document | Result | Checked claims and correction |
63
+ | --- | --- | --- |
64
+ | `README.md` | corrected | Status 0.13.0; `ahub usage`; `ahub agents` and trust under Upgrading; verification link. |
65
+ | `docs/quickstart.md` | corrected | Install pin `v0.13.0`; "Upgrading to 0.13.0" covers version policy, Jcode re-registration and instances, `ahub init`, Usage, dogfood, review choice, symbols, the pull drain and queue discard, and the release guard. Two working-day rows. |
66
+ | `docs/operations.md` | corrected | The doc version; `usage` in the shared-table commands; the Usage console table; `[--json]` on queue discard; the usage telemetry; `ahub report --dogfood`; the Kimi TUI drain; agent versions and the `unknown` verdict; the scope of the weekly watch; headless Jcode instances. |
67
+ | `docs/security.md` | corrected | `action_policy` is machine-local; the new events and usage access; console-only discard and version trust; refusals under `--live-test`; the trust record; the Jcode line plus trust and its owned-launch binding; agy trust; symbol screening; release authorization. |
68
+ | `src/cli/help.ts` | corrected | `[--full]` on budget, board and doctor; `[--json]` on queue discard; the `unknown` agents verdict. Every other row matches the parsers in main.ts and launch.ts. |
69
+ | `docs/agent-notes/adapters.md` | corrected | Scope paths; Jcode async preflight; `ahub agents` is console-only; instance home rules; Codex reviewer `notify=[]`; the inbox polling rule. |
70
+ | `docs/agent-notes/budget.md` | corrected | `usage-rollup.ts` in scope; expired-pause resume; reset thresholds; planner refused during a private turn. |
71
+ | `docs/agent-notes/bus.md` | corrected | Scope paths; the #713 rules checked against the code. |
72
+ | `docs/agent-notes/local-worker.md` | corrected | Kill markers (#700). The `"direct"` removal is no longer promised for 0.13.0, because it remains. |
73
+ | `docs/agent-notes/daemon.md` | corrected | Queue `D` discard; `action_policy` trust; the #612 HEAD-move rules. |
74
+ | `docs/agent-notes/tasks.md` | corrected | Notice grouping pointer; normalized symbol overlap; task code symbols; test integrity; release authorization; the dogfood scorecard. |
75
+ | `docs/agent-notes/tests.md` | corrected | Run local tests with `env -u AGENTHUB_HOME`, because the preload keeps an inherited hub home; ripwire test fakes. |
76
+ | `docs/agent-notes/README.md` | corrected | Background section for the rationale moved out for 0.13.0. |
77
+ | `docs/agent-notes/benchmarks.md` | no change | Its only source change, in sandbox.ts, is outside its scope. |
78
+
79
+ Follow-ups noted by the reviewers, not changed in this release:
80
+ - `scripts/check.sh` should unset `AGENTHUB_HOME`.
81
+ - `usage-rollup.ts`, `inbox-polling.ts`, `task-code-symbols.ts`, `symbol-normalizer.ts`, `test-integrity.ts`, `sdlc-release-authorization.ts`, `dogfood*.ts` and `console-review/symbols/usage.ts` are not yet in the AGENTS.md area lists or the `verified.json` paths.
82
+
83
+ ## Retirement in this release
84
+
85
+ The version bump closes the #481 deprecation window (`RETIRED_WORKFLOW_FROM = "0.13.0"`). `sdlc.workflow` no longer loads, and the `phase` receipt name is refused. Three workflow tests that used `phase` inside the window failed on the first release CI run. They now assert the refusal and record `criteria`, and their other assertions are unchanged. This project uses neither setting. `local.bash_network: "direct"` is not version-gated and only warns, so its removal moves to a later release. `docs/agent-notes/tests.md` was rechecked against that test change (no rule affected) and restamped at the test commit.
86
+
87
+ ## Release mechanics
88
+
89
+ Merge the release PR with a merge commit, because the stamps name release-branch commits. Run `node scripts/check-docs.mjs --require-fresh` on the merged main, then tag `v0.13.0`. Afterwards read the published version back from the registry with a cache-busting request.