@staix/agent-hub 0.45.0 → 0.46.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 (107) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +10 -4
  3. package/docs/adding-an-ai-tool.md +1 -0
  4. package/docs/agent-notes/adapters.md +33 -4
  5. package/docs/agent-notes/budget.md +2 -1
  6. package/docs/agent-notes/daemon.md +5 -1
  7. package/docs/agent-notes/security-review.md +3 -2
  8. package/docs/agent-notes/tasks.md +3 -1
  9. package/docs/agent-notes/tests.md +1 -1
  10. package/docs/design/adapters.md +16 -0
  11. package/docs/design/agent-hub-architecture.md +12 -0
  12. package/docs/design/cli-output.md +2 -0
  13. package/docs/design/roadmap.md +86 -5
  14. package/docs/design/task-board.md +2 -2
  15. package/docs/dogfood.md +15 -0
  16. package/docs/events.md +2 -2
  17. package/docs/operations.md +102 -20
  18. package/docs/quickstart.md +9 -3
  19. package/docs/security.md +7 -5
  20. package/docs/smoke.md +1 -1
  21. package/docs/verification/2026-11-05-hardcoded-values-classification-rules.md +28 -0
  22. package/docs/verification/2026-11-22-agy-1.5.14.md +27 -0
  23. package/docs/verification/2026-11-22-claude-instruction-hook.md +35 -0
  24. package/docs/verification/2026-11-22-instructed-ipc.md +9 -0
  25. package/docs/verification/2026-11-22-jcode-1.0.3.md +71 -0
  26. package/docs/verification/2026-11-22-jcode-separate-home.md +14 -0
  27. package/docs/verification/2026-11-22-qwen-0283-acp.md +28 -0
  28. package/docs/verification/2026-11-22-qwen-0283-dual-output.md +33 -0
  29. package/docs/verification/2026-11-22-roadmap-r5-view-receipt.md +63 -0
  30. package/docs/verification/2026-11-23-0.46.0.md +44 -0
  31. package/docs/verification/assets/1483-r5-detail-1440-light.png +0 -0
  32. package/docs/verification/assets/1483-r5-detail-390-light.png +0 -0
  33. package/docs/verification/assets/1483-r5-view-1440-dark.png +0 -0
  34. package/docs/verification/assets/1483-r5-view-1440-light.png +0 -0
  35. package/docs/verification/assets/1483-r5-view-390-dark.png +0 -0
  36. package/docs/verification/assets/1483-r5-view-390-light.png +0 -0
  37. package/docs/verification/assets/1483-r5-view-820-dark.png +0 -0
  38. package/docs/verification/assets/1483-r5-view-820-light.png +0 -0
  39. package/docs/verified.json +23 -23
  40. package/package.json +3 -2
  41. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  42. package/plugins/agent-hub/kimi-hook.js +5951 -5499
  43. package/plugins/agent-hub/server.js +1136 -1015
  44. package/plugins/agent-hub/skills/ahub/SKILL.md +17 -0
  45. package/plugins/agent-hub/skills/ahub-manage/SKILL.md +37 -0
  46. package/plugins/agent-hub/skills/ahub-status/SKILL.md +14 -0
  47. package/plugins/agent-hub/skills/ahub-use/SKILL.md +12 -0
  48. package/src/adapters/claude-channel.ts +2 -1
  49. package/src/adapters/compat.ts +12 -11
  50. package/src/adapters/definitions/native-cli-claude-setup.ts +9 -1
  51. package/src/adapters/definitions/native-cli-doctor.ts +8 -5
  52. package/src/adapters/definitions/native-cli-jcode-home-init.ts +158 -0
  53. package/src/adapters/definitions/native-cli-jcode-home.ts +72 -0
  54. package/src/adapters/definitions/native-cli-jcode-mcp.ts +20 -0
  55. package/src/adapters/definitions/native-cli-skills.ts +29 -0
  56. package/src/cli/claude-profile-hook.ts +40 -3
  57. package/src/cli/console-state.ts +55 -26
  58. package/src/cli/console-usage.ts +5 -3
  59. package/src/cli/console.ts +35 -4
  60. package/src/cli/help.ts +15 -10
  61. package/src/cli/identity.ts +2 -1
  62. package/src/cli/instruction-hook.ts +28 -0
  63. package/src/cli/jcode-mcp.ts +2 -1
  64. package/src/cli/main.js +8 -0
  65. package/src/cli/main.ts +138 -18
  66. package/src/cli/output-standard.ts +3 -55
  67. package/src/cli/output.ts +8 -2
  68. package/src/cli/recovery-package.ts +47 -11
  69. package/src/cli/roadmap.ts +37 -3
  70. package/src/cli/setup-homes.ts +1 -0
  71. package/src/cli/setup.ts +1 -1
  72. package/src/cli/skills-install.ts +463 -0
  73. package/src/cli/task-output.ts +1 -1
  74. package/src/cli/upgrade-presentation-flags.ts +1 -1
  75. package/src/hub/board.ts +42 -4
  76. package/src/hub/budget-projection.ts +99 -0
  77. package/src/hub/claude-launch-proof.ts +5 -1
  78. package/src/hub/conductor.ts +8 -3
  79. package/src/hub/config-apply.ts +3 -2
  80. package/src/hub/config-tier.ts +1 -1
  81. package/src/hub/config-trust.ts +1 -1
  82. package/src/hub/control-client.ts +9 -2
  83. package/src/hub/daemon.ts +457 -26
  84. package/src/hub/events.ts +1 -1
  85. package/src/hub/execution-budget.ts +29 -8
  86. package/src/hub/hub-tools.ts +2 -2
  87. package/src/hub/inference.ts +1 -1
  88. package/src/hub/instances.ts +10 -1
  89. package/src/hub/instructed-exact.ts +95 -0
  90. package/src/hub/instructed-intent.ts +64 -0
  91. package/src/hub/instructed-ipc.ts +33 -0
  92. package/src/hub/instructed-runtime.ts +19 -0
  93. package/src/hub/instruction-receipt.ts +218 -0
  94. package/src/hub/manager.ts +46 -3
  95. package/src/hub/registry.ts +1 -1
  96. package/src/hub/roadmap-decompose.ts +60 -1
  97. package/src/hub/roadmap-sync.ts +2 -2
  98. package/src/hub/roadmap.ts +19 -1
  99. package/src/hub/routing.ts +18 -1
  100. package/src/hub/runtime-capture-prune.ts +2 -1
  101. package/src/hub/settings.ts +2 -1
  102. package/src/hub/tasks.ts +194 -12
  103. package/src/hub/ui.ts +6 -2
  104. package/src/hub/usage-rollup.ts +42 -2
  105. package/src/ui/index.html +342 -8
  106. package/src/ui/plugin.ts +6 -2
  107. package/src/ui/roadmap-model.ts +70 -0
@@ -23,9 +23,15 @@ paths:
23
23
  - src/hub/restart.ts
24
24
  - src/cli/roadmap.ts
25
25
  - src/cli/roadmap-write.ts
26
+ - src/cli/console.ts
27
+ - src/cli/console-state.ts
26
28
  - src/cli/main.ts
27
29
  - src/cli/help.ts
28
30
  - src/cli/identity.ts
31
+ - src/hub/ui.ts
32
+ - src/hub/manager.ts
33
+ - src/ui/index.html
34
+ - src/ui/roadmap-model.ts
29
35
  - test/roadmap.test.ts
30
36
  - test/roadmap-board.test.ts
31
37
  - test/roadmap-daemon.test.ts
@@ -41,6 +47,9 @@ paths:
41
47
  - test/roadmap-export.test.ts
42
48
  - test/roadmap-write.test.ts
43
49
  - test/roadmap-r4-daemon.test.ts
50
+ - test/ui-roadmap.test.ts
51
+ - test/ui-roadmap-daemon.test.ts
52
+ - test/console-roadmap.test.ts
44
53
  - test/check-roadmap.test.ts
45
54
  - scripts/check-roadmap.mjs
46
55
  ---
@@ -87,7 +96,14 @@ Edits require the revision returned by show. Every write uses a transactional
87
96
  revision compare-and-set. Link changes and their history/revision update commit
88
97
  together. An identical link/unlink replay changes nothing. History contains at
89
98
  most 256 metadata events: actor, time, event, field names and link kind, never
