@staix/agent-hub 0.44.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 (168) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/README.md +12 -11
  3. package/docs/adding-an-ai-tool.md +1 -0
  4. package/docs/agent-notes/adapters.md +35 -6
  5. package/docs/agent-notes/budget.md +2 -1
  6. package/docs/agent-notes/daemon.md +5 -1
  7. package/docs/agent-notes/local-worker.md +1 -1
  8. package/docs/agent-notes/security-review.md +3 -2
  9. package/docs/agent-notes/tasks.md +6 -2
  10. package/docs/agent-notes/tests.md +4 -3
  11. package/docs/design/adapters.md +20 -2
  12. package/docs/design/agent-hub-architecture.md +12 -0
  13. package/docs/design/agent-hub.md +1 -1
  14. package/docs/design/cli-output.md +2 -0
  15. package/docs/design/roadmap.md +158 -4
  16. package/docs/design/supervision.md +21 -1
  17. package/docs/design/task-board.md +32 -4
  18. package/docs/dogfood.md +28 -4
  19. package/docs/events.md +7 -3
  20. package/docs/influences.md +7 -0
  21. package/docs/memory.md +4 -4
  22. package/docs/operations.md +151 -36
  23. package/docs/quickstart.md +16 -4
  24. package/docs/research.md +16 -0
  25. package/docs/roadmap.json +4 -0
  26. package/docs/roadmap.md +9 -0
  27. package/docs/sdlc.md +15 -3
  28. package/docs/security.md +9 -7
  29. package/docs/smoke.md +1 -1
  30. package/docs/verification/2026-11-05-hardcoded-values-classification-rules.md +28 -0
  31. package/docs/verification/2026-11-19-claude-implementer-2.1.328.md +49 -0
  32. package/docs/verification/2026-11-20-claude-implementer-2.1.329.md +49 -0
  33. package/docs/verification/2026-11-20-sdlc-metrics-diagnosis.md +7 -0
  34. package/docs/verification/2026-11-21-0.45.0.md +69 -0
  35. package/docs/verification/2026-11-22-agy-1.5.14.md +27 -0
  36. package/docs/verification/2026-11-22-claude-instruction-hook.md +35 -0
  37. package/docs/verification/2026-11-22-codex-0171-reviewer-isolation.md +47 -0
  38. package/docs/verification/2026-11-22-instructed-ipc.md +9 -0
  39. package/docs/verification/2026-11-22-jcode-1.0.3.md +71 -0
  40. package/docs/verification/2026-11-22-jcode-separate-home.md +14 -0
  41. package/docs/verification/2026-11-22-qwen-0283-acp.md +28 -0
  42. package/docs/verification/2026-11-22-qwen-0283-dual-output.md +33 -0
  43. package/docs/verification/2026-11-22-roadmap-r5-view-receipt.md +63 -0
  44. package/docs/verification/2026-11-23-0.46.0.md +44 -0
  45. package/docs/verification/assets/1483-r5-detail-1440-light.png +0 -0
  46. package/docs/verification/assets/1483-r5-detail-390-light.png +0 -0
  47. package/docs/verification/assets/1483-r5-view-1440-dark.png +0 -0
  48. package/docs/verification/assets/1483-r5-view-1440-light.png +0 -0
  49. package/docs/verification/assets/1483-r5-view-390-dark.png +0 -0
  50. package/docs/verification/assets/1483-r5-view-390-light.png +0 -0
  51. package/docs/verification/assets/1483-r5-view-820-dark.png +0 -0
  52. package/docs/verification/assets/1483-r5-view-820-light.png +0 -0
  53. package/docs/verified.json +33 -27
  54. package/package.json +3 -2
  55. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  56. package/plugins/agent-hub/kimi-hook.js +4743 -4048
  57. package/plugins/agent-hub/kimi-review-policy-worker.js +5 -5
  58. package/plugins/agent-hub/server.js +1641 -1265
  59. package/plugins/agent-hub/skills/ahub/SKILL.md +17 -0
  60. package/plugins/agent-hub/skills/ahub-manage/SKILL.md +37 -0
  61. package/plugins/agent-hub/skills/ahub-status/SKILL.md +14 -0
  62. package/plugins/agent-hub/skills/ahub-use/SKILL.md +12 -0
  63. package/scripts/check-docs.mjs +9 -1
  64. package/src/adapters/acp.ts +11 -1
  65. package/src/adapters/claude-channel.ts +2 -1
  66. package/src/adapters/compat.ts +15 -14
  67. package/src/adapters/definitions/builtin-metadata.ts +2 -2
  68. package/src/adapters/definitions/native-cli-claude-setup.ts +9 -1
  69. package/src/adapters/definitions/native-cli-doctor.ts +8 -5
  70. package/src/adapters/definitions/native-cli-jcode-home-init.ts +158 -0
  71. package/src/adapters/definitions/native-cli-jcode-home.ts +72 -0
  72. package/src/adapters/definitions/native-cli-jcode-mcp.ts +20 -0
  73. package/src/adapters/definitions/native-cli-skills.ts +29 -0
  74. package/src/adapters/definitions/native-context.ts +10 -0
  75. package/src/adapters/jcode.ts +10 -0
  76. package/src/adapters/local-worker.ts +3 -2
  77. package/src/adapters/pi.ts +15 -4
  78. package/src/cli/claude-profile-hook.ts +40 -3
  79. package/src/cli/console-state.ts +58 -27
  80. package/src/cli/console-usage.ts +5 -3
  81. package/src/cli/console.ts +35 -4
  82. package/src/cli/help.ts +17 -10
  83. package/src/cli/identity.ts +4 -2
  84. package/src/cli/instruction-hook.ts +28 -0
  85. package/src/cli/jcode-mcp.ts +2 -1
  86. package/src/cli/main.js +8 -0
  87. package/src/cli/main.ts +149 -23
  88. package/src/cli/output-standard.ts +3 -55
  89. package/src/cli/output.ts +8 -2
  90. package/src/cli/recovery-package.ts +62 -13
  91. package/src/cli/roadmap-write.ts +59 -0
  92. package/src/cli/roadmap.ts +115 -4
  93. package/src/cli/sdlc-output.ts +4 -0
  94. package/src/cli/setup-homes.ts +1 -0
  95. package/src/cli/setup.ts +1 -1
  96. package/src/cli/skills-install.ts +463 -0
  97. package/src/cli/task-output.ts +1 -1
  98. package/src/cli/upgrade-presentation-flags.ts +1 -1
  99. package/src/cli/upgrade-runtime.ts +10 -6
  100. package/src/hub/agent-mem-range.ts +43 -0
  101. package/src/hub/board.ts +144 -5
  102. package/src/hub/budget-projection.ts +99 -0
  103. package/src/hub/check-runner.ts +25 -1
  104. package/src/hub/claude-launch-proof.ts +5 -1
  105. package/src/hub/conductor.ts +8 -3
  106. package/src/hub/config-apply.ts +6 -3
  107. package/src/hub/config-tier.ts +1 -1
  108. package/src/hub/config-trust.ts +1 -1
  109. package/src/hub/context-window.ts +1 -1
  110. package/src/hub/control-client.ts +9 -2
  111. package/src/hub/cost-governance.ts +11 -7
  112. package/src/hub/daemon.ts +707 -53
  113. package/src/hub/dogfood-read.ts +4 -2
  114. package/src/hub/edit-guard.ts +100 -0
  115. package/src/hub/events.ts +80 -9
  116. package/src/hub/execution-budget.ts +29 -8
  117. package/src/hub/facts.ts +57 -4
  118. package/src/hub/hub-tools.ts +3 -1
  119. package/src/hub/inference.ts +1 -1
  120. package/src/hub/instances.ts +10 -1
  121. package/src/hub/instructed-exact.ts +95 -0
  122. package/src/hub/instructed-intent.ts +64 -0
  123. package/src/hub/instructed-ipc.ts +33 -0
  124. package/src/hub/instructed-runtime.ts +19 -0
  125. package/src/hub/instruction-receipt.ts +218 -0
  126. package/src/hub/lifecycle.ts +6 -1
  127. package/src/hub/log-rotation.ts +130 -0
  128. package/src/hub/manager.ts +46 -3
  129. package/src/hub/memory-profile.ts +137 -21
  130. package/src/hub/no-writes.ts +1 -0
  131. package/src/hub/operational-authority.ts +3 -2
  132. package/src/hub/operational-settings.ts +2 -2
  133. package/src/hub/recovery-store.ts +49 -21
  134. package/src/hub/registry.ts +1 -1
  135. package/src/hub/research-experiments.ts +132 -0
  136. package/src/hub/research-quality.ts +8 -2
  137. package/src/hub/research-record.ts +35 -0
  138. package/src/hub/research.ts +128 -28
  139. package/src/hub/roadmap-check.ts +65 -0
  140. package/src/hub/roadmap-decompose.ts +139 -0
  141. package/src/hub/roadmap-export.ts +27 -0
  142. package/src/hub/roadmap-sync.ts +97 -0
  143. package/src/hub/roadmap.ts +59 -1
  144. package/src/hub/routing.ts +18 -1
  145. package/src/hub/runtime-capture-prune.ts +2 -1
  146. package/src/hub/sdlc-branch-ci.ts +128 -0
  147. package/src/hub/sdlc-merge.ts +6 -3
  148. package/src/hub/sdlc-metrics.ts +19 -5
  149. package/src/hub/sdlc.ts +73 -5
  150. package/src/hub/settings.ts +3 -1
  151. package/src/hub/snapshots.ts +13 -1
  152. package/src/hub/startup-event-seeds.ts +21 -15
  153. package/src/hub/startup-timing.ts +3 -1
  154. package/src/hub/supervision-proposals.ts +10 -2
  155. package/src/hub/supervision-rules.ts +26 -3
  156. package/src/hub/supervision.ts +7 -0
  157. package/src/hub/task-pr.ts +47 -0
  158. package/src/hub/task-worktree.ts +18 -11
  159. package/src/hub/tasks.ts +694 -44
  160. package/src/hub/ui.ts +6 -2
  161. package/src/hub/usage-rollup.ts +77 -22
  162. package/src/local/tools.ts +13 -1
  163. package/src/memory/client.ts +3 -2
  164. package/src/pi/extension.ts +15 -3
  165. package/src/pi/tool-receipts.ts +26 -0
  166. package/src/ui/index.html +342 -8
  167. package/src/ui/plugin.ts +6 -2
  168. package/src/ui/roadmap-model.ts +70 -0
