@staix/agent-hub 0.44.0 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/README.md +12 -11
  3. package/docs/adding-an-ai-tool.md +1 -0
  4. package/docs/agent-notes/adapters.md +35 -6
  5. package/docs/agent-notes/budget.md +2 -1
  6. package/docs/agent-notes/daemon.md +5 -1
  7. package/docs/agent-notes/local-worker.md +1 -1
  8. package/docs/agent-notes/security-review.md +3 -2
  9. package/docs/agent-notes/tasks.md +6 -2
  10. package/docs/agent-notes/tests.md +4 -3
  11. package/docs/design/adapters.md +20 -2
  12. package/docs/design/agent-hub-architecture.md +12 -0
  13. package/docs/design/agent-hub.md +1 -1
  14. package/docs/design/cli-output.md +2 -0
  15. package/docs/design/roadmap.md +158 -4
  16. package/docs/design/supervision.md +21 -1
  17. package/docs/design/task-board.md +32 -4
  18. package/docs/dogfood.md +28 -4
  19. package/docs/events.md +7 -3
  20. package/docs/influences.md +7 -0
  21. package/docs/memory.md +4 -4
  22. package/docs/operations.md +151 -36
  23. package/docs/quickstart.md +16 -4
  24. package/docs/research.md +16 -0
  25. package/docs/roadmap.json +4 -0
  26. package/docs/roadmap.md +9 -0
  27. package/docs/sdlc.md +15 -3
  28. package/docs/security.md +9 -7
  29. package/docs/smoke.md +1 -1
  30. package/docs/verification/2026-11-05-hardcoded-values-classification-rules.md +28 -0
  31. package/docs/verification/2026-11-19-claude-implementer-2.1.328.md +49 -0
  32. package/docs/verification/2026-11-20-claude-implementer-2.1.329.md +49 -0
  33. package/docs/verification/2026-11-20-sdlc-metrics-diagnosis.md +7 -0
  34. package/docs/verification/2026-11-21-0.45.0.md +69 -0
  35. package/docs/verification/2026-11-22-agy-1.5.14.md +27 -0
  36. package/docs/verification/2026-11-22-claude-instruction-hook.md +35 -0
  37. package/docs/verification/2026-11-22-codex-0171-reviewer-isolation.md +47 -0
  38. package/docs/verification/2026-11-22-instructed-ipc.md +9 -0
  39. package/docs/verification/2026-11-22-jcode-1.0.3.md +71 -0
  40. package/docs/verification/2026-11-22-jcode-separate-home.md +14 -0
  41. package/docs/verification/2026-11-22-qwen-0283-acp.md +28 -0
  42. package/docs/verification/2026-11-22-qwen-0283-dual-output.md +33 -0
  43. package/docs/verification/2026-11-22-roadmap-r5-view-receipt.md +63 -0
  44. package/docs/verification/2026-11-23-0.46.0.md +44 -0
  45. package/docs/verification/assets/1483-r5-detail-1440-light.png +0 -0
  46. package/docs/verification/assets/1483-r5-detail-390-light.png +0 -0
  47. package/docs/verification/assets/1483-r5-view-1440-dark.png +0 -0
  48. package/docs/verification/assets/1483-r5-view-1440-light.png +0 -0
  49. package/docs/verification/assets/1483-r5-view-390-dark.png +0 -0
  50. package/docs/verification/assets/1483-r5-view-390-light.png +0 -0
  51. package/docs/verification/assets/1483-r5-view-820-dark.png +0 -0
  52. package/docs/verification/assets/1483-r5-view-820-light.png +0 -0
  53. package/docs/verified.json +33 -27
  54. package/package.json +3 -2
  55. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  56. package/plugins/agent-hub/kimi-hook.js +4743 -4048
  57. package/plugins/agent-hub/kimi-review-policy-worker.js +5 -5
  58. package/plugins/agent-hub/server.js +1641 -1265
  59. package/plugins/agent-hub/skills/ahub/SKILL.md +17 -0
  60. package/plugins/agent-hub/skills/ahub-manage/SKILL.md +37 -0
  61. package/plugins/agent-hub/skills/ahub-status/SKILL.md +14 -0
  62. package/plugins/agent-hub/skills/ahub-use/SKILL.md +12 -0
  63. package/scripts/check-docs.mjs +9 -1
  64. package/src/adapters/acp.ts +11 -1
  65. package/src/adapters/claude-channel.ts +2 -1
  66. package/src/adapters/compat.ts +15 -14
  67. package/src/adapters/definitions/builtin-metadata.ts +2 -2
  68. package/src/adapters/definitions/native-cli-claude-setup.ts +9 -1
  69. package/src/adapters/definitions/native-cli-doctor.ts +8 -5
  70. package/src/adapters/definitions/native-cli-jcode-home-init.ts +158 -0
  71. package/src/adapters/definitions/native-cli-jcode-home.ts +72 -0
  72. package/src/adapters/definitions/native-cli-jcode-mcp.ts +20 -0
  73. package/src/adapters/definitions/native-cli-skills.ts +29 -0
  74. package/src/adapters/definitions/native-context.ts +10 -0
  75. package/src/adapters/jcode.ts +10 -0
  76. package/src/adapters/local-worker.ts +3 -2
  77. package/src/adapters/pi.ts +15 -4
  78. package/src/cli/claude-profile-hook.ts +40 -3
  79. package/src/cli/console-state.ts +58 -27
  80. package/src/cli/console-usage.ts +5 -3
  81. package/src/cli/console.ts +35 -4
  82. package/src/cli/help.ts +17 -10
  83. package/src/cli/identity.ts +4 -2
  84. package/src/cli/instruction-hook.ts +28 -0
  85. package/src/cli/jcode-mcp.ts +2 -1
  86. package/src/cli/main.js +8 -0
  87. package/src/cli/main.ts +149 -23
  88. package/src/cli/output-standard.ts +3 -55
  89. package/src/cli/output.ts +8 -2
  90. package/src/cli/recovery-package.ts +62 -13
  91. package/src/cli/roadmap-write.ts +59 -0
  92. package/src/cli/roadmap.ts +115 -4
  93. package/src/cli/sdlc-output.ts +4 -0
  94. package/src/cli/setup-homes.ts +1 -0
  95. package/src/cli/setup.ts +1 -1
  96. package/src/cli/skills-install.ts +463 -0
  97. package/src/cli/task-output.ts +1 -1
  98. package/src/cli/upgrade-presentation-flags.ts +1 -1
  99. package/src/cli/upgrade-runtime.ts +10 -6
  100. package/src/hub/agent-mem-range.ts +43 -0
  101. package/src/hub/board.ts +144 -5
  102. package/src/hub/budget-projection.ts +99 -0
  103. package/src/hub/check-runner.ts +25 -1
  104. package/src/hub/claude-launch-proof.ts +5 -1
  105. package/src/hub/conductor.ts +8 -3
  106. package/src/hub/config-apply.ts +6 -3
  107. package/src/hub/config-tier.ts +1 -1
  108. package/src/hub/config-trust.ts +1 -1
  109. package/src/hub/context-window.ts +1 -1
  110. package/src/hub/control-client.ts +9 -2
  111. package/src/hub/cost-governance.ts +11 -7
  112. package/src/hub/daemon.ts +707 -53
  113. package/src/hub/dogfood-read.ts +4 -2
  114. package/src/hub/edit-guard.ts +100 -0
  115. package/src/hub/events.ts +80 -9
  116. package/src/hub/execution-budget.ts +29 -8
  117. package/src/hub/facts.ts +57 -4
  118. package/src/hub/hub-tools.ts +3 -1
  119. package/src/hub/inference.ts +1 -1
  120. package/src/hub/instances.ts +10 -1
  121. package/src/hub/instructed-exact.ts +95 -0
  122. package/src/hub/instructed-intent.ts +64 -0
  123. package/src/hub/instructed-ipc.ts +33 -0
  124. package/src/hub/instructed-runtime.ts +19 -0
  125. package/src/hub/instruction-receipt.ts +218 -0
  126. package/src/hub/lifecycle.ts +6 -1
  127. package/src/hub/log-rotation.ts +130 -0
  128. package/src/hub/manager.ts +46 -3
  129. package/src/hub/memory-profile.ts +137 -21
  130. package/src/hub/no-writes.ts +1 -0
  131. package/src/hub/operational-authority.ts +3 -2
  132. package/src/hub/operational-settings.ts +2 -2
  133. package/src/hub/recovery-store.ts +49 -21
  134. package/src/hub/registry.ts +1 -1
  135. package/src/hub/research-experiments.ts +132 -0
  136. package/src/hub/research-quality.ts +8 -2
  137. package/src/hub/research-record.ts +35 -0
  138. package/src/hub/research.ts +128 -28
  139. package/src/hub/roadmap-check.ts +65 -0
  140. package/src/hub/roadmap-decompose.ts +139 -0
  141. package/src/hub/roadmap-export.ts +27 -0
  142. package/src/hub/roadmap-sync.ts +97 -0
  143. package/src/hub/roadmap.ts +59 -1
  144. package/src/hub/routing.ts +18 -1
  145. package/src/hub/runtime-capture-prune.ts +2 -1
  146. package/src/hub/sdlc-branch-ci.ts +128 -0
  147. package/src/hub/sdlc-merge.ts +6 -3
  148. package/src/hub/sdlc-metrics.ts +19 -5
  149. package/src/hub/sdlc.ts +73 -5
  150. package/src/hub/settings.ts +3 -1
  151. package/src/hub/snapshots.ts +13 -1
  152. package/src/hub/startup-event-seeds.ts +21 -15
  153. package/src/hub/startup-timing.ts +3 -1
  154. package/src/hub/supervision-proposals.ts +10 -2
  155. package/src/hub/supervision-rules.ts +26 -3
  156. package/src/hub/supervision.ts +7 -0
  157. package/src/hub/task-pr.ts +47 -0
  158. package/src/hub/task-worktree.ts +18 -11
  159. package/src/hub/tasks.ts +694 -44
  160. package/src/hub/ui.ts +6 -2
  161. package/src/hub/usage-rollup.ts +77 -22
  162. package/src/local/tools.ts +13 -1
  163. package/src/memory/client.ts +3 -2
  164. package/src/pi/extension.ts +15 -3
  165. package/src/pi/tool-receipts.ts +26 -0
  166. package/src/ui/index.html +342 -8
  167. package/src/ui/plugin.ts +6 -2
  168. package/src/ui/roadmap-model.ts +70 -0
package/docs/sdlc.md CHANGED
@@ -156,13 +156,15 @@ are the ones printed by `ahub help`; placeholders name values to choose.
156
156
 
157
157
  Task lifecycle fields store stage, issue/PR identity, observed head, reviewed head, local-gate head/result and bounded check/readback metadata. Legacy rows read with no lifecycle metadata. Every change goes through Tasks and records its actor; adapters/tools/CLI never write Board directly. Readback timestamps identify observations, not a freshness promise. Persist no task text in lifecycle receipts; public output uses the existing PII stub and publicTitle/publicView.
158
158
 
159
- A reviewer records the head it actually reviewed. If GitHub no longer reports that head, a stale verdict refuses before effects. Changes requested does not require green CI. Approval requires a current review and all configured required checks successful on that head; neutral/skipped does not substitute unless explicitly allowed by the project's gate contract. A local check records an exact SHA and its result; it is a claimed local receipt, labelled separately from externally fetched CI.
159
+ A reviewer records the head it actually reviewed. If GitHub no longer reports that head, a stale verdict refuses before effects. Changes requested does not require green CI. Approval requires a current review and all configured required checks successful on that head, except the proven draft macOS deferral described below; neutral/skipped does not substitute unless explicitly allowed by the project's gate contract. For that draft only, missing GitHub approval and outstanding review requests are deferred to merge, because the connector does not review a draft. Unknown review-request evidence, a pending change request, unresolved threads and all other blockers still refuse approval. A local check records an exact SHA and its result; it is a claimed local receipt, labelled separately from externally fetched CI.
160
160
 
161
161
  ## Readbacks and presentation
162
162
 
163
163
  Use structured gh JSON/GraphQL read-only calls (the guarded merge below is the one exception) with validated repository and numeric artifact identities. No shell interpolation, PR/issue body fetching, token logging or unbounded comment storage. Failure yields unknown. Required checks come from repository rules or explicitly configured names; an empty/unknown set is not silently green. Review-thread status is counted, not copied. Cancellation and task-owner generation fencing prevent a late read from approving reassigned work.
164
164
 