90
- task text or the linked task id. Ordinary mutations reserve the last event slot
99
+ task text or the linked task id. A `done` or `dropped` verdict the person typed
100
+ through an instructed session (#1622 family 4) also carries the three keys task
101
+ history uses, `instructed: true`, `instructedPeer` and `instructionReceipt`
102
+ (spread from `instructedHistory`, never a milestone-only shape). The parser
103
+ accepts them only together, only on a `state` entry whose fields are exactly
104
+ `["state"]`, with a lower-case peer id and a receipt UUID; the write path
105
+ (`Board.writeMilestone`) refuses them on any change that is not a settlement.
106
+ They carry no prompt text, session id or transcript path. Ordinary mutations reserve the last event slot
91
107
  for the person's done/dropped settlement, so reaching the ordinary-write ceiling
92
108
  cannot strand an active milestone. Duplicate link/unlink replays consume no slot.
93
109
 
@@ -150,7 +166,12 @@ person-only, and live-test delegation cannot write milestone content.
150
166
 
151
167
  Rows are preserved in the same hub database through restart. Retained milestone
152
168
  state requires the roadmap capability on a controlled recovery target and adds
153
- its ordered row/link digest to integrity. Empty databases retain the existing
169
+ its ordered row/link digest to integrity. A daemon that predates the instructed
170
+ keys throws when it parses a history row holding them, so a recovery target must
171
+ advertise `roadmap_instructed` while any milestone history holds one
172
+ (`Board.hasInstructedMilestoneHistory`); with none, the floor is unchanged and a
173
+ target without the feature is accepted. There is no rewrite on downgrade:
174
+ dropping the keys would erase the only record that the verdict was instructed. Empty databases retain the existing
154
175
  format floor and integrity shape; the additive tables do not advance the database
155
176
  format marker.
156
177
 
@@ -190,12 +211,34 @@ the same part make one draft and read the same task, and once the draft is saved
190
211
  best-effort: the caller is never refused after a board write, and a retry records a link an interrupted tail lost. Release stays
191
212
  the existing `ahub intake approve` by the person or the conductor acting for them, so no part reaches a peer before that approval
192
213
  and this command grants no release authority of its own. The reply and its notice carry the draft's id and the part's kind only:
193
- the result is a public view, so a part whose draft carries a PII signal reads `[withheld]` and no stored text is repeated. The
194
- GitHub write is part 3.
214
+ the result is a public view, so a part whose draft carries a PII signal reads `[withheld]` and no stored text is repeated.
215
+
216
+ **Publish.** `ahub roadmap decompose <id> --publish` and `hub_roadmap_decompose {id, publish}` (the same configured planner or
217
+ unique conductor, refused during a PII or private turn) preview what the milestone's held drafts would create on GitHub, and
218
+ write nothing: no `gh` call, no board row and no link. Only a held `spec` part creates an issue, because it is the one that needs
219
+ its own spec issue before implementation; a `task` part is already its own held draft, a draft the person already released is
220
+ skipped, and a private part is counted and never published. The plan is one `POST repos/<repo>/issues` per
221
+ held spec part, carrying the part's title, its detail, the ids it cites and a `<!-- ahub-roadmap-decompose:<project>:<milestone>:<task> -->`
222
+ marker, built by the pure `planPartPublish` (`src/hub/roadmap-decompose.ts`). The repository is the host-sampled origin
223
+ (`Tasks.roadmapRepository`), never an argument, and a part whose answer is no longer stored is counted instead of published.
224
+ The preview returns every planned `gh` argv and a fingerprint over the repository, the milestone, the GitHub milestone and those
225
+ calls. `--apply --confirm <fingerprint>` runs that exact plan and is admitted only through the existing `github_write` gate
226
+ (`Tasks.roadmapApplyAuthority`: the person, or the unique configured conductor with `roadmap.github_write = "conductor"`), the
227
+ same gate `ahub roadmap sync` uses. One apply runs per milestone at a time: a second apply that overlaps a running one (a tool
228
+ call that timed out and was retried with the same arguments) is refused with the cause and the next step, and each create
229
+ re-reads the publish record first, so a part an earlier attempt already recorded is never POSTed again. Each created issue is
230
+ recorded in `milestone_decomposition_publishes` and added to the
231
+ milestone as an `issue` link through R1's own `linkMilestone`, so `ahub roadmap sync` keeps it in the GitHub milestone
232
+ instead of detaching it. When the mirror has a binding for the milestone, the create itself carries the R4 membership field
233
+ (`milestoneMembershipField`, the one construction `planRoadmapMirror` also uses), so the issue joins the GitHub milestone in the
234
+ same call and no second link path exists; with the mirror off or no binding, the preview says the issue will join none. A `gh`
235
+ call that fails, or an answer that is not the issue it claims, refuses and names the failure: no publish row and no link are
236
+ written, the draft stays held, and the same preview applies again once GitHub answers.
195
237
 
196
238
  `milestone_decompositions` is additive and outside the roadmap integrity digest like a suggestion: a lost answer is asked for
197
239
  again, and no recovery format changes. `milestone_decomposition_accepts` is additive the same way: a lost accept row files the
198
- part again as a second draft rather than breaking a read.
240
+ part again as a second draft rather than breaking a read. `milestone_decomposition_publishes` is additive too, so a lost publish
241
+ row files the issue again; the issue's own marker names the draft it came from.
199
242
 
200
243
  ## Bottom-up placement (R3)
201
244
 
@@ -262,3 +305,41 @@ A local milestone has at most one remote number per repository. R3's `milestone_
262
305
  `ahub roadmap export` renders deterministic JSON and Markdown from screened milestone views. `--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.
263
306
 
264
307
  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. 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. Only `docs/roadmap.md` is exempt from the documentation stamp because this validation covers the generated page; the standalone release docs checker retains its Node-only contract.
308
+
309
+ ## Dashboard and console surfaces (R5)
310
+
311
+ R5 ([#1483](https://github.com/STAIxBWLB/agent-hub/issues/1483)) adds reading and managing milestones from the dashboard and the
312
+ console. It adds no hub op and no write path: every dashboard write is one of R1's console ops through `ui_action`, and every console
313
+ read is one of R1 to R4's hub tools.
314
+
315
+ **The dashboard view.** `src/ui/index.html` carries the Roadmap view at key 8, listed once in `DASHBOARD_VIEWS` (`src/hub/ui.ts`) whose
316
+ `indexOf` the page's own copy must equal: the page's list is what gates `switchView` and the digit keys, so a view missing there is
317
+ unreachable however the tab reads. Cardinality comes from `src/ui/roadmap-model.ts`, injected into the page as source
318
+ (`/* ROADMAP_MODEL */`), so the module's projection and the page's are the same function and a test runs the injected text in a VM to
319
+ compare them. Three lanes (now, next, later, a horizon outside them landing in later rather than disappearing) hold one card per
320
+ milestone: title, outcome, approval progress (unknown, never zero, with no members), spec freshness, linked issues and releases. Every
321
+ text node is `textContent`.
322
+
323
+ **Fenced writes.** A card carries the `revision` it rendered, and every write payload names it: edit, state, link, unlink and move. The
324
+ daemon compares it against the current milestone (`roadmapFresh`) and refuses a stale page by name ("roadmap changed since this page
325
+ loaded; reload the dashboard before editing") with nothing written. A lane move sends the horizon and the target order and is awaited
326
+ before the lane is renumbered, so the answer describes the move it made.
327
+
328
+ **Person-only affordances.** `block.person`, from the session's own authority, gates drag and drop, the ordered move buttons and the
329
+ `done` and `dropped` states; a person-only state is shown but not offered in any other session. A private task member is a count
330
+ (`withheld`), and the unplaced tray reports the number of private items it does not list. The tray's repaint signature includes the
331
+ read's state, so an empty answer ("Everything is placed.") replaces the first paint.
332
+
333
+ **Roadmap reads and the snapshot.** The roadmap block, and the hub's last drift check with it, are part of `uiSnapshot` only when the
334
+ page asks for the roadmap view. `roadmap check` and the unplaced read run under a longer request timeout: both are bounded GitHub
335
+ metadata passes, not instant page state. A page seeds its drift note from the snapshot, so a reload or a second tab shows the check the
336
+ hub already holds instead of asking for it again.
337
+
338
+ **The console panel.** `src/cli/console.ts` and `src/cli/console-state.ts` add Roadmap as panel 9, present only while the hub reports
339
+ the `roadmap` feature. Opening it reads `hub_roadmap_list` (5 s) and adds `hub_roadmap_check` (30 s) only when no drift is held or the
340
+ held one is older than five minutes. A row is id, horizon, state, approved/total, the withheld count and title, sorted by lane and then
341
+ by the milestone's own order; Enter opens the milestone through `hub_roadmap_show` into the labelled detail.
342
+
343
+ **`ahub ui --all`.** `projectConsole` gains an opt-in `roadmap: true` summary per project (`total`, `byHorizon`, `byState`, `drift`),
344
+ read at most once a minute per project with each read bounded. It is opt-in because the acon provider shares `projectConsole` with
345
+ fixture hubs, and only the manager passes it. A read that fails shows "roadmap unavailable" rather than a zero.
@@ -128,7 +128,7 @@ Isolated check outcomes are distinct text-free task history events; matching-hea
128
128
 
129
129
  A commit-bound done records the requested review head independent of its cost plan. Historical metrics and research records fall back to the recorded cost head or bound spec-report head on done entries; missing evidence stays unknown (#1555 AC1).
130
130
 
131
- `Tasks` mediates task proposals, planning, owner/reviewer changes, acceptance, completion and review. `Board` persists the rows, history and typed evidence in SQLite; transport, CLI and UI layers do not independently apply task transitions. The issue remains the change spec and GitHub remains authority for PR/check/tag facts. Separating these authorities prevents a chat claim or adapter callback from bypassing task policy ([#481](https://github.com/STAIxBWLB/agent-hub/issues/481)).
131
+ `Tasks` mediates task proposals, planning, owner/reviewer changes, acceptance, completion and review. `Board` persists the rows, history and typed evidence in SQLite; transport, CLI and UI layers do not independently apply task transitions. The issue remains the change spec and GitHub remains authority for PR/check/tag facts. Separating these authorities prevents a chat claim or adapter callback from bypassing task policy ([#481](https://github.com/STAIxBWLB/agent-hub/issues/481)). When a screened exact instruction creates or plans a task, its existing history entry names the person and the instructed peer and receipt; the full prompt is not added to history. Exact pin and planned-pull reasons are the screened words the person typed, and their writes recheck instruction authority.
132
132
 
133
133
  A command is authorized against the current actor, role, task state and revision. An asynchronous operation can lose authority while preparing evidence, so write boundaries recheck current scope. Console actions bind the selected task ID and its observed flow revision, rather than an unstable list position. The reason is to keep an approved action attached to the row and state the person actually saw ([#424](https://github.com/STAIxBWLB/agent-hub/issues/424), [#525](https://github.com/STAIxBWLB/agent-hub/issues/525)).
134
134
 
@@ -142,7 +142,7 @@ Cross-project handoff catch-up treats a missing control descriptor or a descript
142
142
 
143
143
  Automatic offer and backlog paths respect `plannedStart`; a future card becomes eligible at its boundary through existing sweep/release passes. Explicit person/planner authority is separate. This avoids offering scheduled work early without taking away deliberate manual control ([#1076](https://github.com/STAIxBWLB/agent-hub/issues/1076)).
144
144
 
145
- When opt-in auto-pull is enabled, a reservation or eligibility change, dependency approval, or the reserved peer's first idle attachment can queue the same guarded planner pull as a freed WIP slot. The hub rechecks current policy, capacity, eligibility and planner authority before writing; the planner or person remains responsible for manual backlog pulls (Refs #1547).
145
+ When opt-in auto-pull is enabled, a reservation or eligibility change, dependency approval, or the reserved peer's first idle attachment can queue the same guarded planner pull as a freed WIP slot. The hub rechecks current policy, capacity, eligibility and planner authority before writing; the planner or person remains responsible for manual backlog pulls (Refs #1547). Every automatic owner choice also skips a peer at its WIP cap or with a held queue, and a peer that capacity-declined is skipped until its next idle state (Refs #1626). A capacity decline of a pulled card returns it to backlog with its reservation, and when no reserved card is ready an idle or freed peer is offered the first ready unowned task it is eligible for, one per trigger, through the ordinary routing gates. An explicit assignment by the person or the conductor is unchanged.
146
146
 
147
147
  A bounded wait (#1454) is the owner's way to say an `in_progress` task is legitimately idle until a dated event. It is a `wait recorded` history entry carrying `wait: {until, owner}` and the public reason as its note, written through `Tasks.wait` only (owner, the task's planner or the person; `until` in the future and at most 14 days ahead; the reason screened like any note). It is quiet (`QUIET_EVENTS`), so it moves nothing. `taskWait` (`src/hub/task-sweep.ts`) is the only reader: the wait is in force while the latest `wait recorded` entry names the current owner and no later entry is state-changing, so done, decline, return, reassignment and cancel end it with no extra write. `nextSweep` skips `idle-owner` while `now < until` and measures the ladder from `max(last activity, until)` afterwards; the other three kinds never read it. A wait past its `until` is listed by the planner groom view (`wait-passed`).
148
148
 
package/docs/dogfood.md CHANGED
@@ -13,6 +13,16 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
13
13
  | Review draft before macOS (#1576) | source and fixture coverage; active after release and restart | compare macOS shard runs per merged PR before and after rollout; target close to one full set of shards per merged PR |
14
14
  | Edit governance guards (#1556 T3) | off by default; fixture coverage, available after release and restart | inspect edit guard availability and text-free evidence counts; compare shadow and advisory proposals and check outcomes |
15
15
  | Sandboxed package-manager caches (#1549 T3 partial) | source and isolated macOS fixture coverage; active after release and restart | offline Bun and npm installs use per-command writable caches and leave a temporary home untouched; caller overrides and host-wrapper parity are tested; sandboxed reader-lease identity remains open |
16
+ | Claude hub skills (#1622 step 1) | source and fixture coverage; available to this repository after release and plugin setup | `ahub doctor` reports `hub skills` present; compare a status report's CLI, daemon and live Claude server versions and count unknown or mismatched sessions |
17
+ | Hub skills on other agent hosts (#1622, hub task 1063) | source and fixture coverage; available after release and `ahub setup` | `ahub doctor` `hub skills` per-host counts of installed, stale, modified, foreign and linked; `ahub setup --undo` removes only unmodified hub trees |
18
+ | Hub-owned jcode home, `jcode_mcp_allow` and roster add preflight (#1627, #1621) | source and isolated probe (`docs/verification/2026-11-22-jcode-separate-home.md`); this repository sets neither `jcode_home` nor `jcode_mcp_allow` yet | doctor `jcode MCP servers` row reads ok with allowed names listed; init reruns report drift only; preflight refuses without a terminal or `--yes` |
19
+ | Doctor routing classes warning (#1626, hub task 1069) | on after release; `ahub doctor` runs here | count of rostered implementers named as in no `[classes.*].peers` list; zero false reports for unrostered or non-implementer peers |
20
+ | Claude instruction receipt (#1622 step 3b) | fixture coverage only; no command authority is granted in this step | count pending-to-confirmed outcomes without prompt text after a verified native session; forged or unbound receipts must confirm zero times |
21
+ | Exact instructed command (#1622 step 4) | isolated installed-copy and scratch-daemon fixtures; source-checkout runtimes refuse | one confirmed command consumes one receipt; replay, unclassified and PII forms execute zero times |
22
+ | Exact instructed claim verdict (#1622 follow-up) | isolated installed-copy and scratch-daemon fixtures; available after release and restart | one confirmed no-manifest task claim records its exact slot and verdict once; substitution, replay and file-backed forms execute zero times |
23
+ | Screened exact creation (#1622 follow-up) | isolated installed-copy and scratch-daemon fixtures; available after release and restart | a confirmed typed creation or study approval applies once; private or inconclusive inputs and a stopped receipt produce zero effects |
24
+ | Screened exact planning and local titles (#1622 follow-up) | isolated installed-copy and scratch-daemon fixtures; available after release and restart | typed reasons apply once; private or revoked requests have zero effects; a named local title returns its prior value for undo |
25
+ | Intent instructed command (#1622 step 5) | isolated installed-copy and scratch-daemon fixtures; source-checkout runtimes refuse | up to ten confirmed operations per receipt; missing literal verdict ids, closed classes and PII work execute zero times |
16
26
  | External merge cost and scan diagnostics (#1555 AC2, #1579) | source and fixture coverage; branch-scoped CI cost readback is available here after release and restart, with live post-upgrade verification pending | compare known `first_pass_check`, CI-at-merge, full-gate and macOS-shard sample counts in `ahub sdlc metrics` after a merged PR; compare per-source unknown scan counts in `ahub sdlc status` |
17
27
  | Quota event sampling (#1555 AC4) | source and fixture coverage; active here after release and restart | compare recorded quota row rate and research-quality gap duration across the upgrade |
18
28
  | Routine snapshot cooldown (#1550 AC3) | source and fixture coverage; active here after release and restart | count cooldown-start diagnostics and turn-end events with unknown file evidence; compare boundary latency and verify a retry after ten minutes |
@@ -21,6 +31,9 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
21
31
  | Roadmap decomposition (#1480 R2 part 1) | source and fake-model/fake-`gh` coverage; not enabled in the installed hub until release/restart; proposes only, so nothing is intaken, linked or published | the share of proposed parts kept (a part that cites a linked id) versus dropped as unsupported, and the share marked `needs_spec` against `task`; a repeat run that supersedes the pending answer instead of doubling it; private milestone text, spec text and issue titles never in the prompt |
22
32
  | Roadmap bottom-up placement (#1481 R3) | source and fake-`gh`/fake-model coverage; not enabled in the installed hub until release/restart; `import-github` is dry-run by default and is never run with `--apply` against this repository's GitHub in a test | `ahub roadmap unplaced` row counts with `partial`/`unavailable` shown; the share of triage suggestions accepted rather than rejected or dropped as unsupported; a second `import-github --apply` that changes nothing; private tasks only ever counted |
23
33
  | Roadmap decomposition acceptance (#1480 R2 part 2) | source coverage with a fake model; the installed hub needs release/restart before a part can be accepted, and no part is released without `ahub intake approve` | drafts held against their milestone (`milestone_links` kind `task`); a repeated accept of one part that adds no row; the share of accepted parts released and completed; a part the screen refuses rendering `[pii]` in the reply |
34
+ | Roadmap decomposition publish (#1480 R2 part 3) | source and fake-`gh` coverage; `roadmap.github_write` stays off here, so no issue is created against this repository's GitHub | the preview's planned create count and fingerprint against the held `spec` parts; a second apply that creates nothing; a private part only counted; a failed create that leaves the draft held and links nothing |
35
+ | Roadmap dashboard view and console panel (#1483 R5) | source and isolated fixture coverage plus a browser receipt on a scratch hub; not enabled in the installed hub until release/restart | the receipt counts lanes and cards and measures `scrollWidth` against the viewport at 1440, 820 and 390 in light and dark, the tray repainting to "Everything is placed.", and the detail dialog open (`docs/verification/2026-11-22-roadmap-r5-view-receipt.md`); a stale revision is refused by name with nothing written; the console panel reads only while open (list 5 s, drift at most every five minutes) and the per-project summary at most once a minute |
36
+ | Instructed roadmap verdicts (#1622 family 4) | source and isolated fixture coverage; not enabled in the installed hub until release/restart, and not run against this repository's own milestones | the milestone history of an instructed `roadmap state <id> done` or `dropped` carries `instructed`, `instructedPeer` and `instructionReceipt` and no prompt text; a recovery target without `roadmap_instructed` is refused while one is retained and accepted when none is; the 256th history slot still takes the verdict |
24
37
  | Distinguishable sessions and sender provenance (#1036, `session_identity`) | on after release and upgrade: a connection that names a peer id but is not that peer's current session is a distinct `<peer>~<origin>` session that can send and read, holds none of the peer's roles and replaces nobody; the channel plugin binds to its own project; every envelope and attach event records the connection. Nothing is refused to a connection that worked before. The recovery label `session_identity` applies once an unsettled delivery holds a session's message | `grep '"session":true' .agenthub/state/events.jsonl` lists every message a foreign session sent, with its minted id and no path or text; a recipient's header shows `from "claude~<id>"` for it; test/identity-provenance.test.ts (AC1, AC3, AC4, recovery label) and test/identity-channel-project.test.ts (AC2, real plugin against a new and an old hub) hold it. Not authentication: a same-user process can always act as the user |
25
38
  | Claude channel attach evidence (#1171) | source and fixture coverage after merge and plugin/daemon upgrade; native Claude push proof remains unverified until a live `ahub claude` session | `ahub status` shows `channel` or `tools-only` with its evidence label; a marker-inheriting non-channel parent remains pull-only and its delivery is read by `hub_inbox` (`test/claude-channel-evidence.test.ts`, `test/daemon.test.ts`); inspect native TUI attaches separately, since fixtures use a synthetic parent row |
26
39
  | Accepted channel delivery settlement (#1172) | source and fixture coverage after merge and plugin/daemon upgrade; native channel handling and long-running-session behavior remain unverified | `bus.accepted_settle_ms` defaults to 10 minutes; explicit channel `hub_inbox` metadata shows accepted/held ids and revisions even when a pull is blocked; a timeout becomes `needs_review` without replay; an important/task/review timeout yields one ids-only status notice when the configured conductor feed is on, with `feed: off` remaining an opt-out; daemon and MCP fixtures cover timeout and opt-out; live accepted-to-completed/timeout behavior remains unverified |
@@ -79,6 +92,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
79
92
  | Repository required checks at init (#1328 T1) | This repository retains its native CI floor; discovery and empty enforce refusal run in isolated fixtures, never against the working configuration | `test/init-required-checks.test.ts`, init prompt/settings suites and settings read tests measure discovered names, bounded reads, zero-write refusal and running/file values |
80
93
  | Planner pull routing diagnostics (#1430) | source and isolated fixtures; no live planner pull performed for validation | unreserved refusals retain each owner routing reason alongside WIP/hold detail, omit task text, and name hub_backlog_plan fields.reserved then pull again; backlog assignment gives the same next step |
81
94
  | Ready reserved backlog auto-pull (#1547) | source and fixture coverage; active here after release when `tasks.auto_pull` is enabled | backlog planning, dependency approval and peer attachment pull a ready reservation only with available WIP; board history records the planner and auto-pull reason |
95
+ | Automatic distribution honours WIP (#1626) | source and fixture coverage; active here after release and hub upgrade, filling freed slots only when `tasks.auto_pull` is enabled | capacity declines per week (14 days to 2026-11-22: 110) and create to accept median (135 min), read from the board history |
82
96
  | GSD migration guidance (#1431) | isolated init fixtures; this repository has no live GSD migration | advise/enforce init adds one pointer only for GSD frontmatter; no-marker output is byte-identical and .planning artifacts retain their bytes and modification times; docs command forms match help |
83
97
  | Instructed conductor SDLC configuration (#1432) | off until a direct person instruction in the current conductor's own session; no live migration performed | `ahub sdlc configure` intent/result events record the actor and changed paths; measure saved off/advise/check-list edits, refusal reasons and pending restarts. Scoped host/control/CLI fixtures cover loader, audit, privacy, role/session and enforce boundaries; init and generic settings remain person-only |
84
98
  | Project autonomy preset (#999 T1) | off on this repository until released and explicitly enabled by the person; project scope only | focused person-only, retained-consent, metadata-independent off and authenticated/fallback preset undo tests; the preset writes `action_policy.floor` (#999 T3) and off removes it; status leads with a peer table separating current modes from desired defaults, groups identical floor verdicts and unknowns once with peer lists (#1137), and reads each floor class from the host verdict (`floorEnforcement`), naming the unverified guard where the hub does not see the call first; the Orca zero-prompt native task remains T4 |
@@ -271,6 +285,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
271
285
  | Kimi usage from its wire log (#285 phase 2, delayed drain #1281, sliced drain #1283) | on after the release when `budget.kimi_tokens_5h` is set; this repository sets it | `tokens` and `usage` (`kimi_wire`) events per Kimi turn, delayed rows collected without another turn, the `tokens` window in `ahub budget`, correct task attribution without a later turn's `turn_end` changing, and the count of `kimi usage unknown` notices; the sliced-drain benchmark records before/after longest synchronous slice, discovery and bytes, with a real status request admitted between slices; [AC11](verification/2026-10-25-kimi-usage-ac11.md), the [current native receipt](verification/2026-11-07-kimi-delayed-usage.md) and the [sliced-drain receipt](verification/2026-11-08-kimi-wire-yield-1283.md) |
272
286
  | Doctor memory-capture rows from agent-mem setup state (#1008) | on after release; `ahub doctor` runs here and reads `amem setup <tool> --json` (a preview that writes nothing) for `codex` and `kimi`; no dotfiles text and no `dot ai memory status` call | `memory capture: codex` and `memory capture: kimi` rows read ok (set up), warn with `amem setup <tool> --apply` (pending), warn with `client missing` (the native CLI is not installed) or unknown (no `amem`, a refusal or unparseable output); the Codex row notes the native `/hooks` review; a fixture run proves `dot` is never called |
273
287
  | Budget window kinds and notes (#285 phase 4) | on after the release; `ahub budget`, the console peer detail, the dashboard Usage budgets row and `ahub doctor` (`kimi usage source`) run here | each window shows its kind and source, a peer without a number says why (Pi, local and Kimi included); a manual `ahub budget set` value outranks the Kimi count at the gate; the doctor row reads ok while the wire log counts |
288
+ | Projected exhaustion and override reasons in Usage budgets (#1513) | on after the release; `ahub budget`, the console Usage detail and the dashboard Usage budgets row run here, and no provider window has yet been read with a real burn to forecast | every window shows `left` and one forecast sentence; `test/budget-projection.test.ts` holds a steady burn, the lookback and window bases, a reset inside the lookback, too few points, no burn, reset-first and an unusable reading; `test/budget-surfaces.test.ts` proves the table, the console cell and the page print the same sentence, the page's own copy matches the hub's for all six shapes, and an older hub adds neither field; `test/execution-budget.test.ts` proves a `--reason` is kept with `person` and its time while a configure without one keeps the previous reason. The metric that shows it works is the share of windows whose REACHES names a time instead of `no forecast: too few points yet`: a share near zero means the hourly burn series is not reaching the projection |
274
289
  | Settings reload | on | reloads applied, pending restarts |
275
290
  | Config editing from the console and dashboard (#689) | on after release; `ahub settings edit` and console key `c` run here, the dashboard Structure group needs `ahub ui --settings`; executable keys stay console only | `config_edit` events (edits applied by tier and source), refusals shown with the loader reason, restarts left pending |
276
291
  | Upgrade and recovery (#1426) | on, per release; new launch-refusal diagnostics and target-version preflight have synthetic coverage only until release, no live restoration receipt yet | upgrade receipts in `docs/verification/`; red AC2 exhausts virtual 600000ms on old code, refusal/resume fixtures retain Pi and Codex conversations and typed causes; no real native/account call |
package/docs/events.md CHANGED
@@ -37,7 +37,7 @@ marked `private: true`, and PII tasks `pii: true`.
37
37
  | `native_turn_end` | `peer`, `id` (an opaque hash that names the completed turn): the end of a Claude turn, recorded once the hub finds the turn its Stop hook reported completed in the native transcript (Codex's is its `turn_end`), or the correlated final `turn.ended` of a Kimi TUI turn (#1282), or an agy terminal `Stop` of an active, fully idle turn, which carries no `id` and a closed `reason` (`user_canceled`, `error`, `max_invocations`, `max_forced_invocations`, `max_token_budget_exceeded`, `terminal_step_type`, `terminal_custom_hook`; #1280); quiescence evidence for an integration, never a hook payload, prompt or error |
38
38
  | `supervision_turn` | `peer`, `turn` (the hub turn a supervision notice was delivered into, or `supervision-<uuid>` when none was open), `tokens` (when the adapter reported any for it), `ms` (from that turn's start, or from the delivery when none was open, to its native end): a completed native turn that received supervision, which `ahub report` counts; a failed delivery or turn, a peer that went offline or a changed native session records none |
39
39
  | `conduct` | `peer` (the conductor, or `user` when the console releases a conductor hold), `action`, `task` (when the action names or creates one), `target` (the peer an assignment, start, hold or release names): one action of the conductor that ran, the structured twin of the console's `conductor` notice. `action` is a tool name without its `hub_` prefix: a conductor tool (`status`, `task_show`, `task_assign`, `task_escalate`, `peer_start`, `peer_hold`, `peer_release`), or one of the conductor peer's own task tools, which are not conductor tools (`task_propose`, `task_accept`, `task_decline`, `task_done`, `review`, `checkpoint`, `remember`). The role-free reads and redirects (a task's owner or reviewer with `hub_task_show`, its proposer with `hub_task_assign`) record none, and neither does `hub_task_list` |
40
- | `agent_cli` | `peer` (`unknown` when the agent markers were invalid), `command` (the command and, where it has one, its subcommand, from a closed list; `unknown` otherwise; never an argument), `refused` (the CLI refused it before connecting: a human-only command, or an invalid identity; the daemon also writes this event for a conductor operation it admits or refuses on authority; for any other task command the CLI adds a second record with `refused: true` beside the up-front one only when the daemon's reply carries `authorityRefused: true`, which the daemon sets only for conductor operations, so any other failed task command, an unknown task or a role refusal by the hub included, adds none, #1547), optional `delegated: true` or `instructed: true` for the corresponding audited authority path: an `ahub` command run from an agent session. The hub reads these from the `cli-audit/` outbox, so `at` is when it read the record. From #1278 it also carries `task` and `attribution` (the `turn_end` rule) when the record is drained within 15 s of the command; an older record is `unattributed`, never matched to the task open at drain time |
40
+ | `agent_cli` | `peer` (`unknown` when the agent markers were invalid), `command` (the command and, where it has one, its subcommand, from a closed list; `unknown` otherwise; never an argument), `refused` (the CLI refused it before connecting: a human-only command, or an invalid identity; the daemon also writes this event for a conductor operation it admits or refuses on authority; for any other task command the CLI adds a second record with `refused: true` beside the up-front one only when the daemon's reply carries `authorityRefused: true`, which the daemon sets only for conductor operations, so any other failed task command, an unknown task or a role refusal by the hub included, adds none, #1547), optional `delegated: true` or `instructed: true` for the corresponding audited authority path: an `ahub` command run from an agent session. The hub reads these from the `cli-audit/` outbox, so `at` is when it read the record. From #1278 it also carries `task` and `attribution` (the `turn_end` rule) when the record is drained within 15 s of the command; an older record is `unattributed`, never matched to the task open at drain time. An `ahub instructed run` command (#1622) is not read from the outbox: the daemon writes one record itself, with `refused: false`, `instructed: true` and `instructionReceipt` (the opaque id of the instruction receipt the command consumed), after the receipt is consumed and before the command takes effect; `at` is the write time and it carries no `task` or `attribution`. If that record cannot be written, the command is refused and nothing runs |
41
41
  | `hook_stats` | `peer`, `n` (facts hook calls in the turn, its Stop included), `startupMs` and `maxStartupMs` (the hook processes' start-up and connect time, summed and the largest), `hubMs` (the hub's own time for them): at Claude's Stop (issue #108) |
42
42
  | `cohort` | `id`, `event` (`formed`, `joined`, `lifted`), `silent`, `tasks`, `owners`: owners of overlapping tasks formed a cohort, it changed membership, or it stopped being silent (issue #107). Recorded in every regime; only a turn-free project's cohorts can be silent |
43
43
  | `split` | `task`, `where` (`routing`: routing chose the first owner of a task overlapping another owner's task not started yet, not an escalation, relay or reassignment, the record calibration reads; `cohort`: an overlap formed or changed a cohort), `verdict` (`split`, `single`, `unknown`), `single` (the peer that would finish both units alone soonest), `splitS`, `singleS`, `reason` (for `unknown`), `trace` (the inputs and steps: peer names, their profiles of versions and coordination, and numbers only): a shadow split prediction; it never changes the assignment (issue #109) |
@@ -118,7 +118,7 @@ Token usage by adapter:
118
118
 
119
119
  ## The usage roll-up (#683)
120
120
 
121
- `ahub usage` does not read `events.jsonl` on each call. The daemon folds it into `hub.db`: `usage_rollup` (day, peer, model, source, task and the private mark, with the sum of each provider counter and how many records carried it), `token_rollup` (the hub's own `tokens` increments), `limit_events` (every `budget_pause`, `budget_resume` and `quota_reset`, without the reason text) and `rollup_state` (the byte offset and the first event's time). Each `usage` record is counted once by peer, source and id, as `ahub report` counts it. The roll-up holds ids and numbers only, so a title cannot reach it. A sum is shown only where at least one record carried the counter, otherwise it is unknown.
121
+ `ahub usage` does not read `events.jsonl` on each call. The daemon folds it into `hub.db`: `usage_rollup` (day, peer, model, source, task and the private mark, with the sum of each provider counter and how many records carried it), `token_rollup` (the hub's own `tokens` increments), `limit_events` (every `budget_pause`, `budget_resume` and `quota_reset`, without the reason text), `usage_points` (#1513: per hour, peer and `native` or `count`, the tokens each record spent and how many records added to it; the quota forecast in `ahub budget` reads it, taking the provider's figure for an hour a provider reported and the hub's own `tokens` count otherwise, so an hour is never counted twice) and `rollup_state` (the byte offset and the first event's time). Each `usage` record is counted once by peer, source and id, as `ahub report` counts it. The roll-up holds ids and numbers only, so a title cannot reach it. A sum is shown only where at least one record carried the counter, otherwise it is unknown.
122
122
 
123
123
  ## Per-task usage reports
124
124
 
@@ -61,6 +61,23 @@ its operationId on the delegated console connection; existing native ownership
61
61
  and session-identity checks remain. Record actual observations in the
62
62
  smoke ledger; the presence of this option proves no outstanding #273 live leg.
63
63
 
64
+
65
+ ## Claude plugin skills
66
+
67
+ Claude's agent-hub plugin carries `ahub-status`, `ahub-manage`, `ahub-use` and the person-invoked `ahub` skill. `ahub doctor` checks the user plugin's skill files and reports a repair command when missing; the same `hub skills` row also reports every other agent host's installed skill trees (below). The person types `/agent-hub:ahub` to prepare a command; it does not grant authority or create a receipt. Existing sessions can continue running an older plugin server after setup or upgrade.
68
+
69
+
70
+ The Claude instruction hook records a pending hash and prompt ID for a matching skill prefix. A pending receipt is not authority; confirmation refuses transcript records from unsupported versions. Host-only confirmation binds a later unused human command row to a current private `ahub claude` launch, the daemon's recorded session and a setup-managed Claude home; Stop, ten minutes or ten operations close it. This step grants no command authority. A same-user process that writes a fake user record into the managed session's real transcript or changes its environment is outside the proof. An unmanaged or unknown session cannot confirm; start it with `ahub claude`, send an ordinary prompt if no session evidence exists, then type the instruction again.
71
+
72
+ Exact instructed control is available to a managed Claude session through `/agent-hub:ahub run` followed by a supported exact command. The skill invokes `ahub instructed run`; the daemon reads and confirms the person's transcript, parses without a shell, closes the receipt, and starts its own installed CLI over an inherited Bun IPC channel. The tools request supplies only the session id. The current explicitly classified forms cover task assignment and unassignment, backlog pull and return, model set and clear, peer stop, pause and resume, and the listed task spending settings. Exact backlog creation accepts the title the person typed, and exact study approval uses an existing public campaign and revision. Exact backlog pin and pull-ready accept the person-typed reason. Exact title changes require a named hub-local session and return a terminal undo for the screened prior title; unnamed and native Pi sessions are refused. Exact backlog plan remains closed because its JSON fields require quotes. The daemon screens the instruction, operands and study contract before an effect; private or inconclusive results are refused. Screening does not declassify agent-authored text, so creation from intent remains closed. Exact backlog split remains closed because its JSON operand needs quotes that the exact tokenizer refuses; the person can run it in a terminal. File-backed configuration stays closed because its contents can change after the prompt, other free-text operations stay closed to protect the prompt, and structural settings stay closed because their effects are not yet classified. All other forms remain closed until proven. The mode is a host-retained witness in hub.db, and the person changes it from a terminal with `ahub settings set instructed.mode off`, `ahub settings set instructed.mode exact` or `ahub settings set instructed.mode intent`. The local config file holds a display copy; when the witness is first created, an `off` or `exact` copy seeds that narrower mode. Later file edits cannot change the retained witness. Turning off commits the witness before writing the copy; turning on commits it only after that write succeeds. Permission, trust, execution paths, irreversible deletion, release and merge, identity, PII tasks and private turns remain closed. The audit names the peer and receipt, and task history names the person instructed through that peer. An installed runtime inside a checkout or peer write root is refused.
73
+
74
+ In intent mode the person writes the desired result after `/agent-hub:ahub`; the agent chooses a supported command and supplies its arguments to `ahub instructed run`. The daemon confirms the same session's receipt for each operation and admits at most ten operations before the receipt closes. A person verdict requires the item's literal id in the person's instruction; a claim verdict requires both task id and slot. These verdicts are an exception to reversibility and have no undo. The agent must perform only what the person requested. A fresh witness defaults to `intent`; retained `off` and `exact` choices remain in force. Spending, permission, trust, execution paths, irreversible deletion, release and merge, identity, PII tasks and private turns stay closed in intent mode. Cross-project handoff is closed in both instructed modes because the destination cannot check receipt revocation at its write. Intent free-text commands, file-backed claims and study approval remain closed under their existing privacy and provenance boundaries. The one roadmap form admitted is `roadmap state <id> done` or `dropped` with the milestone id literally in the person's instruction; it is a final verdict with no undo, the milestone history records that it was instructed, and a recovery target must then advertise `roadmap_instructed`.
75
+
76
+ The no-manifest `task claim` verdict is also available in exact mode. The person types the task id, slot and verdict as part of the exact command; the daemon executes those same operands once. The `--manifest`, `--disposition`, `--model` and `--model-said` forms remain closed in exact mode.
77
+
78
+ The transport probe found an inherited Unix socket on macOS. On Linux with Yama `ptrace_scope=1` and seccomp mode 2, another same-user process could not reopen the IPC socket via `/proc` (ENXIO), and `pidfd_getfd` was denied (EPERM). A same-user process able to debug or duplicate the socket, rewrite the managed transcript, or modify the installed hub package is outside this proof.
79
+
80
+
64
81
  ## Command output
65
82
 
66
83
  `ahub status` defaults to an attention-first summary with next-step commands; `--verbose` or `--full` prints the detailed view, `--full` also keeps long identifiers whole, and `--ascii` uses ASCII markers. `board`, `budget`, `doctor`, `projects`, `queue list`, `turns`, `report` and `usage` print shared console tables and labelled details.
@@ -171,6 +188,8 @@ per peer (`#id [pii]` for a private task, never a title). The panel asks the hub
171
188
  `usage unavailable`. The numbers come from the roll-up of `ahub usage`, so the console and the CLI agree. A request folds the event log first, within 250 ms;
172
189
  when a very large log is not folded yet the answer carries `behind: true`, the panel says `still catching up` and `ahub usage` prints a warning on stderr, so a partial number is never shown as the whole.
173
190
 
191
+ Tab `9 Roadmap` (#1483 R5) appears while the hub reports the `roadmap` feature. It lists Now, Next and Later lanes with each milestone's approved/total progress, and Enter opens the milestone. It reads only while open: the list on each refresh, the drift check at most every five minutes. `ahub ui --all` shows a per-project roadmap summary read at most once a minute.
192
+
174
193
  The dashboard's Usage view (#683 U4) sits in the Agents view, under Usage budgets, and shows the same roll-up: the lifetime, without-cache and cache-read totals with
175
194
  the peers whose figure is unknown, the last 14 UTC days as stacked columns per peer (a day with no record is a `no record` column, never zero), a limits table with the
176
195
  open pauses and the last 20 pause, resume and reset events, and a task table (state, owner, PR, input, output, cache read, cache write, total). Every figure names its
@@ -733,7 +752,10 @@ The hub ignores a `conductor` on another kind, or on a peer whose effective
733
752
  the role to nobody else, so the person conducts from `ahub console`. Setting the
734
753
  conductor's start mode to `headless` is refused until the role moves, and
735
754
  `ahub doctor`'s `roles` row names the settled holders and warns about an ignored
736
- conductor. The conductor splits work into owned tasks,
755
+ conductor. Its `routing classes` row warns when a rostered peer that can
756
+ implement appears in no `[classes.*].peers` list of the routing the hub loaded,
757
+ naming the file and the class lines to edit, because routing never offers that
758
+ peer work automatically (#1626 C). The conductor splits work into owned tasks,
737
759
  observes `hub_status`, moves stalled work and obtains review before reporting
738
760
  results and open decisions. It does not implement the tasks it handed out.
739
761
  `hub_peer_start` starts a peer in the start mode a person set for it (see
@@ -950,12 +972,12 @@ themes. The Office scene keeps its own rules until R5.
950
972
  ### Dashboard app shell and keys (#469 R2)
951
973
 
952
974
  From 1024px up, a sticky top bar holds the project context, the connection status (a coloured dot and its text, green when live
953
- and red when disconnected or closed), the attention badge, the theme switch and a shortcuts button; the seven views sit in a
975
+ and red when disconnected or closed), the attention badge, the theme switch and a shortcuts button; the eight views sit in a
954
976
  left sidebar with an icon and a label, and the approval count still rides on Agents. Below 1024px the same nav is one row of
955
977
  tabs that scrolls sideways inside itself, so the page never scrolls sideways. The view names, their order, the
956
- `agent-hub-view` cookie and every id are unchanged.
978
+ `agent-hub-view` cookie and every id are unchanged; Roadmap is the eighth view, added by R5 (#1483).
957
979
 
958
- Keys: `1` to `7` switch to Board, Office, Stream, Agents, Message, Memory and Settings, `?` opens the key list, and `Esc` closes
980
+ Keys: `1` to `8` switch to Board, Office, Stream, Agents, Message, Memory, Settings and Roadmap, `?` opens the key list, and `Esc` closes
959
981
  the key list or the task detail (both are native dialogs). View keys are ignored while you type in an input, a textarea or a
960
982
  select, with Ctrl, Alt or Cmd held, and while a dialog is open. Icons come from one inline SVG sprite of nine Tabler icons;
961
983
  the MIT notice is in `THIRD_PARTY_NOTICES.md`. Nothing is fetched and no package is added.
@@ -1068,10 +1090,10 @@ the directory 0700, the file 0600, replaced atomically) naming the installed mod
1068
1090
  up to date` or why it was not registered. acon reads the file at its next start and marks the
1069
1091
  plugin stale when the module changed after setup, so run `ahub setup` again after each upgrade.
1070
1092
 
1071
- - **Panels.** The plugin's panels are the dashboard's seven views, and the panel is the `ahub ui`
1093
+ - **Panels.** The plugin's panels are the dashboard's eight views, and the panel is the `ahub ui`
1072
1094
  page itself, following acon's theme. It reaches project hubs only through the manager's own
1073
1095
  listing and forwarding (`ahub ui --all`): registered project and instance ids, the manager's
1074
- closed action list and the seven view names. There is no new protocol. An answer, a result
1096
+ closed action list and the eight view names. There is no new protocol. An answer, a result
1075
1097
  receipt or a review comment sent from acon goes through a manager port of its own (`answer`,
1076
1098
  `receipt`, `consoleControl`) that needs acon's verified person `meta`.
1077
1099
  - **Inbox.** acon's inbox lists each running project's pending approvals (Allow once / Deny,
@@ -1796,8 +1818,9 @@ from, or it already refused the task). A peer the task was declined for (by
1796
1818
  itself or by the console) or escalated away from after repeated
1797
1819
  changes_requested or by hand stays excluded on every later reroute. A decline
1798
1820
  with `capacity: true` (`hub_task_decline`, "no room right now") is the
1799
- exception: it skips that owner for this move only, and a later reroute or
1800
- planner pull may offer the task to it again (#531). An owner
1821
+ exception: it skips that owner, and the hub offers that peer no task of its own
1822
+ choosing until the peer next reports idle; a capacity decline of a planner-pulled
1823
+ card returns it to backlog with its reservation kept (#531, #1626). An owner
1801
1824
  released as gone, or moved by the hub after a failed delivery or inference, is
1802
1825
  excluded only from that move and may get the task again from its reservation
1803
1826
  later. Your own `ahub task assign` is not blocked by those exclusions, and it
@@ -3451,6 +3474,26 @@ source has not reported yet says which. `--json` carries `kind`, `source`, `supe
3451
3474
  without them and the CLI classifies a window by its source. `ahub doctor` adds the row `kimi usage source` (counting, no ceiling, or unreadable).
3452
3475
  The console's peer detail (Enter on Peers) and the Usage detail, and the dashboard's Usage budgets row, show the same kind and source per window.
3453
3476
 
3477
+ `ahub budget` also prints LEFT, the window's own remainder, and REACHES, when the window would reach its limit at the burn rate seen so far (#1513); the console's
3478
+ Usage detail and the dashboard's Usage budgets row show the same two numbers for the same window. The rate is the peer's token series from the roll-up over at most 24 hours,
3479
+ and when the window opened inside that span it is measured from the window's opening (the sentence says `rate since the window opened`), so a reset is never projected across.
3480
+ A forecast that would land after the window's own reset reads `no forecast: it resets first`; fewer than two hourly points reads `no forecast: too few points yet`; a window
3481
+ nobody burnt reads `no forecast: no burn yet`; and an unusable or stale reading reads `no forecast: no usable reading`. The burn is measured over the time that elapsed since
3482
+ the first hourly bucket, so a partial last hour counts and a two-point series is not read at double its rate. An unknown forecast is never printed as a time. One view in the
3483
+ hub fills every window for all three surfaces, so they cannot disagree, and `--json` carries each window's `left` and `projection` (an older hub sends neither, and the CLI
3484
+ and the page print no forecast for it rather than inventing one).
3485
+
3486
+ A person's reconfigure of an execution budget can say why, and the budget row keeps the last reason with who gave it and when (#1513 AC3):
3487
+
3488
+ ```bash
3489
+ ahub budget execution configure <config.json> --reason "the release cut doubles this run"
3490
+ ```
3491
+
3492
+ `ahub budget execution status` then shows it as `override reason`, `override by` (`person`) and `override at`, and `--json` carries
3493
+ `override: { reason, by, at }` on that budget. The reason is trimmed and at most 280 characters, and a longer one is refused before anything is written.
3494
+ A configure without `--reason` changes the limits exactly as before and keeps the previous override and its reason, so the row answers why the limit is
3495
+ what it is rather than what the last call said; a project that never gave one shows no `override` at all.
3496
+
3454
3497
  While a Codex peer's account is budget-paused (#1440), the hub reads `codex rateLimits` through the attached TUI link every 60 seconds instead of the
3455
3498
  usual `usagePollMs` cadence (ten minutes), so a reset is seen early; it never redeems a credit or resumes a peer, and the existing reset/resume path
3456
3499
  still decides. For a paused peer `ahub budget` adds the account diagnostics that read allows: reset credits available with their earliest expiry
@@ -3770,7 +3813,7 @@ why. Unreserved cards, cards reserved for another peer and private (PII) cards a
3770
3813
  never pulled. One card per trigger, as the hub for the card's own planner of record:
3771
3814
  the history entry reads `by: hub` with that planner and a reason of the form
3772
3815
  `auto_pull: <cause> for <peer>; hub acted for planner <planner>`. The cause is
3773
- `capacity released`, `backlog planned`, `backlog ready` or `peer available`. A hub that
3816
+ `capacity released`, `backlog planned`, `backlog ready` or `peer available`. When no reserved card is ready, the idle or freed peer is offered the first ready, unowned proposed task it is eligible for, one per trigger, through the ordinary routing gates and only for classes whose routing list names it (#1626). Every owner choice the hub makes on its own also skips a peer at its WIP cap, with a held queue, or backing off after a capacity decline; an explicit person or conductor assignment is unchanged. A hub that
3774
3817
  is paused for recovery pulls nothing, also when the setting is turned off or recovery begins while a pull is already waiting on its screening: that pull writes nothing, and a recovery waits for pulls in flight. A committed `config.json` cannot turn it on: like
3775
3818
  the other machine-local policies it is ignored there with a log line.
3776
3819
 
@@ -3922,7 +3965,7 @@ The [0.27.0 ACP receipt](verification/2026-11-09-qwen-0270-acp.md) records passi
3922
3965
  ACP/permission/lifecycle checks after explicit runtime-state fence rulings, separately preserving earlier
3923
3966
  controller preflight failures. Its [model-setter check](verification/2026-11-09-qwen-0270-model-setter-1317.md)
3924
3967
  observed A/B/B after acknowledged B/A setters, but retained no latest-USER binding for the third request, whose purpose remains unknown. The [suggestions-off repeat](verification/2026-11-11-qwen-setter-suggestions-off.md) records ordinary A/B/A on both 0.26.9 and 0.27.0. Basic ACP 0.27.0 remains independently admitted; this setter evidence proposes a separate admission and enables nothing.
3925
- The production Qwen setter remains unavailable; `qwen-dual` is verified separately (0.26.1, 0.27.0 and 0.27.1).
3968
+ The production Qwen setter remains unavailable; `qwen-dual` is verified separately (0.26.1, 0.27.0, 0.27.1 and 0.28.3).
3926
3969
 
3927
3970
  ### Receipt automation audit (#1248 T0)
3928
3971
 
@@ -5860,7 +5903,8 @@ selected roster and existing capabilities; the TUI is always a person's start.
5860
5903
  The [2026-11-10 account-free receipt](verification/2026-11-10-qwen-0270-dual-output.md)
5861
5904
  qualifies exact 0.27.0 against matched private 0.26.1 on macOS arm64; the
5862
5905
  [0.27.1 receipt](verification/2026-11-10-qwen-0271-dual-output.md) repeats the same
5863
- Q2 and Q3/Q5/Q6/Q7 suite on exact 0.27.1 against matched 0.27.0. Normal-Bus
5906
+ Q2 and Q3/Q5/Q6/Q7 suite on exact 0.27.1 against matched 0.27.0, and the
5907
+ [0.28.3 receipt](verification/2026-11-22-qwen-0283-dual-output.md) repeats the suite on exact 0.28.3. Normal-Bus
5864
5908
  Q2 has two user/final-Stop/ordinary-provider turns after owned stop; Q3's five
5865
5909
  permission cases, unread-FIFO Q5, same-session/no-replay/assistant-context Q6 and
5866
5910
  identity/guard Q7 also passed, with final closure and protected/artifact/source
@@ -5872,7 +5916,7 @@ turns, this repository's live dual-output TUI use, Linux and lifetime containmen
5872
5916
  remain unverified; the basic ACP/setter contracts and automation eligibility are
5873
5917
  separate.
5874
5918
 
5875
- Receipt-verified native ACP identities are qwen-code 0.25.0 and 0.26.0 ([dated receipt](verification/2026-10-22-kimi-qwen-compat.md)), 0.26.1 ([0.26.1 receipt](verification/2026-10-26-qwen-0261-acp.md)), 0.26.4 ([0.26.4 ACP receipt](verification/2026-10-31-qwen-0264-acp.md)), 0.26.5 ([0.26.5 ACP receipt](verification/2026-11-03-qwen-0265-acp.md)), 0.26.8 ([0.26.8 ACP receipt](verification/2026-11-06-qwen-0268-acp.md)), 0.26.9 ([0.26.9 ACP receipt](verification/2026-11-08-qwen-0269-acp.md)) and 0.27.0 ([0.27.0 ACP receipt](verification/2026-11-09-qwen-0270-acp.md)). The separate [0.26.4](verification/2026-10-31-qwen-0264-dual-output.md), [0.26.5](verification/2026-11-03-qwen-0265-dual-output.md), and [0.26.8](verification/2026-11-06-qwen-0268-dual-output.md) dual-output attempts did not establish their queued-turn criterion, those versions remain unverified by `qwen-dual`; exact 0.27.0 and 0.27.1 have the separate matched receipts above. A CLI version label alone
5919
+ Receipt-verified native ACP identities are qwen-code 0.25.0 and 0.26.0 ([dated receipt](verification/2026-10-22-kimi-qwen-compat.md)), 0.26.1 ([0.26.1 receipt](verification/2026-10-26-qwen-0261-acp.md)), 0.26.4 ([0.26.4 ACP receipt](verification/2026-10-31-qwen-0264-acp.md)), 0.26.5 ([0.26.5 ACP receipt](verification/2026-11-03-qwen-0265-acp.md)), 0.26.8 ([0.26.8 ACP receipt](verification/2026-11-06-qwen-0268-acp.md)), 0.26.9 ([0.26.9 ACP receipt](verification/2026-11-08-qwen-0269-acp.md)) 0.27.0 ([0.27.0 ACP receipt](verification/2026-11-09-qwen-0270-acp.md)), and 0.27.1 and 0.28.3 ([0.28.3 ACP receipt](verification/2026-11-22-qwen-0283-acp.md), which also records the 0.27.1 control). The separate [0.26.4](verification/2026-10-31-qwen-0264-dual-output.md), [0.26.5](verification/2026-11-03-qwen-0265-dual-output.md), and [0.26.8](verification/2026-11-06-qwen-0268-dual-output.md) dual-output attempts did not establish their queued-turn criterion, those versions remain unverified by `qwen-dual`; exact 0.27.0 and 0.27.1 have the separate matched receipts above. A CLI version label alone
5876
5920
  is insufficient: startup verifies its native identity/version and advertised mode
5877
5921
  ids before any prompt. The earlier local installation reported CLI 0.25.0 while
5878
5922
  its package/ACP source said 0.24.1; that was not a ready identity. The 0.26.0 receipt
@@ -5910,7 +5954,7 @@ ahub jcode to get its TUI back`.
5910
5954
 
5911
5955
  A busy jcode takes an `important` message into its running turn (#572): the hub sends it as a soft interrupt through jcode's own private server socket, which jcode injects at its next tool boundary, so the message no longer waits for the turn to end. The hub never cancels a turn to deliver. Headless Kimi and Qwen have no such path: an `important` message waits, and `ahub status` and the console show `important messages waiting on a busy ACP peer for N min` once it has waited past `budget.stale_min`, so you can decide to stop the peer.
5912
5956
 
5913
- jcode has no switch to choose which MCP servers its `serve` and `acp` load, so the hub-owned jcode starts every server named in `<JCODE_HOME>/mcp.json` and the project's `.jcode/mcp.json`, `.mcp.json` and `.claude/mcp.json`, besides the hub's own (#572). `ahub doctor` lists their names in its `jcode MCP servers` row (names only, from those four files only). To keep a server out, remove it from those files, or point `jcode_home` at a separate home.
5957
+ jcode has no switch to choose which MCP servers its `serve` and `acp` load, so the hub-owned jcode starts every server named in `<JCODE_HOME>/mcp.json` and the project's `.jcode/mcp.json`, `.mcp.json` and `.claude/mcp.json`, besides the hub's own (#572). `ahub doctor` lists their names in its `jcode MCP servers` row (names only, from those four files only). To keep a server out, remove it from those files, or point `jcode_home` at a separate home. `ahub init` does the second for you (#1627): when jcode is installed or rostered and `jcode_home` is still your own `~/.jcode`, it creates `<hub home>/jcode/<project id>` holding only the hub's MCP entry, the servers you listed in `jcode_mcp_allow` (copied from your `mcp.json`) and the hub skill trees, leaves `jcode_home` unchanged (a new home has no login, and switching would break a working jcode), and prints your steps: `JCODE_HOME=<home> jcode login`, then `ahub init` again, which sets `jcode_home` in `.agenthub/config.local.json` (never the tracked file) once the home holds a login. Provider and model defaults stay in your own `config.toml` and are not copied. It never reads or copies your login, sessions or history and never changes your own home. `ahub init --no-jcode-home` skips it, `--dry-run` lists what it would write, and a second run only reports drift. `ahub roster add <peer>` shows a preflight first (CLI version verdict, start mode and, for jcode, the home and the MCP servers that would load) and asks y/N; with no terminal it refuses unless `--yes` is given, which a configured conductor keeps using. Probe receipt: `docs/verification/2026-11-22-jcode-separate-home.md`. To accept servers on purpose (for example `amem`, `vmem` and `ares`), list their names in `jcode_mcp_allow` in `.agenthub/config.local.json` (machine-local, never read from the tracked config, never editable from settings; an instance's own `jcode_mcp_allow` or the inherited top-level list applies): the row then reads `ok` and names them as allowed by the person, any other extra server still fails and is named, and an unreadable file still fails. This changes only what `ahub doctor` accepts, not what jcode loads, and it matches by name only, so another server registered under an allowed name also passes (#1621).
5914
5958
 
5915
5959
  Known ceiling (#559): jcode 0.98.1's top-level TUI spawns a shared server, without `--temporary-server` or `--owner-pid`, when nothing answers on the dialed socket at startup or on its reload-handoff reconnect, and no native flag prevents it. A hub stop or an owned-server crash between the launcher's confirm and the TUI's check can leave an unowned jcode server on the private socket under the person's `JCODE_HOME`; stop it by hand. Revisit if upstream adds an owner flag. An option that differs from the running session (`--model`, `--provider-profile`, `--session-id`) is refused by name.
5916
5960
 
@@ -5919,7 +5963,7 @@ TUI input may interleave with an ACP turn; there is no single-writer guard. Clos
5919
5963
  After upgrading to the recipient-retry release, a Jcode project MCP entry written before `AGENTHUB_DELIVERY_ONLY` was added is intentionally stale. Once per project, the person runs `ahub jcode --mode headless` before using conductor/dashboard starts. The launcher rewrites only the owned entry with the delivery-only marker, preserving foreign entries and refusing collisions; recovery relaunches already use this CLI path. Readiness checks never rewrite the file, and an explicit false marker or any other drift remains refused. Until that rewrite, daemon starts keep their actionable stale-entry refusal rather than advertising a retry tool Jcode cannot use. `ahub jcode` and `ahub agy` compare the entry's `AGENTHUB_PROJECT_DIR` (and agy's `AGENTHUB_STATE_DIR`) by real path (#1423), so after a project directory is renamed with its old path left as a symlink, the hub's own entry is recognised and rewritten with the new paths. An entry for another project or peer, or a path that no longer resolves, is refused with the differing field: remove the `agent-hub-jcode` (or agy's `agent-hub`) key and run the command again.
5920
5964
 
5921
5965
 
5922
- Native policy is unmanaged and has NO hub sandbox; no permission_modes.jcode or runtime mode mapping is invented. Quota and consumption remain unknown. Supported versions run from 0.98.0 up to, not including, 1.0.0 (#529); another version is refused before the owned daemon starts, with the version named and the trust command (#691). Every owned jcode process (version probe, daemon, ACP and TUI) runs with `JCODE_NO_TELEMETRY=1`. Native session/load (verified on 0.94.0, 0.98.1 and 0.99.1) cannot prove identity, so attached Jcode blocks controlled recovery before effects and crash recovery asks for deliberate native reopening. A requested load without an echoed identity refuses; no fresh session is presented as restored. Provider/tool/native teardown receipts remain unverified in the pinned contract report.
5966
+ Native policy is unmanaged and has NO hub sandbox; no permission_modes.jcode or runtime mode mapping is invented. Quota and consumption remain unknown. Supported versions run from 0.98.0 up to, not including, 1.1.0 (#529); another version is refused before the owned daemon starts, with the version named and the trust command (#691). Every owned jcode process (version probe, daemon, ACP and TUI) runs with `JCODE_NO_TELEMETRY=1`. Native session/load (verified on 0.94.0, 0.98.1, 0.99.1 and 1.0.3) cannot prove identity, so attached Jcode blocks controlled recovery before effects and crash recovery asks for deliberate native reopening. A requested load without an echoed identity refuses; no fresh session is presented as restored. Provider/tool/native teardown receipts remain unverified in the pinned contract report.
5923
5967
 
5924
5968
  ## Optional Antigravity (agy) peer
5925
5969
 
@@ -6134,7 +6178,7 @@ Use the revision actually returned by `show`; the numbers above are examples.
6134
6178
  New/edit also accept `--order` and `--parent`; `--target none` or `--parent none`
6135
6179
  clears that field. `unlink <id> <kind> <ref>` removes a link. The configured
6136
6180
  planners, current unique conductor and the person may edit. Only the person
6137
- records `state <id> done|dropped`; live-test delegation cannot write milestone
6181
+ records `state <id> done|dropped`, in a terminal or through an instructed managed Claude session whose confirmed prompt names the milestone id literally (see instructed mode above), and that history entry records `instructed`, `instructedPeer` and `instructionReceipt`; live-test delegation cannot write milestone
6138
6182
  content. Terminal milestones are final.
6139
6183
 
6140
6184
  Explicit task links take precedence over issue inheritance across all milestones.
@@ -6181,8 +6225,7 @@ so a second run supersedes the first. Proposing intakes, links and publishes not
6181
6225
  `ahub roadmap decompose <id> --accept <part>` holds one proposed part as a backlog
6182
6226
  intake draft linked to the milestone, carrying its spec or task kind; nothing offers,
6183
6227
  pulls or routes it until the person releases it with `ahub intake approve`, and
6184
- accepting the same part again returns the same draft. No part becomes a spec issue on
6185
- GitHub. See the [decomposition contract](design/roadmap.md#decomposition-r2).
6228
+ accepting the same part again returns the same draft. `ahub roadmap decompose <id> --publish` previews one GitHub issue per held `spec` part and writes nothing; `--apply --confirm <fingerprint>` creates them behind `roadmap.github_write` (the person, or the unique conductor when it is set to `conductor`) and links each to the milestone. A `task` part, a released draft and a private part get no issue. A second apply creates nothing, an overlapping apply is refused, and a failed `gh` call leaves the draft held with nothing linked. See the [decomposition contract](design/roadmap.md#decomposition-r2).
6186
6229
 
6187
6230
  ## Planning and phased releases (#263)
6188
6231
 
@@ -6423,7 +6466,7 @@ tokens remain character-independent. Native glyph width and tmux are unverified.
6423
6466
 
6424
6467
  ## Dashboard views and attention (#391, replaces the #280 in-page character)
6425
6468
 
6426
- Top buttons select Board, Office, Stream, Agents, Message, Memory or Settings
6469
+ Top buttons select Board, Office, Stream, Agents, Message, Memory, Settings or Roadmap
6427
6470
  within the same page. The selected view and board column focus use the shared
6428
6471
  host-scoped cookie helper; the URL fragment remains reserved for the session
6429
6472
  ticket. Sections are hidden rather than fetched separately. Projects and
@@ -6877,8 +6920,10 @@ continuation uses only bounded current actor/privacy checks; unrelated public
6877
6920
  board writes do not invalidate it. Changed or unreadable authority evidence
6878
6921
  stops the next effect and leaves the operation for the person.
6879
6922
 
6880
- An upgrade digest includes the exact staged `@staix/agent-mem` package from its
6881
- hoisted install; a restart digest includes its verified source dependency.
6923
+ An upgrade digest includes the exact staged `@staix/agent-mem` and, when declared,
6924
+ `@staix/cli-output` packages from their hoisted install; a restart digest includes
6925
+ their verified source dependencies. Legacy packages without the output dependency
6926
+ keep their original digest.
6882
6927
  Protected or restart-bound source config/routing edits that have not been
6883
6928
  accepted remain person-only. The replacement validates the captured inputs
6884
6929
  before adapter imports and uses the sealed source fallback for startup routing.
@@ -7607,3 +7652,40 @@ Kimi has no verified typed quota error frame. The narrow exception requires a hu
7607
7652
  Kimi reviewer usage is read from its isolated native session index/wire usage through the existing counter before profile removal, attributed once to the review task. A journal ACK precedes spawn; terminal accounting follows confirmed group settlement and usage read. An unmatched start, damaged replay or incomplete count makes soft headroom UNKNOWN across restart. No host start/cap timestamp clears it. Incomplete logs or missing terminal ACK retain the profile through the existing cleanup hold. Events carry only opaque attempt ids, enums, counts and times. These synthetic paths do not certify a live account reset or a newer native Kimi diagnostic.
7608
7653
 
7609
7654
  Controlled recovery advertises `reviewer_quota`. A target needs it only when reviewer accounting/wait history is retained or the project explicitly configures `review.gate`, `review.unknown_quota` or `review.max_minutes` (including `unknown_quota = "skip"` and `gate = "off"`); legacy empty state remains compatible with older targets. Snapshot integrity binds ordered safe accounting fields, complete/pending/unknown counts and replay completeness, with no native session/home/text. Missing or changed journal state refuses target restoration. Ending a quota wait at its original deadline is separate from native review readiness: failed enforce-mode CI cannot extend the quota wait, and no premature native review is sent.
7655
+
7656
+ ## Hub skills on other hosts (#1622)
7657
+
7658
+ The hub's own skills (`ahub-status`, `ahub-manage`, `ahub-use` and the person-only `ahub`) ship in the Claude
7659
+ plugin, which Claude Code loads as it is. `ahub setup` also writes them to every other agent host installed on this
7660
+ machine, in that host's user skill directory:
7661
+
7662
+ | Host | User skill directory |
7663
+ |---|---|
7664
+ | Codex | `$CODEX_HOME/skills` (default `~/.codex/skills`) |
7665
+ | Kimi | `$KIMI_CODE_HOME/skills` (default `~/.kimi-code/skills`) |
7666
+ | Qwen | `$QWEN_HOME/skills` (default `~/.qwen/skills`) |
7667
+ | Jcode | `$JCODE_HOME/skills` (default `~/.jcode/skills`) |
7668
+ | Pi | `$PI_CODING_AGENT_DIR/skills` (default `~/.pi/agent/skills`) |
7669
+ | agy | `~/.gemini/config/skills` |
7670
+
7671
+ A host with no config directory on this machine is left alone: setup never creates a home for a tool that is not
7672
+ installed. Setup prints the per-host plan and asks once; `--yes` runs it without the question.
7673
+
7674
+ Every installed skill tree carries `.ahub-skill.json` with `tool`, `version` and the `sha256` digest of the tree. The
7675
+ contract:
7676
+
7677
+ - A tree that is absent is installed.
7678
+ - A tree the hub wrote is replaced only while its digest still matches the marker; a different version is stale and
7679
+ is replaced.
7680
+ - A tree with no marker, another tool's marker, a local edit or a link is reported as foreign, modified or linked and
7681
+ left exactly as it is. The check runs again at the moment of the write, so a tree that changed while the question
7682
+ was open is kept too.
7683
+ - `ahub setup --undo` removes only trees whose marker is the hub's and whose digest still matches; it reports and
7684
+ keeps anything else. It takes `--yes` like the install path.
7685
+
7686
+ A symlinked host config home (`~/.codex` -> a data directory, say) is the host's own choice and is resolved; a linked
7687
+ skills directory or a link inside a tree is reported as linked and left alone.
7688
+
7689
+ `ahub doctor` has one `hub skills` row covering the Claude plugin's own copy and each installed host's state:
7690
+ `installed`, `stale`, `missing`, `modified`, `foreign` or `linked`. A stale or missing tree makes the row fail and
7691
+ names the repair command; a tree the hub will not touch is a warning, never a failure.
@@ -11,14 +11,14 @@ The registry package uses the `staix` organization scope. Install from npm:
11
11
 
12
12
  ```bash
13
13
  bun add -g @staix/agent-hub # installs `ahub` (also as `agent-hub`)
14
- ahub setup # installs the channel plugin and a project-neutral hook in each Claude home in use, then runs doctor
14
+ ahub setup # installs the channel plugin, a project-neutral hook and the instruction hooks in each Claude home in use, and the hub skills on the other agent hosts, then runs doctor
15
15
  ```
16
16
 
17
17
  Or use the matching GitHub release:
18
18
 
19
19
  <!-- facts:install-tag -->
20
20
  ```bash
21
- bun add -g github:STAIxBWLB/agent-hub#v0.45.0
21
+ bun add -g github:STAIxBWLB/agent-hub#v0.46.0
22
22
  ahub setup
23
23
  ```
24
24
  <!-- /facts:install-tag -->
@@ -54,6 +54,12 @@ A project whose hub is stopped is upgraded without starting it: `ahub upgrade
54
54
  --all-stopped --to <version>` does that for every stopped project at once
55
55
  (`--dry-run` lists each one first).
56
56
 
57
+ ## Upgrading to 0.46.0
58
+
59
+ A managed Claude session can now run hub commands on your instruction: `/agent-hub:ahub run <command>` runs the exact command you typed, and `/agent-hub:ahub <what you want>` lets the agent pick supported commands, at most ten per instruction. A project with no retained choice starts in `intent` mode; turn it off from a terminal with `ahub settings set instructed.mode off`, or narrow it with `exact`. Permission, trust, execution paths, release and merge, irreversible deletion, identity, PII tasks and private turns stay closed in every mode, and spending stays closed in intent mode (exact mode admits only the listed task spending settings) (operations guide, "Claude plugin skills"). `ahub setup` now also installs the hub's skills into the user skill directories of Codex, Kimi, Qwen, Jcode, Pi and agy behind a `.ahub-skill.json` marker, and `ahub setup --undo` removes only unmodified trees it wrote. `ahub init` creates a separate hub-owned jcode home when jcode is installed or on the roster and the project still uses your own jcode home, unless you pass `--no-jcode-home`; after the `jcode login` step it prints, rerun `ahub init` to set `jcode_home`. Automatic task offers now skip a peer at its WIP cap or with a held queue, and skip a peer that declined for capacity until it next reports idle. `ahub budget` and the Usage views forecast when each quota window would run out. Console output uses the shared `@staix/cli-output` package, pinned exactly at 0.1.3, with output unchanged. Jcode 1.0.x launches as in-line. Once a milestone is marked done or dropped through an instruction, recovery refuses 0.45.0 as a rollback target while that history entry is retained. The declared agent-mem range and the memory formats are unchanged.
60
+
61
+ `ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.46.0` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
62
+
57
63
  ## Upgrading to 0.45.0
58
64
 
59
65
  The memory library moves from an exact agent-mem pin to the range `>=0.33.0 <1.0.0` (0.33.0 in the lockfile): a newer agent-mem minor now loads without a hub release when its host API matches, and `ahub doctor` names the cause when it does not. No memory home or sync format floor is raised automatically, but a newer minor may raise a store format floor, so roll the hub back together with the store. An ACP peer (headless Kimi, Qwen, Jcode) now keeps a turn with a silent open tool call alive for up to 60 minutes instead of 30, so a long gate wait no longer cancels it; a value you set in `adapter_timing.acp_tool_ceiling_min` is kept, and the setting now accepts up to 120. When the ceiling does cancel a Jcode turn, `hub.log` says so and names the restart and queue commands. `events.jsonl` and `hub.log` now rotate by size (`docs/events.md` "Rotation"): a script of your own that reads `events.jsonl` directly should read the `events.jsonl.<offset>` segments before the live file. With `research.enabled`, research records gain a text-free `edits` block. `ahub roadmap check`, `sync` and `export` are new; nothing writes to GitHub unless you apply with a confirmation fingerprint. `ahub roadmap decompose <id>` proposes cited parts of a milestone, and `--accept <part>` holds one as an intake draft until you release it with `ahub intake approve`. The opt-in `edit_governance.arm` setting stays `baseline` unless you change it.
@@ -309,7 +315,7 @@ Upgrading from 0.12.36 or earlier, the 0.12.37 notes below also apply.
309
315
 
310
316
  The restarted Claude planner gets the release-train tools (`hub_release_new`, `hub_release_assign`, `hub_release_configure`, `hub_release_cut`, `hub_release_report`); the person uses `ahub sdlc train report|configure|cut` (#481 S11). A due date asks for a cut review and never clears unfinished work; a cut freezes scope and publishes nothing. See [release scheduling](operations.md#planner-release-scheduling).
311
317
 
312
- Jcode must be 0.98.0 or later, below 1.0.0; 0.94.0 is no longer accepted, so `ahub doctor` fails its Jcode row for an older install and the peer does not start (#529). Every owned jcode process runs with `JCODE_NO_TELEMETRY=1`.
318
+ Jcode must be 0.98.0 or later, below 1.1.0; 0.94.0 is no longer accepted, so `ahub doctor` fails its Jcode row for an older install and the peer does not start (#529). Every owned jcode process runs with `JCODE_NO_TELEMETRY=1`.
313
319
 
314
320
  Since 0.12.37 the hub opens a split memory home through its shards (#534); the current exact `@staix/agent-mem` pin is in `package.json`. Before anyone runs `amem migrate --shards` on a memory home, every hub using that home must run 0.12.37 or later: an older hub does not see the split and keeps writing the old layout. `ahub memory profile-check` is split-aware and compares each hub with its own project's shard (#536). See [memory profiles and rollout](memory.md#selected-memory-profile).
315
321