@@ -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,
@@ -1211,7 +1233,7 @@ operation cannot confirm startup.
1211
1233
  Each completed daemon startup writes one `startup timings ms:` line to `hub.log`,
1212
1234
  with fixed phase names and durations; the span before `task_runtime` carries
1213
1235
  the sub-phases `task_checks`, `task_ports`, `task_board` and `task_recovery`
1214
- (#1445), and its board reads cover open tasks only. `task_checks` no longer waits for the first check-runner probe (about 8 s over ssh to a remote runner): startup waits for it at most 500 ms, `ahub status` reports the runner as unavailable with `runner probe in progress` until it settles, and `check_run` joins the same single probe. The three event-seed consumers share one
1236
+ (#1445), and its board reads cover open tasks only. The work after readiness is split into one boundary per step (`post_ready_handoff`, `_queue`, `_watch`, `_reconcile`, `_goals`, `_leases`, `_crash`, `_pi`, `_drift`, #1591), so a slow start names the step that held control replies. `task_checks` no longer waits for the first check-runner probe (about 8 s over ssh to a remote runner): startup waits for it at most 500 ms, `ahub status` reports the runner as unavailable with `runner probe in progress` until it settles, and `check_run` joins the same single probe. The three event-seed consumers share one
1215
1237
  lossless streaming pass; abandoned snapshot bodies are not read for startup.
1216
1238
  The [startup receipt](verification/2026-11-07-daemon-startup-1232.md) separates
1217
1239
  seed I/O from bounded usage-rollup I/O and records the isolated measurements.
@@ -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
@@ -1873,7 +1896,10 @@ delivery. A delivery or answer is not a task completion receipt.
1873
1896
 
1874
1897
  The hub writes structured events to `.agenthub/state/events.jsonl` alongside
1875
1898
  `hub.log` (schema: `docs/events.md`). They carry ids, routing, sizes, states and
1876
- token counts, never message bodies or task titles.
1899
+ token counts, never message bodies or task titles. Both rotate by size (#1546):
1900
+ `events.jsonl` in 64 MiB segments with three kept (longer while an open task may
1901
+ need one) and `hub.log` at 16 MiB with two kept; every reader reads the segments
1902
+ before the live file, so rotation loses no input (`docs/events.md` "Rotation").
1877
1903
 
1878
1904
  ```bash
1879
1905
  ahub report --since 7d # turns, busy time and tokens per peer, messages, overlaps, task events
@@ -2081,7 +2107,7 @@ ahub memory forget 1a2b3c4d # also promote, demote, supersede, rebu
2081
2107
 
2082
2108
  `"memory": { "native": false }` in `.agenthub/config.json` turns it off for a project.
2083
2109
 
2084
- The exact-pinned `@staix/agent-mem` 0.30.0 resolves `AMEM_HOME`, then `$AGENTHUB_HOME/memory`, then `~/.agenthub/memory`. An absent `M/profile.json` selects shared v1; an explicit generation selects `M/generations/G` with the package's readonly legacy bridge. All daemon memory consumers and the hub memory/goal CLI use that selected profile. Invalid metadata or a missing selected generation makes native memory unavailable while the bus and board continue; there is no fallback to legacy writes. Inspect the daemon's memory binding/availability before interpreting missing memory as an empty store.
2110
+ The declared `@staix/agent-mem` range (`>=0.33.0 <1.0.0` in `package.json`, resolved to 0.33.0 by `bun.lock`) resolves `AMEM_HOME`, then `$AGENTHUB_HOME/memory`, then `~/.agenthub/memory`. A plain release inside that range opens memory without a hub release when its host API range intersects the supported `[1, 1]`; an out-of-range, unattested, prerelease or host-API-incompatible package refuses to open it. A new minor can raise the store format floor: an older hub or amem cannot read a store a newer one wrote, so roll back the hub together with the store. An absent `M/profile.json` selects shared v1; an explicit generation selects `M/generations/G` with the package's readonly legacy bridge. All daemon memory consumers and the hub memory/goal CLI use that selected profile. Invalid metadata or a missing selected generation makes native memory unavailable while the bus and board continue; there is no fallback to legacy writes. Inspect the daemon's memory binding/availability before interpreting missing memory as an empty store.
2085
2111
 
2086
2112
  The daemon checks its selector at hub operation entry and before candidate/counter writes. It does not hot-switch handles or provide an atomic fence against selection changes during an in-flight core call. Quiesce consumers and close their handles before migration or selection changes; reopen through the supported session-preserving lifecycle afterward. Candidate/counter storage remains `M/candidates.db`, independent of `G`; since agent-mem 0.7.0 `amem review` also lists and accepts candidates on a selected generation. Every running hub using this home needs an authenticated receipt: a matching ready binding, or a generation-capable unbound receipt (`disabled` when native memory is off, `unavailable` when opening failed) proving it holds no memory handle. An unbound daemon and zero running hubs are quiesced for memory; a stale bound handle, unreadable registry or unknown runtime is not ready. Existing JSON memory/goal results remain unchanged; the additive binding receipt belongs to daemon status, profile-check and the decay object. This source integration does not authorize installing a new runtime, migrating real memory, restarting sessions or claiming real-machine sync/capture receipts. Migration/deactivation and their limits belong to [agent-mem](https://github.com/STAIxBWLB/agent-mem); see [the hub profile contract](memory.md#selected-memory-profile).
2087
2113
 
@@ -2845,7 +2871,7 @@ A guarded file edit that the daemon keeps at its accepted value remains visible
2845
2871
  | Routing | `recovery.control_timeout_s` (30-300 seconds, default 30) | `config.local.json` | next use; the next control request of the recovery coordinator to a hub reads it |
2846
2872
  | Routing | `recovery.shutdown_wait_s` (30-300 seconds, default 30) | `config.local.json` | next use; the next wait for a committed source to stop reads it once, at its start |
2847
2873
  | Routing | `recovery.terminal_idle_wait_s` (30-600 seconds, default 120) | `config.local.json` | next use; the next wait for a terminal to go idle before it is closed reads it |
2848
- | Start | `adapter_timing.acp_tool_ceiling_min` (1-30 minutes, default 30) | `config.local.json` | next use; a new ACP launch captures it; effective ceiling is at least the watchdog |
2874
+ | Start | `adapter_timing.acp_tool_ceiling_min` (1-120 minutes, default 60) | `config.local.json` | next use; a new ACP launch captures it; effective ceiling is at least the watchdog |
2849
2875
  | Start | `adapter_timing.acp_activity_batch_ms` (10-50 ms, default 50) | `config.local.json` | next use; a new ACP launch captures its activity batch delay; pending flushes are unchanged |
2850
2876
  | Start | `adapter_timing.jcode_steer_timeout_s` (5-60 seconds, default 5) | `config.local.json` | next use; a new Jcode launch captures one total native steer deadline |
2851
2877
  | Routing | `model_relay.cooldown_failures` (1-100, default 3) | `config.local.json` | restart; consecutive transport/startup failures before cooling an alias |
@@ -2962,9 +2988,20 @@ primitive option values for Kimi/generic ACP and Jcode, including Jcode's inheri
2962
2988
  ACP options. An accepted edit leaves active tool ceilings, pending activity
2963
2989
  flushes and native steer deadlines unchanged until a new peer starts.
2964
2990
 
2965
- The open-tool ceiling defaults to the legacy 30 minutes, can only tighten, and
2966
- remains `max(watchdogMs, configured ceiling)` with remaining-only rearming. The
2967
- activity delay defaults to the legacy 50 ms and never exceeds that buffer window;
2991
+ The open-tool ceiling defaults to 60 minutes, because this repository's own
2992
+ instructions expect a gate run to wait up to 50 (`dot remote verify --wait 50m`);
2993
+ it can be tightened or raised, and remains `max(watchdogMs, configured ceiling)`
2994
+ with remaining-only rearming, so a tool call that reports no progress for those
2995
+ minutes still ends the turn. A turn the ceiling cancels names its cause: hub.log
2996
+ gets the ceiling and its minutes for a configured kind whose own native
2997
+ diagnostics stay withheld, plus the launch that restarts that peer (`ahub jcode`,
2998
+ or `ahub jcode --as <peer>` for an extra instance) and the held row it leaves
2999
+ behind; a private turn's tool titles stay withheld with them. That restart brings
3000
+ the peer back but does not redeliver the cancelled delivery, so the person settles
3001
+ it with the command `ahub queue show <id>` prints, after
3002
+ `ahub queue list --peer <peer>` names the row.
3003
+
3004
+ The activity delay defaults to the legacy 50 ms and never exceeds that buffer window;
2968
3005
  its 4096-character threshold and privacy handling stay fixed. Jcode's default
2969
3006
  5-second steer deadline can only rise, and one absolute timer covers all native
2970
3007
  phases; pre-send refusals and post-send uncertainty retain their existing fences.
@@ -3437,6 +3474,26 @@ source has not reported yet says which. `--json` carries `kind`, `source`, `supe
3437
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).
3438
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.
3439
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
+
3440
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
3441
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
3442
3499
  still decides. For a paused peer `ahub budget` adds the account diagnostics that read allows: reset credits available with their earliest expiry
@@ -3521,9 +3578,10 @@ them automatically.
3521
3578
 
3522
3579
  For an ACP peer (headless Kimi, Qwen, Jcode) a tool call that was announced and
3523
3580
  has not completed or failed counts as running work, not silence: the inactivity
3524
- watchdog (`watchdog_ms`) keeps the turn alive up to a 30 min tool ceiling (never
3525
- below `watchdog_ms`) since the peer's last output, then cancels the turn as
3526
- before and logs which open tool call was silent (#542).
3581
+ watchdog (`watchdog_ms`) keeps the turn alive up to the open-tool ceiling
3582
+ (`adapter_timing.acp_tool_ceiling_min`, default 60 min since #1601, never below
3583
+ `watchdog_ms`) since the peer's last output, then cancels the turn as before and
3584
+ logs which open tool call was silent (#542).
3527
3585
 
3528
3586
  After the inactivity watchdog cancels a Codex turn, a late acceptance, answer or
3529
3587
  completion from that turn is dropped and never reaches a later audience; its
@@ -3731,7 +3789,10 @@ deadline once, and a deadline after a told result ends silently (#540). Cancelle
3731
3789
  attempts and a draft PR's deferred `check (macos-latest)` are pending to this watcher,
3732
3790
  not failures; it keeps watching for a replacement run. After `gh pr ready`, an older
3733
3791
  macOS aggregate failure stays pending while a newer same-workflow macOS shard is queued
3734
- or running (#1490). If GitHub returns multiple
3792
+ or running (#1490). Review admission accepts this repository's draft head when Ubuntu,
3793
+ seeded guards and the other required checks pass and the failed macOS aggregate's
3794
+ exact-head job proves its draft-deferral step was the only failure (#1576); merge
3795
+ still needs the full macOS gate. If GitHub returns multiple
3735
3796
  rows for one check, the hub uses an older-run filter only when workflow identity and
3736
3797
  start times identify one unique latest run; ambiguous duplicates cannot establish a
3737
3798
  pass (#1527). On the result the owner and the reviewer each get one
@@ -3752,7 +3813,7 @@ why. Unreserved cards, cards reserved for another peer and private (PII) cards a
3752
3813
  never pulled. One card per trigger, as the hub for the card's own planner of record:
3753
3814
  the history entry reads `by: hub` with that planner and a reason of the form
3754
3815
  `auto_pull: <cause> for <peer>; hub acted for planner <planner>`. The cause is
3755
- `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
3756
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
3757
3818
  the other machine-local policies it is ignored there with a log line.
3758
3819
 
@@ -3904,7 +3965,7 @@ The [0.27.0 ACP receipt](verification/2026-11-09-qwen-0270-acp.md) records passi
3904
3965
  ACP/permission/lifecycle checks after explicit runtime-state fence rulings, separately preserving earlier
3905
3966
  controller preflight failures. Its [model-setter check](verification/2026-11-09-qwen-0270-model-setter-1317.md)
3906
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.
3907
- 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).
3908
3969
 
3909
3970
  ### Receipt automation audit (#1248 T0)
3910
3971
 
@@ -4387,7 +4448,7 @@ release. The global CLI is promoted last.
4387
4448
 
4388
4449
  A lost commit or start reply is reconciled against the actual daemon identity,
4389
4450
  package digest, terminal binding, and phase receipt. An uncertain terminal
4390
- creation is never repeated blindly. Recovery retains the exact-pinned first-party memory package with the preserved runtime, includes its identity and bytes in the digest, and refuses missing, symlinked or changed retained dependencies instead of resolving a mutable ancestor/global installation. It does not copy the full dependency tree.
4451
+ creation is never repeated blindly. Recovery retains the first-party memory package with the preserved runtime, includes its identity and bytes in the digest, and refuses missing, symlinked or changed retained dependencies instead of resolving a mutable ancestor/global installation. It does not copy the full dependency tree.
4391
4452
 
4392
4453
  After creating a managed terminal, the coordinator saves its exact handle, incarnation and worktree before waiting up to 600 seconds (10 minutes) for authenticated attachment to the expected target hub and conversation. A pending or failed creation receipt also waits when the current target has a verified live launcher; its saved binding retains the pending/failed origin across interruption. An idle terminal alone is not attachment proof: after idle, the coordinator re-reads the launch record and Orca's identity every second within the same bound, until the terminal maps to the expected session or contradicts it (#599). Without a current launch record, a confirmed-ended row for another terminal and an attached session still reporting no id keep the chosen terminal waiting within the same bound; a late matching record continues that wait. Live replacement and unreadable records still block. Only non-offline session ids count, and older-instance launchers are checked before declaring a launch gone. Timeout retains the binding and diagnostic receipt; resume waits on that same binding rather than opening a duplicate.
4393
4454
 
@@ -5842,7 +5903,8 @@ selected roster and existing capabilities; the TUI is always a person's start.
5842
5903
  The [2026-11-10 account-free receipt](verification/2026-11-10-qwen-0270-dual-output.md)
5843
5904
  qualifies exact 0.27.0 against matched private 0.26.1 on macOS arm64; the
5844
5905
  [0.27.1 receipt](verification/2026-11-10-qwen-0271-dual-output.md) repeats the same
5845
- 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
5846
5908
  Q2 has two user/final-Stop/ordinary-provider turns after owned stop; Q3's five
5847
5909
  permission cases, unread-FIFO Q5, same-session/no-replay/assistant-context Q6 and
5848
5910
  identity/guard Q7 also passed, with final closure and protected/artifact/source
@@ -5854,7 +5916,7 @@ turns, this repository's live dual-output TUI use, Linux and lifetime containmen
5854
5916
  remain unverified; the basic ACP/setter contracts and automation eligibility are
5855
5917
  separate.
5856
5918
 
5857
- 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
5858
5920
  is insufficient: startup verifies its native identity/version and advertised mode
5859
5921
  ids before any prompt. The earlier local installation reported CLI 0.25.0 while
5860
5922
  its package/ACP source said 0.24.1; that was not a ready identity. The 0.26.0 receipt
@@ -5892,7 +5954,7 @@ ahub jcode to get its TUI back`.
5892
5954
 
5893
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.
5894
5956
 
5895
- 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).
5896
5958
 
5897
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.
5898
5960
 
@@ -5901,7 +5963,7 @@ TUI input may interleave with an ACP turn; there is no single-writer guard. Clos
5901
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.
5902
5964
 
5903
5965
 
5904
- 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.
5905
5967
 
5906
5968
  ## Optional Antigravity (agy) peer
5907
5969
 
@@ -6116,7 +6178,7 @@ Use the revision actually returned by `show`; the numbers above are examples.
6116
6178
  New/edit also accept `--order` and `--parent`; `--target none` or `--parent none`
6117
6179
  clears that field. `unlink <id> <kind> <ref>` removes a link. The configured
6118
6180
  planners, current unique conductor and the person may edit. Only the person
6119
- 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
6120
6182
  content. Terminal milestones are final.
6121
6183
 
6122
6184
  Explicit task links take precedence over issue inheritance across all milestones.
@@ -6151,6 +6213,20 @@ proposed milestones and link open issues. Imports are idempotent, partial reads
6151
6213
  are marked, and nothing is written back to GitHub. See the [bottom-up placement
6152
6214
  contract](design/roadmap.md#bottom-up-placement-r3).
6153
6215
 
6216
+ ### Decomposition (R2)
6217
+
6218
+ `ahub roadmap decompose <id>` asks the configured planner or unique conductor's
6219
+ hub model how one milestone decomposes, reading only the milestone's public title
6220
+ and outcome, the goal or architecture specs it links and the issues it links. Each
6221
+ proposed part cites an id it was shown and says whether it needs its own spec
6222
+ issue or goes straight to a task; an answer that cites nothing it was shown is
6223
+ dropped whole. The kept parts are saved as one pending model answer per milestone,
6224
+ so a second run supersedes the first. Proposing intakes, links and publishes nothing.
6225
+ `ahub roadmap decompose <id> --accept <part>` holds one proposed part as a backlog
6226
+ intake draft linked to the milestone, carrying its spec or task kind; nothing offers,
6227
+ pulls or routes it until the person releases it with `ahub intake approve`, and
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).
6229
+
6154
6230
  ## Planning and phased releases (#263)
6155
6231
 
6156
6232
  Use `ahub backlog list` to read public staged work (a table by rank with the reserved owner, dependencies and cut titles, then a count by reserved owner; `--full` and piped output keep whole titles and `--json` prints the raw listing), then `ahub backlog plan <id>
@@ -6390,7 +6466,7 @@ tokens remain character-independent. Native glyph width and tmux are unverified.
6390
6466
 
6391
6467
  ## Dashboard views and attention (#391, replaces the #280 in-page character)
6392
6468
 
6393
- Top buttons select Board, Office, Stream, Agents, Message, Memory or Settings
6469
+ Top buttons select Board, Office, Stream, Agents, Message, Memory, Settings or Roadmap
6394
6470
  within the same page. The selected view and board column focus use the shared
6395
6471
  host-scoped cookie helper; the URL fragment remains reserved for the session
6396
6472
  ticket. Sections are hidden rather than fetched separately. Projects and
@@ -6599,7 +6675,7 @@ Default-branch capture runs only at daemon startup when a Claude implementer is
6599
6675
 
6600
6676
  Project Git retains the core policy that clears credential.helper and core.askpass; an HTTPS push needing those helpers may fail, rather than importing credentials or relaxing that policy. Task branch/config proof reads are bounded synchronous reads (1.5 seconds per reader); slow or unknown evidence asks. The existing sandbox profile discovery is also synchronous; moving it to an asynchronous inventory proof with a shared deadline remains a follow-up. The nonce is visible in a permission response, so it proves a bounded grant rather than native-dispatch provenance.
6601
6677
 
6602
- The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) covers Claude Code 2.1.309, and the [2.1.310 receipt](verification/2026-10-26-claude-implementer-2.1.310.md) repeats it on 2.1.310 (with 2.1.309 as a control), and the [2.1.314 receipt](verification/2026-10-31-claude-implementer-2.1.314.md) repeats it and the host-wrapper procedure on 2.1.314 (with 2.1.310 as a control), and the [2.1.316 receipt](verification/2026-10-31-claude-implementer-2.1.316.md) repeats both on 2.1.316 (with 2.1.314 as a control), and the [2.1.318 receipt](verification/2026-11-05-claude-implementer-2.1.318.md) repeats both on 2.1.318 (with 2.1.316 as a control), and the [2.1.319 receipt](verification/2026-11-06-claude-implementer-2.1.319.md) repeats both on 2.1.319 (with 2.1.318 as a control), and the [2.1.322 receipt](verification/2026-11-10-claude-implementer-2.1.322.md) repeats both on 2.1.322 (with 2.1.319 as a control), and the [2.1.323 receipt](verification/2026-11-13-claude-implementer-2.1.323.md) repeats both on 2.1.323 (with 2.1.322 as a control), each with a deterministic loopback fixture and no real account/model call. It is not sandbox proof or a runtime receipt gate. The real account/model/person interaction remains a separate live leg.
6678
+ The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) covers Claude Code 2.1.309, and the [2.1.310 receipt](verification/2026-10-26-claude-implementer-2.1.310.md) repeats it on 2.1.310 (with 2.1.309 as a control), and the [2.1.314 receipt](verification/2026-10-31-claude-implementer-2.1.314.md) repeats it and the host-wrapper procedure on 2.1.314 (with 2.1.310 as a control), and the [2.1.316 receipt](verification/2026-10-31-claude-implementer-2.1.316.md) repeats both on 2.1.316 (with 2.1.314 as a control), and the [2.1.318 receipt](verification/2026-11-05-claude-implementer-2.1.318.md) repeats both on 2.1.318 (with 2.1.316 as a control), and the [2.1.319 receipt](verification/2026-11-06-claude-implementer-2.1.319.md) repeats both on 2.1.319 (with 2.1.318 as a control), and the [2.1.322 receipt](verification/2026-11-10-claude-implementer-2.1.322.md) repeats both on 2.1.322 (with 2.1.319 as a control), the [2.1.323 receipt](verification/2026-11-13-claude-implementer-2.1.323.md) repeats both on 2.1.323 (with 2.1.322 as a control), and the [2.1.328](verification/2026-11-19-claude-implementer-2.1.328.md) and [2.1.329](verification/2026-11-20-claude-implementer-2.1.329.md) receipts repeat both on those versions (each with 2.1.323 as a control), each with a deterministic loopback fixture and no real account/model call. It is not sandbox proof or a runtime receipt gate. The real account/model/person interaction remains a separate live leg.
6603
6679
 
6604
6680
  A headless Claude reviewer is run by the hub instead (task 223): declare
6605
6681
  `"claude-review": { "kind": "claude", "roles": ["reviewer"], "start_mode": "headless" }`
@@ -6737,7 +6813,7 @@ Native launcher connections retry transport timeouts/unclean closes with bounded
6737
6813
 
6738
6814
  ## amem runtime (agent-mem#13 P4)
6739
6815
 
6740
- The hub exact-pins @staix/agent-mem <!-- facts:agent-mem-pin -->0.30.0<!-- /facts:agent-mem-pin --> for recall, curated evidence and local deterministic capture. No runtime call reaches a claude-mem worker; `memory.worker_url` is ignored. The person's `ahub memory import claude-mem` remains explicit and off by default. Existing profile, alias, PII and private-turn fences still apply. `ask --remember` and context checkpoints propose machine-local candidates, never automatic curated evidence. See [memory integration](memory.md#in-process-recall-and-capture-agent-mem13-p4) for changed behavior and bounded-view ceilings.
6816
+ The hub accepts @staix/agent-mem <!-- facts:agent-mem-pin -->>=0.33.0 <1.0.0<!-- /facts:agent-mem-pin --> (a range `bun.lock` resolves; a newer plain release in it with a supported host API needs no hub release) for recall, curated evidence and local deterministic capture. No runtime call reaches a claude-mem worker; `memory.worker_url` is ignored. The person's `ahub memory import claude-mem` remains explicit and off by default. Existing profile, alias, PII and private-turn fences still apply. `ask --remember` and context checkpoints propose machine-local candidates, never automatic curated evidence. See [memory integration](memory.md#in-process-recall-and-capture-agent-mem13-p4) for changed behavior and bounded-view ceilings.
6741
6817
 
6742
6818
  ## Person-run backlog legs (#1176)
6743
6819
 
@@ -6844,8 +6920,10 @@ continuation uses only bounded current actor/privacy checks; unrelated public
6844
6920
  board writes do not invalidate it. Changed or unreadable authority evidence
6845
6921
  stops the next effect and leaves the operation for the person.
6846
6922
 
6847
- An upgrade digest includes the exact staged `@staix/agent-mem` package from its
6848
- 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.
6849
6927
  Protected or restart-bound source config/routing edits that have not been
6850
6928
  accepted remain person-only. The replacement validates the captured inputs
6851
6929
  before adapter imports and uses the sealed source fallback for startup routing.
@@ -7241,7 +7319,7 @@ settled stubs fit the current response ceiling.
7241
7319
 
7242
7320
  ## Handing work to another project (#604, agent-hub#1030)
7243
7321
 
7244
- Work that belongs to another repository that runs agent-hub on this machine goes onto that repository's board, not into this session. Its own roles plan, implement and review it, and each state change it reaches is reported back here. The first case: after a library you maintain publishes a release, raising its exact pin in a consumer belongs on the consumer's board.
7322
+ Work that belongs to another repository that runs agent-hub on this machine goes onto that repository's board, not into this session. Its own roles plan, implement and review it, and each state change it reaches is reported back here. The first case: after a library you maintain publishes a release that a consumer's declared range does not cover, raising it in the consumer belongs on the consumer's board.
7245
7323
 
7246
7324
  ```
7247
7325
  ahub task handoff --project <root|id> [<class>] <title...> [--path <p>]... [--issue <n>] [--task <n>] [--detail <text>] [--duplicate-ok <reason>] [--key <uuid>]
@@ -7381,11 +7459,11 @@ Corrupt or unreadable provenance stays unknown and held. The status next step di
7381
7459
 
7382
7460
  A ready memory profile does not prove a successful sync. Read the separate automatic-sync result and timestamp in `ahub status` or Memory. It resets to not run after daemon restart; it is not a machine-global record of manual CLI attempts. Missing remote configuration (shared v1, generation and sharded homes alike) is the neutral `not-configured` state; an interrupted/stopped attempt is neutral `stopped`. Both keep their safe next step and produce no failure log under `quietSyncError`.
7383
7461
 
7384
- For policy-declined rows, a person or an agent shell runs `ahub memory declined --json` to inspect IDs and safe rule categories, never note text. The pinned agent-mem 0.30.0 public `inspectSyncPolicy` API bounds physical outbound inspection for shared-v1 and generation profiles. A complete result supplies the declined IDs and rules; `complete:false` means the scan is unavailable, stale or over its diagnostic bound, not zero declined rows. The command stays read-only and rechecks its profile binding. No migration or policy edit is performed automatically.
7462
+ For policy-declined rows, a person or an agent shell runs `ahub memory declined --json` to inspect IDs and safe rule categories, never note text. The agent-mem public `inspectSyncPolicy` API (0.32.1 and later) bounds physical outbound inspection for shared-v1 and generation profiles. A complete result supplies the declined IDs and rules; `complete:false` means the scan is unavailable, stale or over its diagnostic bound, not zero declined rows. The command stays read-only and rechecks its profile binding. No migration or policy edit is performed automatically.
7385
7463
 
7386
- The hub projects verified withheld/exported counts when a trusted SDK sync returns a successful placement result. That projection is covered by an injected-result fixture, not an activated-store sync. Agent-mem requires a fresh `placementAttestation` even for an already active v3 store; since 0.35.0 the daemon builds one with the package's own `createPlacementAttestation` on every sync pass and supplies no writer facts of its own, so no attestation is fabricated. A refused attestation is the closed cause `writer` in status, the dashboard and the log: its category, its cause class (`missing`, `changed`, `unavailable`) and the next step (repair the amem install and its host pin, then a person runs `amem migrate --sync-placement --dry-run`). Activation remains a person-run action. A nonzero withheld count in a successful result is not a transport failure and does not mean those rows were deleted, rewritten or published. Inspect the IDs and rules before deliberately changing any source or approved policy; a forget operation does not remove its original text from physical history.
7464
+ The hub projects verified withheld/exported counts when a trusted SDK sync returns a successful placement result. That projection is covered by an injected-result fixture, not an activated-store sync. Agent-mem requires a fresh `placementAttestation` even for an already active v3 store; since 0.35.0 the daemon builds one with the package's own `createPlacementAttestation` on every sync pass and supplies no writer facts of its own, so no attestation is fabricated. A refused attestation is the closed cause `writer` in status, the dashboard and the log: its category, its cause class (`missing`, `changed`, `unavailable`) and the next step (repair the amem install and its host pin, then a person runs `amem migrate --sync-placement --dry-run`). An in-place agent-mem patch upgrade inside the declared range turns the writer proof to `changed` the same way, because placement records each writer's installed version and file hash, and it stays that way until a person re-runs `amem migrate --sync-placement --dry-run`. Activation remains a person-run action. A nonzero withheld count in a successful result is not a transport failure and does not mean those rows were deleted, rewritten or published. Inspect the IDs and rules before deliberately changing any source or approved policy; a forget operation does not remove its original text from physical history.
7387
7465
 
7388
- A legacy store without active per-row placement still blocks a sync containing declined rows. Status names inactive placement and the person-only `amem migrate --sync-placement --dry-run` preview, which requires every local writer installation through repeatable `--writer-root` flags. It keeps `ahub memory declined` as the safe inspection step. The native CLI supports activation from 0.22.0; the pinned core is 0.30.0. See the [activation preview and prerequisites](memory.md#automatic-sync-health-1173) before any separately authorized apply. Preview writes nothing, and activation does not migrate layouts, change policy or automatically raise a format floor. The hub does not invoke it or fabricate its proof.
7466
+ A legacy store without active per-row placement still blocks a sync containing declined rows. Status names inactive placement and the person-only `amem migrate --sync-placement --dry-run` preview, which requires every local writer installation through repeatable `--writer-root` flags. It keeps `ahub memory declined` as the safe inspection step. The native CLI supports activation from 0.22.0; the declared core floor is 0.33.0. See the [activation preview and prerequisites](memory.md#automatic-sync-health-1173) before any separately authorized apply. Preview writes nothing, and activation does not migrate layouts, change policy or automatically raise a format floor. The hub does not invoke it or fabricate its proof.
7389
7467
 
7390
7468
  The bounded diagnostic addresses #1173 AC4; AC5 has result projection and the host attestation. Whether an activated store syncs on a person's machine is not established by the isolated fixtures.
7391
7469
 
@@ -7574,3 +7652,40 @@ Kimi has no verified typed quota error frame. The narrow exception requires a hu
7574
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.
7575
7653
 
7576
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.44.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,18 @@ 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
+
63
+ ## Upgrading to 0.45.0
64
+
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.
66
+
67
+ `ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.45.0` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
68
+
57
69
  ## Upgrading to 0.44.0
58
70
 
59
71
  The memory library moves to agent-mem 0.30.0. No memory home or sync format floor is raised automatically; coordinate any later floor change across every installation sharing the home. Sandboxed commands get writable Bun and npm caches when the caller has not set their paths. Ready reserved backlog work can now be pulled automatically when it becomes eligible.
@@ -303,7 +315,7 @@ Upgrading from 0.12.36 or earlier, the 0.12.37 notes below also apply.
303
315
 
304
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).
305
317
 
306
- 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`.
307
319
 
308
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).
309
321
 
@@ -502,7 +514,7 @@ More: `ahub help`. How it is built and why: [`docs/specs/2026-09-19-agent-hub-de
502
514
 
503
515
  ## Shared memory
504
516
 
505
- The hub exact-pins the first-party `@staix/agent-mem` <!-- facts:agent-mem-pin -->0.30.0<!-- /facts:agent-mem-pin --> core, including deterministic capture; no claude-mem worker is needed. Existing shared-v1 memory remains the default; upgrading does not migrate it. Managed agents use screened `hub_memory_search`, `hub_memory_show` and `hub_memory_graph` tools, or propose a correction with `hub_memory_correct`; only a person accepts candidates through the supported `amem review` path. Since agent-mem 0.7.0, `amem review` also accepts candidates on a selected generation.
517
+ The hub accepts the first-party `@staix/agent-mem` <!-- facts:agent-mem-pin -->>=0.33.0 <1.0.0<!-- /facts:agent-mem-pin --> core as a range below the next major: a plain release inside it with a supported host API needs no hub release, and the lockfile resolves one release. That includes deterministic capture; no claude-mem worker is needed. Existing shared-v1 memory remains the default; upgrading does not migrate it. Managed agents use screened `hub_memory_search`, `hub_memory_show` and `hub_memory_graph` tools, or propose a correction with `hub_memory_correct`; only a person accepts candidates through the supported `amem review` path. Since agent-mem 0.7.0, `amem review` also accepts candidates on a selected generation.
506
518
 
507
519
  Before any real generation migration, upgrade every hub sharing that memory home to 0.12.30 or later and check its authenticated binding with `ahub memory profile-check` in each custom registry. Ready bindings prove compatibility, not an atomic live cutover: quiesce consumers and close their handles before migrating, then reopen through the supported session-preserving lifecycle. Invalid or changed profiles disable native memory without falling back to legacy writes; the bus and board continue. See [memory operations](operations.md#hub-memory) for the remaining rollout gates.
508
520
 
package/docs/research.md CHANGED
@@ -36,6 +36,8 @@ held record lacked, and a held v2 row written before `ownerModels` existed (#140
36
36
  `ahub research backfill` can prove an owner model from the surviving events (readers keep the latest row of a task). A v2 row also replaces a held v1 row of the same task. A failing write is one `hub.log` line per hub run and
37
37
  never changes the task flow.
38
38
 
39
+ The live writer does not read `events.jsonl` from byte 0 at each closure (#1555 AC5). One catch-up pass over the bytes appended since the last closure (the first closure after a hub start reads the file once) keeps, for each task id, the byte offset of its latest proposal and the cross-task state as of that offset: which peers are attached, their add-on fingerprints, whether the log reports briefs at all, and the first hub run that attributes person events. A closing task then reads only its own slice from that offset, skips `quota` rows (no record field reads one), and ignores a usage row whose key the log counted before the slice. A task whose proposal the tail does not hold, or an id the log started more than once, is read whole, as before. The row is the same one the whole-file fold gives for that task, byte for byte (`test/research-slice.test.ts`); a difference is a defect.
40
+
39
41
  `ahub research backfill` builds the same records from a project's existing `events.jsonl` (marked
40
42
  `writer.source: "backfill"`), reading every event attributed to a task, and appends those the store does not hold yet.
41
43
  It is for tasks approved before research was on: a record it writes is final, so running it while a live record still
@@ -97,6 +99,20 @@ delivery is created no later than it is updated), and treats the journal as unkn
97
99
  | `stalls` | persisted idle-ladder entries on the task's history (the stall table itself is cleared when a task closes); null without the board |
98
100
  | `handoffs` | `in`, `out` from the handoff tables |
99
101
  | `cohort` | `silent`, `advisory` or `none` |
102
+ | `edits` | #1556 T2, text-free counts folded from `turn_end.edits` of the owner turns of a non-PII task: `observability` (`hook_and_tree`, `stream_and_tree`, `tree_only`, `unknown`), `policyArm`, `editTool` and `shellRoute` (`total`, `verifiedFullRead`, `partialReadOnly`, `blindOrStale`, and `occRejected` or `blockedByGuard`), `unattributedTreeWrites`, `postEdit`. `editTool` and `shellRoute` are null, never 0, when no hook or stream saw the task's tool calls (`tree_only`) or the log holds no edit evidence; `quality.json` then counts each of their leaves as unknown. Live writer and `ahub research backfill` fold the same events with one function, so the rows are byte-identical. A row written before this has no block and reads as unknown |
103
+
104
+ When a write's pre-image is unavailable, its route total remains known but all three read-grade fields are null. A task mixing observability kinds has unknown route totals instead of partial counts. A tree-write or post-edit total is null when any contributing turn lacks that evidence.
105
+
106
+ ### Edit-governance factorial analysis
107
+
108
+ `groupEditRates` reads the latest task records and groups only an unambiguous single owner, owner model, family and recorded arm. Private records are withheld; missing or ambiguous identity and unknown arms are counted as unknown. `policyArm` is the last recorded turn arm, not proof that all turns used that arm; model evidence grades remain visible.
109
+
110
+ The five labels are `baseline`, `soft_guidance`, `route_guard`, `occ_guard` and `combined_guard`. For each group, `p = S / (E + S)`, `b_E = E_blind_or_stale / E`, `b_S = S_blind_or_stale / S`, and `B = (1-p)b_E + p b_S`. Partial reads are reported separately and are not silently added to blind or stale. The sensitivities are `b_S - b_E` and `p`. Missing counts, invalid counts, a zero denominator, or unknown or nonzero unattributed tree writes make the affected result null, never zero.
111
+
112
+ `editFactorial` compares baseline, route, OCC and combined rates as descriptive arithmetic; `editFactorialGroup` also requires the same family, owner model and task class on all four groups. Neither result establishes causal comparability; a separately preregistered and evidenced design is needed. `editMarginalBenefit` computes the declared formula only from caller-supplied costs, deltas and penalties and never selects a live arm.
113
+
114
+ `C_success` stays unknown until a later spec defines measured, unit-consistent cost components; `quality.json` reports `fields["edits.costPerVerifiedSuccess"]` as null and counts every v2 task as unknown. `editSuccessCost` accepts caller-supplied component totals only when execution, verification, rework and human costs have separate evidence, the same unit and identical task sets, and the caller supplies an evidenced nonempty verified-success subset. These are declared inputs, not a host verification; aggregate TaskRecord tokens or time are never substituted.
115
+
100
116
 
101
117
  The record reads the board through a read-only handle (`readEvidence`): titles, details, plans, refs and notes are never
102
118
  decoded, and the journal's envelope bodies are never read.
@@ -0,0 +1,4 @@
1
+ {
2
+ "version": 1,
3
+ "milestones": []
4
+ }
@@ -0,0 +1,9 @@
1
+ # Roadmap
2
+
3
+ Generated from the public roadmap view.
4
+
5
+ ## Now
6
+
7
+ ## Next
8
+
9
+ ## Later