@staix/agent-hub 0.46.0 → 0.47.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 (132) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/README.md +8 -4
  3. package/docs/adding-an-ai-tool.md +20 -4
  4. package/docs/agent-notes/adapters.md +3 -3
  5. package/docs/agent-notes/benchmarks.md +7 -1
  6. package/docs/agent-notes/daemon.md +6 -5
  7. package/docs/agent-notes/tasks.md +4 -2
  8. package/docs/agent-notes/tests.md +3 -0
  9. package/docs/contracts/companion-cli-v1.json +3 -0
  10. package/docs/data-policy.md +9 -0
  11. package/docs/design/adapters.md +14 -0
  12. package/docs/design/cli-output-inventory.md +362 -0
  13. package/docs/design/cli-output.md +42 -1
  14. package/docs/design/execution-reference.md +5 -2
  15. package/docs/design/guidance-probes.md +2 -2
  16. package/docs/design/refusal-inventory.md +26 -0
  17. package/docs/design/roadmap.md +4 -0
  18. package/docs/design/task-board.md +17 -1
  19. package/docs/dogfood.md +26 -10
  20. package/docs/events.md +9 -0
  21. package/docs/friction.md +46 -0
  22. package/docs/memory.md +35 -3
  23. package/docs/operations.md +63 -15
  24. package/docs/profiles.md +1 -0
  25. package/docs/quickstart.md +14 -2
  26. package/docs/roles.md +6 -0
  27. package/docs/sdlc.md +44 -1
  28. package/docs/security.md +16 -7
  29. package/docs/specs/2026-09-19-agent-hub-design.md +17 -0
  30. package/docs/specs/2026-09-19-multi-project-design.md +7 -1
  31. package/docs/verification/2026-11-24-0.46.1.md +48 -0
  32. package/docs/verification/2026-11-25-agy-1.5.16.md +31 -0
  33. package/docs/verification/2026-11-25-claude-implementer-2.1.332.md +47 -0
  34. package/docs/verification/2026-11-25-codex-0172-reviewer-isolation.md +47 -0
  35. package/docs/verification/2026-11-25-kimi-272-reviewer-compat.md +38 -0
  36. package/docs/verification/2026-11-25-kimi-tui-272.md +14 -0
  37. package/docs/verification/2026-11-25-pi-160-compat.md +40 -0
  38. package/docs/verification/2026-11-26-0.47.0.md +43 -0
  39. package/docs/verification/2026-11-26-codex-0172-reviewer-tool-call.md +29 -0
  40. package/docs/verification/dogfood/2026-11-24.md +2829 -0
  41. package/docs/verification/pi-160-model-free.ts +57 -0
  42. package/docs/verification/pi-160-native.mjs +21 -0
  43. package/docs/verified.json +43 -31
  44. package/package.json +2 -2
  45. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  46. package/plugins/agent-hub/kimi-hook.js +679 -134
  47. package/plugins/agent-hub/server.js +776 -154
  48. package/src/adapters/acp.ts +5 -0
  49. package/src/adapters/channel-peer.ts +7 -0
  50. package/src/adapters/claude-print-child.ts +27 -5
  51. package/src/adapters/codex-appserver.ts +9 -0
  52. package/src/adapters/compat.ts +12 -11
  53. package/src/adapters/configured-acp.ts +45 -2
  54. package/src/adapters/configured-print.ts +163 -0
  55. package/src/adapters/conformance/index.ts +1 -0
  56. package/src/adapters/conformance/print.ts +57 -0
  57. package/src/adapters/definitions/native-activity.ts +57 -0
  58. package/src/adapters/definitions/native-factories.ts +4 -2
  59. package/src/adapters/jcode.ts +10 -2
  60. package/src/adapters/local-worker.ts +2 -0
  61. package/src/adapters/registry-types.ts +5 -3
  62. package/src/adapters/role-eligibility.ts +5 -0
  63. package/src/cli/bench.ts +2 -1
  64. package/src/cli/broker.ts +2 -1
  65. package/src/cli/capabilities-output.ts +10 -14
  66. package/src/cli/configured-acp-entry.ts +10 -2
  67. package/src/cli/console-state.ts +25 -5
  68. package/src/cli/error-format.ts +2 -0
  69. package/src/cli/guidance.ts +1 -1
  70. package/src/cli/handoff-output.ts +20 -17
  71. package/src/cli/help.ts +78 -40
  72. package/src/cli/init-settings.ts +15 -0
  73. package/src/cli/intake-output.ts +13 -13
  74. package/src/cli/launch.ts +3 -2
  75. package/src/cli/learn-output.ts +40 -21
  76. package/src/cli/main.ts +148 -77
  77. package/src/cli/memory.ts +47 -2
  78. package/src/cli/output.ts +54 -31
  79. package/src/cli/recovery-package.ts +6 -1
  80. package/src/cli/roadmap.ts +2 -2
  81. package/src/cli/room-output.ts +71 -0
  82. package/src/cli/room.ts +19 -33
  83. package/src/cli/schedule-output.ts +20 -19
  84. package/src/cli/sdlc-output.ts +188 -170
  85. package/src/cli/source-output.ts +17 -14
  86. package/src/cli/specs.ts +13 -13
  87. package/src/cli/study-output.ts +66 -69
  88. package/src/cli/task-output.ts +106 -158
  89. package/src/cli/terminal-recovery.ts +2 -1
  90. package/src/cli/upgrade-runtime.ts +2 -1
  91. package/src/cli/warn-line.ts +18 -0
  92. package/src/cli/worktrees-output.ts +25 -23
  93. package/src/hub/audit-source.ts +45 -0
  94. package/src/hub/board.ts +141 -5
  95. package/src/hub/bus.ts +13 -2
  96. package/src/hub/config-apply.ts +14 -1
  97. package/src/hub/config-trust.ts +1 -0
  98. package/src/hub/control-client.ts +1 -1
  99. package/src/hub/daemon.ts +371 -45
  100. package/src/hub/handoff.ts +5 -1
  101. package/src/hub/hub-tools.ts +23 -5
  102. package/src/hub/instance-config.ts +3 -3
  103. package/src/hub/learn-followup.ts +103 -0
  104. package/src/hub/learning.ts +63 -1
  105. package/src/hub/manager.ts +15 -1
  106. package/src/hub/memory-policy.ts +2 -1
  107. package/src/hub/memory-review.ts +217 -0
  108. package/src/hub/peer-activity.ts +37 -0
  109. package/src/hub/peers.ts +3 -0
  110. package/src/hub/project-move.ts +258 -0
  111. package/src/hub/registry.ts +16 -5
  112. package/src/hub/restart.ts +7 -0
  113. package/src/hub/review-brief.ts +8 -4
  114. package/src/hub/review-checkout.ts +26 -0
  115. package/src/hub/review-findings.ts +6 -3
  116. package/src/hub/risk-tier.ts +129 -0
  117. package/src/hub/roadmap-check.ts +1 -0
  118. package/src/hub/routing.ts +3 -1
  119. package/src/hub/sdlc-merge.ts +9 -0
  120. package/src/hub/sdlc-metrics.ts +24 -1
  121. package/src/hub/sdlc-queue.ts +1 -1
  122. package/src/hub/sdlc.ts +15 -6
  123. package/src/hub/settings.ts +2 -0
  124. package/src/hub/spec-readback.ts +136 -0
  125. package/src/hub/specs.ts +1 -1
  126. package/src/hub/task-list-page.ts +1 -1
  127. package/src/hub/tasks.ts +558 -65
  128. package/src/hub/ui.ts +4 -2
  129. package/src/ui/index.html +26 -2
  130. package/src/ui/overview-model.ts +138 -0
  131. package/src/ui/plugin.ts +30 -4
  132. package/templates/roles/ops/project-manager.md +1 -1
