@staix/agent-hub 0.39.0 → 0.40.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 (110) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.md +12 -6
  3. package/docs/adding-an-ai-tool.md +1 -1
  4. package/docs/agent-notes/README.md +7 -0
  5. package/docs/agent-notes/adapters.md +5 -3
  6. package/docs/agent-notes/benchmarks.md +2 -0
  7. package/docs/agent-notes/budget.md +1 -0
  8. package/docs/agent-notes/bus.md +1 -0
  9. package/docs/agent-notes/daemon.md +8 -3
  10. package/docs/agent-notes/local-worker.md +3 -1
  11. package/docs/agent-notes/security-review.md +1 -0
  12. package/docs/agent-notes/tasks.md +7 -2
  13. package/docs/agent-notes/tests.md +7 -7
  14. package/docs/contracts/companion-cli-v1.json +4 -0
  15. package/docs/design/adapters.md +91 -0
  16. package/docs/design/agent-hub-architecture.md +17 -0
  17. package/docs/design/agent-hub.md +10 -0
  18. package/docs/design/bus.md +7 -0
  19. package/docs/design/cli-output.md +183 -0
  20. package/docs/design/execution-reference.md +6 -1
  21. package/docs/design/roadmap.md +191 -0
  22. package/docs/design/task-board.md +34 -0
  23. package/docs/dogfood.md +11 -4
  24. package/docs/events.md +4 -4
  25. package/docs/memory.md +3 -3
  26. package/docs/operations.md +153 -41
  27. package/docs/profiles.md +1 -0
  28. package/docs/quickstart.md +17 -4
  29. package/docs/sdlc.md +3 -1
  30. package/docs/security.md +40 -4
  31. package/docs/verification/2026-11-14-codex-0169-reviewer-isolation.md +70 -0
  32. package/docs/verification/2026-11-14-codex-0169-reviewer-tool-call.md +48 -0
  33. package/docs/verification/2026-11-14-pi-152-compat.md +45 -0
  34. package/docs/verification/2026-11-15-0.40.0.md +39 -0
  35. package/docs/verification/2026-11-16-pi-loopback-1447.md +39 -0
  36. package/docs/verification/pi-152-model-free.ts +57 -0
  37. package/docs/verification/pi-152-native.mjs +21 -0
  38. package/docs/verified.json +22 -22
  39. package/package.json +3 -3
  40. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  41. package/plugins/agent-hub/kimi-hook.js +332 -89
  42. package/plugins/agent-hub/kimi-review-policy-worker.js +16 -11
  43. package/plugins/agent-hub/server.js +417 -160
  44. package/src/adapters/agy/definition.ts +1 -1
  45. package/src/adapters/claude-channel.ts +1 -1
  46. package/src/adapters/codex-review-isolation.ts +61 -17
  47. package/src/adapters/compat.ts +7 -7
  48. package/src/adapters/definitions/builtin-metadata.ts +6 -6
  49. package/src/adapters/definitions/native-config-defaults.ts +1 -1
  50. package/src/adapters/definitions/native-config-policy.ts +1 -1
  51. package/src/adapters/definitions/qwen.ts +1 -1
  52. package/src/adapters/local-worker.ts +5 -3
  53. package/src/adapters/pi.ts +54 -11
  54. package/src/adapters/registry-types.ts +2 -1
  55. package/src/adapters/reviewer-print.ts +2 -1
  56. package/src/cli/answer-args.ts +11 -3
  57. package/src/cli/console-question.ts +1 -1
  58. package/src/cli/console-state.ts +95 -10
  59. package/src/cli/console.ts +6 -2
  60. package/src/cli/error-format.ts +19 -0
  61. package/src/cli/help.ts +290 -25
  62. package/src/cli/identity-audit.ts +8 -7
  63. package/src/cli/identity.ts +17 -0
  64. package/src/cli/init.ts +102 -9
  65. package/src/cli/main.js +2 -2
  66. package/src/cli/main.ts +57 -21
  67. package/src/cli/output-standard.ts +56 -0
  68. package/src/cli/output.ts +143 -8
  69. package/src/cli/roadmap.ts +215 -0
  70. package/src/cli/smoke-pty-bridge.ts +7 -24
  71. package/src/cli/task-output.ts +3 -1
  72. package/src/cli/upgrade-presentation-flags.ts +2 -2
  73. package/src/hub/board.ts +200 -3
  74. package/src/hub/bus.ts +9 -0
  75. package/src/hub/check-runner.ts +3 -4
  76. package/src/hub/ci-watch.ts +19 -4
  77. package/src/hub/control-client.ts +1 -1
  78. package/src/hub/daemon.ts +245 -43
  79. package/src/hub/events.ts +2 -2
  80. package/src/hub/execution-reference.ts +1 -1
  81. package/src/hub/github-import.ts +81 -0
  82. package/src/hub/hub-tools.ts +34 -9
  83. package/src/hub/install-policy.ts +23 -0
  84. package/src/hub/lifecycle-schema.ts +2 -2
  85. package/src/hub/no-writes.ts +3 -0
  86. package/src/hub/operational-authority.ts +3 -1
  87. package/src/hub/operational-view.ts +1 -1
  88. package/src/hub/pi-failure.ts +7 -0
  89. package/src/hub/question-desk.ts +26 -7
  90. package/src/hub/questions.ts +33 -5
  91. package/src/hub/restart.ts +7 -0
  92. package/src/hub/roadmap-triage.ts +86 -0
  93. package/src/hub/roadmap-unplaced.ts +169 -0
  94. package/src/hub/roadmap-view.ts +83 -0
  95. package/src/hub/roadmap.ts +127 -0
  96. package/src/hub/sdlc-merge.ts +5 -4
  97. package/src/hub/sdlc-queue.ts +3 -3
  98. package/src/hub/sdlc.ts +37 -2
  99. package/src/hub/specs-task.ts +7 -0
  100. package/src/hub/task-sweep.ts +29 -2
  101. package/src/hub/task-worktree.ts +37 -0
  102. package/src/hub/tasks.ts +381 -7
  103. package/src/pi/dependency-publish.ts +50 -0
  104. package/src/pi/extension.ts +1 -1
  105. package/src/pi/launch.ts +1 -1
  106. package/src/pi/task-dependencies.ts +249 -0
  107. package/src/ui/index.html +53 -13
  108. package/src/ui/plugin-questions.ts +5 -0
  109. package/src/ui/plugin.ts +6 -1
  110. package/templates/config.json +1 -1