165
- GitHub may return more than one row for a named check after a rerun or cancellation. When every row has a workflow identity and start time, and those identify one uniquely newest run of the same workflow, the hub evaluates that run and drops older rows. If workflow identity or ordering is ambiguous, it retains the rows; duplicate evidence remains a blocker rather than a guessed pass. In the CI watcher, cancelled attempts and a draft PR's deferred `check (macos-latest)` read as pending so the watcher can wait for a replacement run; the aggregate draft check still must pass before review readiness.
165
+ GitHub may return more than one row for a named check after a rerun or cancellation. When every row has a workflow identity and start time, and those identify one uniquely newest run of the same workflow, the hub evaluates that run and drops older rows. If workflow identity or ordering is ambiguous, it retains the rows; duplicate evidence remains a blocker rather than a guessed pass. In the CI watcher, cancelled attempts and a draft PR's deferred `check (macos-latest)` read as pending so the watcher can wait for a replacement run. Review admission can accept this repository's draft head only when Ubuntu and seeded guards pass, the remaining required checks pass, and the failed macOS aggregate's exact-head job proves its draft-deferral step was the sole failure. Incomplete or stale proof remains a blocker. This is review readiness, not a successful full gate: the macOS aggregate still needs to pass for merge.
166
+
167
+ For the repository workflow, see the `Draft first` and `Merging after approval` rules in `AGENTS.md`. The connector reviews after the approved draft is marked ready; its unresolved threads and pending change requests still block merge. A later push invalidates the earlier head's approval. The reviewer marks the approved head ready and merges only after the full exact-head gate and review blockers settle.
166
168
 
167
169
  ahub sdlc status and explain expose mode, stage, gate, observed/reviewed/local-check heads, next actor and next action. Console/dashboard derive the same result. Merge ordering compares exact PR path sets, reports intersections and never guesses an automatic landing order where dependencies are unknown. Release readiness lists merged work since the tag, stale/nonancestor documentation stamps and open native/live receipts; each unknown remains visible.
168
170
 
@@ -412,7 +414,7 @@ What each metric reads, and what it does not:
412
414
  - `first_pass_check` uses the first completion check; if none exists, it uses the latest isolated run before the first done at that done's recorded head. Without matching evidence it is unknown.
413
415
  - `accepted_to_plan_ms` measures task acceptance to plan review only when no spec-acceptance event was recorded. A carried spec acceptance counts as a spec-acceptance anchor.
414
416
  - `stale_head_re_reviews` counts review rounds whose verdict was bound to a different head than the review was requested for (the `done`'s recorded head against the verdict's findings head), so it needs both heads on the round. New done entries record the requested commit independently of cost plans; older done entries use the cost head or the head of the bound spec report. A task with no such round is `unknown`, not 0. (A `done` after an `approved` is not a signal: the board cannot produce one.)