package/docs/dogfood.md CHANGED
@@ -13,6 +13,8 @@ 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
+ | Task split reasons (#1647) | source and fixture coverage; active after release and restart | `ahub sdlc metrics` byReason: compare review rounds and tokens per reason against `unset`; count `parallel` refusals in the hub log |
17
+ | Help grammar (#1654 T2) | source and fixture coverage; active after release | `ahub help <command>` lists no repeated usage in Details and no uppercase operand; the help tests and `bun scripts/cli-output-inventory.ts --check` stay green |
16
18
  | 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
19
  | 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
20
  | 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` |
@@ -23,10 +25,11 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
23
25
  | 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
26
  | 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
27
  | 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 |
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` |
28
+ | External merge cost and scan diagnostics (#1555 AC2, #1579) | on here for merge cost: the live readback ran on 2026-11-24 (hub 0.46.x, `hub_sdlc_metrics --since 2026-11-21`, 52 tasks, posted on #1579): `first_pass_check` n=17 (rate 0.882), `ci_runs_at_merge` n=33 (mean 3.18, median 3), `acceptance_to_merge_ms` n=33 (median 8,366,870), `review_rounds_at_merge` n=33, and `merged` read 33 with 19 unknown. The per-source unknown scan counts in `ahub sdlc status` remain source and fixture coverage | 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` |
27
29
  | 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 |
28
30
  | 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 |
29
31
  | Marker-only no-reply guidance (#1550 AC4) | source and fake-agent coverage; available here after release and upgrade | compare status reply hops and queues after upgrade; fake ACP and Codex tests pin marker-only completion |
32
+ | Dashboard Overview view (#1514) | source and fixture coverage (`test/overview.test.ts`); not enabled in the installed hub until release/restart | the Overview's first-pass rate equals `ahub sdlc metrics` on one fixture; an unknown figure reads `unknown`; a private task adds only to the withheld count |
30
33
  | Roadmap milestones (#1479 R1) | source and isolated fixture coverage; not enabled in the installed hub until release/restart | computed public approved/total and cached issue/spec/train counts; unknown evidence stays unknown; private membership is count-only; real control/CLI, CAS, inheritance, privacy and conditional recovery tests |
31
34
  | 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 |
32
35
  | 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 |
@@ -36,14 +39,16 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
36
39
  | 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 |
37
40
  | 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 |
38
41
  | 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 |
42
+ | Jcode peer detached from the hub (#1668) | source and fixture coverage after merge and daemon upgrade; a real TUI that reaps the socket and re-serves it is not recorded here, because no Jcode TUI runs on this repository | `ahub status` lists the peer in Attention and `ahub status --json` carries `peers.<id>.detached` with the cause and `ahub jcode` (or `ahub jcode --as <id>`), and a hub-owned launch of that peer clears it; `test/jcode-instance-daemon.test.ts` holds AC1 and AC2 (the record, the clear, a start refused before it reaches the peer that keeps it, and an off-roster hello that records nothing), `test/status-default-view.test.ts` the two renderings, and the refusal text and close code are unchanged with no listener added (AC3) |
39
43
  | 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 |
40
44
  | Cross-project task handoff with state follow-back (#604, `task_handoff`) | on after release and upgrade: `ahub task handoff` and `hub_task_handoff` register work for another registered project that runs agent-hub on this machine as an ownerless proposal on its board; the requesting peer is told each state change as a `kind: task` message. Nothing is queued, and the origin has no authority there | `ahub board --handoffs` lists what this project handed over with the last state each target reported; `ahub board` and `ahub task show` in the target name the origin project and peer; a handoff for a spec issue that already has an open task there is refused with the task ids unless `duplicate_ok` gives a reason, and the receiving conductor can cancel an unaccepted handoff (#1175; the share of refused handoffs and the cancels the person no longer has to run show whether duplicates still reach the board); a handoff the target did not confirm (a timeout, #1203 T1) is reported as `outcome_unknown` with a key and a retry with `--key` files it once, and a follow-back names the target's task (`refs.handoff`) so a local task of the same number cannot drop it (count `outcome_unknown` refusals, and any target task filed twice for one origin: there should be none; from T2 (#733) the origin also asks every 5 minutes and when a target restarts, so a missed notify arrives within a period: compare how long a handoff row stays behind its target (its `updated` against the target's state), and count `changes requested` and `reopened` messages, which used to be silent; from T3 (#734) `ahub task handoff --list` shows each handoff's age and whether its target is reachable, unreachable (with the cause) or moved, `--sync` asks the targets now, a wire-version refusal is `older_target` and an instance mismatch is `mismatch` instead of "not running", and failed notifications or other catch-up failures log one line per target and cause per 15 minutes; a proven-stopped target logs once per state change (#1550 AC2): count the `handoff catch-up of ... failed` and `... skipped` lines in `hub.log` by cause, how often `--list` shows a target unreachable or moved for more than a day, and whether `--sync` is ever needed after a restart (it should not be: the catch-up reads the state within a period); T1 and T2 and T3 of #1203 are now all built; test/handoff-daemon.test.ts runs two real daemons (AC1 to AC5, #1175, the recovery label and #1203 T1 AC1 and AC4, T2 AC2, AC3 and AC5, T3 AC6 and AC7), test/handoff-core.test.ts and test/handoff-board.test.ts hold the pure core and the tables |
41
45
  | Staged project upgrades (#1039) | off: available for the person to upgrade projects independently; this development hub is not upgraded by a fixture | test/published-protocol-compat.test.ts uses both the published 0.25.0 protocol-floor and release N-1 (pinned in `PUBLISHED_FIXTURES`) clients/plugins and reverse daemons; test/staged-upgrade.test.ts checks independent holds and scoped effects; test/staged-runtime-daemon.test.ts checks a real release-root daemon after mutable install removal; test/board-schema-guard.test.ts checks named pre-effect refusal and WAL metadata; `test/project-runtime.test.ts` and `test/project-runtime-lifecycle.test.ts` cover updated resolver retention/refusal and real lifecycle/dashboard routing with synthetic captured daemons; `test/runtime-capture-prune.test.ts` covers references, bounded retention and publication races; `test/upgrade-stopped-project.test.ts` verifies no preservation for stopped projects. These fixtures do not prove published pre-0.26 CLI behavior |
42
46
  | Stopped-project runtime retarget (#1540): `ahub upgrade [--all-stopped] --to <v>` | source and fixture coverage, active after release; this development hub is not upgraded by it, and a real `ahub up` of a retargeted project is not run here | `test/upgrade-stopped-retarget.test.ts`: dry-run rows (retarget, current, running, refused), the verified `runtime.json` rewrite with no daemon, terminal, peer or recovery operation, the start-between-plan-and-write refusals, one staging for the batch and a nonzero exit on a failed retarget; `--yes` waits through a pipe for the recovery operation (AC10) |
43
47
  | Approval head binding and re-review (#1047, #1121) | source/fixture coverage; the #1121 stale-head protections and actionable refusals await release and upgrade; live re-file verification not run | `test/review-head-binding.test.ts` covers both-head refusals, moved-PR commitless re-files and omitted-head stale approvals; `test/task-review-refile.test.ts` covers owner re-submit, reviewer withdrawal, legacy verdict heads, merged/cancelled refusals and held-screen races; `test/sdlc-queue.test.ts` and `test/sdlc-merge.test.ts` reject stale approval at queue and dispatch. `ahub task show <id> --json` exposes `approval.head`, `latestHead`, `mismatch` and `current`; verdict history retains `reviewedHead` |
44
48
  | Default agent set started by `ahub up` (#608, `start.agents`) | off here: this repository's agents are started by their own terminals; it is a machine-local setting and a committed config cannot turn it on. On for a person who runs `ahub setup` and `ahub up` on a project that lists agents. | each `ahub up` prints one line per agent (started, already attached, or the refusal with the manual command); the `peer_start` replies in `hub.log` and the terminal provider's recorded starts show whether a listed agent attached, and `ahub status` shows its state after |
49
+ | Review checkout evidence and brief-file reads (#1646 T2, T3) | `advise` here, so nothing is refused; the evidence and the reviewed-head read work as soon as the daemon is upgraded, and this repository is the case that matters: reviewers read in `.worktrees/review-*` while the project checkout sits on `main`. Enforce-mode refusal (T4, AC3) stays deferred until these records give a measured count | `ahub task show <id> --json` per approved task: `checkout.source` (`peer-cwd` or `project-root`), `checkout.head` and how many reviewed paths it lists as differing or untracked, which is the count T4 waits on; `hub_review_file` returns a brief file's reviewed-head text and refuses a path outside the brief (`test/review-head-evidence.test.ts`), and the rendered brief names both ends as full SHAs (`test/review-brief.test.ts`) |
45
50
  | `ahub down` (counterpart of `ahub up`) | on: an alias of `ahub kill` for stopping this project's hub | the person stops the hub with `ahub down` and `ahub status` then reports it stopped; test/identity.test.ts keeps it person-only (`console`) and labelled `down`, and test/help.test.ts holds its help entry |
46
- | Daemon startup timing and pending readiness (#1232) | isolated source/fixture coverage; the running development hub is unchanged until release and restart | one `startup timings ms:` line per completed startup; representative synthetic benchmark under 5 s with one streaming seed pass, no full-file event read and no abandoned snapshot body read; private copied-state observations and separate bounded rollup I/O are in the startup receipt; fake-clock and real owned-child tests cover the 12 s notice, late confirmation, cancellation and 120 s outer bound |
51
+ | Daemon startup timing and pending readiness (#1232) | isolated source/fixture coverage; the running development hub is unchanged until release and restart | one `startup timings ms:` line per completed startup; representative synthetic benchmark under 5 s with one streaming seed pass, no full-file event read and no abandoned snapshot body read; private copied-state observations and separate bounded rollup I/O are in the startup receipt; fake-clock and real owned-child tests cover the 12 s notice, late confirmation, cancellation and 120 s outer bound; the #1445 reconciliation fixture skips the 1,000 settled tasks, checks only outstanding keys and repairs the same interrupted settlements as a full pass. Compare `post_ready_reconcile` after release and restart |
47
52
  | Person takeover of a channel peer (#1174) | source and isolated fake-session coverage; active after release and plugin upgrade; no live handover receipt yet | one explicit takeover request, old next-tool person-detachment cause, standby attachment identity, no process stop or automatic delivery replay; fake CLI/console authority and stale-generation regressions |
48
53
  | Conductor on the console peers panel (#1414) | on here after release: the peers panel labels the conductor beside the planner from the hub's settled flow roles; fixture coverage only (`test/planner-designation.test.ts`) | the console peer label agrees with `ahub status --json` `roleInfo.<peer>.flowRoles` for the conductor on this repository's hub |
49
54
  | Owner attachment in detailed status (#1310) | on here, display only: `ahub status` and `ahub status --json` name the current owner of an attached channel peer (pid, attach time, native session or `unverified`), withheld from `status.json` and every non-console reader. Coverage is fixture-only so far: a fake hello pid, and the native session through agy `native_facts` fixtures. No live Kimi or Claude plugin attach has been observed | the share of pull-only queue incidents (a queued peer that does not answer) diagnosed from the owner line without inferring the owner from process start times, counted by hand from the incident notes until a record carries it; `test/owner-attachment.test.ts` for the lifecycle (attach, takeover, detach, roster removal, stop) |
@@ -71,7 +76,8 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
71
76
  | Person-only live peer model override (#1317 T1) | source and model-free fake checks passed at the [recorded heads](verification/2026-11-08-live-model-override-1317.md); installed-hub rollout and native model changes unverified | next-turn argv/transport model, unchanged active turns and steering, last desired value, clear/persistence/reset, source and pending status, person-only refusals, unsupported no-write/no-restart, and model_change boundary audit |
72
77
  | Receipt-gated ACP model selection (#1317 T2) | exact headless Kimi 2.5.2 native loopback A/B/clear/A setter passed; installed-hub rollout unrun; Jcode shared-TUI safety unqualified; Qwen 0.26.9/0.27.0 pass [suggestions-off ordinary A/B/A](verification/2026-11-11-qwen-setter-suggestions-off.md), with separate admission pending, so both remain unsupported | current owned identity/version and advertisement, held-turn selection, next-turn setter and admission acknowledgement, baseline clear in fixtures, revoked admission and timeout refusal, reviewer isolation unchanged; native receipts separate account/model use |
73
78
  | Remote isolated check transport (#793) | off here; fake checks, a bounded local Docker transport receipt and a local run of the lockfile-keyed dependency volume; person opt-in, SSH and the live receipt follow separately | remote tests capability unavailable on failed SSH/Docker/image/transfer probe; one networked install per new lockfile key, none on later runs, the check mounting the volume read-only with no network; exact Git receipt, non-root hardened argv, zero Mac dependency copies and confirmed Docker cleanup before lease release; Darwin tar ignores PATH shims, probe warnings do not pollute JSON, bounded probes do not become unknown task-run orphans |
74
- | Task board, routing, roles | on (claude planner, reviewer and implementer; codex, jcode, agy implementers) | board history: lead time from propose to approve, review rounds, escalations; owner new-head re-files and stale-verdict refusals (#1000 fixtures; active after upgrade) |
79
+ | Projects move (#1424) | fixture coverage; no live repository move attempted | preview counts match re-keyed rows and handoff readback; failure after hub.db update restores the original registration |
80
+ | Task board, routing, roles | on (claude planner, reviewer and implementer; codex, jcode, agy implementers) | board history: lead time from propose to approve, review rounds, escalations; owner new-head re-files and stale-verdict refusals (#1000 fixtures; active after upgrade); proposal detail boundary fixture preserves 8000 characters and creates zero tasks on an 8001-character refusal (#1648; active after upgrade) |
75
81
  | Readable `sdlc` output by default (#814 T1, #899) | on after the release: `ahub sdlc status\|explain\|queue\|release\|metrics\|costs\|authorize-release\|merge` print tables and labelled fields here; since #899 `ahub sdlc merge` (guarded merge, dry-run included) prints its report for a person by default and the JSON document only with `--json`, and `ahub doctor --orphans --kill` likewise prints the stopped pids by default and the hub's reply only with `--json`; scripts pass `--json` | the person reading `ahub sdlc status`, `sdlc metrics` and a `sdlc merge --dry-run` report without `--json`; `test/sdlc-output.test.ts` holds every `sdlc merge` outcome's readable default with `--json` byte for byte the pre-#899 output and the exit code unchanged; `test/conductor-cli.test.ts` holds the same for `doctor --orphans --kill`; `test/cli-json-guard.test.ts` lists the CLI paths that still print JSON by default (since #899 only the named data formats: its not-yet-converted list is empty) |
76
82
  | Readable restart, upgrade, recovery and model output by default (#814 T3) | on after the release: `ahub restart --dry-run`, `upgrade --dry-run`, `recovery status`, `models start`, `queue resolve` and `budget execution configure\|disable` print text here; scripts pass `--json` | the person reading a dry-run plan and a recovery status without `--json`; `test/cli-json-guard.test.ts` lists the CLI paths that still print JSON by default (target: only named data formats) |
77
83
  | Conductor-bound recovery continuation and task unassign (task 535, #900) | source/fixture coverage only; whether this repository's running installed daemon advertises the matching `conductor_recovery` feature is unverified | fake source/target authorization, same-actor and policy-mismatch checks, task-unassign actor/suppression fixtures; no native or real-account receipt; same-user key and record replacement remains outside the host boundary |
@@ -81,6 +87,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
81
87
  | Per-task and release planners, I-4 (#525-2) | off until this change is released and the running hub is upgraded; this PR enables no new project planner configuration | task/release planner bindings and selection reasons; wrong-planner pre-effect refusals; independent plan-review requests and `selfReview` receipts; queued notices rerouted after a planner change; `task_planners` recovery refusals |
82
88
  | Acceptance criteria ids in review (#507b) | on after the release: a task with a recorded `criteria` checklist lists its ids in the review request and `hub_review` unmet items that start with an id are recorded as `unmetCriteria`; tasks here rarely record a checklist, so most reviews are unchanged | the `Acceptance criteria` block in a review request and `unmetCriteria` in `ahub task show` history for tasks with a checklist; the share of changes-requested verdicts whose unmet items name an id; unmet items that name an id the checklist does not hold (a typo) |
83
89
  | Recurring unmet criteria candidates (#514a) | on after the release: three tasks (at least two separate pieces of work) of one profile and class whose reviews name the same criterion id unmet in 30 days file one backlog card with the `profile_overrides.review_checklist` line as text; nothing applies it on its own; `ahub learn list|accept|reject` (#514b, person only) is the verdict: accept writes the one line to `config.local.json`, reject closes the card. Tasks here rarely record a checklist, so cards will be rare. | cards filed, and accepted versus rejected, read with `ahub learn list --all` |
90
+ | Followed checklist lines and their removal (#1642) | on after the release: accept on an addition card records the line and its 30-day before rate; `ahub learn list --accepted` gives each followed line a status (`insufficient` below 5 reviewed tasks, then `helping`, `no-change` or `worse`) beside the checklist size in lines of 16 and characters; a line with 5 reviewed tasks and `no-change` or `worse` gets one removal card, whose accept removes only that line through the settings writer and whose reject closes it and starts its window again. Nothing is followed here yet (no card accepted, no `review_checklist` override in this project's config), so the shipped lines read `untracked` until an addition card is accepted first. | `ahub learn list --accepted` after each accept: the followed count, the checklist size, and `REMOVAL` naming an open card for a `no-change` or `worse` line; then one `config.local.json` diff per removal accept and one `ahub settings undo` against it |
84
91
  | Planner rulings in review (#835) | source/fixture coverage; active after release and hub upgrade | post-ownership planner notes in review requests and review-only views, 5 x 1000 bounds, withheld/PII exclusions, builder summary still withheld and departure accepted:false |
85
92
  | Deliverable records (#509a) | on after the release: `deliverables` on `hub_task_done` and `hub_sdlc_record`, hashed by the hub in this repository's folder; most tasks here are code with a PR and name none, so only document-shaped work (a report, a spec draft) uses it | the `Deliverables` block in a review request and `deliverables` in `ahub task show`; approvals refused with `deliverable changed since it was delivered`; records with `state: unknown` (a file the hub could not vouch for); claimed-hash refusals as a measure of agents trying to supply a hash |
86
93
  | `ahub deliverables` and the dashboard badge (#509b) | on after the release: `ahub deliverables [--check]` on this repository's board; only tasks that named deliverables appear, so it lists document-shaped work only | the person runs `ahub deliverables --check` after a document task is approved and the next time its file is edited: a `changed since review` row names the edit; `Deliverables n` chips on cards; `not measured now` in the sheet means nobody ran `--check` since the daemon started |
@@ -104,6 +111,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
104
111
  | Read-time memory code neighbours (#684 phase 4) | off until released; dashboard toggle is opt-in | derived call edges with current SHA; attached fail/decision brief coverage; explicit unknown/truncated results; unchanged authoritative memory log bytes |
105
112
  | Canonical memory symbol anchors (#684 phase 3) | off until released; optional `doctor --stale-anchors` report only | actual-symbol completion anchors versus plan guesses; symbol-related earlier notes at memory hop two; stale/unknown/truncated report counts; zero note mutations during inspection |
106
113
  | Symbol preparation and historical recall (#684 phase 3 follow-ups) | off until release | exists calls per no-reviewer completion; raw-signature fail recall; indexed-definition/unknown labels; unchanged note/candidate bytes and neutral cleanup failures |
114
+ | Scheduled memory review (#1329 parts 1 and 2) | off here by default; source and fixture coverage, available after release and hub upgrade. AC6 (the two-run person trial) is a person-run leg: it has not run here | `ahub memory review status`: next due time, the last review card and its counted spend against both caps; `schedule_runs` coalesced ticks against proposed review cards (at most one per period, none while one is open); cards cancelled by `memory review off` against cancels attempted; refused-scope tool calls during a review card against notes read and proposals filed; budget stops with reason `budget` against counted tokens at each cap; `review counts` history lines carrying counts only |
107
115
  | Overlap notices | on; plan symbols match by normalized name (arguments stripped, a bare name matches the last segment, two qualified names must be equal; #682 phase 1b) | `ahub report`: overlap warnings, task pairs; false-overlap rate, and symbol-only matches on bare common names (#682) |
108
116
  | Backlog phase grooming and issue planning (#759) | off until released and the running hub supports the new planning fields; relinks for cards #138/#287 remain a post-landing planner action | related-phase duplicate count; unrelated same-issue duplicate controls; planning revisions with `fields: ["sdlc"]` or `[]`; old spec acceptance absent after relink/undo |
109
117
  | Bounded waits on in-progress tasks (#1454, `hub_task_wait`) | on after release and only with `task_sweep.enabled`: this repository's sweep is on, and hub task 866 (the supervision pilot shadow wave until 2026-11-18 KST) is the case that showed the gap | `idle sweep` events (`idle-owner`) per waiting task per day, from 29 in four days on task 866 before to none while its wait is pending; step-3 reassignments of a waiting task (seven before, zero expected); `wait-passed` items in the groom view |
@@ -124,6 +132,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
124
132
  | --- | --- | --- |
125
133
  | atex execution references (#1510) | source and fixture coverage; live atex build reference on this repository is unverified | accepted `atex` build references in task lineage and console metadata; `test/execution-link-tasks.test.ts` and `test/execution-lineage-console.test.ts`; the hub does not execute or attest the build |
126
134
  | Execution references and bounded lineage (#1220 T1/T2/T3) | source-only contract plus Tasks admission and the CLI/MCP and acon console surfaces after release; no running native lineage receipt, so native coverage stays unverified; the numbers below are one host, not native use | deterministic admission/restart/replay, role/project/privacy refusals, CLI/MCP and console equivalent pages from one read path, explicit and missing edges, stale review currency, page/byte caps and source-bound cursor invalidation; measured on a synthetic board here (one Mac, Bun 1.4.4): 200 samples per point at 0, 200 and 2000 filler tasks read the same 210-byte page at p95 0.10, 0.04 and 0.04 ms, the 64-declared-link ceiling reads 65 nodes and 64 edges in 26601 bytes at p95 2.48 ms, a 5-node page truncates with an opaque source-bound cursor that another node bound refuses, and a 4096-byte page stays inside its budget at 4028 bytes; `bun test test/execution-lineage-console.test.ts test/execution-lineage-performance.test.ts` |
135
+ | Board revision for acon polling (#1635) | source and focused tests only; `revision(["board"])` is implemented on the console provider but `capabilities.revision` stays undeclared, because the pinned @staix/agent-console 0.2.0 has no revision contract (agent-console#123), so no console asks yet; active after release once the pin moves to the 0.3.x that ships it | a board write moves the hub's `board_revision` number and so the provider's `board` value, two reads with no write return the same value, other scopes answer `0`, an older hub or a failed read makes the board value `0` (always fetch), the read never takes a board snapshot, at most 20 scopes of at most 200 characters; `bun test test/board-revision-1635.test.ts test/acon-plugin.test.ts` |
127
136
  | Immutable role guidance variants (#1225 T1/T2/T3) | CLI/MCP lifecycle APIs and a read-only producer Guidance panel; source and isolated scratch fixtures, native/live consumption unverified | V1/golden vectors plus `guidance-views`, `guidance-control`, `guidance-console` and `guidance-pagination` fixtures: one projection across ports, whole editable fields screened and sanitized, private snapshots/protected bodies absent, exact task-epoch/variant selection even with withheld labels, current versus historical flow, bounded indexed pages and actor/session/privacy guards. Focused scratch direct-Tasks receipt: 40 experiments/40 variants, 59590 aggregate stored bytes, 21073/5301 public reply bytes, first/next read 12.311703/3.567113 ms; these observations define no latency budget or native, model-consumption or confined-probe proof. The separate pagination case in the failed `1e956077` full run passed and measured canonical variant JSON at 1489-1490 bytes; the full aggregate still had 4 failures |
128
137
  | Execution-lineage read recipe (#1220 T3, AC6) | on: the suite runs on any host with Bun and no daemon or account; the figures in the row above come from one Mac, and a hosted CI or native re-measurement is a separate receipt | `bun test test/execution-lineage-performance.test.ts` grows a synthetic board to 2000 filler tasks, samples 200 reads of one task root at each size and asserts p95 under 250 ms, then measures the per-task 64-link ceiling (65 nodes, 64 edges, at most 262144 bytes), a 5-node page whose cursor another node bound refuses, and a 4096-byte page inside its budget; it also asserts the page and its byte size are identical at every board size. A missing measurement is unknown, never zero |
129
138
  | Optional changed-symbol advice (#682, #684 phase 1a) | on after release when ripwire 0.6.7 is installed; change kinds unknown | review brief symbol observations/unknowns; deleted definitions not covered, no gate |
@@ -133,11 +142,13 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
133
142
  | Console agent-hub versions (#1385) | on after release, display only; source and fixture coverage, no live mixed-version receipt yet | the share of stale-plugin or stale-CLI incidents found from the console's versions line or AHUB column instead of `ahub doctor`, counted by hand from incident notes; `test/hub-versions.test.ts` for hello reporting, invalid values, in-daemon and tools rows and the rendered line |
134
143
  | Console symbol-overlap advice (#684, #379) | on after release; read-only task detail, observed names only | other task IDs/shared paths and screened different-symbol verdict; no pair involving PII, no claim on unknown/incomplete evidence |
135
144
  | Dashboard task sheet Code group (#684 phase 2c) | on after release; read-only, observed names only, none for a private task | task sheet Code group shows the changed symbols or `unknown (no code facts)`; symbol clicks that reach a non-empty graph once phase 3 lands |
136
- | Review brief, review findings, Important gate (#481 S3) | advise | Important findings per PR, rounds to approval |
145
+ | Review brief, review findings, Important gate (#481 S3) | advise | Important findings per PR, rounds to approval. Settled finding reopenings (#1657 T4) have advise/enforce and privacy fixture coverage. |
146
+ | Spec read-back before acceptance (#1658) | source and fixture coverage (`test/spec-readback.test.ts`); on request only, so nothing runs until the person or the conductor starts it, and no live read-back has run yet | per accepted spec: whether a read-back existed, its state at acceptance (`none`, `current`, `stale`, `unavailable`, `private`), its undefined terms, open decisions and missing refs, and after the build how many of those open decisions came back as a review `unmet` item; the four-week T5 report on #1658 is the record |
137
147
  | Security finding boundary and finding origin (#1403 T1) | source and fixture coverage after merge and plugin upgrade (`test/security-findings.test.ts`); runs only with the lifecycle in `advise` or `enforce` (off refuses and does not advertise the fields); no live review has used them yet | per approval: the findings tally counts `needsValidation` and `preExisting` (shown by `ahub sdlc status` and the merge queue), and the follow-up cards filed (backlog cards whose detail starts `Finding follow-up key:`), which should be one per such finding and none for a repeated approval; refusals that name the four boundary fields show how often a security finding arrived without one |
138
148
  | Security pass for sensitive paths (#1403 T2) | source and fixture coverage after merge and plugin upgrade (`test/security-pass.test.ts`); needs a `[security]` table in `.agenthub/sdlc.toml` and the lifecycle in `advise` or `enforce`, which this repository has not set yet (off, or no table, advertises and requires nothing); no live review has recorded a pass | per sensitive PR: the queue row's `securityPass` state at approval (`required` at approval means the reviewer was asked and did not record one), and how often a pass lists `not_covered` units; no pass is counted that names no unit |
139
149
  | Security audit with a coverage ledger (#1403 T4) | source and fixture coverage after merge and plugin upgrade (`test/security-audit.test.ts`); needs a `[security]` table in `.agenthub/sdlc.toml` and the lifecycle in `advise` or `enforce`, which this repository has not set yet; no live audit has run (the live `quick` pass is #1403 T8 and needs the person's approval) | per audit: the unit counts by state (`ahub sdlc audit show`, also the `security audit` line of `ahub sdlc release`), how many units end `deferred`, the confirmed important findings that stay `candidate` for lack of a second reviewer, and the verified ones a second reviewer later settled `fixed` or `false_positive` (the `settled` count of `ahub sdlc audit show`) |
140
150
  | Advisor surveys and considered findings (#1403 T7) | not invoked here; starts only on explicit person/conductor request, no live survey receipt collected | `ahub sdlc survey start` and `show <task>` record the share of vetted candidates that become deduped backlog plans/investigations, rejected-before suppression, unknown diffs and explicit reconsiderations. The survey pure/Board/Tasks/daemon/CLI fixtures cover synthetic admission, privacy and conditional recovery; fixtures do not establish native or live source-review acceptance |
151
+ | Minimum review by risk tier (#1645) | source and fixture coverage after merge and plugin upgrade (`test/risk-tier.test.ts`, `test/sdlc-risk-review.test.ts`); runs only with the lifecycle in `advise` or `enforce` and a `[risk]` table, which this repository has not set yet, so no tier is derived here and every review, plan review and merge gate behaves as before | per high PR: the risk line in the review request and, in `enforce`, the refusals that named the verifier card, with the id of the card approved at the filed head; low and medium PRs that approved without one; plan reviews reported or refused below the floor |
141
152
  | Conductor eligibility and the doctor roles row (#1408 T1) | source and fixture coverage after merge and daemon restart (`test/role-eligibility.test.ts`); this repository names no conductor (the shipped default), so nothing changes here; a project that named a headless or non-interactive conductor loses the role with a notice | `ahub doctor` shows one `roles` row per project, and a warning row means a conductor was ignored, no planner is eligible or reviews fall to the person; `roles.<peer>: conductor ignored` notices in `ahub status` count the projects that needed the fix |
142
153
  | Anchored review comments and findings (#1056) | source and synthetic-fixture coverage; active after release and hub upgrade; the owner's live document package-format confirmation remains open | draft/edit peer turns (target 0); one envelope and one history count per explicit Send; anchored/moved/outdated/unavailable counts; console-only refusals and quote/body canaries in logs, capture and public views; immutable shared acon fixtures; explicit refresh, task-bound memory versus current-turn capture scope, pruned reviewer requests, refused terminal resend, anchored-batch sibling remember/propose refusals, invocation answers after mid-turn inbox pulls, actionable provenance refusals, anchored-submission final-answer/history canaries, same-session restart retention, real sessionless WsPeer handoff and ordinary-input release, unidentified earlier-SID holds and reconnect status, safe first-SID confirmation, legacy coverage completion and NULL-receipt pruning, corrupt-provenance status, clean new-session admission, evidence-backed sticky restored pull-only holds, saved-package recovery and final-only resolution regression fixtures |
143
154
  | Memory sync health and write policy (#1173, #743) | source adoption of exact-pinned agent-mem 0.23.0 and isolated fixtures; not deployed here; AC4 bounded diagnostics available, AC5 result counts and host attestation; the daemon passes agent-mem's createPlacementAttestation on every sync pass and a refusal is the closed cause `writer` (fixture-tested; an activated store is not exercised here); legacy activation remains person-only; #1173 stays open; activation, live rollout and successful person-home sync unverified | automatic sync outcome/cause/count; SDK successful-placement result projection with withheld/exported counts (fixture seam; active-v3 sync unverified); legacy declined-sync refusal names inactive placement and the person-only activation preview; refused writer attestation names its category, cause class and next step; bounded SDK inspection of physical declined IDs and safe rule categories, with explicit incomplete results; one failure log per unchanged known signature; existing declined long-write and kept-short promotion fences |
@@ -160,7 +171,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
160
171
  | macOS shards deferred on stacked PRs (#1307) | on in CI for every PR after merge | macOS job-minutes per day and the longest macOS queue wait (57 runs, about 2,250 job-minutes and waits over an hour on 2026-11-07, before); `check (macos-latest)` deferral failures that were followed by a full macOS run on the same PR after it targeted `main` |
161
172
  | Seed anchor diagnostics (#684) | on in the seeded checker; exact-match failure remains mandatory | missing anchors report the base commit, enclosing symbol and current file/line or explicit unknown; `test/seeded-check.test.ts` |
162
173
  | Release authorization (#481 S6, #1063, #1120, #1381) | fixture coverage; delegated live consent awaits release and project upgrade | `test/sdlc-release-authorization.test.ts`, `test/sdlc-release-authorization-flow.test.ts` and `test/runtime-capture-checker.test.ts` retain candidate/docs/origin/restart bindings, actual user/conductor actors and checker capture behavior; `test/sdlc-release-configured-authorization.test.ts`, `test/sdlc-release-configured-policy.test.ts` and `test/sdlc-release-configured-report.test.ts` cover package defaults, release-notes and tag-only/requested-version sources, exact-report bindings, docs:none receipts, malformed or local policy, npm target refusal and unchanged actor/remote checks; no fixture authorizes a live release |
163
- | SDLC metrics and control bands (#481 S7) | `ahub sdlc metrics` on; bands off until `[bands]` is set in `.agenthub/sdlc.toml`, and they write cards only in advise or enforce (in off the report still shows tiers). Completion checks are off here; GitHub first-pass fallback is available after the #1579 change is released and the hub restarts | its own report, including known and unknown first-pass and PR-based samples after a new merged PR; breach episodes per week by tier, and band cards the planner accepted rather than dropped |
174
+ | SDLC metrics and control bands (#481 S7) | `ahub sdlc metrics` on; bands off until `[bands]` is set in `.agenthub/sdlc.toml`, and they write cards only in advise or enforce (in off the report still shows tiers). Completion checks are off here; the GitHub first-pass fallback is live here since the 2026-11-24 readback (`first_pass_check` n=17, rate 0.882 over 52 tasks since 2026-11-21, posted on #1579) | its own report, including known and unknown first-pass and PR-based samples after a new merged PR; breach episodes per week by tier, and band cards the planner accepted rather than dropped |
164
175
  | Fresh headless reviewers (#223, #519) | configured here (`codex-review`); per-tool approval correction and no-verdict diagnostics/re-offer (#783) take effect after release and upgrade | reviews by fresh sessions, findings they add; a per-review start failure names a closed cause class (#722): `ahub status` reviewer line and hub.log `[cause: ...]`, with the share of failures that are `unknown`; stale admission skips and current-policy `no_verdict` reroutes leave the reviewer available (#781); a real `hub_review` verdict per verified backend/version, beyond inventory-only proof; bounded refusal diagnostics, confirmed re-offers without queue holds, and uncertain fallback holds |
165
176
  | Optional Orca companion (#1198 O0-O4) | moved to [STAIxBWLB/ahub-orca](https://github.com/STAIxBWLB/ahub-orca) (#1387); nothing of it remains in this repository. Still off: not installed here, enabled by nothing, not in the package; fixture checks only, `fixture_only` on macOS and unsupported elsewhere, and the native receipts are **person-run** and **not run** | that repository's `support-matrix.json` and `receipts/`; it reads ahub only through `docs/contracts/companion-cli-v1.json`, which `test/companion-contract.test.ts` holds ahub to |
166
177
  | Kimi periodic review isolation (#1284) | source and isolated fixture coverage; running-hub/native-account behavior is unchanged until release and restart | max-input benchmark records historical inline blocking and worker control-response ordering separately from synchronous authority cost; fake-clock absolute cadence/no-overlap, complete filesystem tamper checks, source and plugin-only workers, and native/worker cleanup retry tests; no new native compatibility or model-quality claim |
@@ -185,7 +196,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
185
196
  | Knowledge corpus index, `corpus.paths` (#510 AC1) | not yet reachable: the index is a library, and no command or status line reads it until the ask and brief slice; setting `corpus.paths` in `config.local.json` only validates it | the config is accepted or refused with a reason at load; nothing else is visible yet |
186
197
  | On-prem `doc_read` for the local worker (#515 AC2, AC3) | off by default; a project opts in with `local.doc_read: true` and a `text_projection` converter per extension in `config.local.json`, then restarts the local worker; `web_fetch` waits for an owner decision | the local worker lists `doc_read` among its tools; a PII task turn reads a `pii.paths` PDF and an ordinary turn is refused with the reason; the live leg with real PDF, DOCX and HWPX converters on the on-prem worker is the person's |
187
198
  | On-prem `web_fetch` for the local worker (#515 AC1, AC3) | off by default; a project opts in with `local.web_fetch.allow` (a short list of hosts) in `config.local.json` and restarts the hub; a PII task turn is always refused; the first run is on one project with a single documentation host | the local worker lists `web_fetch` only when hosts are listed; `network: web_fetch egress proxy` and `network: refused` lines in `hub.log`; a PII task turn that names the tool gets the fixed refusal; the live leg against a real host through the real proxy is the person's |
188
- | Code structure in the memory graph (#684) | pending | stale anchors, briefs with related notes |
199
+ | Code structure in the memory graph (#684) | on for symbol anchors and one code hop; the memory graph itself stores no code structure. A completion writes `symbol:<qualified>@<path>` anchors only from positively confirmed host observations (at most 16 candidates, a shared 2 s scheduling budget; unknown evidence writes none and labels its coverage unknown), and the dashboard Memory view derives one hop of callers and callees through the optional code-facts boundary at the displayed commit SHA, never stored in amem (`docs/memory.md`, #684 phase 3). `ahub doctor --stale-anchors --json` at head `44ceb8f3d` scanned 219 anchors, queried 0, found 0 stale and 16 unknown (9 `task-privacy-unknown`, 7 `withheld`), and truncated at its 16-row and 256-scan bounds, so this repository reads unknown rather than clean | stale anchors, briefs with related notes |
189
200
 
190
201
  ## Models, budget and safety
191
202
 
@@ -201,7 +212,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
201
212
  | Model relay and inference settings (#489 H6, task 447) | available after release; no running hub configuration changed here; legacy defaults retained and all seven rows require daemon restart | default pins, schema/UI/apply parity, fake-clock cooldown/backoff and local fake-server journal coverage; configured native/model calls and live console/dashboard editing remain unverified |
202
213
  | UI and console settings (#489 H7, task 448) | available after release; no running console or hub configuration changed here; defaults retained | independent default pins, bounds and config/inherit/undo, startup snapshot/fallback, poll seam, notice/history, cold-start counted trimming and permission/close handling; native interactive console editing remains unverified |
203
214
  | Context gate | off: `context.gate = 0`; Pi occupancy has source and fake-bridge coverage in headless and TUI modes after release, native live status remains unverified | context-pressure events; `ahub status` reports `pi_usage` and freshness for a verified current Pi session |
204
- | Roadmap drift, mirror and export (#1482 R4) | source and fake-GitHub coverage; mirror off by default and live write not exercised; mirror inventory fails closed at 1000 issues and PRs | `ahub roadmap check` findings and unknown rules, preview fingerprints, generated roadmap validation and ids-only supervision notices |
215
+ | Roadmap drift, mirror and export (#1482 R4) | source and fake-GitHub coverage; mirror off by default and live write not exercised; mirror inventory fails closed at 1000 issues and PRs | `ahub roadmap check` findings and unknown rules, with rule 5 reporting only unacknowledged unchanged specs, preview fingerprints, generated roadmap validation and ids-only supervision notices |
205
216
  | Structured checkpoint fields (#1331, `hub_checkpoint`) | on after release and hub upgrade: the fields are optional, so a checkpoint that sends only `summary` behaves as before; quota checkpoints run here, context checkpoints only where `context.gate` is set (off here) | one `checkpoint` event per accepted checkpoint (peer, reason `quota` or `context`, the names of the fields it carried, never its text); `events.checkpoints` in `quality.json` (`total`, `byFieldCount`, `byField`) shows how many checkpoints used the fields and which; over-length refusals name the field and limit in the tool result, and the unit and daemon tests are `test/checkpoint-fields.test.ts` and `test/daemon-context.test.ts` |
206
217
  | Context headroom admission (#802) | off by default: `context.max_assignment_used = 0`; not enabled here by this PR | `ahub route explain` known/unknown context decisions and offered owners; pure/session-freshness, real Tasks/manual override and machine-local config regressions; native live admission remains unverified |
207
218
  | Always-ask action classes (#636) | on after release for managed Claude forms, hub-owned ACP in ask mode, local/Pi tools and received Codex command approvals; Codex native bypass stays not enforceable | classed permission requests (a `gh api graphql` query is a read, a mutation, `gh run` or `gh workflow` write and every command with a shell expansion in a classed position (`git push $B`, `rm -rf "$DIR"`) is asked about: #756, #762; `test/action-class.test.ts` holds the table), full local/Pi command visibility and denied effects for incomplete native views; actionPolicyInfo current-child enforceability, remaining class budgets and weakening attention; Codex native no-request and Kimi non-ask ceilings are explicit |
@@ -214,7 +225,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
214
225
  | Local agent CLI drift notice (#843 AC3) | source/fixture and injected-probe daemon test; active on this repository after release and hub upgrade | one planner notice per (id, version), the `agent CLI drift` line in `ahub status`, no repeat after a hub restart |
215
226
  | PII routing | on | PII tasks and where they ran |
216
227
  | External module-kind instances (#754) | off here: no person-pinned module with an explicit headless-instance opt-in is configured | fake mixed builtin/module starts, current-owner and MCP refusal counters, retained stopped bindings and no-import source/target fences (`test/external-instance-*.test.ts`); native/account receipts remain unmeasured |
217
- | Multiple Jcode instances (#685) | pending | turns per instance |
228
+ | Multiple Jcode instances (#685) | implemented and fixture-covered; none is declared on this repository. One `JcodePeer` per declared id (at most 8), each with its own `jcode_home`, socket and state; homes are compared through `canonicalHome` and refused when equal to or nested in another's, every owned launch supplies `AGENTHUB_PEER_ID` and `AGENTHUB_LAUNCH_ID` through `peerChildEnv`, and a `tools` hello is admitted only with the launch id of that peer's current owned launch (`docs/agent-notes/adapters.md`). `.agenthub/config.json` declares no `instances` here and `ahub status --json` lists only the base `jcode` peer | turns per instance |
218
229
  | Jcode TUI refusal causes and the recovery hint (#1085) | on for the base jcode wherever `roster.jcode` is on; fixture coverage only (fake jcode server drives each cause class, a resumed session and the status hint). A live recovery of a real jcode under a person's home is unverified and is not run here | hub.log lines `native_tui_launch jcode refused: <code>` per class (a class that dominates names the real failure), and `ahub status` showing the `jcode is running headless after recovery` line only until a ready TUI launch is served |
219
230
  | Peer terminals open in the target project's Orca worktree (#1089) | on wherever a TUI start opens a terminal through Orca; fixture coverage only (a fake `orca` CLI answers `worktree list` and records every call: a start from another project's terminal, refusals for no match, a parent or child root, an archived entry, two matches, a cut-off list and an Orca failure). Run against a real second project in Orca is unverified and not run here (no live panes) | hub.log lines `the hub opened no watch pane (Orca has no worktree whose root is this project's root ...)` and `ahub up` or `hub_peer_start` refusals that name the same cause, and no `ahub <peer>` failing its project-root readback after a hub-made start |
220
231
  | Crash-recovery notices that clear (#1082) | on after release and upgrade, for the first crash a hub recovers from after that; fixture coverage only (`test/crash-notices.test.ts`: a real daemon over a planted crashed run, peers attached through the bus, rows resolved through the control path). A real `kill -9` recovery on a project with live peers is not recorded here | the `crash` lines of `ahub status --json` after every peer is attached and the held rows are resolved (expected: the headline only); the headline count against `ahub queue list` for the crash's own rows; any `run ahub ... again` line still showing next to an attached peer |
@@ -291,7 +302,10 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
291
302
  | 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 |
292
303
  | Office planning view (#264 phase 5) | source/fixture implementation; available after release when the person selects Flat or Isometric (Off by default); the live two-agent, both-theme AC9 browser look remains unverified | `test/office-model.test.ts` pins Backlog count/order/cap, reserved/pin/waits and release/planner metadata; `test/office-view.test.ts` pins dock and overflow navigation, keyboard access, stable wall-to-To do card nodes, geometry, reduced motion and light/dark token contrast; served-page raw/gzip deltas are measured against the PR merge base |
293
304
  | acon console plugin (#935) | off here until a person runs `ahub setup` after the release and `acon ui` on this machine; the plugin registers per agenthub home, not per repository | `acon plugins` shows `ahub verified`; the console's agent-hub panel shows this repository's live board, and an approval answered from the console inbox appears in hub.log as `answered option allow_once by dashboard`. Space (#1012): adopted with the plugin, no separate switch; acon's Space view (Flat, Room, 3D) shows this repository's peers as actors (state and marks matching the dashboard's office), the board columns as queue/work/review/done zones with the same counts, and overlap links plus message arcs (broadcasts to every other desk) as links; clicking an actor or card opens this project's agents or board panel; incremental Space (#1380) keeps a daemon cursor and OfficeScene per project, coalesces concurrent reads and caches the running listing for 10 s, refreshing it in the background on a later poll. A viewer holding the combined cursor receives `changed:false` when the public scene, per-project cursors and membership are unchanged, including wall-clock message-link expiry. `test/acon-space-1380.test.ts` pins unchanged replies, changed-project reads, listing refresh, restart/refusal and privacy; current daemons still return full office bodies even with a cursor, so wire/body savings and the live console warm p95 remain unverified. A project is a Space group since #1375: the scene declares one group per project, every actor, zone and card carries its group, actor names carry no project prefix, and an actor adds the project's configured roles (at most 4 names of 32 characters) and `since` (the open turn's start, only while the actor is working, because no other state has a change time here); the trim follows acon 0.2.0 (actors 96, groups 200, cards 200, links 128) and the manifest declares `inboxMaxAgeMs` 1000 and `spaceMaxAgeMs` 2000, one poll interval. `test/acon-plugin.test.ts` checks the mapped scene with acon's own `spaceSceneProblems` and pins each cap against acon's own number. The first cold inbox call (#1375 AC6) measured 1.0 to 1.1 s here with 21 registered projects, split into 74 ms of plugin load, 628 to 740 ms for the first project listing and 250 to 319 ms for the project `agents` snapshots; a poll inside the 1 s fresh window costs 0 ms and one with the cache bypassed 258 ms. So the cold cost is the listing, which the inbox does not reuse (Space does), plus one snapshot per project, and the ~2 s observed is the per-project snapshot budget (`inboxProjectBudgetMs`) a slow project is waited out on, a project that misses it adding no rows to that first poll; #1375 left the inbox path unchanged. The live acon `perf-snapshots` measurement (AC7) stays a person-run leg and is unverified |
294
- | Agent CLI version policy and trust (#691) | on after the release: Codex 0.163.0 verified by the [2026-10-22 receipt](verification/2026-10-22-codex-reviewer-isolation.md) and 0.164.0 by the [2026-10-24 receipt](verification/2026-10-24-codex-0164-reviewer-isolation.md); Kimi 2.3.0 and Qwen 0.26.0 verified by the [model-free receipt](verification/2026-10-22-kimi-qwen-compat.md), Kimi 2.3.1 by the [2026-10-25 model-free receipt](verification/2026-10-25-kimi-231-reviewer-compat.md) and 2.3.2 by the [2026-10-26 one](verification/2026-10-26-kimi-232-reviewer-compat.md), with account/provider live legs unverified; Qwen basic ACP 0.27.0 has a [macOS arm64 account-free receipt](verification/2026-11-09-qwen-0270-acp.md), while historical setter A/B/B has an unknown third-request purpose; the [suggestions-off repeat](verification/2026-11-11-qwen-setter-suggestions-off.md) passes ordinary A/B/A on 0.26.9/0.27.0, with production setter admission still unavailable; agy exact 1.5.3 has an [account-free receipt](verification/2026-11-08-agy-1.5.3.md); effective after release and upgrade, with the 1.4.x line unchanged | model-free isolation receipts, `ahub agents` verdicts, versions trusted per machine, lead time from an `agent-compat` issue to a receipt |
305
+ | acon lineage read declaration (#1632) | pinned agent-console 0.2.0 loads the manifest and keeps the lineage route unavailable; 0.3.x acceptance is pending | pinned console route returns 400 for lineage, its shell displays the one-line refresh error, and dashboard navigation gains no tab |
306
+ | Configured print adapter (#1515) | source and isolated conformance fixtures; real non-ACP CLI receipt is person-run | stdout delivery and truncation, timeout and stderr failure, sandbox write denial and reviewer-pool exclusion |
307
+ | Peer activity category (#1512 T2) | source and isolated fixtures; live dashboard and Space presentation are deferred | live JSON status emits only the kind and start time, clears at lifecycle boundaries, omits private activity and leaves no persisted row |
308
+ | Agent CLI version policy and trust (#691) | on after the release: Kimi Code 2.7.2 passed all nine [model-free reviewer proofs](verification/2026-11-25-kimi-272-reviewer-compat.md) with and without scratch trust; Claude Code 2.1.332 headless implementer passed all 22 [model-free native cases](verification/2026-11-25-claude-implementer-2.1.332.md) in this repository; Codex 0.163.0 verified by the [2026-10-22 receipt](verification/2026-10-22-codex-reviewer-isolation.md) and 0.164.0 by the [2026-10-24 receipt](verification/2026-10-24-codex-0164-reviewer-isolation.md); Kimi 2.3.0 and Qwen 0.26.0 verified by the [model-free receipt](verification/2026-10-22-kimi-qwen-compat.md), Kimi 2.3.1 by the [2026-10-25 model-free receipt](verification/2026-10-25-kimi-231-reviewer-compat.md) and 2.3.2 by the [2026-10-26 one](verification/2026-10-26-kimi-232-reviewer-compat.md), with account/provider live legs unverified; Qwen basic ACP 0.27.0 has a [macOS arm64 account-free receipt](verification/2026-11-09-qwen-0270-acp.md), while historical setter A/B/B has an unknown third-request purpose; the [suggestions-off repeat](verification/2026-11-11-qwen-setter-suggestions-off.md) passes ordinary A/B/A on 0.26.9/0.27.0, with production setter admission still unavailable; agy exact 1.5.3 has an [account-free receipt](verification/2026-11-08-agy-1.5.3.md); effective after release and upgrade, with the 1.4.x line unchanged | model-free isolation receipts, `ahub agents` verdicts, versions trusted per machine, lead time from an `agent-compat` issue to a receipt |
295
309
  | Peer child environment isolation (#1077) | source and fixture coverage; no native account or Orca session used | daemon peer children, version probes and process-table helpers contain no `ORCA_*`; person-owned native launches keep their fixture pane's `ORCA_*` context while replacing agent identity; explicit Claude/Codex selectors pass through where the adapter inherits them; preload clears ambient selectors without changing fixture home bytes |
296
310
  | Qwen's own TUI over dual output (#286 Part 3) | live dual-output TUI use here is unverified; source/account-free fixtures only. The limits (a hub deny completes its known delivery without an answer but fences later input until a new personal turn or verified generation; a stalled turn is stopped only with Esc in the Qwen terminal) are for the person at that terminal to accept. Verified on Qwen 0.26.1 under an isolated HOME by the [2026-10-25 receipt](verification/2026-10-25-qwen-dual-output-t0.md); the live account leg is the person's. The [2026-11-10 fixture receipt](verification/2026-11-10-qwen-0270-dual-output.md) passes required normal-Bus Q2 and Q3/Q5/Q6/Q7 on matched private 0.26.1/0.27.0 on macOS arm64, qualifying exact dual-output 0.27.0 after release; the [0.27.1 receipt](verification/2026-11-10-qwen-0271-dual-output.md) repeats it on exact 0.27.1 against matched 0.27.0; real-model/Linux/live-here use remain unverified | `test/qwen-dual.test.ts` against a fake dual-output Qwen; fixture Q2 final USER/Stop/ordinary-provider counts 2/2/2, five Q3 cases, Q5/Q6/Q7 and final closure; in real use `ahub status` stalled/detached notices per peer and the `needs_review` count of Qwen deliveries (an Esc or an exited terminal ends a turn that way; a deny completes while its durable input fence remains). Task 859 fake controls measure zero second submits before recovery proof and offline at the 30 s operational deadline; no native deny-completion ACK is qualified |
297
311
  | Benchmarks (#251, #637) | off: `bench.enabled = false`. The task-routing gate (#637 part 1) is on in CI for every PR: `routing-receipt` fails a change to `templates/routing.toml` without a matching receipt; the model-routing gate (#637 part 2) is the second step of the same workflow: `scripts/check-model-routing-receipt.ts` fails a change to the model-routing keys without a matching `-modelrouting-` receipt, and wants a by-hand `--live` half when an alias or judge moves | bench receipts; `docs/verification/*-routing-*.md` and `*-modelrouting-*.md` receipts; a `routing-eval` check run on every PR with `eval_pass_rate=` and `eval_suite=` in its title (name it as `eval_check` to make it the eval gate); `bun scripts/benchmarks/routing-gate.ts` and `model-routing-gate.ts` print the default's numbers (100% on both splits); the live half (served model ids) has not been run against a gateway yet |
@@ -301,11 +315,13 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
301
315
  | Global CLI and plugin step after `ahub upgrade` (#718, #1179) | on after release: a completed or scheduled upgrade ends with `bun add -g @staix/agent-hub@<version>` and `ahub setup` when the global CLI or the shared Claude plugin is older than the daemon it installed (a handed-over upgrade speaks for the older CLI that started it), and says nothing when both are current or the plugin cannot be read; `release-prepare` writes the same step into every new `Upgrading to <v>` note and `release-tag` refuses a release without it. Unverified: a live handed-over upgrade on the owner's Mac, where the old CLI starts the new coordinator through `bun x` | the upgrade's own output on the owner's Mac after the next release, whether `ahub doctor` still warns afterwards (it should not once the person followed the step), `test/runtime-version-warning.test.ts`, `test/upgrade-interactive.test.ts`, `test/upgrade-cli.test.ts` (a real hub with a fake `claude` and `npm`), `test/release-prepare.test.ts` and `test/release-tag.test.ts` |
302
316
  | Confirmed reattach of orphaned-but-connected Orca terminals in `ahub upgrade` (#1246) | on after release: the interactive plan screen offers `[t]` when the plan verified a pane as orphaned and connected, switches exactly those handles with `orca terminal switch`, polls each for at most 5 s and plans again; the blocker names the peer, project, handle and `[r] refresh`. Unverified: a live Orca restart on the owner's Mac (fixtures use a fake Orca) | count `[t]` uses against hand-typed `orca terminal switch` calls after an Orca restart (the latter should reach zero), and how often a pane is still orphaned at the 5 s bound (raise the bound if it is common); `test/terminal-recovery.test.ts`, `test/upgrade-interactive.test.ts` |
303
317
  | Hard-coded values inventory ratchet (#719, #1180) | on now: `scripts/check.sh` runs `bun scripts/inventory-hardcoded-values.ts --check`, so a new constant must be classified in `scripts/inventory-hardcoded-values.classifications.json` before it merges, and the 1222 keys still unclassified sit in `scripts/inventory-hardcoded-values.baseline.json`, which only shrinks. This does not close #1180: those 1222 are classified later in reviewed batches (`docs/verification/2026-11-05-hardcoded-values-ratchet.md`) | the unknown-key count (the baseline's length) falling to 0 over the follow-up batches and `check: OK` staying green with no key added to the baseline, `test/inventory-hardcoded-values.test.ts` |
318
+ | Unused-export ratchet (#1649) | on now: `scripts/check.sh` runs `bun scripts/unused-exports.ts --check`, so an export of `src/` that nothing imports, or that only tests import, is deleted or connected before it merges; the 1473 findings at the ratchet's own head sit in `scripts/unused-exports.baseline.json`, which only shrinks | the baseline's length falling as dead exports are deleted, `check: OK` staying green with no key added to the baseline, `test/unused-exports.test.ts` |
304
319
  | Optional Herdr companion (#1199 H0-H3) | moved to [STAIxBWLB/ahub-herdr](https://github.com/STAIxBWLB/ahub-herdr) (#1387); nothing of it remains in this repository. Still off: a mod folder the person copies in and can delete, not installed here; fixture tests and `herdr-app check` (person-run, not claimed by CI) only, and the native receipts are **person-run** and **not run** | that repository's `support-matrix.json`, `native-receipt.md` and `baseline-comparison.md`; it reads ahub only through `docs/contracts/companion-cli-v1.json`, which `test/companion-contract.test.ts` holds ahub to |
305
320
  | Optional Claude Code companion (#1338 C0-C3) | moved to [STAIxBWLB/ahub-claude](https://github.com/STAIxBWLB/ahub-claude) (#1387); nothing of it remains in this repository. Still off: `fixture_only`, manual session-only placement, four native receipts **not run**, minimum version unknown; its marketplace entry there is not a qualified install | that repository's `support-matrix.json` and `receipts/`; it reads ahub only through `docs/contracts/companion-cli-v1.json`, which `test/companion-contract.test.ts` holds ahub to |
306
321
  | Companion CLI contract v1 (#1387 T0) | on: `docs/contracts/companion-cli-v1.json` lists what the Orca, Herdr and Claude Code companions may read from `ahub status --json` and `ahub projects --json`, the no-hub exit and the `shellQuote` vectors | `test/companion-contract.test.ts` runs the real commands against a scratch hub and fails when a listed path, type or closed set drifts; its guard fails when ahub's `src/`, `scripts/`, `plugins/` or `package.json` names a companion repository |
307
322
  | Companion per-peer context (#1511) | contract and scratch fixture coverage; native companion display unverified | real `ahub status --json` against a scratch hub with a fixture Claude status-line sample exposes `used` and `freshness`; `test/companion-contract.test.ts` checks absent, nullable and closed-set cases |
308
- | CLI output standard v1 (#1484 T1, `docs/design/cli-output.md`) | on after release: every `ahub` command that colors output reads `resolveColor` per stream, so `FORCE_COLOR` / `CLICOLOR_FORCE` color a pipe and `FORCE_COLOR=0` / `CLICOLOR=0` uncolor a terminal (a behavior change). `ahub doctor` and the error line adopt them in #1484 T2 (hub task 957): doctor exits 1 on a failed row, a usage error exits 2, `ahub task show <missing id>` exits 1 on stderr; `ahub status` (hub task 958, T3) opens with an Attention list: each item a marker, the finding and its exact next command, with the old full view behind `--verbose`; `ahub help` (hub task 959, T4) is an overview of one row per command, with the long text in `ahub help <command>`; hub task 966 (#1504) adds a blank line before the first section, a summary per native agent from its definition, and `ahub help <command>` as Usage, Description, Flags, Examples and Details. Help, status and doctor accept `--ascii` to use ASCII markers | `test/cli-output-conformance.test.ts` (the five conformance checks, the six color rules and the raw-SGR guard) runs in `bun test`; `test/help.test.ts` checks the ASCII overview and `test/status-default-view.test.ts` checks aligned ASCII status markers; `test/cli-output-conformance.test.ts` pins `--ascii` selection, locale fallback and aligned ASCII marker output. In real use, `ahub doctor; echo $?` ends in a summary line and exits 1 while a row is `✗`, `ahub nosuchcmd; echo $?` prints 2, `ahub help | wc -l` is about 110 (it was about 1,040) and `ahub help status` prints Usage, Description, Flags, Examples and then the full long text, `ahub status` starts with `▸ Attention` and either `✓ nothing needs attention` or `⚠`/`✗` rows each followed by a `→` command, `FORCE_COLOR=1 ahub help \| cat` shows color, `NO_COLOR=1 ahub help` and `ahub help \| cat` show none |
323
+ | CLI output standard v1 (#1484 T1, `docs/design/cli-output.md`) | on after release: every `ahub` command that colors output reads `resolveColor` per stream, so `FORCE_COLOR` / `CLICOLOR_FORCE` color a pipe and `FORCE_COLOR=0` / `CLICOLOR=0` uncolor a terminal (a behavior change). `ahub doctor` and the error line adopt them in #1484 T2 (hub task 957): doctor exits 1 on a failed row, a usage error exits 2, `ahub task show <missing id>` exits 1 on stderr; `ahub status` (hub task 958, T3) opens with an Attention list: each item a marker, the finding and its exact next command, with the old full view behind `--verbose`; `ahub help` (hub task 959, T4) is an overview of one row per command, with the long text in `ahub help <command>`; hub task 966 (#1504) adds a blank line before the first section, a summary per native agent from its definition, and `ahub help <command>` as Usage, Description, Flags, Examples and Details. Help, status and doctor accept `--ascii` to use ASCII markers. The #1654 help slice lists each command once and adds examples to bare commands | `test/cli-output-conformance.test.ts` (the five conformance checks, the six color rules and the raw-SGR guard) runs in `bun test`; `test/help.test.ts` checks the ASCII overview and `test/status-default-view.test.ts` checks aligned ASCII status markers; `test/cli-output-conformance.test.ts` pins `--ascii` selection, locale fallback and aligned ASCII marker output. In real use, `ahub doctor; echo $?` ends in a summary line and exits 1 while a row is `✗`, `ahub nosuchcmd; echo $?` prints 2, `ahub help | wc -l` is about 110 (it was about 1,040) and `ahub help status` prints Usage, Description, Flags, Examples and then the full long text, `ahub status` starts with `▸ Attention` and either `✓ nothing needs attention` or `⚠`/`✗` rows each followed by a `→` command, `FORCE_COLOR=1 ahub help \| cat` shows color, `NO_COLOR=1 ahub help` and `ahub help \| cat` show none |
324
+ | CLI views and warnings on the shared Report (#1654 T3, T4, AC3, AC4; hub tasks 1115, 1116, 1135, 1137, 1141; #1724 batch 1) | on after release: `ahub projects`, `queue`, `turns` and the orphan views open with the standard header and a counted section; `status --verbose`, `status --full`, `report`, the `sdlc` views (`status`, `explain`, `queue`, `audit show`, `release`, `metrics`, `costs`, `authorize-release`, `merge`, `configure`, `survey show`), `task show`/`cancel`, backlog, `release`, `source`, `schedule`, `study`, `task handoff`, `learn`, `intake`, `capabilities`, `worktrees` and `room` print on the same layout and take `--ascii`; warnings print as `ahub: warning: <what>: <why>` with an optional `→` next step | `test/output.test.ts` pins the list tables at 80 and 120 columns; `test/cli-output-conformance.test.ts` checks the grammar over the real output of every converted view (header first, a section mark per group, no line over 24, 40 or 80 cells, `--ascii` keeps the line count) and the warning shape, and fails on a raw console call outside the sanctioned paths that is not in the shrink-only `scripts/cli-raw-output.baseline.json`; `test/sdlc-output.test.ts` pins the sdlc views |
309
325
 
310
326
  ## Decisions
311
327
 
package/docs/events.md CHANGED
@@ -209,3 +209,12 @@ native turn ids; observations without one still contribute progress dimensions b
209
209
  or the eight-turn spinning threshold.
210
210
 
211
211
  Quota rows record the first reading, material changes and a 15-minute heartbeat; pending last readings are flushed before a long silence or clean shutdown. `ahub report` counts recorded quota rows and hard rows, not provider polls. JSON retains `quota.readings` and `quota.hard`.
212
+
213
+ ## Derived peer activity
214
+
215
+ Live console status may include a busy peer's current activity kind and start
216
+ time. The hub derives the kind from a closed native-tool category, without using
217
+ command text, file paths, URLs or tool arguments. Private and PII turns omit the
218
+ field. The value lives only in daemon memory for the current turn and is cleared
219
+ on turn end, reset or adapter replacement. Activity is never written to the
220
+ database, event journal, log, snapshot, envelope, memory capture or prompt.
@@ -0,0 +1,46 @@
1
+ # Friction journeys
2
+
3
+ The friction corpus counts the states where a person or agent is stopped and says whether the output helped. It drives a built `ahub` as a subprocess in a throwaway HOME, state directory and git repository, offline, with no model call and no account. It never instruments the product, so an old release and the current build run the same corpus. Spec: agent-hub#1644.
4
+
5
+ ## What is measured
6
+
7
+ A block is a step that exits non-zero. The classifier (`scripts/benchmarks/friction/classify.ts`) is one function used by every mode:
8
+
9
+ | Class | Meaning |
10
+ |---|---|
11
+ | `in_band` | the output names a continuation that parses, the runner ran it, and the blocked step then passed |
12
+ | `dead_end` | the output names a continuation, the runner ran it, and the step is still blocked |
13
+ | `out_of_band` | the output names nothing to run |
14
+ | `by_design` | the refusal says it is closed on purpose (`by design`, `refusal-ok`, `person only`) |
15
+
16
+ A continuation is a command that starts with `ahub`, after a run-in word or inside backticks. A placeholder, a shell metacharacter or an unbalanced quote never parses. The first output was a surprise worth keeping in mind: the human prose that follows a command ("run ahub init there first") is cut at the first stop word, and that cut is a deliberate shortcut (`ponytail:` in the source) until refusals carry a structured continuation (#1643).
17
+
18
+ ## Run it
19
+
20
+ ```
21
+ bun scripts/benchmarks/friction/run.ts --binary src/cli/main.js --out results.json
22
+ ```
23
+
24
+ `results.json` carries the corpus version, the measured binary's path, version and sha256, class counts in total and per journey, and every step with its class. A binary that does not start fails the run: it never falls back to an older one. A step that was expected to be blocked and was not, or the reverse, is a corpus error and exits 1.
25
+
26
+ ## Compare two runs
27
+
28
+ ```
29
+ bun scripts/benchmarks/friction/compare.ts a.json b.json
30
+ ```
31
+
32
+ It prints both binaries' version and digest, the total class deltas and each journey's deltas. It refuses two reports of different corpus versions: the counts of two measuring sticks say nothing about each other.
33
+
34
+ ## Nightly report
35
+
36
+ `.github/workflows/friction.yml` runs the corpus on main every night and uploads `results.json` as an artifact. It has read-only permissions and no secret; it writes only the job summary and the artifact.
37
+
38
+ ## Add a journey
39
+
40
+ Add an entry to `JOURNEYS` in `scripts/benchmarks/friction/journeys.ts`: an `id`, what it `guards` (the issue or contract of the defect it keeps from returning), optional `setup` commands, and `steps`. Mark a step `expectBlock: true` when the journey is about the block. Run the corpus twice: the class counts must match (`test/benchmarks/friction.test.ts`).
41
+
42
+ ## Status
43
+
44
+ Report only. It is not part of `scripts/check.sh`; a gate comes after two stable weeks with no dead end on main. The corpus holds twelve journeys, nine of which run; three are listed as skipped with a reason and never counted (queue full: the cap is a startup setting; unresolved review threads at merge: needs a full fake GitHub pull-request read; spec changed after acceptance: the edit cannot be re-read through the assign path). A second peer comes from a config patch that adds `roles.worker1`, since the hub admits only `claude` as a plain channel peer. Hub-tool steps (`{tool, peer, args}`) run through the measured binary's own control client.
45
+
46
+ First run on main (binary 0.46.1, corpus v2, 2026-11-24): in_band 2, out_of_band 6, dead_end 1, by_design 0. The one dead end is `handoff-to-unregistered-project`: the refusal points at `ahub projects`, which lists projects but cannot register the missing one, so the retry is refused again. #1688 (Refs #1686) made that refusal lead with `ahub --project <path> init` when the target is a typed path, and the journey now hands off to a sibling repository by path. On the 0.47.0 build (corpus v2, 2026-11-26) the counts are in_band 3, out_of_band 6, dead_end 0, by_design 0. Later numbers are in the latest `results.json` of the nightly job.
package/docs/memory.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Agent-hub consumes the first-party [`@staix/agent-mem`](https://github.com/STAIxBWLB/agent-mem) library through the declared range `>=X.Y.Z <M.0.0` in [package.json](../package.json) (X.Y.Z at or above 0.33.0, M the next major; the lockfile resolves a release inside it). A plain release inside the range is accepted without a hub release when the package's `HOST_API_MIN` and `HOST_API_VERSION` are positive integers, `MIN <= VERSION`, and their range intersects the host API range this hub supports (`[1, 1]`); a package without them, or with an incompatible host API, is refused with the cause and the next step. A new major is a reviewed raise. Format-floor note: a new minor may raise the on-disk format floor, and a store written by it is not readable by an older hub or amem, so roll the hub back only together with the store, and read agent-mem's release notes for the new floor before upgrading. The package owns portable storage, tiers, graph, goals, sync, import and raw commands. Agent-hub owns caller authority, current project privacy policy, task lifecycle integration and presentation. Claude-mem is an optional, explicit import source only; runtime recall and capture make no worker HTTP requests.
4
4
 
5
+ The declared range is `>=0.39.0 <1.0.0`, so the hub can read agent-mem's outstanding-task index (`MemoryStore.unsettledTaskKeys`, agent-mem#610; see [Task lifecycle and host policy](#task-lifecycle-and-host-policy)). A hub that loads 0.38.0 or older refuses memory at load with the range check above. On first open, agent-mem 0.39.0 builds a separate v6 derived index for each populated profile from the existing rows: a one-time startup cost plus extra disk. The v5 index stays beside it, so a 0.38.0 reader (such as a 0.46.1 hub) can share the home. `HOST_API_VERSION` stays 1, and no store or sync format floor is raised.
6
+
5
7
  ## Portable core and data directory
6
8
 
7
9
  The [agent-mem repository](https://github.com/STAIxBWLB/agent-mem) is the reference for the data model, immutable entry IDs, append-only segments, derived SQLite index and rebuild equality, home selection, import cursors, dedupe and machine sync. Shared v1 remains the default and needs no migration: schema `agent-hub.memory/v1`, canonical hashes and log/machine/lock paths remain compatible. `memoryHome()` comes from the package and selects `AMEM_HOME`, then `$AGENTHUB_HOME/memory`, then `~/.agenthub/memory`; an explicit `StoreOptions.home` keeps its parent-directory meaning. The test preload (`test/hub-home.ts`) clears inherited `AMEM_HOME` and supplies an isolated `AGENTHUB_HOME` when none is provided.
@@ -38,6 +40,8 @@ reading are fail-open: a store that cannot be written costs one notice, and neve
38
40
 
39
41
  Notes on open tasks stay short-term. Approval settles the task and can promote decision, contract and fail notes; findings stay short-term. The hub injects its current project screen through `StoreOptions.screen`: another project's notes are left to that project's processes, and secret-looking text, current PII patterns and private paths keep a note local rather than promoting it. A task's current paths are screened as well as its stored nodes. Task-specific deadlines retain the existing configured TTL and package lifecycle semantics.
40
42
 
43
+ At hub start, an approved task whose settlement an interrupted write cut off is settled then, so its decisions, contracts and fails still reach long-term memory. The hub pages through the package's outstanding (unsettled) task keys for this project rather than walking every approved task, and repairs a key only when the current board still holds that task as `approved`, the key is the task's own, and the task is not PII. If the index cannot answer at that start, the hub falls back to checking each approved task. A repair that fails is tried again at the next start.
44
+
41
45
  ## What gets written
42
46
 
43
47
  - `hub_remember` from any peer or `ahub remember`, after the existing checks: a note about a PII task, or one matching a
@@ -181,6 +185,34 @@ Recall lines, native brief items, `hub_memory_show` lines and human `ahub memory
181
185
 
182
186
  Each rendered batch has a shared cache and a hard bound of 32 metadata probes. On a tree not modified during the call, no hint probe reaches a `pii.paths`/`local.deny` path: declared private paths and the common deny policy are checked lexically first, including folded spellings and globs. Absolute/escaping paths, symlinks observed by a probe, denied paths, unreadable metadata and exhausted budgets are unknown and produce no marker. A concurrent ancestor swap by a process running as you can expose one existence bit; it is outside the [security threat model](security.md), and the deterministic ceiling witness is retained in the tests. Descriptor-anchored traversal is needed before supporting that scenario. Symbol nodes are checked only through their allowed file; this hint does not parse source symbols or read file contents. Current privacy screening still precedes rendering and peer-output byte caps. No new memory operation or candidate writer is introduced.
183
187
 
188
+ ## Scheduled review and its switch (#1329 part 1)
189
+
190
+ `memory.review` is a machine-local block in `.agenthub/config.local.json`, and a committed config cannot start it (`ALL_MACHINE_LOCAL` drops it). It is off by default, and enabling it needs both caps:
191
+
192
+ ```json
193
+ { "memory": { "review": { "enabled": true, "every": "1d", "projects": [], "peer": "claude", "max_notes": 20, "max_tokens_run": 40000, "max_tokens_week": 150000 } } }
194
+ ```
195
+
196
+ `every` takes a configured schedule's spelling (`<n>m`, `<n>h`, `<n>d`, at least 15m), `projects` lists project paths or directory names and an empty list means every project this machine holds, `peer` files the card for that peer (unset leaves the class's owner choice to routing), and `max_notes` bounds what one run reads. `max_tokens_week` must be at least `max_tokens_run`, and an enable without both is refused by the config loader and by `ahub memory review on`, so no daemon schedules a review whose spend nothing bounds.
197
+
198
+ A due run proposes one `review`-class card from a fixed template through the ordinary proposal path: the privacy screen, triage, routing, the schedule marker in its detail, and no second card while one is open. The template names `ahub memory stale-anchors --json` as its input, so a run reviews only the notes whose code anchors no longer resolve; until agent-mem#324 lands, that stale-anchor report is the only input the package exposes. The card changes no code and no note outside that list.
199
+
200
+ `ahub memory review on|off|status` is the person's switch, and `--live-test` does not delegate it, like the rest of the family. `off` pauses the review's schedule through the store's epoch, cancels the card a run left open through the ordinary cancel path, and writes `enabled: false`; `on` writes the key and clears a pause set with `ahub schedule pause memory-review`; `status` prints the period, the caps, the last card, the counted spend and the next due time. The key is the one switch: a schedule's row is pruned the moment its entry disappears, so `off` leaves nothing paused behind. The block is classified live, so it takes effect on the reload rather than at the next hub start.
201
+
202
+ ## Review task scope, proposals, budget stop and report (#1329 part 2)
203
+
204
+ **Tool scope (AC3).** While a turn is bound to an open review card that turn's peer owns — the card the hub proposed from the schedule, identified by its `Schedule key: memory-review` line, in `in_progress` or `changes_requested` — every hub tool call is checked against `memoryReviewScope` in `src/hub/memory-review.ts` before anything is written, and a refused call throws `PreEffectToolRefusal` with the card id, the cause and the next step. Allowed: the memory reads (`hub_memory_search`, `hub_memory_show`, `hub_memory_graph`), the proposal-only writes (`hub_memory_correct`, `hub_remember`), the consolidation preview and vault reads (`amem_consolidate*`, `vmem_search|show|list|read|report|links|graph|backlinks`), and the card's own lifecycle, messaging and read tools (`hub_checkpoint`, `hub_task_done`, `hub_task_escalate`, `hub_send`, `hub_task_show`, `hub_specs`, ...). Refused by family: a memory mutation (`memory_promote|demote|forget|supersede|accept`, the `amem_*` and `hub_memory_*` spellings, `hub_learn_accept|reject`), a vault note write (`vmem_create|patch|move|delete|promote|demote|merge|rewrite|archive`), a code edit or check (`Edit`, `Write`, `MultiEdit`, `NotebookEdit`, `hub_check_start`), a peer start or hold (`hub_peer_start|hold|release`), and any other `hub_*` tool. The rule matches the bare tool name, so the same call under another MCP server prefix is classified the same way.
205
+
206
+ The binding is the turn's own attribution, not the peer: `reviewCardFor(by, taskId)` answers a card only when that task is the caller's turn task and the caller owns it, so the card's reviewer keeps every tool (a reviewer reviews the card rather than running it) and the owner's work on another task is ordinary work. Without the turn binding a peer's whole session would lose its tools for the length of a review, and every note it filed elsewhere would become a proposal on the card.
207
+
208
+ The scope is keyed on the card, never on the `review` class: an audit and a code review are `review`-class and keep their memory tools, and a peer cannot widen its own scope by writing a card, because only the hub writes the schedule marker. The hub's own MCP server is the surface this rule sees; a peer's other MCP servers and its shell are outside it, and a vault write or an `ahub memory promote` run there is refused by that surface's own policy, not by this gate.
209
+
210
+ **Proposals (AC4).** On a review card `hub_remember` never writes the curated store: in the card's turn the note becomes a `memory` candidate in the machine-local sidecar, with the card in its `about` nodes (`task:<id>`) and the peer in its origin ids; a note the same peer files on another task is an ordinary note. `hub_memory_correct` already only proposes. A person accepts or rejects both with `amem review`, and the hub holds no acceptance authority.
211
+
212
+ **Budget stop (AC5).** The hub counts a review turn's own tokens (its `tokens` increments in the usage roll-up, never an estimate) and compares the card's counted spend with `memory.review.max_tokens_run` and `max_tokens_week` — the run's own tokens, and this project's review cards of the last seven days. At either cap the hub asks the owner for one checkpoint and then escalates the card with reason `budget` through the ordinary escalation path, so the board records the move and the note carries the counted spend. `status` reports the same readings while a card is open. The comparison is against the roll-up directly: the execution budget's `tokens` unit is untouched, still answering a tokens limit as `unknown_usage`, because nothing but this review counts tokens and a unit that admitted them would make every other tokens budget read an assumed zero. The stop is read from the card's own history (an `escalated` entry with reason `budget`), so it holds across a daemon restart and a second turn cannot escalate the card again; and it counts only the card's owner's turns, because a reviewer's turn that names the card spends the reviewer's tokens, not the review's. A review peer that reports no token usage cannot be counted: the reading stays unknown and no stop is claimed.
213
+
214
+ **Report.** A completion on a review card carries counts only: notes checked (the memory entries the card's turns read with `hub_memory_show`), proposals by kind (corrections and notes), origin sessions found or expired, and tokens. The line is written to the card's history as `review counts` and returned to the reviewer. Counts this hub run did not observe read as unknown, never as zero; origin sessions come from the input agent-mem exposes today, so they read unknown until agent-mem#323 lands.
215
+
184
216
  ## Review candidates and local usage counters
185
217
 
186
218
  Agents propose a correction with `hub_memory_correct {id, text, reason}`. The target is an exact id or unique visible prefix, screened under this project's current policy. The tool requires `memory_correct`, refuses private turns, and records a candidate with the full target id and revision. It does not edit a note or notify the other peers with the proposed text. Arguments and results are excluded from capture.
@@ -200,7 +232,7 @@ Changes from the worker integration are deliberate:
200
232
  - Task briefs and ask use curated amem entries with authentic `mem:` identifiers. Raw capture is not evidence. The existing native graph-neighbourhood/fails-first path is retained.
201
233
  - Recent recall supplements long-term notes with short-term curated notes. It does not recreate claude-mem's model-produced observation summaries. Those historical rows require the explicit person-run import.
202
234
  - Local capture deterministically appends SessionStart, tool events, Stop excerpts and SessionEnd. Host session/turn/step/invocation identity distinguishes actual executions even when a provider reuses its tool-call id; a replay of the same observation dedupes. There is no model summarizer, worker, watcher or network call. Published CaptureStore owns bounded excerpts, cap/retention, contention spool and replay. The bound handle is reused; effective R6 config is checked before each append and a change reopens it before writing. Refusal and daemon shutdown close it.
203
- - The host excludes private turns, PII tasks, private paths, memory/tool bookkeeping and secrets before capture. Source and evidence reads (`hub_source_read`, `hub_evidence_read`), evidence records, guidance and lineage calls, and SDLC audit and survey reports (`hub_audit_report`, `hub_survey_report`) are never captured. It screens complete input/output before truncation. Whole-row privacy screening also precedes read selection and rendering.
235
+ - The host excludes private turns, PII tasks, private paths, memory/tool bookkeeping and secrets before capture. Source and evidence reads (`hub_source_read`, `hub_evidence_read`), review brief file reads (`hub_review_file`), evidence records, guidance and lineage calls, and SDLC audit and survey reports (`hub_audit_report`, `hub_survey_report`) are never captured. It screens complete input/output before truncation. Whole-row privacy screening also precedes read selection and rendering.
204
236
  - Native task notes are written once. Auxiliary checkpoint and model-answer writes are candidates, not another curated copy; their submitted metadata is retained in the candidate text and their note kind is preserved. The complete candidate must fit the package's 4000-character limit, or the save is unavailable. Model answers are excluded from every curated read projection even if an old import contains one.
205
237
  - Supplemental reads use bounded exact-project pages with explicit coverage; see "P4 supplemental read and capture bounds" below. Published SearchIndex supplies ranking after screening, with a term-wise labelled fallback when FTS5 is absent.
206
238
 
@@ -290,11 +322,11 @@ An unchanged failure emits one safe log line per episode. A complete bounded pol
290
322
 
291
323
  `ahub memory declined [--json]` is a read-only inspection that an agent shell may also run (#1522). It reports physical outbound row IDs and safe policy categories, never title, body, path nodes or literal private patterns. Reads defer promotions and recheck the profile binding. Forgotten originals still matter: `forget` changes materialized visibility but leaves the source row in append-only history. Do not use it as a promise to clear a sync refusal.
292
324
 
293
- The declared agent-mem floor (0.33.0) supplies bounded `inspectSyncPolicy` inspection for shared-v1 and generation profiles. A complete result lists the declined IDs and safe rule categories for the inspected physical outbound history, including originals hidden by a later forget. An incomplete `input-bound` result may now carry an optional `bound` receipt (`kind`, `limit`, `observed`, `nextStep`); `complete` and `reason` keep their shapes. An unavailable, stale or bounded-out inspection remains explicitly incomplete; it never proves that no declined rows exist. The hub uses the public SDK rather than private helpers, snapshots of full history or its own portable log reader.
325
+ The declared agent-mem floor (0.39.0) supplies bounded `inspectSyncPolicy` inspection for shared-v1 and generation profiles. A complete result lists the declined IDs and safe rule categories for the inspected physical outbound history, including originals hidden by a later forget. An incomplete `input-bound` result may now carry an optional `bound` receipt (`kind`, `limit`, `observed`, `nextStep`); `complete` and `reason` keep their shapes. An unavailable, stale or bounded-out inspection remains explicitly incomplete; it never proves that no declined rows exist. The hub uses the public SDK rather than private helpers, snapshots of full history or its own portable log reader.
294
326
 
295
327
  The package also owns per-row local placement. The hub adopts only the projection of a successful trusted SDK placement result: `ok` with its verified withheld/exported counts. Since agent-mem 0.23.0 the daemon passes `placementAttestation` on every `syncMemory` pass, built by the package's own `createPlacementAttestation` for the memory home (`hostPlacementAttestation`, `src/hub/memory-sync-attestation.ts`). A legacy or shared-v1 store ignores it. The hub supplies no writer facts of its own, never fabricates the proof and builds a new one per pass, so no measurement outlives it. A refusal (`PlacementWriterContextError`) is its own closed cause `writer` in status, the dashboard and the log: the category (`running CLI`, `host package`, `setup receipt`, `declared writer`, `active locator`, `home floor`, `writer renewal`, or `unknown` for an unrecognized SDK category), the 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`). The package's message, paths and versions never enter status or logs. It logs once per episode like every other cause. Count projection does not delete or rewrite notes, change policy or promote a declined row; transport failures remain failures.
296
328
 
297
- Legacy stores without active per-row placement still refuse a sync containing declined rows. The native amem CLI has person-only activation from 0.22.0 ([activation documentation](https://github.com/STAIxBWLB/agent-mem/blob/v0.24.0/README.md#initial-sync-placement-activation)). A person using a CLI upgraded with the hub's declared floor (0.32.1; a 0.22.1 install sharing the home drops Record entries, see [Agent-authored records](#agent-authored-records-1320)) can preview it with every local writer installation declared, including the CLI and hub library installs:
329
+ Legacy stores without active per-row placement still refuse a sync containing declined rows. The native amem CLI has person-only activation from 0.22.0 ([activation documentation](https://github.com/STAIxBWLB/agent-mem/blob/v0.24.0/README.md#initial-sync-placement-activation)). A person using a CLI upgraded with the hub's declared floor (0.39.0; a 0.22.1 install sharing the home drops Record entries, see [Agent-authored records](#agent-authored-records-1320)) can preview it with every local writer installation declared, including the CLI and hub library installs:
298
330
 
299
331
  ```sh
300
332
  amem migrate --sync-placement --dry-run --writer-root '<cli-install-root>' --writer-root '<host-amem-install-root>' --json