@@ -0,0 +1,191 @@
1
+ ---
2
+ id: roadmap
3
+ type: module
4
+ title: Roadmap Milestones
5
+ status: active
6
+ parent: agent-hub-architecture
7
+ depends-on: [task-board]
8
+ paths:
9
+ - src/hub/roadmap.ts
10
+ - src/hub/roadmap-view.ts
11
+ - src/hub/roadmap-unplaced.ts
12
+ - src/hub/roadmap-triage.ts
13
+ - src/hub/github-import.ts
14
+ - src/hub/specs-task.ts
15
+ - src/hub/board.ts
16
+ - src/hub/tasks.ts
17
+ - src/hub/hub-tools.ts
18
+ - src/hub/daemon.ts
19
+ - src/hub/restart.ts
20
+ - src/cli/roadmap.ts
21
+ - src/cli/main.ts
22
+ - src/cli/help.ts
23
+ - src/cli/identity.ts
24
+ - test/roadmap.test.ts
25
+ - test/roadmap-board.test.ts
26
+ - test/roadmap-daemon.test.ts
27
+ - test/roadmap-cli.test.ts
28
+ - test/roadmap-recovery.test.ts
29
+ - test/roadmap-unplaced.test.ts
30
+ - test/roadmap-triage-tasks.test.ts
31
+ - test/roadmap-r3-cli.test.ts
32
+ - test/roadmap-r3-daemon.test.ts
33
+ ---
34
+
35
+ # Roadmap milestones
36
+
37
+ R1 implements [#1479](https://github.com/STAIxBWLB/agent-hub/issues/1479) of the
38
+ [#1478 roadmap](https://github.com/STAIxBWLB/agent-hub/issues/1478). The board is
39
+ the source of truth. R1 adds no GitHub writes, roadmap model calls, export,
40
+ automatic task assignment, dashboard or console UI. R3 ([#1481](https://github.com/STAIxBWLB/agent-hub/issues/1481),
41
+ "Bottom-up placement" below) adds the first roadmap model call and read-only GitHub
42
+ reads, and still adds no GitHub write.
43
+
44
+ R1 adds no generation, triage or decomposition call; those belong to R2 and R3.
45
+ The existing mandatory privacy screen on planner-written text stays exactly as
46
+ `Tasks.newRelease` applies it, including on milestone title and outcome. It fails
47
+ closed where newRelease does and is never bypassed.
48
+
49
+ ## Storage and writes
50
+
51
+ The additive `milestones` table keeps id, title, outcome, state, horizon,
52
+ `milestone_order`, optional target date and parent, revision, history and
53
+ creation/update times. `milestone_links` records milestone, kind, ref, actor and
54
+ time, unique on milestone/kind/ref. No existing task or release column changes.
55
+
56
+ States are proposed, planned, active, done and dropped; horizons are now, next
57
+ and later. A new row defaults to proposed/later/order 0. Target dates are actual
58
+ YYYY-MM-DD calendar dates. A parent must exist at the top level; self-links,
59
+ cycles, grandchildren and moving an existing parent under another parent refuse
60
+ atomically. Parent links organize milestones; they do not silently copy child
61
+ membership into the parent's roll-up.
62
+
63
+ Every external write goes through Tasks. The configured planners, the unique
64
+ configured conductor and the person may create, edit, link, unlink and order.
65
+ Only the person records done or dropped, including through create/edit fields.
66
+ Settled milestones are final. Private turns, held review input, recovery,
67
+ shutdown, storage failure and changed caller authority refuse writes before any
68
+ effect. Text screening is followed by current role, privacy and revision checks.
69
+
70
+ Edits require the revision returned by show. Every write uses a transactional
71
+ revision compare-and-set. Link changes and their history/revision update commit
72
+ together. An identical link/unlink replay changes nothing. History contains at
73
+ most 256 metadata events: actor, time, event, field names and link kind, never
74
+ task text or the linked task id. Ordinary mutations reserve the last event slot
75
+ for the person's done/dropped settlement, so reaching the ordinary-write ceiling
76
+ cannot strand an active milestone. Duplicate link/unlink replays consume no slot.
77
+
78
+ ## Membership and computed progress
79
+
80
+ An explicit task link takes precedence over issue inheritance across the whole
81
+ roadmap. Without an explicit placement, a task belongs to each milestone linked
82
+ to its canonical source issue. Readbacks identify explicit placement or
83
+ `source-issue` placement with the qualified issue ref (the person renderer says
84
+ "inherited from #N"). GitHub-import identity is the existing `Task.external`;
85
+ otherwise Tasks reuses its canonical plan-issue identity, including `sdlc`.
86
+ No parallel `refs.source` field is introduced.
87
+
88
+ Progress is computed at read time, never persisted or inferred from prose:
89
+
90
+ - Tasks: approved and total public members, plus a separate withheld count.
91
+ - Issues: closed and total linked public issues; state comes only from matching
92
+ persisted plan-review issue metadata, with its cache time. The newest matching
93
+ receipt wins; missing evidence or conflicting equally recent receipts are
94
+ unknown. A task's approval does not prove its issue closed. Reads do not call
95
+ GitHub.
96
+ - Specs: fresh, stale, unverified or unknown from the existing spec graph. An
97
+ unavailable, erroneous or truncated graph supplies no complete proof. Missing,
98
+ ambiguous and nonancestor entries stay unknown; nonancestor provenance is
99
+ retained. The internal host report is used without the public hub_specs
100
+ presentation cap.
101
+ - Releases: shipped and total linked delivery trains, unknown for a missing row.
102
+ Milestones do not alter release train scope or state rules.
103
+
104
+ Private tasks appear only in the withheld count, even for the person's roadmap
105
+ view. Task ids, titles, direct links and provenance are omitted. Current metadata
106
+ screens apply to links and inherited provenance as well as titles. A ref that
107
+ becomes private cannot remain in a task's placement. Staged backlog text stays
108
+ hidden from non-planner agents. Reads refuse private and held review contexts.
109
+ No roadmap writer emits task text to logs, events, notices or memory.
110
+
111
+ ## Tools and CLI
112
+
113
+ The three tools are `hub_roadmap_list`, `hub_roadmap_show {id}` and
114
+ `hub_roadmap_edit {op, ...}`. The edit operations are new, edit, link, unlink,
115
+ order and state; fields and operands are closed per operation. A schema grants
116
+ no authority: Tasks and the daemon enforce current caller and read-only limits.
117
+ Every control rid gets a response, including unknown roadmap operations.
118
+
119
+ `ahub roadmap` defaults to list. `list` and `show <id>` support `--json`; default
120
+ output is for a person. Mutations are:
121
+
122
+ - `new --title <text> --outcome <text>` with optional horizon/order/target/parent.
123
+ - `edit <id> --revision <n>` with those optional fields; target/parent `none`
124
+ clears the field.
125
+ - `link|unlink <id> <spec|issue|task|release> <ref>`.
126
+ - `order <id> <n>` and `state <id> <state>`.
127
+
128
+ Issue refs are qualified owner/repo#N, task/train refs are positive ids, and spec
129
+ refs are spec ids. Parsing refuses unknown flags and extra operands before a
130
+ connection. Normal agent shells keep peer identity; terminal states stay
131
+ person-only, and live-test delegation cannot write milestone content.
132
+
133
+ ## Recovery
134
+
135
+ Rows are preserved in the same hub database through restart. Retained milestone
136
+ state requires the roadmap capability on a controlled recovery target and adds
137
+ its ordered row/link digest to integrity. Empty databases retain the existing
138
+ format floor and integrity shape; the additive tables do not advance the database
139
+ format marker.
140
+
141
+ ## Bottom-up placement (R3)
142
+
143
+ R3 starts from the work that exists (open GitHub issues, open board tasks, `active` and `draft` specs) and places it on the
144
+ roadmap. It adds three reads and writes through R1's own writers only.
145
+
146
+ **Unplaced work.** `ahub roadmap unplaced [--repo owner/name] [--json]` and `hub_roadmap_unplaced {repo?}` list what no live
147
+ milestone places, each row with its reason (`UNPLACED_REASONS`). A link into a `dropped` milestone does not place; a link into a
148
+ `done` one does. A task is placed by an explicit link or by its source issue through R1's inheritance, so linking an issue drops
149
+ the issue and every task that inherits from it. An issue whose imported task is open is reported once, as that task. Private tasks
150
+ are a count (`privateTasks`), never a row, and an issue behind one is not a row either. The result is a lower bound and says so:
151
+ `partial: true` when the GitHub read stopped early or a list passed its cap of 100 (`more` counts the rest), and `unavailable`
152
+ names a source that could not be read (`issues`, `specs`), so an empty list is never read as "all placed".
153
+
154
+ **GitHub reads.** `readGitHubIssuePages` and `readGitHubMilestonePages` (`src/hub/github-import.ts`) page `gh api repos/<r>/issues|milestones?state=open&per_page=100&page=N`
155
+ up to 10 pages under one 20 s deadline that also covers repository resolution. They are fixed argv GETs through `SdlcGh`; there is
156
+ no write verb, method flag or body. The first page failing is an error; a later page failing, the deadline, or a full last page
157
+ under the page limit is `partial: true` with what was read. Pull requests are left out and every row's URL must equal its
158
+ canonical identity. `readGitHubImport` (the one-page Backlog intake) is unchanged.
159
+
160
+ **Triage.** `ahub roadmap triage [--repo] [--list]` and `hub_roadmap_triage {repo?, list?}` (configured planner or unique
161
+ conductor, never during a PII or private turn) ask the hub's model, in one call for at most 25 unplaced items, where each belongs.
162
+ The model sees only text that passed `publicMetadataText`, and everything it reads is labelled data. `parseTriage`
163
+ (`src/hub/roadmap-triage.ts`) keeps an answer only when it names an item and a milestone it was shown (or a bounded new
164
+ milestone), gives exactly one of them, and quotes words (4 to 200 characters) that occur in the item text and in the milestone
165
+ title or outcome. Each kept answer is screened again before it is stored as a pending row of `milestone_suggestions`, attributed to
166
+ `hub` as a model's answer; nothing else reads that table, so a suggestion never enters `ahub ask` evidence or memory. A repeat triage
167
+ skips an item that already has a pending suggestion. `list: true` reads the pending public suggestions with no model call, for any
168
+ agent. No model, a dead one or an answer with nothing supportable reports `unavailable` or `dropped`, never a silent empty result.
169
+
170
+ `hub_roadmap_edit {op: accept|reject, suggestion}` (`ahub roadmap accept|reject <id>`) settle one suggestion. Accept applies
171
+ exactly its one link through `Board.linkMilestone` under the R1 revision compare-and-set, creating the suggested `proposed`
172
+ milestone first for "new milestone" and remembering it (`created_milestone`), so a retry after a failed link never makes a
173
+ second. A suggestion settles once: a repeat reject replays, and any other change of a settled suggestion (a second accept, an
174
+ accept after a reject) refuses naming its state. A suggestion whose text is no
175
+ longer public refuses accept and can be rejected. Nothing is linked without an accept.
176
+
177
+ **Roll-up and ready to close.** `milestoneList` and `milestoneShow` add `tree` (the milestone and its children, a task, issue,
178
+ spec or release linked twice counted once; `rollup` stays R1's own figure) and `readyToClose {ready, reasons}`. Ready needs
179
+ something linked, every task approved or cancelled, every issue closed, every release shipped or dropped, no withheld private
180
+ task, and every child `done` or `dropped`; spec freshness is not a condition. It is advice for the person: `done` and `dropped`
181
+ stay person-only and nothing sets a state from it.
182
+
183
+ **GitHub milestone import.** `ahub roadmap import-github [--repo] [--apply] [--json]` is the person's alone (console op
184
+ `roadmap_import_github`, not in `CONDUCTOR_TASK_OPS`; refused for agent shells and live-test). Without `--apply` it lists what it
185
+ would create and link. With it, each open GitHub milestone becomes one `proposed` milestone (outcome is its description, target its
186
+ due day) in one transaction with its `milestone_imports` mark, and its open issues are linked; a repeat finds the mark and each
187
+ link and changes nothing, a milestone that has since settled is not relinked, and text that fails the public screen is counted
188
+ in `withheld`. Nothing is written to GitHub.
189
+
190
+ `milestone_suggestions` and `milestone_imports` are additive tables outside the roadmap integrity digest: a lost suggestion is
191
+ triaged again and an import mark only prevents a duplicate, so neither changes the recovery format.
@@ -65,6 +65,34 @@ The task board is the shared record of work and its authority, not a transcript
65
65
 
66
66
  ## Authority and state
67
67
 
68
+ Pi's bounded step-ceiling continuations (#1447 T1/T2) preserve task ownership
69
+ until their configured allowance is exhausted. Exhaustion records `step_limit`
70
+ with the ceiling class, steps and continuations used; ordinary model/transport
71
+ failures retain `inference_failed`. A stop or recovery abort only logs its class
72
+ and never escalates a task. An accepted-owner history binding, rather than every
73
+ metadata revision, scopes the continuation counter.
74
+
75
+ Pi worktree acceptance (#1447 T5) keeps its existing admission and board-write
76
+ rules. The async accept/self-claim reply additionally waits for bounded host
77
+ dependency preparation, then rechecks the accepted owner's identity, session
78
+ authority and privacy. A preparation failure is advisory: the accepted task stays
79
+ in progress, with fixed readiness/cause text in the accept answer and next Pi
80
+ prompt. No installer output is stored on the board or copied to peer text.
81
+ Inputs are the recorded reviewed Git base, never mutable task files; changed
82
+ inputs or unsupported install settings/layouts remain unprepared. No new public
83
+ task schema or local-worker preparation is added.
84
+
85
+ Pressure checkpoints remain peer/session operations, including for taskless peers.
86
+ A host waiter additionally captures its owned-work task ids, creation identities
87
+ and actual owner-history epochs (#1447 T4). Move, unassign, cancellation or a
88
+ move-away/back expires that scope before budget/context-file/memory effects;
89
+ metadata updates naming the same owner do not. The refusal names the task/cause
90
+ and directs the former owner to read the notice and `hub_task_list`. No task-id
91
+ parameter or mandatory task ownership is added to the checkpoint tool.
92
+ Host cleanup retains only the body-free refusal cause, bound to the original
93
+ peer/session and request, until that request's original deadline. A fresh request
94
+ replaces it; a different session or context request receives no prior task ids.
95
+
68
96
  Visual attachments (#1058) annotate public work without changing a task's state,
69
97
  outcome or evidence authority. Publication checks current role, turn, task and
70
98
  privacy admission before record/bus effects and after awaited file reads. A PII
@@ -87,6 +115,8 @@ Owner, reviewer and planner are distinct responsibilities. A reservation or offe
87
115
 
88
116
  Automatic offer and backlog paths respect `plannedStart`; a future card becomes eligible at its boundary through existing sweep/release passes. Explicit person/planner authority is separate. This avoids offering scheduled work early without taking away deliberate manual control ([#1076](https://github.com/STAIxBWLB/agent-hub/issues/1076)).
89
117
 
118
+ A bounded wait (#1454) is the owner's way to say an `in_progress` task is legitimately idle until a dated event. It is a `wait recorded` history entry carrying `wait: {until, owner}` and the public reason as its note, written through `Tasks.wait` only (owner, the task's planner or the person; `until` in the future and at most 14 days ahead; the reason screened like any note). It is quiet (`QUIET_EVENTS`), so it moves nothing. `taskWait` (`src/hub/task-sweep.ts`) is the only reader: the wait is in force while the latest `wait recorded` entry names the current owner and no later entry is state-changing, so done, decline, return, reassignment and cancel end it with no extra write. `nextSweep` skips `idle-owner` while `now < until` and measures the ladder from `max(last activity, until)` afterwards; the other three kinds never read it. A wait past its `until` is listed by the planner groom view (`wait-passed`).
119
+
90
120
  Urgent acceptance can reclaim only enough unaccepted, unstarted, non-pinned and non-urgent offers to fit the limit. It does so after other admission checks and immediately before the accept write; if insufficient, it reclaims none. Accepted work is never displaced merely to satisfy a new urgent request, because an offer and an active commitment have different costs ([#1080](https://github.com/STAIxBWLB/agent-hub/issues/1080)).
91
121
 
92
122
  Untouched returns may atomically update `reserved` while moving eligible proposed or accepted work back to Backlog. `Tasks` retains the existing authority, execution-evidence, pin, release and reservation gates, including post-screen rechecks. An explicit reservation patch advances planning revision and records its prior value in the same state/history write, before capacity publication can trigger auto-pull. Clearing it therefore parks the card; omitting fields preserves its planning. Assignment and auto-pull selection remain the existing rules, with no time-based suppression ([#1154](https://github.com/STAIxBWLB/agent-hub/issues/1154)).
@@ -451,3 +481,7 @@ and no background scanner, timer or model judge is introduced. Live pilots
451
481
  require the person's separate instruction.
452
482
 
453
483
  Survey reports accept at most 64 candidates and 64 KiB per normalized request. A candidate has at most 64 literal paths (512 bytes each) and 2048-byte narrative fields. Generated card detail, including any reopening reason, is at most 8 KiB; oversized combinations refuse with a shortening next step. Historical readback returns at most 16 reasons per key; a 1000-row history window that cannot be read completely remains unknown and suppressed. The bounded 32-key/3072-byte brief is a summary, not a complete rejection inventory. `advisor_surveys` advertises parser/recovery support independently of lifecycle mode, but survey tools and task metadata are published only when enabled. Persisted survey or considered state requires that feature and its conditional integrity proof on recovery; empty legacy stores keep their existing format floor.
484
+
485
+ ## Roadmap milestones (#1479)
486
+
487
+ The [roadmap module](roadmap.md) defines additive milestone storage, Tasks-only writes, inherited membership, public count-only private scope and computed task/issue/spec/train progress. It adds no GitHub writes or model calls and changes no release train or routing rules.
package/docs/dogfood.md CHANGED
@@ -10,6 +10,8 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
10
10
 
11
11
  | Feature | State here | Measured by |
12
12
  | --- | --- | --- |
13
+ | 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 |
14
+ | 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 |
13
15
  | 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 |
14
16
  | 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 |
15
17
  | 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 |
@@ -77,6 +79,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
77
79
  | 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 |
78
80
  | 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) |
79
81
  | 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 |
82
+ | 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 |
80
83
  | Person-run backlog legs (#1176, `needsPerson`) | on after release: this repository parks live-receipt legs (tasks 138, 181, 188, 468, 594) reserved to an agent only as a placeholder; marking them `ahub backlog person <id> <rev> true` keeps the hint and stops auto pull and the idle sweep offering them | `ahub backlog list` ends with `waiting on you: #N...` and `ahub status` carries `WAITING ON YOU`; the `backlog pulled` and `idle sweep` history of a marked card stays empty; `test/person-run-cards.test.ts` pins every gate. Marking the five tasks is a person's command after release, not part of the PR |
81
84
  | Backlog return with a reservation edit (#1177, #1154) | on after release: a person or planner moving an untouched card to another peer, or parking it with no reservation, runs `ahub backlog return <id> <rev> <reason...> --reserved <peer>` or `--unreserve` instead of a plan then a return | the card's history shows one `backlog returned` entry carrying the reservation change (not a separate `planned` entry before it); `test/backlog-return-reserved.test.ts` runs the real CLI against a daemon for both flags, the default and the refusals |
82
85
  | Planner WIP caps and backlog pull (#655, #718) | on (`tasks.wip_limits.codex = 2`); reserved-pull handoff on after release; the active / review-wait / reserved split (#784) shows in `ahub status`, the console Peers detail and the dashboard legend after release | `ahub status` split per peer (a full cap held by review-wait shows as such); board history/offer readback: reserved `backlog pulled` -> `assigned` -> `accepted` for the same peer; stale or unowned offers, capacity refusals and held-ready entries |
@@ -92,6 +95,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
92
95
 
93
96
  | Feature | State here | Measured by |
94
97
  | --- | --- | --- |
98
+ | 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 |
95
99
  | 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` |
96
100
  | 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 |
97
101
  | 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 |
@@ -119,7 +123,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
119
123
  | Release preparation and guarded tag (#787 P3b) | scratch-repo fixtures with a local bare remote; the real history was dry-run in a disposable clone; release branches are prepared with it, and since #1273 it also renders the generated README facts blocks | `scripts/release-prepare.ts` run on a `release/<version>` branch and a release PR that carries the version, CHANGELOG, report and stamps; `scripts/release-tag.ts` refusing without the person's consent and pushing one tag after it; native version-named receipts retained while dated release reports are excluded (#1004 fixture) |
120
124
  | Opt-in auto pull (#785 P1c) | source/fixture coverage and a real daemon test; off by default, active only where a person sets `tasks.auto_pull` in `config.local.json` | `backlog pulled` history entries with `by: hub` and an `auto_pull:` note; at most one per capacity release; no pull with the setting off, for unreserved, PII, pinned, frozen or dependency-blocked cards |
121
125
  | Opt-in assignment queue backpressure (#800) | off by default; this change enables no live repository policy | `ahub route explain` and status queue-count/age/unknown reasons beside WIP; bounded summary reads, held-offer release, post-await offline/not-attached origin retention with plan-policy handoff, and role-scoped override regressions; no delivery disposition or routing-template change |
122
- | Per-head CI watcher and `ci_completed` (#785 P1b) | source/fixture coverage with a fake gh; active after release and hub upgrade | one `ci_completed:` task notice per head to owner and reviewer, a premature review re-offered once green; watchers started per `hub_task_done` head and gone at the result, deadline, newer head, verdict or shutdown; no gh read outside a watcher |
126
+ | Per-head CI watcher and `ci_completed` (#785 P1b, #1490 AC5) | source/fixture coverage with a fake gh; active after release and hub upgrade | one `ci_completed:` task notice per head to owner and reviewer, a premature review re-offered once green; watchers started per `hub_task_done` head and gone at the result, deadline, newer head, verdict or shutdown; cancelled checks and the intentionally deferred macOS check on a draft PR stay pending, not failed; same-name rows collapse to a newest run only when workflow and start time make the ordering unique, otherwise duplicate evidence stays; `test/ci-watch.test.ts`; no gh read outside a watcher |
123
127
  | Plan conformance (#481 S2, #1403 T6) | advise | PRs with files outside the plan or under exclusions; accept base-to-local remote-tracking default tip (no task head needed); done base-to-unique merge-base of recorded task head/default tip, excluding own commits. Real temp Git graphs cover upstream/own/integrated/unrelated/shallow/ambiguous/missing refs and changed/none/unknown advice; default tip rechecked, no fetch or checkout-HEAD substitution, no live drift receipt yet |
124
128
  | Test integrity for bug fixes (#481 S4) | advise | bug PRs without a red-first receipt, modified pre-existing tests |
125
129
  | Eval gate for agent configuration (#481 S5) | advise; mechanism only, `eval_check` is not set here until the person chooses a suite (#251, #266), so configuration PRs show `eval check not configured` as a note | configuration PRs with a missing, failing or unreported eval check; recorded pass rate and suite on the approval note |
@@ -173,6 +177,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
173
177
  | 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 |
174
178
  | Permission modes | on, person-chosen | approval prompts and their wait times |
175
179
  | Pi/local read-only shell class (#816 T1) | source/fixture coverage; person setting and live Pi receipt (AC4) remain unverified | automatic read-only class versus approval requests, parser/allowlist/proof revalidation tests, unchanged Seatbelt/path-guard byte checks |
180
+ | Pi bounded continuations, defaults, failure classes, task-move delivery and focused-check preparation (#1447 T1/T2/T3/T4/T5) | source/fake coverage only until release and upgrade; the person-run implement-task leg stays unverified | fake Pi ceiling continuations delivered, exhausted `step_limit` moves versus `inference_failed`, class-only private diagnostics, and `needs_review` for unsettled/concurrently cancelled tools; Pi default/repository max_steps 100, local 30, and fake-extension rejection at attempt 101/100; late important notices ahead of chat in the actual escalation prompt, durable/volatile receipt preservation and former-owner done/checkpoint refusals; host-busy/provider-prompt window remains open and unmeasured; reviewed-base/cache preparation, fixed failure guidance and offline fixture TypeScript; macOS network-disabled TypeScript fixture passed; localhost listeners moved to a follow-up, and the account-backed Pi leg remains unverified |
176
181
  | Pi and the local worker on DGX | off: DGX unreachable recently; Pi is off the roster | turns served on-prem, relay errors |
177
182
  | Pi native version gate (#843 AC2) | source/fixture and isolated model-free 1.4.0 receipt; active after release and hub upgrade, Pi stays off this repository's roster | `ahub agents` pi verdict, one version probe on each real launch, rejected versions naming the exact trust command; account-backed inference remains unverified |
178
183
  | 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 |
@@ -191,7 +196,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
191
196
  | `ahub init` settings flags (#1065 T1) | on wherever a person runs `ahub init`, new or existing project; fixture coverage only (the real CLI against scratch projects and a scratch hub home). The guided prompt (T2) and the specs rows (T3) are not built, and a person using the flags on a real project is not yet recorded | each `--dry-run --json` `settings` row is a change a person asked for (key, file, old and new value), `ahub init` refusals name the allowed values, and `git diff` of `.agenthub/config.json` after an init with flags shows only the named keys |
192
197
  | Runnable person commands and the single-source AGENTS block (#1399) | on after release and upgrade: hold notices, `ahub status` and `ahub queue show` print the full `ahub queue resolve` command; this repository's block is the template. A project initialised earlier keeps its old block until `ahub init` runs there; fixture coverage only, no live relay to a person measured | `test/person-command.test.ts`: the hold notice's command passes the CLI argument rule with id, revision, action and reason; every profile renders every template bullet; a stale block is detected and refreshed with surrounding text kept. `ahub doctor` row `hub instructions` on a real project |
193
198
  | Init research default and completion guidance (#1328 T6) | available at init; live new-project adoption unverified, fake-HOME fixtures only (`test/init-settings.test.ts`, `test/init-prompt.test.ts`, `test/autonomy-defaults.test.ts`, `test/setup-research.test.ts`); no real setup or settings were changed by this task | new-project effective `research.enabled` equals the trusted explicit setup choice unless an init flag overrides it; init preserves the machine defaults bytes; ordinary setup leaves research unchanged; successful-init output names commit/start and advise/enforce person steps, with no next-steps block on a preview or refusal |
194
- | Tracked or untracked hub config at init (#1411 T1) | on here: this repository tracks `.agenthub/config.json` (#1412) and `.agenthub/sdlc.toml` (hub task 905, the #1411 follow-up), with `routing.toml` left local; `--track-config` / `--no-track-config` and the prompt question run in scratch git repositories only (`test/init-track-config.test.ts`). A person choosing either on a real new project is not yet recorded | `git ls-files .agenthub` after an init with each choice (the shared files committed, or none); `ahub init --track-config` refusals naming the ignore rule with nothing written; the AGENTS block's roles sentence matching the choice; a key set in both `config.json` and `config.local.json` read as the local value |
199
+ | Tracked or untracked hub config at init (#1411 T1) | on here: this repository tracks `.agenthub/config.json` (#1412) and `.agenthub/sdlc.toml` (hub task 905, the #1411 follow-up), with `routing.toml` left local; `--track-config` / `--no-track-config` and the prompt question run in scratch git repositories only (`test/init-track-config.test.ts`). A person choosing either on a real new project is not yet recorded | `git ls-files .agenthub` after an init with each choice (the shared files committed, or none); `ahub init --track-config` one-run outside-ignore re-inclusions and nested-rule refusals with nothing written (#1496), dry-run/idempotence/no-track and temporary preview cleanup in isolated global-excludes/info-exclude fixtures; the AGENTS block's roles sentence matching the choice; a key set in both `config.json` and `config.local.json` read as the local value |
195
200
  | `ahub roles` and the doctor shared-config row (#1411 T2) | on here after release and upgrade: this repository tracks `.agenthub/config.json`, so the doctor row should read `tracked`; `ahub roles` from a `.worktrees/` checkout reads the main worktree's hub. Fixture coverage only (`test/roles-output.test.ts` with a fake hub and a linked worktree, `test/init-track-config.test.ts` for the doctor row) | `ahub roles --json` from a task worktree equal to the project root's; the `shared config` doctor row on this repository reading `tracked` |
196
201
  | Conductor, planner and reviewer at init (hub task 900, #1408 T2) | available at init; this repository's roles are already set in its tracked `.agenthub/config.json`, so it is not run here; fixture coverage only (`test/init-roles.test.ts` against scratch projects, the guided prompt in `test/init-prompt.test.ts`). A person choosing roles on a real new project is not yet recorded | `ahub init --conductor/--planner/--reviewer --dry-run --json` shows only `roles.<peer>` rows for the peers whose roles change; an ineligible choice (a headless conductor, a kind that cannot plan or review) is refused with the reason and the eligible peers and nothing written; `ahub roles` and the doctor `roles` row after the init name the chosen holders |
197
202
  | Jcode usage and context readings (#801) | source/fixture coverage and one isolated live probe of 0.99.1 against a fake gateway (docs/verification/2026-10-28-jcode-0.99.1-usage.md); a real account and provider remain unverified; no native quota reader (Jcode gives no window length) | `ahub status` and the dashboard show `jcode_usage_update` occupancy, `ahub usage` and `ahub report` rows for source `jcode_acp`, and `ahub budget` still says `no reading` for Jcode |
@@ -232,7 +237,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
232
237
  | Conductor operational CLI (#812 T2, #899, #933) | source/fixture coverage; active after release; `ahub doctor --orphans --kill` from the conductor's shell prints the stopped pids for a person and the hub's reply with `--json`; #933 adds board import, intake approve, schedule run/pause/resume, research backfill, bench run, source add, goal link and `tasks.escalate_after`, and lets any agent cancel, label or re-role its own task and list the deliverables it may see | peer-attributed effect admissions, authority/domain-error separation, delayed-handshake and incomplete-output CLI tests, cached privacy projections and revocation checks; `test/conductor-cli.test.ts` holds the orphan cleanup's readable default and `--json` byte equality; `test/console-class-933.test.ts` holds one admission row per #933 form, the operational refusal for another agent, own-task cancel and role, and the screened deliverables list; metric: `agent_cli` rows by label in `events.jsonl` and the person-only refusals that remain |
233
238
  | Review request CI evidence (#824) | on after release: each review request carries one `Hub-verified at <head>` line from the admission it already read | review requests to a review-only reviewer; the count of reviews that still list test execution or CI evidence as unmet (should fall); no new gh reads |
234
239
  | Verdict mirror (#786 T3) | `auto_merge = "dry-run"` first (same setting as the guarded merge): the dry-run notice names the one comment review it would post; `on` after one dry-run notice matches a verdict | one `agent-hub verdict:` comment review per (task, head, verdict) on each PR; none at a stale head; the headline alone for a private task |
235
- | Merged PR adoption (#1328 T3) | source feature here for the person or current configured conductor; not run on the live board | scratch Board/fake-gh tests prove merged/head/check/finding admission, dependent release and stale actor/privacy fences; adoption history counts separately from reviewer verdicts and guarded merges |
240
+ | Merged PR adoption (#1328 T3) | source feature here for the person or current configured conductor; not run on the live board | scratch Board/fake-gh tests prove merged/head/check/finding admission, dependent release and stale actor/privacy fences; same-name check rows use the uniquely newest same-workflow run, while uncertain duplicates remain unresolved; adoption history counts separately from reviewer verdicts and guarded merges |
236
241
  | Guarded merge and result recording (#786 T1/T2, #899) | `auto_merge = "dry-run"` first in this repository's `.agenthub/sdlc.toml`; `on` after one dry-run report matches a manual merge; the report prints for a person by default and as a document with `--json` | `ahub sdlc merge <task> --dry-run` reports the mode, the decision, each refusing gate and the `gh` command it would run, readable without `--json`; `--json` is byte for byte the view printed before #899 (`test/sdlc-output.test.ts`); merges the hub made against merges a person or reviewer made by hand; host merge/cleanup records and owner-notice status; fake-gh ordering/idempotency proof, no live cleanup claim |
237
242
  | Peer `DOING` column (#878) | on after the release for Claude sessions started with `ahub claude` and the Codex TUI; ACP peers show it only when their agent sends a plan | `ahub status` shows a title or current item for an active Claude and Codex peer without a hub tool call; `[private]` during PII work; the column disappears when no peer has a value |
238
243
  | Pi/local session titles (#1055) | available after release for hub-owned Pi/local sessions; native Pi setter/readback is probed, installed use and the live restart receipt remain unverified (#1143) | first `hub_set_title` succeeds once, later agent writes return `already_named`, and person rename replaces it; live status shows the title or a screened unnamed label while `status.json` omits both |
@@ -240,7 +245,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
240
245
  | Console and dashboard | on; #719 pending-history reads and bounded native launch retries take effect after release | control-request latency, connection timeouts and launch retry notices; daemon CPU/RSS samples, measured separately from lifetime CPU |
241
246
  | Completions: a run a person started settles into a result record (#1054 T2/T3, `completions`) | source and fake-adapter coverage until released: a completion exists only for an adapter with a code-verified settle signal (Claude, Codex, Pi, local, Kimi/Jcode headless, Qwen); agy and person-typed Codex turns create none. Kimi 2.5.2's own TUI also earns them only through the `ahub kimi` launcher's ephemeral `native_hook_launch` and exact-version native-turn/background readback (#1282); other TUI versions keep the old no-completion behavior. The person reads them with `ahub results` (unread marked, `--read`, `--read-all`, `--unread-last`), as a `watch` need in `ahub status` and `ahub console` (and, from #1054 T6, in the Results section of the Agents view and in the acon inbox: see the next row) | `completion` events count `done`, `failed`, `limit` and `interrupted` with `ms`, and `completion_seen` events count how many results a person actually read and on which surface (the share of unread results older than a day shows whether results are noticed at all); the share of `interrupted` over all shows how often a restart cuts a run, and a run that never settles shows as an open row in `hub.db` `completion_runs`; `test/completions.test.ts`, `test/completions-daemon.test.ts`, `test/completions-receipts.test.ts`, `test/kimi-tui-facts.test.ts` and `test/kimi-tui-completion-1282.test.ts` pin the rule, AC1 to AC7, final-turn correlation, background quiescence and privacy sinks. The exact-version live receipt is `docs/verification/2026-11-08-kimi-tui-completion-1282.md`: ordinary `done`, background completion delayed to quiescence, and one `done` after a real `hub_inbox` pull; no prompt, answer, error or task command is stored |
242
247
  | Results in the dashboard and the acon inbox (#1054 T6, T7) | on after release; with a console that advertises `inbox.result` and `action.meta` (acon 0.1.3 does) the person sees unread results as `result` items in the acon inbox, and in any case in the Results section of the Agents view with Mark read, Mark all read and Mark last unread again; the one-line detail is the head of the request, read from the bus at display and never stored. This repository's TUI-driven agents (Claude, Kimi) create few completions until a settle signal lands, so the first live receipt is a headless run or a Codex or Pi session started from the console | the share of results marked read from `acon` versus `dashboard` versus `terminal` (`completion_seen` `surface`), how many unread results are older than a day, and whether any `result` item reached an acon console without the features (it must not: the plugin publishes only with both); `test/results-plugin-1054.test.ts`, `test/results-dashboard-1054.test.ts`, `test/results-panel-1054.test.ts` and `test/completion-detail-1054.test.ts` pin the item, the receipt authority, the page and the privacy canaries (AC6 plugin part, AC8). The item is checked against acon's own published `inboxItemProblems` and `stableAtProblems` (`@staix/agent-console/conformance`, 0.1.3), but it is not yet seen in a running acon console: that is the one open live receipt, and it needs acon with `inbox.result` and a person |
243
- | Questions for the person: `hub_ask` (#1053 T2 to T6, `questions`) | available after release; source and fake-adapter coverage only: no live receipt per client yet (T1 measures the MCP tool-call timeouts and confirms the 45 s and 300 s wait windows). A person answers in `ahub console` (`A`), with `ahub answer`, or in the acon inbox form where the console advertises `inbox.form` and `action.meta` (the form rendering is agent-console#27; before it ships the item is a plain decision with an `open` verb) | `question` events count `asked`, `answered`, `pending`, `superseded`, `cancelled`, `expired` and `unavailable` with `latencyMs` and `surface` (`terminal`, `console` and `acon` show which surface people use); the share of `pending` over `asked` shows whether the wait window is long enough, `expired` shows questions nobody saw, the `question` need in `ahub status` shows how long a question waits, and `test/questions.test.ts`, `test/questions-daemon.test.ts`, `test/questions-console.test.ts`, `test/questions-console-daemon.test.ts`, `test/questions-plugin.test.ts` and the Pi bridge test pin the paths; no question or answer text is ever in the events, the log or memory |
248
+ | Questions for the person: `hub_ask` (#1053 T2 to T6, `questions`) | available after release; source and fake-adapter coverage only: no live receipt per client yet (T1 measures the MCP tool-call timeouts and confirms the 45 s and 300 s wait windows). A person answers in `ahub console` (`A`), with `ahub answer`, or in the acon inbox form where the console advertises `inbox.form` and `action.meta` (the form rendering is agent-console#27; before it ships the item is a plain decision with an `open` verb) | `question` events count `asked`, `answered`, `pending`, `superseded`, `cancelled`, `expired` and `unavailable` with `latencyMs` and `surface` (`terminal`, `console` and `acon` show which surface people use); the share of `pending` over `asked` shows whether the wait window is long enough, `expired` shows questions nobody saw, the `question` need in `ahub status` shows how long a question waits, and `test/questions.test.ts`, `test/questions-daemon.test.ts`, `test/questions-console.test.ts`, `test/questions-console-daemon.test.ts`, `test/questions-plugin.test.ts` and the Pi bridge test pin the paths; no question or answer text is ever in the events, the log or memory; #1473 adds source/fake daemon and CLI coverage for a unique conductor recording a per-set direct person instruction: answer views and peer replies show conductor provenance, `agent_cli` marks instructed, and the instruction quote stays only in hub.db (never read views, envelopes, logs, events or capture). Refusal metrics cover wrong/self/private/child/live-test/delegated/non-open cases; no live conductor-answer receipt has been run |
244
249
  | Usage view (#683) | CLI (`ahub usage`, U2), console Usage tab `7` (U3) and dashboard Usage view (U4) shipped | its own panels |
245
250
  | Kimi usage from its wire log (#285 phase 2, delayed drain #1281, sliced drain #1283) | on after the release when `budget.kimi_tokens_5h` is set; this repository sets it | `tokens` and `usage` (`kimi_wire`) events per Kimi turn, delayed rows collected without another turn, the `tokens` window in `ahub budget`, correct task attribution without a later turn's `turn_end` changing, and the count of `kimi usage unknown` notices; the sliced-drain benchmark records before/after longest synchronous slice, discovery and bytes, with a real status request admitted between slices; [AC11](verification/2026-10-25-kimi-usage-ac11.md), the [current native receipt](verification/2026-11-07-kimi-delayed-usage.md) and the [sliced-drain receipt](verification/2026-11-08-kimi-wire-yield-1283.md) |
246
251
  | Doctor memory-capture rows from agent-mem setup state (#1008) | on after release; `ahub doctor` runs here and reads `amem setup <tool> --json` (a preview that writes nothing) for `codex` and `kimi`; no dotfiles text and no `dot ai memory status` call | `memory capture: codex` and `memory capture: kimi` rows read ok (set up), warn with `amem setup <tool> --apply` (pending), warn with `client missing` (the native CLI is not installed) or unknown (no `amem`, a refusal or unparseable output); the Codex row notes the native `/hooks` review; a fixture run proves `dot` is never called |
@@ -263,6 +268,8 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
263
268
  | 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 |
264
269
  | 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 |
265
270
  | 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 |
271
+ | 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 |
272
+ | 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 |
266
273
 
267
274
  ## Decisions
268
275
 
package/docs/events.md CHANGED
@@ -32,7 +32,7 @@ marked `private: true`, and PII tasks `pii: true`.
32
32
  | `native_turn_end` | `peer`, `id` (an opaque hash that names the completed turn): the end of a Claude turn, recorded once the hub finds the turn its Stop hook reported completed in the native transcript (Codex's is its `turn_end`), or the correlated final `turn.ended` of a Kimi TUI turn (#1282), or an agy terminal `Stop` of an active, fully idle turn, which carries no `id` and a closed `reason` (`user_canceled`, `error`, `max_invocations`, `max_forced_invocations`, `max_token_budget_exceeded`, `terminal_step_type`, `terminal_custom_hook`; #1280); quiescence evidence for an integration, never a hook payload, prompt or error |
33
33
  | `supervision_turn` | `peer`, `turn` (the hub turn a supervision notice was delivered into, or `supervision-<uuid>` when none was open), `tokens` (when the adapter reported any for it), `ms` (from that turn's start, or from the delivery when none was open, to its native end): a completed native turn that received supervision, which `ahub report` counts; a failed delivery or turn, a peer that went offline or a changed native session records none |
34
34
  | `conduct` | `peer` (the conductor, or `user` when the console releases a conductor hold), `action`, `task` (when the action names or creates one), `target` (the peer an assignment, start, hold or release names): one action of the conductor that ran, the structured twin of the console's `conductor` notice. `action` is a tool name without its `hub_` prefix: a conductor tool (`status`, `task_show`, `task_assign`, `task_escalate`, `peer_start`, `peer_hold`, `peer_release`), or one of the conductor peer's own task tools, which are not conductor tools (`task_propose`, `task_accept`, `task_decline`, `task_done`, `review`, `checkpoint`, `remember`). The role-free reads and redirects (a task's owner or reviewer with `hub_task_show`, its proposer with `hub_task_assign`) record none, and neither does `hub_task_list` |
35
- | `agent_cli` | `peer` (`unknown` when the agent markers were invalid), `command` (the command and, where it has one, its subcommand, from a closed list; `unknown` otherwise; never an argument), `refused` (the CLI refused it before connecting: a human-only command, or an invalid identity; a later refusal by the hub is not recorded here): an `ahub` command run from an agent session. The hub reads these from the `cli-audit/` outbox, so `at` is when it read the record. From #1278 it also carries `task` and `attribution` (the `turn_end` rule) when the record is drained within 15 s of the command; an older record is `unattributed`, never matched to the task open at drain time |
35
+ | `agent_cli` | `peer` (`unknown` when the agent markers were invalid), `command` (the command and, where it has one, its subcommand, from a closed list; `unknown` otherwise; never an argument), `refused` (the CLI refused it before connecting: a human-only command, or an invalid identity; a later refusal by the hub is not recorded here), optional `delegated: true` or `instructed: true` for the corresponding audited authority path: an `ahub` command run from an agent session. The hub reads these from the `cli-audit/` outbox, so `at` is when it read the record. From #1278 it also carries `task` and `attribution` (the `turn_end` rule) when the record is drained within 15 s of the command; an older record is `unattributed`, never matched to the task open at drain time |
36
36
  | `hook_stats` | `peer`, `n` (facts hook calls in the turn, its Stop included), `startupMs` and `maxStartupMs` (the hook processes' start-up and connect time, summed and the largest), `hubMs` (the hub's own time for them): at Claude's Stop (issue #108) |
37
37
  | `cohort` | `id`, `event` (`formed`, `joined`, `lifted`), `silent`, `tasks`, `owners`: owners of overlapping tasks formed a cohort, it changed membership, or it stopped being silent (issue #107). Recorded in every regime; only a turn-free project's cohorts can be silent |
38
38
  | `split` | `task`, `where` (`routing`: routing chose the first owner of a task overlapping another owner's task not started yet, not an escalation, relay or reassignment, the record calibration reads; `cohort`: an overlap formed or changed a cohort), `verdict` (`split`, `single`, `unknown`), `single` (the peer that would finish both units alone soonest), `splitS`, `singleS`, `reason` (for `unknown`), `trace` (the inputs and steps: peer names, their profiles of versions and coordination, and numbers only): a shadow split prediction; it never changes the assignment (issue #109) |
@@ -43,12 +43,12 @@ marked `private: true`, and PII tasks `pii: true`.
43
43
  | `turn_end` | `peer`, `turn`, `ms`, `tokens` (when the adapter reported any during the turn), `files` and `snapshotMs` (when snapshots are on: how many files the turn changed, and the time both snapshots took); optional numeric `task`, `attribution` (`delivery`, `single_open`, `unattributed`) frozen at turn start, `pii: true` for an attributed PII task; optional `model` and `modelEvidence`, both or neither (#1402): the model id the adapter observed for the turn, with how it was learned, strongest first: `served` (the provider or the native transcript named it for this turn's responses), `session` (the native session's current model id), `configured` (only the hub's own override or launch flag is known). An alias is recorded as the native surface reported it, never expanded; a label that fails the safe-label check is dropped with its evidence |
44
44
  | `tokens` | `peer`, `n` (tokens added since the previous report), optional `source: kimi_wire` and opaque `id` (the native row, used to keep a partial-write retry exactly once), optional numeric `task`, `attribution` (`delivery`, `single_open`, `unattributed`), `pii: true` for an attributed PII task |
45
45
  | `usage` | `peer`, `source` (`omniroute`, `claude_transcript`, `claude_result`, `codex_appserver`, `kimi_wire`, `jcode_acp`, `agy_transcript`), opaque `id`, optional `measuredAt` (provider/source time), the `requestedModel`, `servedModel` and `provider` labels, and any provider-reported counters (`inputTokens`, `outputTokens`, `cacheReadTokens`, `cacheWriteTokens`, `reasoningTokens`, `totalTokens`); optional numeric `task`, `attribution` (`delivery`, `single_open`, `unattributed`), `pii: true` for an attributed PII task. Missing counters stay unknown. |
46
- | `task` | `id`, `event` (the board history event, e.g. `proposed`, `assigned`, `done`, `check failed`, `blocked`, `ready`), `by`, `state`, `owner`, `reviewer`, `class`, `pii`, and `reason` when the board recorded a move reason (`manual`, `budget`, `offline`, `idle`, `rejections`, `declined`, `inference_failed`, `delivery_failed`). The research record (docs/research.md, #1277) reads these for every terminal task, approved or cancelled; no new event type was added |
46
+ | `task` | `id`, `event` (the board history event, e.g. `proposed`, `assigned`, `done`, `check failed`, `blocked`, `ready`), `by`, `state`, `owner`, `reviewer`, `class`, `pii`, and `reason` when the board recorded a move reason (`manual`, `budget`, `offline`, `idle`, `rejections`, `declined`, `inference_failed`, `delivery_failed`, `step_limit`). The research record (docs/research.md, #1277) reads these for every terminal task, approved or cancelled; no new event type was added |
47
47
  | `overlap` | `task`, `owner`, `others` (`task`, `owner`, `paths`, and `symbols` when plans name the same symbol; a name that matches a PII pattern is left out, so either list can be empty), the structured twin of the console notice |
48
48
  | `permission_mode` | `peer`, `from`, `to` (`ask`, `ask-when-needed`, `never-ask`): a person set a peer's permission mode (`from` equals `to` when it was already in force) or confirmed a never-ask default (issue #242) |
49
49
  | `settings` | `key` (a registry key such as `permission.kimi` or `routing.classes.implement.peers`), `from`, `to` (the value before and after: the one in force for a setting that applies at once, the stored one for a setting read at a start; a closed word, a boolean, a number, a list of peer ids, a route id, or null for none), `source` (`dashboard`, `terminal`, `conductor`), optional `peer` and `reason`, and `undo: true` for an undo: a person changed a setting from the dashboard or `ahub settings` (issue #269). A mode change also writes its `permission_mode` event |
50
50
  | `permission` | `id`, `peer`, `event` (`requested`, then one of `answered`, `expired`, `cancelled`) and, on the closing event, `latencyMs`, `surface` (`console`, `dashboard`, `terminal`: where a person answered; absent when the hub closed the request) and `option` (the kind of the option chosen: `allow_once`, `allow_always`, `reject_once`, `reject_always`): one approval request relayed to the console and how it ended. `expired` is `approvals.timeout_s` without an answer. `cancelled` with a `surface` is a person's deny in the console or by `ahub permit <id> deny` (a deny on the dashboard is `answered` with a reject option); without one, the hub withdrew the request (its call or turn ended, the peer was stopped, or the hub is stopping). Never the title or the tool. From #1278 it also carries `task` (a board task id) and `attribution` (`delivery`, `single_open`, `unattributed`, the rule `turn_end` and `tokens` use; `task` is absent when unattributed), resolved when the event's subject opens (a permission when requested, a question when asked, a completion's run when it starts) and repeated on every later event of it, so an answer given after the task closed still names the task it was asked under; `pii: true` when that task is PII. Ids and a closed word only. |
51
- | `question` | `set`, `peer`, `event` (`asked`, `answered`, `pending`, `superseded`, `cancelled`, `expired`, `unavailable`) and, where they apply, `latencyMs`, `person` (only with `surface: acon`: the console's verified identity, one bounded line), `surface` (`terminal`: `ahub answer`; `console`: the `A` key; `dashboard`: reserved, no surface sets it today; `acon`: the plugin's answer with the console's person meta), `reason` (`superseded`, `stopped`, `turn_aborted`, `session_changed`, `expired`, `unattended`), `questions` (a count) and `private`: one question a peer asked the person through `hub_ask` and how it ended (#1053). Never a prompt, an option, an answer or any other text. The attention need a question raises (`question`, in `status.needs` and `attentionItems`) is not an event: it carries the set id, the peer and the time only. From #1278 it also carries `task` (a board task id) and `attribution` (`delivery`, `single_open`, `unattributed`, the rule `turn_end` and `tokens` use; `task` is absent when unattributed), resolved when the event's subject opens (a permission when requested, a question when asked, a completion's run when it starts) and repeated on every later event of it, so an answer given after the task closed still names the task it was asked under. A question answered after the hub restarted while it was open (or after the bounded map dropped it) is `unattributed`, never the peer's task of the moment: the opening answer lives in memory only; `pii: true` when that task is PII. Ids and a closed word only. |
51
+ | `question` | `set`, `peer`, `event` (`asked`, `answered`, `pending`, `superseded`, `cancelled`, `expired`, `unavailable`) and, where they apply, `latencyMs`, `person` (for `surface: acon`, the console's verified identity; for `surface: conductor`, the conductor peer id), `surface` (`terminal`: `ahub answer`; `console`: the `A` key; `dashboard`: reserved, no surface sets it today; `acon`: the plugin's answer with the console's person meta; `conductor`: an instructed conductor answer), `reason` (`superseded`, `stopped`, `turn_aborted`, `session_changed`, `expired`, `unattended`), `questions` (a count) and `private`: one question a peer asked the person through `hub_ask` and how it ended (#1053). Never a prompt, an option, an answer or any other text. The attention need a question raises (`question`, in `status.needs` and `attentionItems`) is not an event: it carries the set id, the peer and the time only. From #1278 it also carries `task` (a board task id) and `attribution` (`delivery`, `single_open`, `unattributed`, the rule `turn_end` and `tokens` use; `task` is absent when unattributed), resolved when the event's subject opens (a permission when requested, a question when asked, a completion's run when it starts) and repeated on every later event of it, so an answer given after the task closed still names the task it was asked under. A question answered after the hub restarted while it was open (or after the bounded map dropped it) is `unattributed`, never the peer's task of the moment: the opening answer lives in memory only; `pii: true` when that task is PII. Ids and a closed word only. |
52
52
  | `completion` | `id`, `peer`, `outcome` (`done`, `failed`, `limit`, `interrupted`), `ms` (start of the run to settle): a run a person started settled (#1054). A run starts at the `turn_start` that consumes the person's message and settles only when the adapter's `settle` signal fired and nothing else is pending (no queued continuation, open permission or question, owned child, running check, held delivery, native background task or unknown native inventory); a restart or launcher loss cut short settles `interrupted`, once. An explicit person Stop and a budget pause create none. Never the prompt, the reply, an error, a task command or any other text: the envelope ids live in `hub.db` and are read through the usual privacy path; native-person results are private stubs. From #1278 it also carries `task` (a board task id) and `attribution` (`delivery`, `single_open`, `unattributed`, the rule `turn_end` and `tokens` use; `task` is absent when unattributed), resolved when the event's subject opens (a permission when requested, a question when asked, a completion's run when it starts) and repeated on every later event of it, so an answer given after the task closed still names the task it was asked under; `pii: true` when that task is PII. Ids and a closed word only. |
53
53
  | `completion_seen` | `id`, `surface` (`terminal`, `console`, `dashboard`, `acon`): a person marked a result read (#1054). One per receipt written, never from a snapshot read or a listing, never the prompt or the reply. `surface` is where the person marked it: `dashboard` is the Results section of `ahub ui` and of the acon panel (the panel's own buttons), `acon` is the acon inbox's `result_seen` or "Mark all read" with the console's verified person meta, `terminal` is `ahub results`. Mark-unread deletes a receipt and records no event. The detail line shown beside a result (the head of the starting prompt) is built at display and is in no event |
54
54
  | `pii_screen` | `task` (absent for a budget hand-off or a note not about a task), `item` (`task`, `summary`, `review note`, `handoff`, `note`), `label` (`pii`, `clear`), `source` (`regex`: a pattern matched and no call was made; `screen`; `unknown`: no verdict, handled as PII), `category` (`name`, `student_id`, `phone`, `address`, `grade`, `health`, `other`), `miss` (why there was no verdict: `too long`, `off campus`, `timeout`, `unreadable`, `failed`), `ms` (absent for `regex`): one PII screen verdict while `signals.pii_screen = "local"` (issue #198); never the text |
@@ -103,7 +103,7 @@ Token usage by adapter:
103
103
  carry ids, windows and numbers only: no checkpoint text, summary or task title.
104
104
  - Pi: the assistant usage its extension forwards at each `message_end`, tool-loop messages included, is recorded as
105
105
  increments, each usage id once; a message without a usable count adds nothing.
106
- - Claude native transcript usage is optional and keyed by an opaque hash of session and message identity; streamed records with the same message id count once. The status line tee still carries quota percentages only.
106
+ - Claude native transcript usage is optional and keyed by an opaque hash of session and message identity; streamed records with the same message id count once. The status line tee also records bounded native context counters separately from quota percentages.
107
107
  - The local worker records optional counters returned by OmniRoute. Requested route/model and gateway-reported served model/provider are separate fields; an alias is never treated as a served model.
108
108
  - `ahub report` deduplicates usage records by peer, source and id. Coverage counts distinguish calls with provider usage from calls where usage was absent. Token counters are provider-reported values; the report never derives a price or treats missing spend as zero. Estimated price and measured provider spend remain unknown unless a future source reports them.
109
109
  - Usage telemetry has no prompt, completion, task text, credential, Access header, session id or transcript path.
package/docs/memory.md CHANGED
@@ -209,7 +209,7 @@ Write screening examines both the JSON representation and literal structured key
209
209
 
210
210
  ## Agent-authored records (#1320)
211
211
 
212
- Managed headless Codex, Kimi, Qwen, Jcode, Pi and local turns receive the package-owned Record instruction once per owned turn. Claude sessions keep their own amem hook path; isolated reviewers and person-owned TUI prompts receive no new instruction. The public `recordsEnabled` accessor from exact-pinned amem 0.26.0 applies the effective machine/repository `records: false` setting to instruction, capture and Record preference. An unavailable policy disables this optional path.
212
+ Managed headless Codex, Kimi, Qwen, Jcode, Pi and local turns receive the package-owned Record instruction once per owned turn. Claude sessions keep their own amem hook path; isolated reviewers and person-owned TUI prompts receive no new instruction. The public `recordsEnabled` accessor from exact-pinned amem 0.26.3 applies the effective machine/repository `records: false` setting to instruction, capture and Record preference. An unavailable policy disables this optional path.
213
213
 
214
214
  The hub imports the instruction and parser from agent-mem. Valid final-answer records become `Record` capture rows with project and peer attribution, not curated notes or approved evidence. Complete text and anchors clear current secret, PII, private-path and deny policy before storage. Private, PII, review-scoped, remote, unbound and incomplete turns are excluded. Owner, turn, session, profile and policy must remain current; unsafe steering excludes the rest of that turn. No model or network call is added.
215
215
 
@@ -285,11 +285,11 @@ An unchanged failure emits one safe log line per episode. A complete bounded pol
285
285
 
286
286
  `ahub memory declined [--json]` is a person-only, read-only inspection. 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.
287
287
 
288
- The exact-pinned agent-mem 0.26.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.
288
+ The exact-pinned agent-mem 0.26.3 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.
289
289
 
290
290
  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.
291
291
 
292
- 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 pin (0.26.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:
292
+ 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 pin (0.26.3; 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:
293
293
 
294
294
  ```sh
295
295
  amem migrate --sync-placement --dry-run --writer-root '<cli-install-root>' --writer-root '<host-amem-install-root>' --json