415
- - `acceptance_to_merge_ms`, `same_head_ci_reruns`, `ci_runs_at_merge`, `github_reviews_at_merge` and `review_rounds_at_merge` come from the merge-time readback. The guarded merge (`ahub sdlc merge`, or the auto-merge after an approving verdict) reads the merged PR once, after the merge is observed, and records on the task's merge record `cost: { mergedAt, ciRuns, ciReruns, reviews }`: CI runs linked to any head of the PR (an attempt after the first of one run id is a rerun) and distinct GitHub reviews. The read is bounded (8 s, the same fixed queries as `ahub sdlc costs`), host-written and never a tool input, and it never decides the merge result. A CI figure is known only when the run list was complete, and a failed or partial read leaves the field `null`; a task whose merge was not read, merged before this record existed or merged by hand where the host did not observe it, is `unknown` for all of them, never 0. A PR merged outside the hub while its repository's merge mode is `off` is observed by the host for an approved task (`mergeReadback`, #1555: a pass every 5 minutes that reads at most three tasks and reads a task again no sooner than 10 minutes later, for 24 hours after the approval; only a merge at the reviewed head is recorded) and supplies the same figures when its cost read completes. `review_rounds_at_merge` counts the task's review handoffs (`done`) up to the merge. `merged` in the report says how many counted tasks have a read merge and how many do not. `ahub sdlc costs` still carries the per-PR cost table with its own scope.
417
+ - `acceptance_to_merge_ms`, `same_head_ci_reruns`, `ci_runs_at_merge`, `github_reviews_at_merge` and `review_rounds_at_merge` come from the merge-time readback. The guarded merge (`ahub sdlc merge`, or the auto-merge after an approving verdict) reads the merged PR once, after the merge is observed, and records on the task's merge record `cost: { mergedAt, ciRuns, ciReruns, reviews }`: CI runs linked to any head of the PR (an attempt after the first of one run id is a rerun) and distinct GitHub reviews. When GitHub omits a run's link to the PR, the runs are the PR branch's complete pull-request run inventory between the PR's creation and its merge, read only for a same-repository head on a branch no other overlapping PR uses (#1584); incomplete pagination or ambiguous branch ownership keeps the figure unknown. The read is bounded (8 s, the same fixed queries as `ahub sdlc costs`), host-written and never a tool input, and it never decides the merge result. A CI figure is known only when the run list was complete, and a failed or partial read leaves the field `null`; a task whose merge was not read, merged before this record existed or merged by hand where the host did not observe it, is `unknown` for all of them, never 0. A PR merged outside the hub while its repository's merge mode is `off` is observed by the host for an approved task (`mergeReadback`, #1555: a pass every 5 minutes that reads at most three tasks and reads a task again no sooner than 10 minutes later, for 24 hours after the approval; only a merge at the reviewed head is recorded) and supplies the same figures when its cost read completes. `review_rounds_at_merge` counts the task's review handoffs (`done`) up to the merge. `merged` in the report says how many counted tasks have a read merge and how many do not. `ahub sdlc costs` still carries the per-PR cost table with its own scope.
416
418
  - `stalls` counts open stalls on public tasks by kind and the dones recorded without writes.
417
419
 
418
420
  `.agenthub/sdlc.toml` may set `[bands.<metric>]` for `acceptance_to_plan_ms`, `acceptance_to_first_review_ms`, `first_pass_approval`, `rework_rounds`, `first_pass_check`, `stale_head_re_reviews`, `hotfix_rate` or `security_open_alerts`. Every field is optional and bounded: `window` (4 to 200, default 20), `min_samples` (3 to 200, default 8, at most `window`), `log_sigma` 2, `diagnose_sigma` 3, `propose_sigma` 4 (ordered, 0.5 to 20), `drift_run` (3 to 50, default 6) and `min_delta` (the smallest step worth any tier: an hour for the times, one round, half a rate). An unknown metric or field is refused with its path. The newest value is compared with the mean and population standard deviation of the `window` values before it, on the bad side only (a longer time, more rework, a lower rate). The deviation is floored per metric (half an hour, or half a round or a rate) so a flat baseline does not turn one step into thousands of deviations. Fewer than `min_samples` before it fires nothing, and so does a step under `min_delta`, drift included. A run of `drift_run` newest values all more than one deviation on the bad side is at least `diagnose` even when none reaches a sigma tier, provided the newest step clears `min_delta`. Tiers:
@@ -727,3 +729,13 @@ or additional task readback. Live audit/survey dogfood (#1403 T8) still requires
727
729
  the person's separate instruction; this feature adds no schedule or live run.
728
730
 
729
731
  Externally observed merged PRs use host-only `mergeReadback` evidence. Its cost fields remain unknown if the bounded readback cannot complete. The latest configured security scan reports a per-source number or `unknown`; an unreadable source is never reported as zero.
732
+
733
+ ## Closed-task compaction (#1555 AC6)
734
+
735
+ A task that reaches `approved` or `cancelled` drops its ephemeral state, and nothing a metric or a verdict reads:
736
+
737
+ - Its `touches` rows (`Turns.pruneTouches`). Every reader looks at open tasks only (`conflictsOf`, `pathWarnings`, the owner-write evidence of an in-progress task), and the overlap counts are already frozen in `tasks.history`. A startup pass also prunes rows of tasks that closed while no hub ran. A turn that ends after its task closed records no rows.
738
+ - The output tail and staged `output.log` of its finished or stale isolated checks (`ContainerRunner.compactTask`). The receipt keeps its status, exit, head, tree, timing, owner and revision; a queued or running run is never touched.
739
+ - The settled results of a closed Pi session in `pi_tool_receipts` (`compactPiResult`): a new session closes the earlier ones, and a result over 2,000 characters keeps its prefix and, for a shell result, its exit code. The active session's receipts are untouched.
740
+
741
+ Task rows, history, `sdlc` receipts, `usage_rollup` and `rollup_seen` are never deleted or edited. `test/terminal-compaction.test.ts` computes `sdlcMetrics`, `costMetrics`, `releaseMetrics`, the usage roll-up and the whole task rows before and after a compaction and requires them identical.
package/docs/security.md CHANGED
@@ -9,7 +9,7 @@ agent-hub connects agents that can each run commands. This page says what the hu
9
9
  - **Write retry keys grant no authority (#1078).** The `tool_write_idempotency` feature binds top-level control `requestId` keys to authenticated actor/role/launch/generation/execution scope and canonical business arguments. For task proposals and reviews, MCP `request_id` is an explicit retry argument, independent of JSON-RPC correlation; it is removed before dispatch. A timeout or connection loss remains `outcome: unknown`, with a settling read, while a pre-admission refusal says this attempt did not run. Reusing another scope's key, changed arguments, expired or old-instance IDs never starts a new write. Current authority and privacy are rechecked before a cached result is returned, including the PII status of overlap references. Request payloads are hashed rather than retained; result records are bounded and remain in daemon memory. Limits are per authenticated actor (512 entries/15 minutes), not one shared admission budget. Delivery acknowledgement uses the journal's existing idempotence and socket/generation ownership checks without consuming that cache, so another actor's filled window cannot prevent settlement. Legacy clients without keys keep their path; current clients refuse explicit replay to an older daemon that would ignore it. See [safe retry and refusal semantics](operations.md#control-write-outcomes-and-safe-retries-1078).
10
10
  - **Control-write diagnostics carry metadata only (#1126).** The daemon's write spans and event-loop probe record a closed set of operation kinds, phases, task numbers and durations, never task text, paths, ids of transports, actors or sessions, credentials, error text or external output, and nothing for a PII task or a private turn. A frame from a client that has not authenticated is never inspected for them. Retention is capped (128 requests, 256 spans, 512 recent intervals, five-minute expiry) and a record in `hub.log` is at most 2,048 bytes; client timing on stderr is off unless `AHUB_CONTROL_WRITE_TIMING=1`.
11
11
  - **Permission prompts stay on unless an operator selects a permission mode.** `ask` leaves native decisions unchanged. `ask-when-needed` grants scoped Claude file tools or Pi/local writes and edits, and a headless Claude implementer's proven shell commands through the host wrapper (#845, below); Kimi and Codex use their own native policies. `never-ask` requires explicit runtime confirmation, a person's console `y` for a config default at hub start, or retained autonomy consent bound to that peer's exact never-ask value in the untracked `config.local.json` (#999, below). Without one of these the peer runs in `ask`. Kimi's and `local`'s permission requests are relayed to the console and cancelled after `approvals.timeout_s` (default 120 s) of silence; the macOS notification for a waiting request carries the peer and the tool name only. The one exception is the hub's own tools (`hub_send` and the task tools, matched by exact name): Kimi's requests for them are approved once without a prompt and logged by name, the same trust Codex gets through `approval_mode` in the hub's config. They invoke hub-owned operations rather than arbitrary file or shell tools, and every call passes the hub's own checks. A call the always-ask policy classes (below) is never approved this way, whatever its title. Identity comes from the exact permission title, or from the earlier tool-call title bound to the same call id and resolved against the configured MCP servers when the permission title contains argument JSON (Qwen). Payload text and unrelated display titles never establish identity. Configured ACP kinds (#451) never get this exception: a request whose title spells a hub tool exactly still goes to the person approval path, and only a mapped native mode changes what the agent itself asks. For ACP agents, a payload longer than the console shows is marked as cut and never offers a session-wide grant. Pi's write, edit, shell and git write requests are relayed the same way and can be answered `Always allow <tool> until Pi restarts`: later calls of that tool by the same Pi start skip the prompt but stay inside the path guard and sandbox. The grant covers every later call of that tool whatever its payload, is kept in memory only, cannot be given from the dashboard, and each call it allows is logged by tool name. A Pi or `local` request whose call was cancelled or whose turn ended is withdrawn at once: a later answer is refused and grants nothing, an `Always allow` included. One shell command runs without a hub approval: the `!command` a person types in the managed Pi TUI. It stays inside the same sandbox and denylist, and the hub takes it only from the verified owner process of a Pi in TUI mode, while Pi is idle, on a reservation that is used once; a model's own bash call never takes that path (issue #253). `--unattended` turns prompts off, says so loudly, and is never the default; a classed call from a hub-owned ACP peer, the local worker or Pi still waits for a person under it.
12
- - **A committed config cannot choose launch commands, credential files, data endpoints, permission modes or a wider sandbox.** The machine-local fields (`kimi_cmd`, `permission_modes`, `codex_bin`, `pi.cmd`, `checks`, `mlx.bin`, `mlx.runtimeDir`, `mlx.modelPath`, `omniroute.urls`, `omniroute.access_hosts`, the `omniroute` key files, `memory.worker_url` (still accepted, ignored since 0.16.0), `local.read_allow`, `local.bash_network`, `local.network_allow`, `local.doc_read`, `local.web_fetch`, `terminal.open`, `tasks.auto_pull`, `tasks.queue_backpressure`, `context.max_assignment_used`, `schedules` (the `every`, `cron` and `tz` forms alike), `folder_triggers`, `corpus.paths`, `invocation`, `start.agents`, `instances`, `action_policy`, `rooms`) apply only from a config file git confirms nobody committed (`instances`, `action_policy` and `rooms` are read only from an untracked `.agenthub/config.local.json`; in `config.json` they are ignored even when untracked): `.agenthub/config.json` or `.agenthub/config.local.json`, matched by file identity so no other spelling the file system accepts slips past, and `.agenthub` itself not a committed symlink or submodule. Without a repository, or when git fails, they keep their defaults; an empty value always means the default. "Untracked" is answered by the repository that contains the project: a checkout copied or extracted into an unrelated repository, or into an ignored directory of one, is trusted like your own files. So a cloned repository cannot choose a launch command, a completion check, a gateway to send a key file to, a memory endpoint, a permission mode, the command that opens a terminal, which agents `ahub up` opens terminals for, a folder the hub reads, work proposed on a timer, a host a model may fetch from, which of your agents' skills other peers may call, or a wider sandbox. A command in `checks` runs as you, outside the local worker's sandbox, like a git hook. So do the `setup` and `verify` commands of a benchmark suite (issue #251): `ahub bench run <suite.json>` is a person's command, refused from an agent session, and it resets the work tree for each attempt, so it runs only with `bench.enabled`, at the root of a clean repository that tracks nothing under `.agenthub/`. Nothing in `routing.toml` or in task text is ever run. `routing.toml` and the other shared fields still come from the checkout, and they matter: `routing.toml` picks the models the local worker and the hub's inference use at your gateway and can turn the PII constraint off, and roles and budget shape who does what. Review them in a repository you do not trust. The hub's own git calls outside the sandbox (snapshots, facts, config trust, project discovery, memory recall, the bench runner) all use the single hardened implementation in the exact-pinned first-party `@staix/agent-mem/platform` package, re-exported by `src/hub/git.ts`, which disables the programs a repository's configuration can name — the file-system monitor, hooks, external diff, the pager, and the credential and askpass helpers, with prompts failing closed — so a config that ever does get written cannot run code with the hub's rights. Of those, the monitor, hooks and external diff are reachable by commands the hub issues (the planted-program test exercises all three; a `diff --no-index` reads the repo's config, so that call also passes `--no-ext-diff` and `--no-textconv`); the pager is not (every call pipes stdout). Credential and askpass helpers are disabled for project repositories; memory sync alone may use credentials for its own memory repository, without prompts. The cost: `core.fsmonitor=false` also turns off a person's enabled built-in monitor for the hub's own calls, so the per-turn snapshot's `add -A` scans the whole tree (the snapshot Git calls of one burst share a 250 ms budget, each call at most 10 s; a boundary that runs out is recorded as unknown, never as a stale baseline) (#576). git has no global switch for filter drivers, and of the hub's commands only the snapshot's `add`/`restore` would run one (its driver command lives in the protected `.git/config`).
12
+ - **A committed config cannot choose launch commands, credential files, data endpoints, permission modes or a wider sandbox.** The machine-local fields (`kimi_cmd`, `permission_modes`, `codex_bin`, `pi.cmd`, `checks`, `mlx.bin`, `mlx.runtimeDir`, `mlx.modelPath`, `omniroute.urls`, `omniroute.access_hosts`, the `omniroute` key files, `memory.worker_url` (still accepted, ignored since 0.16.0), `local.read_allow`, `local.bash_network`, `local.network_allow`, `local.doc_read`, `local.web_fetch`, `terminal.open`, `tasks.auto_pull`, `tasks.queue_backpressure`, `context.max_assignment_used`, `schedules` (the `every`, `cron` and `tz` forms alike), `folder_triggers`, `corpus.paths`, `invocation`, `start.agents`, `instances`, `action_policy`, `rooms`, `instructed`, `jcode_mcp_allow`) apply only from a config file git confirms nobody committed (`instances`, `action_policy` and `rooms` are read only from an untracked `.agenthub/config.local.json`; in `config.json` they are ignored even when untracked): `.agenthub/config.json` or `.agenthub/config.local.json`, matched by file identity so no other spelling the file system accepts slips past, and `.agenthub` itself not a committed symlink or submodule. Without a repository, or when git fails, they keep their defaults; an empty value always means the default. "Untracked" is answered by the repository that contains the project: a checkout copied or extracted into an unrelated repository, or into an ignored directory of one, is trusted like your own files. So a cloned repository cannot choose a launch command, a completion check, a gateway to send a key file to, a memory endpoint, a permission mode, the command that opens a terminal, which agents `ahub up` opens terminals for, a folder the hub reads, work proposed on a timer, a host a model may fetch from, which of your agents' skills other peers may call, or a wider sandbox. A command in `checks` runs as you, outside the local worker's sandbox, like a git hook. So do the `setup` and `verify` commands of a benchmark suite (issue #251): `ahub bench run <suite.json>` is a person's command, refused from an agent session, and it resets the work tree for each attempt, so it runs only with `bench.enabled`, at the root of a clean repository that tracks nothing under `.agenthub/`. Nothing in `routing.toml` or in task text is ever run. `routing.toml` and the other shared fields still come from the checkout, and they matter: `routing.toml` picks the models the local worker and the hub's inference use at your gateway and can turn the PII constraint off, and roles and budget shape who does what. Review them in a repository you do not trust. The hub's own git calls outside the sandbox (snapshots, facts, config trust, project discovery, memory recall, the bench runner) all use the single hardened implementation in the first-party `@staix/agent-mem/platform` package, re-exported by `src/hub/git.ts`, which disables the programs a repository's configuration can name — the file-system monitor, hooks, external diff, the pager, and the credential and askpass helpers, with prompts failing closed — so a config that ever does get written cannot run code with the hub's rights. Of those, the monitor, hooks and external diff are reachable by commands the hub issues (the planted-program test exercises all three; a `diff --no-index` reads the repo's config, so that call also passes `--no-ext-diff` and `--no-textconv`); the pager is not (every call pipes stdout). Credential and askpass helpers are disabled for project repositories; memory sync alone may use credentials for its own memory repository, without prompts. The cost: `core.fsmonitor=false` also turns off a person's enabled built-in monitor for the hub's own calls, so the per-turn snapshot's `add -A` scans the whole tree (the snapshot Git calls of one burst share a 250 ms budget, each call at most 10 s; a boundary that runs out is recorded as unknown, never as a stale baseline) (#576). git has no global switch for filter drivers, and of the hub's commands only the snapshot's `add`/`restore` would run one (its driver command lives in the protected `.git/config`).
13
13
  - **Telemetry holds no bodies.** `.agenthub/state/events.jsonl` (issue #40) records envelope ids, routing and sizes, task ids and states, overlapping paths and token counts, and the task id (with a PII flag) that each usage and token record is attributed to. It never records a message body, a task title or detail, and marks private (PII) envelopes and tasks as such. Budget pauses, resumes and quota resets carry the peer, window, times and the hub's own reason text, and a person's release authorization its commit, version and docs digest. The usage roll-up (#683) folds the usage, token and limit records into `hub.db` and joins issue, PR and release from the board when read; `ahub usage` and the console's Usage panel answer only the console and a configured planner, and a planner not during a private turn. Kimi's token records (#285) are counted from its own session wire log under its home: only the four token integers, the model label and the row time are copied, and the record id is an opaque hash, never a path, session id or text. agy's (#1280) are read from its session transcript through the hook-gated readback the same way: the token integers and an opaque hash of session and step. A person's model override (`model_change`, #1317) records the peer, the previous and new model ids and the next-turn boundary; a visual (#1058) its id, kind, byte and image counts and optional task id. The log stays on the machine; `ahub export` only prints it. Two opt-in stores copy numbers from it into your home directory, shared by every project on the machine (directories mode 700, files 600): research records (issue #247, `research.enabled`; a person's explicit `ahub setup --research` or `--no-research` saves the default for new projects in the owner-only `~/.agenthub/defaults.json`, which `ahub init` only reads, and a missing, unreadable or untrusted file means off, #1347) in `~/.agenthub/research/` hold per approved or cancelled task (record v2) the ids, states, counts, tokens, times and PII flag the events hold, counts and closed words only, a person's label from a closed list, and a hash in place of the project id, and `ahub research export --dataset <dir>` writes an allowlisted copy meant to leave the machine (peers reduced to family names, project-chosen role and profile names dropped, owner-only files in a directory inside the home and outside every registered project, compared as real paths); benchmark runs (issue #251) in `~/.agenthub/bench/` hold suite name and hash, arm label, the attached peers' ids, models and permission modes, task ids, outcomes, exit codes, counts, tokens and times, never suite text or a command's output.
14
14
  - **Snapshots stay in your repository.** Per-turn snapshots (issue #33) are git objects in the project's own object store, written through a temporary index; nothing is referenced, pushed or copied elsewhere, and `git gc` prunes them. They hold what the work tree held, including untracked files that are not ignored, so keep secrets in ignored files. They carry the repository's own permissions, and nothing caps their disk use but `git gc`. A turn of a peer holding an open PII task is not snapshotted; a PII file left in the project is snapshotted by later turns like any other file. `ahub undo` restores only files whose current content is exactly what the turn left.
15
15
  - **The edit hook reads, never decides.** `ahub check-path --hook` (issue #32) reads hub.db and returns context for Claude and a line for you; it sets no permission decision, so your permission rules stay in charge. It names other owners' task ids, titles and states, which then reach Claude's model; PII tasks are left out.
@@ -61,7 +61,7 @@ instead of changing the backend or copying dependency files.
61
61
 
62
62
  ## Native memory authority and profile selection
63
63
 
64
- The portable core is the exact-pinned first-party `@staix/agent-mem` 0.30.0 package; it does not replace the hub's caller identity, PII policy or task-write authority. Deny, hardened git, real paths and process identity are single-sourced in its Node-safe platform entry. Current project privacy is applied by the hub before promotion and again before model-facing reads. Standalone person reads are unscreened, and the standalone `--policy-free` acknowledgement grants no hub or peer authority.
64
+ The portable core is the first-party `@staix/agent-mem` package, accepted as the range `>=0.33.0 <1.0.0` in `package.json` (a plain release whose host API the hub supports; the lockfile resolves one); it does not replace the hub's caller identity, PII policy or task-write authority. Deny, hardened git, real paths and process identity are single-sourced in its Node-safe platform entry. Current project privacy is applied by the hub before promotion and again before model-facing reads. Standalone person reads are unscreened, and the standalone `--policy-free` acknowledgement grants no hub or peer authority.
65
65
 
66
66
  `hub_memory_search`, `hub_memory_show` and `hub_memory_graph` take the project from the daemon, require `memory_read`, refuse private turns and validate UTF-8 input before logs or storage work. Complete records and graph metadata are screened before counts and truncation. Search is at most 20 lines/4 KiB (default 8); show accepts at most 8 ids and returns at most 8 KiB; graph is at most 120 nodes/240 edges/6 KiB (default 60 nodes), with no edge lacking an endpoint. Unknown, ambiguous and withheld ids share one neutral refusal. Arguments and results are excluded from hub-managed capture; this does not govern a vendor's independent transcript or memory hooks.
67
67
 
@@ -640,7 +640,7 @@ Please report vulnerabilities privately through GitHub's "Report a vulnerability
640
640
  - Every request must have the exact listener Host. Every data or action request, including the ticket exchange and snapshot polling, must be POST with the exact listener Origin and JSON content type. Foreign and missing origins, missing or expired sessions, oversized bodies and unknown actions are rejected. There is no CORS support. The only unauthenticated GET is the fixed, data-free HTML shell. No files or paths are served dynamically.
641
641
  - Responses are non-cacheable, cannot be framed, suppress referrers, and use a content security policy restricting scripts/styles to the shipped inline content and connections to this origin. Browser text is rendered with textContent, never interpreted as HTML.
642
642
  - The browser receives a bounded redacted event stream, peer states and queue counts, public task views (with a task's screened changed-symbol observation, #684: ids, paths, names and kinds, never source or line spans, and its Code group, #684 phase 2c: those symbols marked against the plan's names, each name re-screened by the public metadata screen; a private task has no group and its plan names never enter the snapshot), budget windows, each peer's DOING line (#878: a native session title or current plan item, at most 120 characters, kept in daemon memory only and screened when observed and again when shown; a failed screen, a private turn or the peer's open PII task shows `[private]`), pending approvals, the settings rows (closed values and ids, the file each comes from) and each startable peer's start plan (issue #269), benchmark run summaries (issue #251): the newest runs in `~/.agenthub/bench/`, whichever project on this machine ran them, by suite name, arm label, state, the task id in progress, counts, tokens and times, never suite text, the Usage view (#683 U4), computed only while the Agents view is open: peer ids, UTC days and token counts with their source, budget pause, resume and reset events without their reason text, and per-task rows of the task id, a PII flag and token counts, never a title, and the office view's optional fields (issue #264): each peer's open turn (start time, attributed task id, attribution kind), a `checking` flag on tasks whose check is running, and warning `links` of overlapping, conflicting or cohort tasks (task and peer ids only, never paths, symbols or reasons; a PII task never joins a link, and a private or PII-attributed turn exposes no task id). Private envelope bodies and PII task text never cross this endpoint. Local-worker and Pi approval titles can contain PII, so their details remain terminal-only; the dashboard identifies the request and directs the operator to `ahub tail` before allowing it. Budget checkpoint summaries are also omitted. An ordinary (not live-test) session's snapshot also carries the open questions with their full text, a private one included, for the person's answer form (#1053), and unread results with the detail built when shown (#1054). An explicit review refresh of one task adds its person review comment threads and placement, with PII and private-path comments as counts only (#1056).
643
- - The closed action list includes permission response, peer pause/resume, console message, task proposal/assignment and the settings actions below (set, undo, preview, reload, and the structural edit preview and apply of a settings session). Project-board actions add revision-fenced planning, Backlog pull/return/split/undo and release planning/state changes through Tasks; they do not tag, publish or write GitHub state. These use the existing daemon/task paths and budget pause rules. `start_peer` (issue #269) starts a peer from a closed list in the mode a person set, with a command the hub assembles: the request carries a peer id and nothing else. There is no generic control proxy, task-detail read, shell, file access, free-form configuration edit, budget override, launch of a caller-chosen command or daemon shutdown API.
643
+ - The closed action list includes permission response, peer pause/resume, console message, task proposal/assignment and the settings actions below (set, undo, preview, reload, and the structural edit preview and apply of a settings session). Project-board actions add revision-fenced planning, Backlog pull/return/split/undo and release planning/state changes through Tasks; they do not tag, publish or write GitHub state. Roadmap actions (#1483 R5) add milestone new, edit, link, unlink, move, state, accept and reject through Tasks as the person; each is fenced by the revision the page rendered, refused during recovery or shutdown, and writes no GitHub state. These use the existing daemon/task paths and budget pause rules. `start_peer` (issue #269) starts a peer from a closed list in the mode a person set, with a command the hub assembles: the request carries a peer id and nothing else. There is no generic control proxy, task-detail read, shell, file access, free-form configuration edit, budget override, launch of a caller-chosen command or daemon shutdown API.
644
644
  - The listener stops with the daemon. Expired sessions must be reopened with `ahub ui`; the page does not silently obtain new credentials.
645
645
 
646
646
  ## Dashboard settings and the settings session (issue #269)
@@ -784,16 +784,16 @@ withholds the scoped mode on these writes so an older hook grants nothing too.
784
784
 
785
785
  Agent CLI versions (#691). One policy gates the Codex and Kimi fresh reviewers, the headless Claude implementer, Jcode, agy, Qwen (ACP and the dual-output TUI) and Pi (#843): a receipt-verified version passes, Jcode and agy also start an untested version inside their compatible line with a note, and any other version is refused unless the person trusts that exact version on this machine with `ahub agents trust <id> <version>`. The record is `agent-compat.json` in the hub home (`~/.agenthub`), written atomically with mode 600 and at most 64 entries; an unreadable, linked, oversized or invalid record trusts nothing. Agent shells and `--live-test` may read `ahub agents` but cannot trust or revoke. Trust lifts only the version pin: the fresh reviewers' runtime proofs still run before every child, and an untested version's native contract stays unverified.
786
786
 
787
- Qwen Code's optional production ACP peer requires the qwen-code native identity, a compat-admitted version (receipt-verified 0.25.0, 0.26.0, 0.26.1, 0.26.4, 0.26.5, 0.26.8 and 0.26.9)
787
+ Qwen Code's optional production ACP peer requires the qwen-code native identity, a compat-admitted version (receipt-verified 0.25.0, 0.26.0, 0.26.1, 0.26.4, 0.26.5, 0.26.8, 0.26.9, 0.27.0, 0.27.1 and 0.28.3)
788
788
  and advertised mode ids before setting a policy or starting work. Its own tools
789
789
  have no hub sandbox; auto-edit approves file edits, yolo every tool. Configured
790
790
  never-ask still requires the person's confirmation. qwen_cmd is machine-local and
791
791
  never editable through settings. Legacy benchmark adapters remain unmanaged by
792
792
  this production table. Startup diagnostics withhold native host/payload details.
793
793
 
794
- Jcode is optional, source/version-fenced and runs native tools without a hub sandbox or hub permission-mode mapping. .jcode joins the scoped-grant exclusion, including lexical/resolved aliases. Only a person writes its unique project MCP entry; foreign/override/symlink entries refuse. Its `AGENTHUB_PROJECT_DIR` is compared by real path, so a hub-written entry stays the hub's own after the project directory moves and its old path is left as a symlink; the rest of the entry's shape still must match exactly, and a refusal names the differing field (#1423). The hub owns a private daemon/socket and ACP group, never the global daemon, and copies no credentials. It accepts a plain jcode release from 0.98.0 up to, not including, 1.0.0 (#529; only 0.98.1, 0.99.0 and 0.99.1 are verified, and another version in that line starts with a note), or an exact version the person trusts (#691), and runs every owned jcode process (probe, serve, ACP and TUI) with `JCODE_NO_TELEMETRY=1`, because jcode's telemetry can report the provider account's email. Native diagnostics withhold payloads/hosts. Hub tools are bound to an owned launch (task 368): the shared project entry names no peer, each owned Jcode process carries its own peer id and launch id, the daemon admits a hub-tools connection for a Jcode peer only with the id of that peer's current owned launch, and a tools-mode server started without a peer id refuses every tool. Extra Jcode instances (#685, at most 8) are declared only through `instances` in an untracked `.agenthub/config.local.json`, start headless, and each needs its own `jcode_home`, which may not be the base home or another instance's, nor nested in or around one, however it is spelled. Unproved conversation loads refuse; no fresh replacement is called a restore. A finished task's advisory about the project root checkout names the branch only after the hub's whole public-text screen (`Tasks.publicMetadataText`: a PII pattern, a secret shape and a project-private path) passes it and it is a plain ref name; otherwise a generic sentence carries no part of it (#572). Native TUI launch exposes its private socket/session tuple only to the authenticated console, bound to the same live owned socket and session after read-only native persistence proof. Tools/status do not receive it. The TUI has no single-writer guard: person input may interleave with ACP. Native policy remains unmanaged and closing the frontend does not stop ACP. An `important` message reaches a busy Jcode as a soft interrupt written to the hub's own private server socket for the owned session (#572); the hub never cancels a turn to deliver, and a steer that was sent but not acknowledged, or whose turn ended first, is held as `needs_review`, never replayed. Jcode has no switch to choose its MCP servers, so the owned serve and ACP processes load every server named in `<JCODE_HOME>/mcp.json` and the project's `.jcode/mcp.json`, `.mcp.json` and `.claude/mcp.json`, besides the hub's own; `ahub doctor` lists their names only. Point `jcode_home` at a separate home, or remove a server from those files, to keep it out.
794
+ Jcode is optional, source/version-fenced and runs native tools without a hub sandbox or hub permission-mode mapping. .jcode joins the scoped-grant exclusion, including lexical/resolved aliases. Only a person writes its unique project MCP entry; foreign/override/symlink entries refuse. Its `AGENTHUB_PROJECT_DIR` is compared by real path, so a hub-written entry stays the hub's own after the project directory moves and its old path is left as a symlink; the rest of the entry's shape still must match exactly, and a refusal names the differing field (#1423). The hub owns a private daemon/socket and ACP group, never the global daemon, and copies no credentials. It accepts a plain jcode release from 0.98.0 up to, not including, 1.1.0 (#529; only 0.98.1, 0.99.0, 0.99.1 and 1.0.3 are verified, and another version in that line starts with a note), or an exact version the person trusts (#691), and runs every owned jcode process (probe, serve, ACP and TUI) with `JCODE_NO_TELEMETRY=1`, because jcode's telemetry can report the provider account's email. Native diagnostics withhold payloads/hosts. Hub tools are bound to an owned launch (task 368): the shared project entry names no peer, each owned Jcode process carries its own peer id and launch id, the daemon admits a hub-tools connection for a Jcode peer only with the id of that peer's current owned launch, and a tools-mode server started without a peer id refuses every tool. Extra Jcode instances (#685, at most 8) are declared only through `instances` in an untracked `.agenthub/config.local.json`, start headless, and each needs its own `jcode_home`, which may not be the base home or another instance's, nor nested in or around one, however it is spelled. Unproved conversation loads refuse; no fresh replacement is called a restore. A finished task's advisory about the project root checkout names the branch only after the hub's whole public-text screen (`Tasks.publicMetadataText`: a PII pattern, a secret shape and a project-private path) passes it and it is a plain ref name; otherwise a generic sentence carries no part of it (#572). Native TUI launch exposes its private socket/session tuple only to the authenticated console, bound to the same live owned socket and session after read-only native persistence proof. Tools/status do not receive it. The TUI has no single-writer guard: person input may interleave with ACP. Native policy remains unmanaged and closing the frontend does not stop ACP. An `important` message reaches a busy Jcode as a soft interrupt written to the hub's own private server socket for the owned session (#572); the hub never cancels a turn to deliver, and a steer that was sent but not acknowledged, or whose turn ended first, is held as `needs_review`, never replayed. Jcode has no switch to choose its MCP servers, so the owned serve and ACP processes load every server named in `<JCODE_HOME>/mcp.json` and the project's `.jcode/mcp.json`, `.mcp.json` and `.claude/mcp.json`, besides the hub's own; `ahub doctor` lists their names only. Point `jcode_home` at a separate home, or remove a server from those files, to keep it out. `ahub init` creates a hub-owned home holding only the hub entry, the `jcode_mcp_allow` servers and the hub skills, and never reads or copies the person's login, sessions or history (#1627). `jcode_mcp_allow` changes only what `ahub doctor` accepts, by name, not what jcode loads (#1621).
795
795
 
796
- Antigravity (`agy`, #485) is optional, cloud and off roster by default. The launcher accepts the Antigravity CLI 1.4.x line and exact 1.5.3; only 1.4.2, 1.4.7, 1.4.12 and 1.5.3 have a native receipt ([1.4.7](verification/2026-10-26-agy-1.4.7.md), [1.4.12](verification/2026-11-03-agy-1.4.12-launcher-nonce.md), [1.5.3](verification/2026-11-08-agy-1.5.3.md)), so another 1.4.x patch launches with a warning that it is unverified, and every other version, other 1.5.x included, is refused before a hub connection or plugin write (#589) unless the person trusts that exact version (#691). It runs native tools under its own unmanaged permissions, without a hub sandbox or hub permission-mode mapping; headless, resume, unattended and native permission flags are refused. Its roles are capped at implementer and verifier, so it never plans, reviews or receives PII work. Only the person's `ahub agy` launcher writes its three plugin files in `.agents/plugins/agent-hub/` (`plugin.json`, `mcp_config.json`, `hooks.json`): linked or foreign entries refuse before any write (`AGENTHUB_PROJECT_DIR` and `AGENTHUB_STATE_DIR` in its MCP entry and hook commands are compared by real path, #1423), cleanup removes only that launch's matching files, and it never writes project-level `.agents/hooks.json` or the person's `~/.gemini` settings. Conductor starts are refused, and a declared agy extra instance is refused at config load (#625). Hook authority (`native_hook_launch`) comes only from that launcher, belongs to the console socket that began it and ends when that socket closes; hook input over 1 MiB is refused, and observations are bound to the daemon, launch, native session and project.
796
+ Antigravity (`agy`, #485) is optional, cloud and off roster by default. The launcher accepts the Antigravity CLI 1.4.x line and exact 1.5.3; only 1.4.2, 1.4.7, 1.4.12 and 1.5.3 have a native receipt ([1.4.7](verification/2026-10-26-agy-1.4.7.md), [1.4.12](verification/2026-11-03-agy-1.4.12-launcher-nonce.md), [1.5.3](verification/2026-11-08-agy-1.5.3.md)), so another 1.4.x patch launches with a warning that it is unverified, and every other version, other 1.5.x included, is refused before a hub connection or plugin write (#589) unless the person trusts that exact version (#691). It runs native tools under its own unmanaged permissions, without a hub sandbox or hub permission-mode mapping; headless, resume, unattended and native permission flags are refused. Its roles are capped at implementer and verifier, so it never plans, reviews or receives PII work. Only the person's `ahub agy` launcher writes its three plugin files in `.agents/plugins/agent-hub/` (`plugin.json`, `mcp_config.json`, `hooks.json`): linked or foreign entries refuse before any write (`AGENTHUB_PROJECT_DIR` and `AGENTHUB_STATE_DIR` in its MCP entry and hook commands are compared by real path, #1423), cleanup removes only that launch's matching files, and it never writes project-level `.agents/hooks.json` or the person's `~/.gemini` settings (`ahub setup` writes only the hub's own marker-guarded skill trees under `~/.gemini/config/skills` and in the other hosts' user skill directories, replacing a tree only while its recorded digest matches; modified, foreign and linked trees are left alone, #1622). Conductor starts are refused, and a declared agy extra instance is refused at config load (#625). Hook authority (`native_hook_launch`) comes only from that launcher, belongs to the console socket that began it and ends when that socket closes; hook input over 1 MiB is refused, and observations are bound to the daemon, launch, native session and project.
797
797
 
798
798
  Configured ACP adapters (#451 A3) are declared only by the person, in a Git-confirmed untracked `.agenthub/config.local.json`. The whole declaration (command, argv, identity, roles and mode maps) is machine-local authority: a shared or tracked declaration is ignored with a notice, settings never edit it, and changes need a hub restart. The hub runs only the declared argv, never a module or callback. Argv that selects a leader, attach, connect or remote mode is refused, and a Grok declaration needs `--no-leader`. Each start requires the pinned native identity, an exact `session/load` echo on resume, and positive ownership of the spawned process and its original process group; unknown ownership refuses, and stop signals only that verified group. An agent that hands its work to a process outside that group is outside this boundary. Without a mode map native policy is unmanaged, and there is no hub sandbox either way. Configured kinds are cloud peers (never PII), headless only and off roster by default, and the hub makes no quota, context or controlled-recovery claims for them. A read-only instance needs the native read-only mode acknowledged before a prompt and is limited to read and review hub tools, both in the published MCP list and at the host; its native non-read tool requests are rejected, and no setting or runtime change can raise it. These agents' stderr and error text are withheld from logs, and previews redact the executable, argv and session id.
799
799
 
@@ -937,7 +937,7 @@ A terminal Claude implementer or verifier instance (#525-5) owns write-class tas
937
937
 
938
938
  A planner-only instance (#525-6: `planner` without `implementer` or `verifier`) plans on the project checkout, so a declared `worktree` is refused. A Codex planner's `thread/start` and `thread/resume` are requested read-only, and a thread is adopted only when Codex's reply positively confirms a read-only sandbox; an unconfirmed or malformed reply refuses that RPC and closes the link before the hub adopts the thread or delivers work, and the current roles are rechecked before each injection. This is an initial ceiling, not confinement of the person's attached TUI, which can change its native sandbox later. A declared planner-only Claude channel instance gets no automatic grant from its facts hook for any tool but Read, LS, Glob and Grep, whatever the permission mode.
939
939
 
940
- The headless Claude implementer (#525-4) runs one owned `claude -p` child per turn in its declared worktree, with `--setting-sources ""`, `--strict-mcp-config`, native permission mode `default`, the hub's managed PreToolUse hook and `--permission-prompt-tool mcp__agent-hub__hub_permission_request`; never `--bare`, `acceptEdits`, `dontAsk` or `bypassPermissions`, and `never-ask` is refused. Each task keeps its own persisted session; unscoped chat reuses one only while exactly one task is in progress, and a `hub_inbox` read refuses a batch attributed to another task. The approval path fails closed: `hub_permission_request` is accepted only from the current child's launch and generation, goes to the console's existing approval queue and `approvals.timeout_s`, and offers allow-once and deny only, with no allow-always or session grant. A timeout, a prompt failure, a disconnect, a hub that is down or refusing, or a stale child binding answers deny; a failed hook decides nothing, so the call still waits for a person. The approval title is the tool name and a JSON rendering of the arguments passed through `sanitize()` and the public-text screen (any PII, secret or private-path match withholds the whole value as `[withheld]`, before any cut), never task text, cut at 600 characters with a `[cut, N chars]` marker; the original arguments stay with the child and are not logged. The MCP wire cannot tell a native permission dispatch from a call the model makes itself; a person allow still refers only to its original arguments. Automatic Bash authorization uses the separate single-use host wrapper contract below, never a caller-supplied tool id as native provenance. A stop holds an uncertain delivery until the owned process group is confirmed gone. The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) is model-free on Claude Code 2.1.309, [repeated on 2.1.310](verification/2026-10-26-claude-implementer-2.1.310.md), [on 2.1.314](verification/2026-10-31-claude-implementer-2.1.314.md), [on 2.1.316](verification/2026-10-31-claude-implementer-2.1.316.md) [on 2.1.318](verification/2026-11-05-claude-implementer-2.1.318.md), [on 2.1.319](verification/2026-11-06-claude-implementer-2.1.319.md), [on 2.1.322](verification/2026-11-10-claude-implementer-2.1.322.md) and [on 2.1.323](verification/2026-11-13-claude-implementer-2.1.323.md); it is not sandbox proof, and a real account, model and person interaction remains a live leg.
940
+ The headless Claude implementer (#525-4) runs one owned `claude -p` child per turn in its declared worktree, with `--setting-sources ""`, `--strict-mcp-config`, native permission mode `default`, the hub's managed PreToolUse hook and `--permission-prompt-tool mcp__agent-hub__hub_permission_request`; never `--bare`, `acceptEdits`, `dontAsk` or `bypassPermissions`, and `never-ask` is refused. Each task keeps its own persisted session; unscoped chat reuses one only while exactly one task is in progress, and a `hub_inbox` read refuses a batch attributed to another task. The approval path fails closed: `hub_permission_request` is accepted only from the current child's launch and generation, goes to the console's existing approval queue and `approvals.timeout_s`, and offers allow-once and deny only, with no allow-always or session grant. A timeout, a prompt failure, a disconnect, a hub that is down or refusing, or a stale child binding answers deny; a failed hook decides nothing, so the call still waits for a person. The approval title is the tool name and a JSON rendering of the arguments passed through `sanitize()` and the public-text screen (any PII, secret or private-path match withholds the whole value as `[withheld]`, before any cut), never task text, cut at 600 characters with a `[cut, N chars]` marker; the original arguments stay with the child and are not logged. The MCP wire cannot tell a native permission dispatch from a call the model makes itself; a person allow still refers only to its original arguments. Automatic Bash authorization uses the separate single-use host wrapper contract below, never a caller-supplied tool id as native provenance. A stop holds an uncertain delivery until the owned process group is confirmed gone. The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) is model-free on Claude Code 2.1.309, [repeated on 2.1.310](verification/2026-10-26-claude-implementer-2.1.310.md), [on 2.1.314](verification/2026-10-31-claude-implementer-2.1.314.md), [on 2.1.316](verification/2026-10-31-claude-implementer-2.1.316.md) [on 2.1.318](verification/2026-11-05-claude-implementer-2.1.318.md), [on 2.1.319](verification/2026-11-06-claude-implementer-2.1.319.md), [on 2.1.322](verification/2026-11-10-claude-implementer-2.1.322.md), [on 2.1.323](verification/2026-11-13-claude-implementer-2.1.323.md), [on 2.1.328](verification/2026-11-19-claude-implementer-2.1.328.md) and [on 2.1.329](verification/2026-11-20-claude-implementer-2.1.329.md); it is not sandbox proof, and a real account, model and person interaction remains a live leg.
941
941
 
942
942
  The #845 host shell wrapper is the only automatic Bash path for a headless implementer. In `ask-when-needed`, a complete public input must pass the existing #816 read-only proof or the closed task-command proof, with an active owned task and registered worktree. Enabled action-policy classes still ask, and `ask`, PII handling and the `never-ask` refusal are unchanged. The native request and authenticated host response both name wrapper protocol 1, so an older plugin cannot drop the rewrite and execute an original command automatically.
943
943
 
@@ -959,6 +959,8 @@ Person-directed release authorization (#481 S6, #1063, #1381). `ahub sdlc author
959
959
 
960
960
  Merge adoption and carried spec consent (#1348, #1361). `ahub sdlc adopt-merge <task> --pr <n>` is the person's or the current configured conductor's; another caller is refused, `--live-test` cannot delegate it as the person, and a private task or private turn refuses for every actor before any GitHub read. It reads one bounded GraphQL snapshot and requires the PR merged at the task's last recorded full head with every configured required check green there, no unresolved or unknown review thread, no pending or unknown review request, no change request and no open Important finding. It records `merged outside the hub` under the actual actor and moves the task to `approved`, without inventing a reviewer verdict or reviewed head, running `gh pr merge` or removing a branch or worktree. A superseding task may carry an older cancelled task's person spec consent only for the same canonical repository and issue, named by a whole local `supersededBy` reference, when a fresh host GitHub read proves the same issue `lastEditedAt`; no issue body is read, caller timestamps cannot grant it, unknown or truncated metadata leaves consent absent, and manual acceptance stays person-only.
961
961
 
962
+ Instructed hub commands (#1622). The `/agent-hub:ahub` instruction hook that `ahub setup` installs records only a prompt hash and id, and a pending receipt grants nothing. The daemon confirms it against an unused human record in the session's own transcript (exact path under the setup-managed home, no symlink, single link, probed Claude versions), and the session must be the daemon's recorded session of a live private `ahub claude` launch. Stop, 10 minutes, one exact operation or ten intent operations close the receipt. `instructed.mode` (off, exact, intent) is a person witness kept in `hub.db`; only the person's terminal `ahub settings set instructed.mode` changes it, while dashboards, settings sessions, agents and committed config cannot, and `config.local.json` holds a display copy. The tools request carries only the session id, plus the agent-chosen argv in intent mode. The daemon parses it without a shell and runs its own installed CLI, refused when inside a project or peer write root or any git checkout, as a child over an inherited Bun IPC channel, never a network socket; that child connects only as a console bound to the receipt, rechecked before each effect. Exact mode admits only classified forms. Intent mode admits listed reversible forms, plus person verdicts whose literal id is in the prompt; verdicts have no undo. Spending (except the listed task spending settings in exact mode), permission, trust, execution paths, deletion, release and merge, identity, cross-project handoff, file-backed config, PII tasks and private turns stay closed. Only person-typed text is declassified after screening. History and `agent_cli` record `instructed`, the peer and the receipt, never the prompt. A same-user process that forges a transcript record or changes the session environment is outside this boundary.
963
+
962
964
  Instructed SDLC configuration (#1432). `ahub sdlc configure [--mode off|advise] [--required-checks <names>]` is the person's, or the uniquely configured conductor's when the person directly instructed it in its own session; a hub message, task text, review, file or relay is never that instruction, and the daemon cannot verify the conversation (a cooperative claim, as for release consent). The conductor path refuses a child `toolsOwner`, a private or PII context, observer input, recovery and shutdown, and `--live-test` cannot delegate it. It stages only `off`/`advise` and check names for the next start: `ahub init`, `enforce` (or a running or saved `enforce`), `[security]`, `eval_check`, `config_paths` and custom stages stay with the person's settings editor, and it authorizes no merge, tag, release or publication. A retained `sdlc_config_instruction` intent precedes the write and a `config_edit` result audit with the actual actor follows it, both without values; an intent that cannot be retained writes nothing.
963
965
 
964
966
  Security findings, the security pass and the audit ledger (#1403 T1, A2, A4, A5; lifecycle `advise` or `enforce` only). An open `important` finding with `pass: "security"` must carry the `principal`/`control`/`resource`/`result` boundary; the hub opens no GitHub issue for a security finding, and a follow-up card names the task, finding id and pass, never the boundary text or path. `[security] paths` in `.agenthub/sdlc.toml` makes a PR whose complete file inventory matches need a recorded `security_pass` bound to the reviewed head; an incomplete inventory is `unknown`, never `not_required`, and `enforce` refuses the approval and blocks the merge gate for both. Readbacks carry a count of matching paths, never their names. `ahub sdlc audit start|show` is admitted by the daemon for the person or the configured conductor; only the hub writes the ledger, the assigned auditor reports through `hub_audit_report` (refused in a private or PII turn, finding text screened like a verdict note, never captured to memory), and a confirmed important finding stays a candidate until a different reviewer-role peer or the person verifies it, then is settled `fixed` or `false_positive` in a separate call by someone other than the finder. Until settled, an open or accepted important security finding shows only its id, status and that its details are withheld in every view but the person's, and the hub sends no peer message with its path, rationale or boundary. A headless auditor's final answer is still shared automatically, so keeping that text out of it is the brief's instruction, not something the hub enforces.
package/docs/smoke.md CHANGED
@@ -1775,7 +1775,7 @@ the native version and observed outcome here. No hub-driven Qwen TUI is offered.
1775
1775
 
1776
1776
  Qwen recovery source/fake proof: saved ids pass through the driver and CLI to ACP session/load, and the crash loader restores the recorded id/model. Actual native/provider recovery remains unverified.
1777
1777
 
1778
- ## Jcode peer, 0.98.0 to 1.0.0 (#332, #529)
1778
+ ## Jcode peer, 0.98.0 to 1.1.0 (#332, #529)
1779
1779
 
1780
1780
  Source/fixture proof is recorded in verification/2026-10-11-jcode-peer-contract.md; the live owned-daemon and ACP handshake on 0.94.0 and 0.98.1 in verification/2026-10-19-jcode-0.98.1.md. Unverified: real provider/model, native project MCP discovery and hub-tool receipt, native tool policy and stop/child teardown. Native automatic restoration is withheld because the pinned ACP load does not prove the id. No benchmark comparison or default replacement ran.
1781
1781
 
@@ -48,6 +48,34 @@ A key is labelled by a rule only when the rule is a pure function of its name, k
48
48
 
49
49
  R1x is the conductor's ruling on the review of PR #1212, not a calibrated rule: the committed file had no decided key of that kind (its decided `*GRACE_MS` keys are process-kill grace periods and `RATE_LIMIT_MS` throttles a log line, all operational), so its agreement is not measured. It labels four baseline keys: `tool-request.ts` `MAX_FUTURE_MS` (the replay window of request ids), `broker/store.ts` and `rooms/store.ts` `GRACE_MS` (how long a rotated epoch's frames stay accepted, which bounds how long a revoked member's key still works) and `schedules.ts` `MIN_EVERY_MS` (the floor that stops a schedule triggering an agent turn more often than every 15 minutes, a spend guard).
50
50
 
51
+ Rulings of hub task 1072 (the conductor, 2026-11-22), per key, not calibrated:
52
+
53
+ - `claude-profile-hook.ts` `timeout=5`: operational, native hook deadline.
54
+ - `scripts/probes/claude-instruction-hook.py` `sleep=0.1#2`: operational, probe polling latency under R2.
55
+ - `instruction-hook.ts` `MAX_HOOK_BYTES`: safety floor, bounds raw input.
56
+ - `main.ts` instruction-hook `size > 1024 * 1024`: safety floor, bounds raw input.
57
+ - `claude-launch-proof.ts` `launcherSignature.length <= 256`: safety floor, bounds input from another process's file.
58
+ - `instruction-receipt.ts` `MAX_PROMPT_BYTES`: safety floor, bounds raw input.
59
+ - `instruction-receipt.ts` `path.length > 4096`: safety floor, bounds raw input.
60
+ - `instruction-receipt.ts` `MAX_TRANSCRIPT_TAIL`: safety floor, bounds input from another process's file.
61
+ - `instruction-receipt.ts` `MAX_AGE_MS`: safety floor, bounds replay.
62
+ - `instruction-receipt.ts` `MAX_OPERATIONS`: safety floor, bounds authority.
63
+ - `instruction-receipt.ts` `MAX_RECEIPTS`: safety floor, bounds rows per external hook event.
64
+
65
+ Rulings of hub task 1078 (the conductor, 2026-11-23), per key, not calibrated:
66
+
67
+ - `INSTRUCTION_CHILD_TIMEOUT_MS`: operational, the existing child deadline moved to an export.
68
+ - `INSTRUCTION_CONTROL_TIMEOUT_MS`: operational, the derived control-call deadline with transport slack.
69
+
70
+ Rulings of hub task 1065 (the conductor, 2026-11-22), per key, not calibrated:
71
+
72
+ - `daemon.ts` `drain` `64 * 1024`: safety floor, caps external process output.
73
+ - `daemon.ts` `setTimeout=30_000`: operational, subprocess deadline under R2.
74
+ - `instructed-exact.ts` `tail.length >= 2`: contract, mirrors the `settings set` argument count.
75
+ - `instructed-exact.ts` `tail.length <= 3`: contract, mirrors the `settings set` argument count.
76
+
77
+
78
+
51
79
  R4 (a `maxTokens` or `contextWindow` default, 97%) and R7 (a length bound in `src/adapters`, `src/models`, `src/local`, 91%) agree with the file, but no baseline key was labelled by R4, and R7's five baseline keys have no exact agreeing precedent, so they stay in the baseline. Taken together the rules agree with 303 of the 311 decided keys they cover (97.4%) and with 97% and 98% on the two halves of a by-file hold-out (files split by a hash of their path), which is the same data seen differently, not an independent reader.
52
80
 
53
81
  Not labelled, on purpose: every length bound and truncation in `src/hub`, `src/cli`, `src/ui`, `src/rooms` and `src/broker`; `Math.min`/`Math.max` clamps of a timeout; default-parameter timeouts (`timeoutMs = 2000`); `MAX_*` and `*_BYTES` constants; unit conversions. #739 settles their convention first and then relabels the inconsistent existing entries by name.
@@ -0,0 +1,49 @@
1
+ # Claude Code 2.1.328 headless implementer receipt
2
+
3
+ Date: 2026-11-20 UTC. Scope: #888, hub task 1023. This repeats the [2.1.323 procedure](2026-11-13-claude-implementer-2.1.323.md), using 2.1.323 as control and installed 2.1.328 as candidate. Source base: `8714659d2877a38b7ffecbf21302e5389f167070`. Platform: macOS arm64, Bun 1.4.4.
4
+
5
+ Result: all 44 cases passed, 22 on each binary. The case results match after excluding version, binary hash and elapsed time. Add exact `2.1.328` to `COMPAT["claude-implementer"].verified`.
6
+
7
+ ## Identity and unchanged producers
8
+
9
+ The control was obtained from the npm `@anthropic-ai/claude-code-darwin-arm64` 2.1.323 package in a private scratch directory. The package SHA-512 matched npm's integrity value, and the control binary SHA-256 matches the 2.1.323 receipt. Both binaries and all producers had the same hashes before and after the runs.
10
+
11
+ | File | SHA-256 before and after |
12
+ | --- | --- |
13
+ | Claude Code 2.1.323 control | `5432918d904a9b6afef7bb79d20df24d76052eabc1f41bceb84091d21f8889a7` |
14
+ | Claude Code 2.1.328 candidate | `e85547190ef8cd983033ba61b17194045a6fea00035da349efeabed86badacc9` |
15
+ | `claude-permission-transport-native.py` | `c8e82c66a8cf2faf4f4930da21ca81e36166381fd932219cb60e3cec541af10b` |
16
+ | `claude-shell-wrapper-native.py` | `ad891f5b9663e14e3f44febd787500a8ced815125c489adadddcdeb279f64826` |
17
+ | `claude-shell-wrapper-host.ts` | `616e6711e392f0eee7e3fa1c7bdc47a537dfa86bcc8ffb30e549ca94e5a71cef` |
18
+
19
+ ## Serial model-free runs
20
+
21
+ Each run used resource admission on the Mac with one native job at a time. The producer parent received an empty inherited environment plus an isolated HOME, config directory and fixed PATH. Each native child had its own fresh fake HOME and config directory, strict fixture MCP configuration, deterministic loopback provider and a synthetic key. No real credentials or ambient agent markers were inherited. There was no account authentication or external provider inference.
22
+
23
+ | Producer leg | Additional arguments | 2.1.323 | 2.1.328 |
24
+ | --- | --- | --- | --- |
25
+ | Write transport | default Write case table | 9/9 pass | 9/9 pass |
26
+ | Production-name Bash transport | `--tool Bash --server-name agent-hub --permission-tool hub_permission_request --require-tool-use-id` | 9/9 pass | 9/9 pass |
27
+ | Bash command replacement | Bash arguments above plus `--rewrite-bash` | 2/2 pass | 2/2 pass |
28
+ | Host shell wrapper | `--bun` naming Bun 1.4.4 | 2/2 pass | 2/2 pass |
29
+
30
+ The transport cases cover allow, deny, missing tool, hook deny/allow, MCP error, disconnect, pending and deadline. Both pending cases reached their bounded external stop without writing a file. The rewrite cases did not execute the original command. The wrapper context case observed three requests, two permission calls and persistent cwd. The normalized case observed four requests, three permission calls, environment isolation, quoted paths, replay refusal and exactly one effect. All 44 native process groups were reported empty; all wrapper helpers reported stopped.
31
+
32
+ ## Local artifact hashes
33
+
34
+ The JSON artifacts remain in the private local diagnostic directory and are not committed.
35
+
36
+ | Receipt JSON | SHA-256 |
37
+ | --- | --- |
38
+ | Write, control | `ba94969fdd8eb5b9c4920c65bb9a95f6604407035a86ae8f481f127d750e562b` |
39
+ | Write, candidate | `d0dd8b76c0b94823de23bceee75e125a057e8737dc8e5835e9ef8daaeb13c14e` |
40
+ | Bash, control | `4f4a0d45083726d729b7882dfc59a83b73dff0878e7f4bbd03bb6f4bf403ba4d` |
41
+ | Bash, candidate | `a9f4f67ba7378e30d68cc4b22be1c8719239aa52d2f6d0e4707da030e322f476` |
42
+ | Rewrite, control | `ae59877765425adc25ef1ab8a532ecab6f893b21e96b99e1cfc9b95fa6e10b52` |
43
+ | Rewrite, candidate | `d65470998883851f6f7dc86e18f76d7e019e444cdcde0941de19377e5c626906` |
44
+ | Wrapper, control | `1d11519cb14758c072f0467d609434752e2eddec4ee2e9522767e5564e0650b9` |
45
+ | Wrapper, candidate | `3f8a033bdebe2cabfd7bf56053e24105a0c959edc8483ec0a20d6880e0045a11` |
46
+
47
+ ## Evidence boundaries
48
+
49
+ This is isolated native transport and host-wrapper evidence. It does not prove real provider authentication, model-selected tools, person approval interaction, task-session resume, production-daemon task binding or complete native sandbox confinement. Monitor, mod-initiated calls and opt-in Code Mode were not exercised. This is not a runtime receipt gate. Binary fencing and the existing exact-version admission policy remain required; other versions receive no qualification from this receipt.
@@ -0,0 +1,49 @@
1
+ # Claude Code 2.1.329 headless implementer receipt
2
+
3
+ Date: 2026-11-20 UTC. Scope: #888, hub task 1023. This repeats the [2.1.323 procedure](2026-11-13-claude-implementer-2.1.323.md), using 2.1.323 as control and installed 2.1.329 as candidate. Source base: `8714659d2877a38b7ffecbf21302e5389f167070`. Platform: macOS arm64, Bun 1.4.4.
4
+
5
+ Result: all 44 cases passed, 22 on each binary. The case results match after excluding version, binary hash and elapsed time. Add exact `2.1.329` to `COMPAT["claude-implementer"].verified`.
6
+
7
+ ## Identity and unchanged producers
8
+
9
+ The control was obtained from the npm `@anthropic-ai/claude-code-darwin-arm64` 2.1.323 package in a private scratch directory. The package SHA-512 matched npm's integrity value, and the control binary SHA-256 matches the 2.1.323 receipt. Both binaries and all producers had the same hashes before and after the runs.
10
+
11
+ | File | SHA-256 before and after |
12
+ | --- | --- |
13
+ | Claude Code 2.1.323 control | `5432918d904a9b6afef7bb79d20df24d76052eabc1f41bceb84091d21f8889a7` |
14
+ | Claude Code 2.1.329 candidate | `8c1729568b19cdadedd0a978bf692f9f279ef554c8a333c4e132b94fd8725550` |
15
+ | `claude-permission-transport-native.py` | `c8e82c66a8cf2faf4f4930da21ca81e36166381fd932219cb60e3cec541af10b` |
16
+ | `claude-shell-wrapper-native.py` | `ad891f5b9663e14e3f44febd787500a8ced815125c489adadddcdeb279f64826` |
17
+ | `claude-shell-wrapper-host.ts` | `616e6711e392f0eee7e3fa1c7bdc47a537dfa86bcc8ffb30e549ca94e5a71cef` |
18
+
19
+ ## Serial model-free runs
20
+
21
+ Each run used resource admission on the Mac with one native job at a time. The producer parent received an empty inherited environment plus an isolated HOME, config directory and fixed PATH. Each native child had its own fresh fake HOME and config directory, strict fixture MCP configuration, deterministic loopback provider and a synthetic key. No real credentials or ambient agent markers were inherited. There was no account authentication or external provider inference.
22
+
23
+ | Producer leg | Additional arguments | 2.1.323 | 2.1.329 |
24
+ | --- | --- | --- | --- |
25
+ | Write transport | default Write case table | 9/9 pass | 9/9 pass |
26
+ | Production-name Bash transport | `--tool Bash --server-name agent-hub --permission-tool hub_permission_request --require-tool-use-id` | 9/9 pass | 9/9 pass |
27
+ | Bash command replacement | Bash arguments above plus `--rewrite-bash` | 2/2 pass | 2/2 pass |
28
+ | Host shell wrapper | `--bun` naming Bun 1.4.4 | 2/2 pass | 2/2 pass |
29
+
30
+ The transport cases cover allow, deny, missing tool, hook deny/allow, MCP error, disconnect, pending and deadline. Both pending cases reached their bounded external stop without writing a file. The rewrite cases did not execute the original command. The wrapper context case observed three requests, two permission calls and persistent cwd. The normalized case observed four requests, three permission calls, environment isolation, quoted paths, replay refusal and exactly one effect. All 44 native process groups were reported empty; all wrapper helpers reported stopped.
31
+
32
+ ## Local artifact hashes
33
+
34
+ The JSON artifacts remain in the private local diagnostic directory and are not committed.
35
+
36
+ | Receipt JSON | SHA-256 |
37
+ | --- | --- |
38
+ | Write, control | `ba94969fdd8eb5b9c4920c65bb9a95f6604407035a86ae8f481f127d750e562b` |
39
+ | Write, candidate | `08cf06993fe05ec3cec129aa2884b80221aa5112845df3266995b695a2b050f5` |
40
+ | Bash, control | `4f4a0d45083726d729b7882dfc59a83b73dff0878e7f4bbd03bb6f4bf403ba4d` |
41
+ | Bash, candidate | `619207a9bf42e6edb9ac8d08f0289d1583004f99b8fb19688c01e99f9c99d961` |
42
+ | Rewrite, control | `ae59877765425adc25ef1ab8a532ecab6f893b21e96b99e1cfc9b95fa6e10b52` |
43
+ | Rewrite, candidate | `3972ae5a2f5e8c8f448e23c44a495d968f7e2cada50b5c103e7f8bc82679b65b` |
44
+ | Wrapper, control | `1d11519cb14758c072f0467d609434752e2eddec4ee2e9522767e5564e0650b9` |
45
+ | Wrapper, candidate | `5408eaf84570c5b01eff7d02b3aebebd933edf4e71110be97c41460e776d9ad8` |
46
+
47
+ ## Evidence boundaries
48
+
49
+ This is isolated native transport and host-wrapper evidence. It does not prove real provider authentication, model-selected tools, person approval interaction, task-session resume, production-daemon task binding or complete native sandbox confinement. Monitor, mod-initiated calls and opt-in Code Mode were not exercised. This is not a runtime receipt gate. Binary fencing and the existing exact-version admission policy remain required; other versions receive no qualification from this receipt.
@@ -0,0 +1,7 @@
1
+ # SDLC metrics diagnosis
2
+
3
+ On 2026-11-20, the project board contained 11 `mergeReadback` records with state `merged`, none with a cost record. Tasks 1002 and 1028 were examples. The readback therefore does run and records merge state.
4
+
5
+ `readPrCostHistory` requests the first 100 repository-wide `check.yml` runs and marks the result complete only when `total_count` equals the returned count. The GitHub API reported 4,854 total and 100 returned. `captureExternalMerge` discards the cost when the result is incomplete, so metrics read the merged records but have no cost values. A bounded fixture with one repository-wide run misses this production case. The board history predating the readback rollout also has no merge cost; it cannot by itself establish the missing GitHub counts.
6
+
7
+ Refs #1579 and #1555; hub task 1032.
@@ -0,0 +1,69 @@
1
+ # 0.45.0 release verification
2
+
3
+ This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.45.0 and no live TUI launch.
4
+
5
+ ## Candidate
6
+
7
+ Version 0.45.0, prepared from main 5afdea59 (23 commits since v0.44.0, 2 of them `feat`; bump rule: minor). The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.
8
+
9
+ ## Reviews
10
+
11
+ Pull requests named by the commits since v0.44.0: #1601, #1602, #1599, #1598, #1600, #1597, #1593, #1596, #1584, #1578, #1595, #1594, #1591, #1592, #1590, #1587, #1588, #1589, #1586, #1583, #1585, #1582, #1575, #1581, #1580.
12
+
13
+ Four were reviewed and merged by the conductor in this release window, each after hub approval at the head it merged, with exact-head hosted CI green on `check (ubuntu-latest)`, `check (macos-latest)` and `seeded guards`, and no unresolved review thread:
14
+
15
+ - #1600 (hub task 1044) at 3bef84d5, after a conductor conflict-only rebase. The first check run failed only in its `decision` job ("CI admission refused: GitHub full-gate evidence unavailable or incomplete"), not in a test, and passed on rerun.
16
+ - #1598 (hub task 1042) at 2c07bd42, after a conductor conflict-only rebase. macOS shard 1/4 failed once in `test/compat-receipt-qwen-dual-q2.test.ts` (4005.66 ms against its 4000 ms bound, code the change does not touch), recorded on #1260, and passed on rerun of the failed jobs.
17
+ - #1599 (hub task 1006) at c044763c, after one changes-requested round for two connector findings (unknown shell route on stream surfaces; unknown read grade without a pre-image).
18
+ - #1602 (hub task 1046) at 8f5a498a, after one changes-requested round for one connector finding (the recovery command now names the Jcode instance).
19
+
20
+ The other named pull requests are merged in the candidate base. As in 0.44.0, a per-PR audit of their exact merge-head review and hosted CI evidence is deferred, and this list does not assert those checks. No merge here is bound to an approval at an earlier head.
21
+
22
+ ## Native acceptance receipts
23
+
24
+ Receipts added under `docs/verification/` since v0.44.0: `docs/verification/2026-11-19-claude-implementer-2.1.328.md`, `docs/verification/2026-11-20-claude-implementer-2.1.329.md`, `docs/verification/2026-11-20-sdlc-metrics-diagnosis.md`.
25
+
26
+ This list is read from the repository, never written by hand. Native acceptance and the person's release consent are separate records: consent is `ahub sdlc authorize-release 0.45.0`, recorded by the person or the unique configured conductor only on the person's explicit release instruction naming the release in its own session (never a hub/task/review/file/peer relay), and is not recorded in this file. The tag run refuses without it.
27
+
28
+ ## Document review
29
+
30
+ `node scripts/check-docs.mjs --require-fresh` reported 23 stale documents. The review is delta-scoped: each document was checked against what the release commits change under its governing paths since its stamp (250eb2d8 for 21 of them, 844b5cb3 for docs/research.md and docs/text-projection.md), by searching for the behaviour each commit changes, not by rereading in full. A restamp here certifies that delta only.
31
+
32
+ - docs/operations.md: the ACP watchdog paragraph still said a 30 min tool ceiling; it now names the setting and its 60 min default (#1602). The Claude implementer receipt list gained 2.1.328 and 2.1.329 (#1580). The telemetry section now says `events.jsonl` and `hub.log` rotate by size (#1587), and the startup timings paragraph names the per-step `post_ready` boundaries (#1591). Its settings row, ceiling paragraph and agent-mem pin were already updated by #1602 and #1598.
33
+ - docs/security.md: the Claude implementer receipt list gained 2.1.328 and 2.1.329 (#1580); its agent-mem pin came with #1598.
34
+ - docs/sdlc.md: the merge-time readback now says that, when GitHub omits a run's PR link, the CI figure comes from the branch's complete run inventory between PR creation and merge, else stays unknown (#1584). The closed-task compaction section came with #1586.
35
+ - docs/dogfood.md: the #489 H5 row's 30 min default now notes 60 min since #1601. Its rows for #1597, #1584, #1583, #1596 and #1599 came with those PRs.
36
+ - docs/agent-notes/adapters.md: added the `onToolCeiling` rule (number only, fired before the log line and the cancel, the host sentence for a withheld-log kind) (#1602).
37
+ - docs/quickstart.md: the install tag and the "Upgrading to 0.45.0" note; its pin came with #1598.
38
+ - docs/events.md, docs/research.md and docs/memory.md: their rotation, `turn_end.edits`, research slice and pin text came with #1587, #1599, #1581 and #1598; nothing else under their paths contradicts them.
39
+ - src/cli/help.ts: the only change under its paths is #1597, which added `ahub roadmap check | sync | export` through `ROADMAP_FORMS`, the same table `parseRoadmapArgs` reads, so help and the parser cannot disagree.
40
+ - README.md, docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, docs/data-policy.md, docs/text-projection.md and docs/agent-notes/{benchmarks,budget,bus,daemon,local-worker,security-review,tasks,tests}.md: searched for the behaviour each release commit changes under their paths; no contradicting statement was found.
41
+
42
+ All 23 were restamped with `bun scripts/release-prepare.ts restamp <document>... --reviewed` at a26733ea, the commit that holds these corrections.
43
+
44
+ ## Checks
45
+
46
+ - `bun scripts/release-prepare.ts --version 0.45.0 --dry-run` selected 0.45.0 (minor; 23 commits, 2 `feat`) with pinned Bun 1.4.4; CHANGELOG coverage was checked against all 23 commits and the three without an entry (#1589, #1594, #1595) were added.
47
+ - npm reports 0.44.0 as the latest published 0.44.x, with exact agent-mem 0.30.0; the N-1 fixture lock was regenerated with Bun 1.4.4, and the control protocol constants (17, floor 16) are unchanged since v0.44.0.
48
+ - `node scripts/check-docs.mjs --require-fresh` after the restamp: `docs: OK (0 stale documents)`.
49
+ - `bun x tsc --noEmit`: clean. `bun scripts/build.mjs --check`: exit 0. `node scripts/check-package.mjs` with the CI-pinned npm 11.20.0: `package: OK (974 files, @staix/agent-hub@0.45.0)` (the local npm 12.2.2 prints a different `pack --json` shape, which the script refuses by design).
50
+ - The release PR's exact-head hosted CI and the published protocol compatibility fixture are recorded on the release PR.
51
+
52
+ ## Re-cut on 2026-11-22
53
+
54
+ Release PR #1604 merged but was never tagged. Ten pull requests then merged to main, so `release-tag.ts` refused the tag (main HEAD was no longer the release merge). The person chose to re-cut 0.45.0 instead of cutting 0.46.0. 0.45.0 was never published, so no published version changes meaning. This follow-up release PR, from main d887029e, keeps the version and folds the later work into the existing 0.45.0 CHANGELOG section by hand, because `release-prepare.ts` refuses a version whose section already exists.
55
+
56
+ - Commits since the #1604 merge: #1603, #1608, #1606, #1609, #1612, #1610, #1613, #1616, #1617, #1618. Each has a CHANGELOG entry. #1617 had none and one was added. The #1606 `~0.32.1` range entry was folded into the #1618 entry, because that interim range never shipped. The N-1 statement now names the declared `>=0.33.0 <1.0.0` range instead of the 0.32.0 pin.
57
+ - Reviews: the conductor reviewed and merged #1616 (hub task 1031), #1617 (hub task 1024) and #1618 (hub task 1054, after one changes-requested round with three findings and one CI fix). Each merge followed hub approval at the merged head, exact-head hosted CI was green on both OSes and seeded guards, and no review thread was unresolved. The codex connector review failed on usage limits for all three, so the conductor's review is their only code review. The conductor also reviewed and merged #1610 (hub task 1051), #1612 (hub task 1007) and #1613 (hub task 1008) under the same gate. For #1603, #1606, #1608 and #1609, a per-PR audit of their exact merge-head evidence is deferred, as in the first cut.
58
+ - Native acceptance receipts added since v0.44.0 now also include `docs/verification/2026-11-22-codex-0171-reviewer-isolation.md`. It is model-free evidence only, and codex 0.171.0 stays unverified.
59
+ - Document review: `node scripts/check-docs.mjs --require-fresh` reported 26 stale documents, all made stale by the same ten commits since the first restamp at a26733ea. The review is delta-scoped. Each of the ten commits' behaviour was searched across the stale documents: the agent-mem pin and range, draft review, roadmap decomposition and accept, edit governance guards and their setting, the factorial helpers, the Pi PR handoff and the Settings panel. Corrections:
60
+ - docs/quickstart.md: the "Upgrading to 0.45.0" note now describes the range with its host API check instead of the 0.32.0 pin, plus roadmap decompose/accept and the opt-in `edit_governance.arm`.
61
+ - docs/memory.md: the declared floor is 0.33.0.
62
+ - docs/operations.md: the `inspectSyncPolicy` sentence no longer names 0.32.1 as the declared core. The Decomposition (R2) section now covers `--accept`. The CI-watcher paragraph now covers draft review admission (#1576).
63
+ - Every other stale document: no contradicting statement was found. Their own PRs had already updated docs/sdlc.md, docs/research.md, docs/design/*, docs/dogfood.md, docs/agent-notes/tasks.md and src/cli/help.ts, and #1617 changed no source.
64
+ - Restamp: all 26 restamped with `bun scripts/release-prepare.ts restamp <document>... --reviewed` at the commit that holds these corrections.
65
+ - Checks at the restamp commit: `node scripts/check-docs.mjs --require-fresh` reports `docs: OK (0 stale documents)`. `bun x tsc --noEmit` is clean, `bun scripts/build.mjs --check` exits 0, `bun scripts/inventory-hardcoded-values.ts --check` reports OK, and `node scripts/check-package.mjs` with npm 11.20.0 reports `package: OK (979 files, @staix/agent-hub@0.45.0)`. The full gate is the release PR's exact-head hosted CI.
66
+
67
+ ## Known gaps, not blocking
68
+
69
+ No release consent, merge, tag, publication, installation, running-hub upgrade, live agent execution, mixed-version shared-home compatibility or rollback has been established here. The documentation review covers the release delta only. #1601 stays open: its third outcome (a Jcode TUI that leaves the hub socket) has no client-side switch in Jcode 1.0.1, so 0.45.0 ships only the raised ceiling and the named cause. #1579's AC3 (a live `ahub sdlc metrics` run after a merged PR on an upgraded hub) needs this release installed and is not run here. No memory home or sync format floor is raised.
@@ -0,0 +1,27 @@
1
+ # agy 1.5.14 verification attempt (2026-11-22)
2
+
3
+ Hub task 1055, refs #888. **Result: 1.5.14 stays unverified.** One leg shows a changed contract, so `src/adapters/compat.ts` is not touched.
4
+
5
+ Binary: `agy` 1.5.14, sha256 `e8c2959bf4744580d0e5b8f938ec2dc3918a942b620a6262e53856400f14e5fb`, 229152672 bytes. The task801 producers ran from an unedited copy (the controller `run-probe.py` plus the producers below) under the harness's isolated HOME, XDG, TMPDIR, hub and state roots, never the live hub or the real home. The producers import the source tree pinned at `01b87a7c`, which was recreated as a detached worktree.
6
+
7
+ | Producer | SHA-256 |
8
+ | --- | --- |
9
+ | run-probe.py | `16c6f4b1026250685097089f31c4b2d450d91589fa78dfa6c5f9b5c260efb5e5` |
10
+ | cli-surface.ts | `9345f1a66d14f9cd2d849681eccbfa16edd3fc412767a279913e152bccc4b6d8` |
11
+ | native-hooks.ts | `8e60b161e01e1ec06063c56a5ab710135624f0deb2cf65297baa54c4c418c2e2` |
12
+ | tmux-helper-control.ts | `a13c7a4b1702be7f667857eee0fd9f805c16441fd0f0b9e44ce1b7d962c76373` |
13
+ | launcher-nonce.ts | `55ff4db3462ad185dde17cc31ef971422e022f5ec8ce2940e4045501964c1ac1` |
14
+
15
+ | Leg | Result | Cause |
16
+ | --- | --- | --- |
17
+ | CLI surface | pass | same 3319-byte help, 10 flags, `--acp` and `--new` exit 2, same 12 subcommands, `mcp list` empty |
18
+ | Helper (tmux) | pass | normal exit, closed marker, cleanup confirmed, no agy started |
19
+ | Hooks and plugin MCP | **fail: contract changed** | see below |
20
+ | Launcher nonce | not run: harness | see below |
21
+ | Desktop TUI | person-run, not attempted | needs a person at the desktop: `bun scripts/smoke-acp.ts` is not it, run the task801 `tui` leg by hand in an owned Mac slot |
22
+
23
+ **Hooks leg.** The producer pins `--version` to `1.5.3` and 15 provider tool declarations. A scratch copy (version fence made a parameter, diagnostics added, nothing committed) showed the version fence was the only harness issue. With it relaxed, every hook requirement passed (six hook phases, shared and tool hook fields, two exact MCP calls, native read shape, Stop idle, loopback only, cleanup confirmed, real config unchanged) except `providerFifteenDeclarations`: 1.5.14 declares **17** functions in each of the four provider requests, the 15 known ones plus `run_workflow` and `swarm`. The new tools are a changed provider contract, so it needs a reviewed decision (and an updated expected list) before 1.5.14 can be admitted.
24
+
25
+ **Launcher-nonce leg.** It reads four original producers from `/tmp/agent-hub-681/` and `/tmp/agent-hub-684/`, which no longer exist, so it stops before touching agy (`original_producer_changed` guard, ENOENT). This is the environment, not agy. It needs those four originals restored by their recorded hashes (see `originals.json` beside the producers) before it can run.
26
+
27
+ The two fixture roots the failed harness runs retained (`ahub-801-controller-*`) were read and removed. A person-run next step: after deciding on `run_workflow` and `swarm`, rerun the hooks leg with the version fence parameterized and restore the launcher originals.
@@ -0,0 +1,35 @@
1
+ # Claude instruction hook probe
2
+
3
+ Hub task 1067, issue #1622 AC3. **Result: the typed, Skill, subagent and compaction cases passed on both versions.** The channel case was not driven: the clients reported that channels were unavailable. The hub-owned channel escapes a leading slash in each notification body by construction. Another plugin channel needs its own `--channels` opt-in, which hub-launched sessions do not pass; that remains a separate boundary.
4
+
5
+ The rerunnable harness is `scripts/probes/claude-instruction-hook.py`. It runs each supplied Claude binary under a new isolated HOME and Claude config, an empty project, a private tmux server and a synthetic loopback API. It uses no account or real model. The native API-key prompt was answered for the synthetic key. A private fake MCP server emitted the channel notification. The harness exits nonzero if a required driven case fails or cannot be driven; the unavailable channel leg is covered by the construction guard below.
6
+
7
+ | Claude Code | Typed TUI | Skill tool | Subagent | `/compact` | Channel |
8
+ |---|---|---|---|---|---|
9
+ | 2.1.328 | Pass | Pass | Pass | Pass | Not driven; hub content guarded |
10
+ | 2.1.329 | Pass | Pass | Pass | Pass | Not driven; hub content guarded |
11
+
12
+ - The typed TUI case delivered `/agent-hub:ahub show status` and a session ID to `UserPromptSubmit` on each version. At hook entry and after a two-second wait inside the hook, the transcript contained zero records for both fresh sessions. Claude has no binding in `NativeHookLaunches`, which currently requires an adapter facts hook. The existing synchronous hook therefore cannot prove the newest genuine user transcript record at entry. The receipt store is deferred to a separate design; an agent deliberately rewriting its own transcript remains outside this proof.
13
+ - The synthetic model's Skill request was refused by `disable-model-invocation`; no new prefixed hook input appeared. A synthetic model launched a subagent with a prefixed prompt, and the child was observed without a prefixed hook input.
14
+ - The TUI ran `/compact`; a further API request and compaction screen were observed, with no second prefixed hook input at the check. This does not prove behavior after unobserved later replay.
15
+ - The fake MCP channel wrote a prefixed notification, but both native clients reported `Channels are not currently available` and ignored `server:probe`. The synthetic model request did not contain the notification. The test cannot say what the hook would receive after an actual channel delivery; the hub-owned channel guard is tested separately.
16
+
17
+ Run from this repository with explicit absolute binary paths:
18
+
19
+ ```sh
20
+ python3 scripts/probes/claude-instruction-hook.py /absolute/path/to/claude-2.1.328 /absolute/path/to/claude-2.1.329
21
+ ```
22
+
23
+ The paths above are probe arguments, not person-run repair instructions. When an isolated account-backed run is available, rerun the channel leg. The construction guard covers the hub channel until then. The prior print-mode observations from hub task 1064 are superseded by the TUI cases above.
24
+
25
+ ## Deferred confirmation observations
26
+
27
+ On both versions, the hook's `prompt_id` matched the corresponding command record's `promptId`. The command record had `origin.kind: human`, `isSidechain: false` and no `promptSource`; the skill expansion was a separate meta record. A plain pasted text lookalike on 2.1.329 retained the same command-shaped content but had `promptSource: typed`. At `/compact`, each version wrote a summary record without a human origin. These observations support fail-closed checks, not authentication against a same-user process that edits the transcript.
28
+
29
+ Claude recorded `/agent-hub:ahub show status` as command name `/agent-hub:ahub` and args `show status`: the separator whitespace was not retained while internal whitespace was. The comparison therefore hashes the command and trimmed args, keeps internal bytes, and refuses args containing `<`, `>` or `&` until their encoding is separately proven.
30
+
31
+ In an earlier exploratory version-binding probe, the isolated hook's `CLAUDE_PID` identified the native ancestor. A symlink-launched 2.1.329 process retained a mapped executable pointing at its versioned binary; resolving the launch symlink after replacing it could no longer establish that match, so version admission returned unknown. The implementation no longer uses that probe: confirmation checks the matched transcript record's version.
32
+
33
+ An isolated native 2.1.329 TUI was then run against a scratch daemon and the setup-generated hooks, with a synthetic loopback API. A typed command produced one pending row with the expected canonical hash; the native Stop hook closed it. No real account or project was used. This is a pending/Stop integration check, not evidence that an instructed operation was admitted.
34
+
35
+ For hub task 1072 review, a second isolated 2.1.329 TUI used the setup-installed prompt hook and a scratch daemon with a synthetic loopback API. The hook-created pending row had `created=1795335021968` ms; its matching human command record had timestamp `2026-11-22T08:10:21.981Z`, 13 ms later. A test-managed live launcher proof and session facts were installed for that session, and the daemon's captured `instructionReceiptStore` confirmed the actual record with the expected arguments. The scratch setup omitted its Stop hook to keep the receipt pending until the confirmation check. This proves the record and confirmation path for this isolated run; the launcher proof was a fixture, not a real `ahub claude` launch.
@@ -0,0 +1,47 @@
1
+ # Codex 0.171.0 fresh-reviewer model-free receipt
2
+
3
+ Date: 2026-11-22. Platform: macOS arm64, Bun 1.4.4. Scope: issue #888, hub task 1024. This repeats the production preparation used in the [0.169.0 receipt](2026-11-14-codex-0169-reviewer-isolation.md) against the installed and npm-latest 0.171.0, with 0.169.0 as the verified control.
4
+
5
+ **Result: the runnable model-free preparation legs passed. 0.171.0 remains unverified.** The one separately requested model-backed review did not persist a verdict; the source comparison below is partial. This receipt is not admission evidence for the version.
6
+
7
+ ## Artifact and isolated preparation
8
+
9
+ Exact npm installs were made in separate private prefixes with private HOME, cache, and empty user and global npm configuration. Their lockfile integrity values matched the registry's exact-version `dist.integrity`:
10
+
11
+ - 0.171.0: `sha512-1IOFzL2Xg86tLdw6kDo3GoKbkQENgQi7TI6rlEvN132R7ngSw7SNOIQoTcnKzSZZ8kf9N9GynCweSoaFbqk2Eg==`. Native macOS arm64 binary SHA-256: `fc8d77cf7585aded2b9bc487dad29c4ee2f066123e4e76dd3b17653a8322ce42`.
12
+ - 0.169.0 control: `sha512-KhzYlkKPxoNssR8CEm45IjqnFWn7UtlF4CiD3tOJPea51xBs7MaHy0UQG9GSbCqk6Lrjn5QdJDV0QD1/FgWlGw==`. Native binary SHA-256: `739cda86e15d30a6e2b40cf8dcbbfb988aaf48b305b27065573bb8e9fd41d002`, matching the earlier receipt.
13
+
14
+ A private throwaway producer invoked the committed `runReviewerProofs`, production `codexReviewerBackend.prepare`, and its bounded runner. Each version used separate HOME, CODEX_HOME, TMPDIR, hub home and fixture roots. The environment contained only those roots, PATH to private node and Bun links and system binaries, locale, timezone and terminal settings. No model was called by these preparation legs. The 0.171.0 committed-tree version refusal passed before a temporary, exact-version trust entry was made in the isolated hub home. The control was already verified.
15
+
16
+ - 0.171.0: 17 runnable legs passed, including version refusal, empty-home and ambient preparation, and the 14 preparation attestation markers.
17
+ - 0.169.0 control: 16 runnable legs passed; the negative version leg was not applicable.
18
+ - The model-backed call, source-impact, tag-binding and control manifest entries were not established by the producer. Source identity and the partial comparison below are separate observations.
19
+
20
+ These results cover the production preparation and its native canaries, including public read, private path and alias denials, host credential-root denials and denied write. They do not prove a model turn, verdict delivery, network mode or every possible isolation path.
21
+
22
+ ## Source identity and partial comparison
23
+
24
+ The annotated `rust-v0.171.0` tag object was `295eca93394bb83a6ec8e0841033f3997f97fcbd`, peeled to `ccf9be8cc458bd6b8336fe84d68d8893f2691a5e`. The 0.169.0 control peeled to `d32063f96c2dff1dc96af839b3952abb6acfeda4`. The upstream comparison contains 389 commits and 2,282 changed paths.
25
+
26
+ Of the seven files in the prior receipt, `codex-rs/sandboxing/src/seatbelt.rs` is byte-identical. The other six changed: hook registry, exec CLI, MCP types, MCP management, session, and plugin manager. The changed hook, CLI, MCP types and MCP management diffs and feature changes were inspected; the larger session and plugin manager diffs were only partially inspected. In particular the CLI adds a remote-exec option, and MCP runtime configuration now accepts a contribution context. The reviewed feature diff also enables `incremental_tools_legacy` by default. The new version still contains the `plugins_enabled` guards, the `apps_enabled()` check and the legacy notify assignment. These observations are not a complete source impact review, and the remaining changed paths were not reviewed line by line.
27
+
28
+ ## App-server schema comparison
29
+
30
+ Schema generation ran in the isolated homes for both versions, stable and experimental, without a model call. The comparison below checks file names and top-level definitions and their direct properties, required fields and enums; it is not a complete semantic compatibility check.
31
+
32
+ - Stable: 329 to 331 schema files, 35 shared files changed, none removed. In the v2 bundle, 700 to 714 definitions, none removed; five direct properties were removed: `AgentMessageDisplay.action`, `blockType`, `checkTrustedContacts`, `cyberTrustedAccess`, and `Project.position`. No new direct required field or removed direct enum value was found.
33
+ - Experimental: 479 to 483 schema files, 49 shared files changed. `CurrentTimeReadParams.json` and `CurrentTimeReadResponse.json`, and their corresponding top-level definitions, were removed. The v2 bundle has the same five direct property removals as stable. Other changes were not classified.
34
+
35
+ The schema differences do not by themselves establish whether the hub's attached app-server adapter is affected; that adapter is a separate compatibility entry and was not exercised here.
36
+
37
+ ## Model-backed attempt and cleanup
38
+
39
+ Before the native attempt, the temporary daemon fixture was checked with a fake reviewer. It produced one approved verdict at the fixture head, and the harness checked the review envelope's marker and head before opening an exclusive one-attempt fence. The native fixture then used one isolated HOME and a temporary auth-file symlink to the configured account. No credential contents were copied or recorded.
40
+
41
+ The single 0.171.0 attempt reached the fence and the host recorded a `hub_review` call with native exit 0, but after 180 seconds the task remained `in_review` with zero persisted reviewer verdicts. No tool refusal was recorded in the bounded diagnostic. The cause is unknown; no second model attempt was made. This does not prove verdict delivery, and no model-backed receipt is claimed.
42
+
43
+ The temporary auth symlink was removed. The account auth file's metadata fingerprint matched before and after the attempt, and a process-table scan for the fixture and target prefix found zero remaining processes. The fixture and raw model output are not committed.
44
+
45
+ ## Admission boundary
46
+
47
+ The `codex-review` verified list and receipt pointer remain unchanged. A future qualification needs a complete source impact review, investigation of the missing verdict, and a successful separately authorized model-backed hub tool call at the exact fixture head. The attached Codex entry, trust policy and runtime isolation proofs are unchanged.