@staix/agent-hub 0.44.0 → 0.45.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.
- package/CHANGELOG.md +40 -0
- package/README.md +3 -8
- package/docs/agent-notes/adapters.md +2 -2
- package/docs/agent-notes/daemon.md +1 -1
- package/docs/agent-notes/local-worker.md +1 -1
- package/docs/agent-notes/security-review.md +1 -1
- package/docs/agent-notes/tasks.md +3 -1
- package/docs/agent-notes/tests.md +3 -2
- package/docs/design/adapters.md +4 -2
- package/docs/design/agent-hub.md +1 -1
- package/docs/design/roadmap.md +75 -2
- package/docs/design/supervision.md +21 -1
- package/docs/design/task-board.md +30 -2
- package/docs/dogfood.md +13 -4
- package/docs/events.md +5 -1
- package/docs/influences.md +7 -0
- package/docs/memory.md +4 -4
- package/docs/operations.md +51 -18
- package/docs/quickstart.md +8 -2
- package/docs/research.md +16 -0
- package/docs/roadmap.json +4 -0
- package/docs/roadmap.md +9 -0
- package/docs/sdlc.md +15 -3
- package/docs/security.md +3 -3
- package/docs/verification/2026-11-19-claude-implementer-2.1.328.md +49 -0
- package/docs/verification/2026-11-20-claude-implementer-2.1.329.md +49 -0
- package/docs/verification/2026-11-20-sdlc-metrics-diagnosis.md +7 -0
- package/docs/verification/2026-11-21-0.45.0.md +69 -0
- package/docs/verification/2026-11-22-codex-0171-reviewer-isolation.md +47 -0
- package/docs/verified.json +32 -26
- package/package.json +2 -2
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +472 -229
- package/plugins/agent-hub/kimi-review-policy-worker.js +5 -5
- package/plugins/agent-hub/server.js +513 -258
- package/scripts/check-docs.mjs +9 -1
- package/src/adapters/acp.ts +11 -1
- package/src/adapters/compat.ts +3 -3
- package/src/adapters/definitions/builtin-metadata.ts +2 -2
- package/src/adapters/definitions/native-context.ts +10 -0
- package/src/adapters/jcode.ts +10 -0
- package/src/adapters/local-worker.ts +3 -2
- package/src/adapters/pi.ts +15 -4
- package/src/cli/console-state.ts +3 -1
- package/src/cli/help.ts +3 -1
- package/src/cli/identity.ts +2 -1
- package/src/cli/main.ts +11 -5
- package/src/cli/recovery-package.ts +16 -3
- package/src/cli/roadmap-write.ts +59 -0
- package/src/cli/roadmap.ts +81 -4
- package/src/cli/sdlc-output.ts +4 -0
- package/src/cli/upgrade-runtime.ts +10 -6
- package/src/hub/agent-mem-range.ts +43 -0
- package/src/hub/board.ts +102 -1
- package/src/hub/check-runner.ts +25 -1
- package/src/hub/config-apply.ts +4 -2
- package/src/hub/config-trust.ts +1 -1
- package/src/hub/context-window.ts +1 -1
- package/src/hub/cost-governance.ts +11 -7
- package/src/hub/daemon.ts +253 -30
- package/src/hub/dogfood-read.ts +4 -2
- package/src/hub/edit-guard.ts +100 -0
- package/src/hub/events.ts +79 -8
- package/src/hub/facts.ts +57 -4
- package/src/hub/hub-tools.ts +2 -0
- package/src/hub/lifecycle.ts +6 -1
- package/src/hub/log-rotation.ts +130 -0
- package/src/hub/memory-profile.ts +137 -21
- package/src/hub/no-writes.ts +1 -0
- package/src/hub/operational-authority.ts +3 -2
- package/src/hub/operational-settings.ts +2 -2
- package/src/hub/recovery-store.ts +49 -21
- package/src/hub/research-experiments.ts +132 -0
- package/src/hub/research-quality.ts +8 -2
- package/src/hub/research-record.ts +35 -0
- package/src/hub/research.ts +128 -28
- package/src/hub/roadmap-check.ts +65 -0
- package/src/hub/roadmap-decompose.ts +80 -0
- package/src/hub/roadmap-export.ts +27 -0
- package/src/hub/roadmap-sync.ts +97 -0
- package/src/hub/roadmap.ts +40 -0
- package/src/hub/sdlc-branch-ci.ts +128 -0
- package/src/hub/sdlc-merge.ts +6 -3
- package/src/hub/sdlc-metrics.ts +19 -5
- package/src/hub/sdlc.ts +73 -5
- package/src/hub/settings.ts +1 -0
- package/src/hub/snapshots.ts +13 -1
- package/src/hub/startup-event-seeds.ts +21 -15
- package/src/hub/startup-timing.ts +3 -1
- package/src/hub/supervision-proposals.ts +10 -2
- package/src/hub/supervision-rules.ts +26 -3
- package/src/hub/supervision.ts +7 -0
- package/src/hub/task-pr.ts +47 -0
- package/src/hub/task-worktree.ts +18 -11
- package/src/hub/tasks.ts +502 -34
- package/src/hub/usage-rollup.ts +35 -20
- package/src/local/tools.ts +13 -1
- package/src/memory/client.ts +3 -2
- package/src/pi/extension.ts +15 -3
- package/src/pi/tool-receipts.ts +26 -0
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
|
|
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 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
|
|
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
|
|
|
@@ -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)
|
|
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
|
|
|
@@ -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,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.
|
package/docs/verified.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"documents": {
|
|
4
4
|
"README.md": {
|
|
5
|
-
"verifiedAgainst": "
|
|
5
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
6
6
|
"paths": [
|
|
7
7
|
"package.json",
|
|
8
8
|
"src/",
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"docs/security.md": {
|
|
14
|
-
"verifiedAgainst": "
|
|
14
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
15
15
|
"paths": [
|
|
16
16
|
"src/",
|
|
17
17
|
"templates/"
|
|
18
18
|
]
|
|
19
19
|
},
|
|
20
20
|
"docs/operations.md": {
|
|
21
|
-
"verifiedAgainst": "
|
|
21
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
22
22
|
"paths": [
|
|
23
23
|
"package.json",
|
|
24
24
|
"src/",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"docs/quickstart.md": {
|
|
38
|
-
"verifiedAgainst": "
|
|
38
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
39
39
|
"paths": [
|
|
40
40
|
"package.json",
|
|
41
41
|
"src/",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
"docs/adding-an-ai-tool.md": {
|
|
46
|
-
"verifiedAgainst": "
|
|
46
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
47
47
|
"paths": [
|
|
48
48
|
"src/adapters/registry-types.ts",
|
|
49
49
|
"src/adapters/registry.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"docs/addons/claude-mem.md": {
|
|
65
|
-
"verifiedAgainst": "
|
|
65
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
66
66
|
"paths": [
|
|
67
67
|
"src/hub/tooling.ts",
|
|
68
68
|
"src/adapters/definitions/native-policy-aux.ts",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
]
|
|
142
142
|
},
|
|
143
143
|
"docs/data-policy.md": {
|
|
144
|
-
"verifiedAgainst": "
|
|
144
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
145
145
|
"paths": [
|
|
146
146
|
"src/hub/path-policy.ts",
|
|
147
147
|
"src/local/tools.ts",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
156
|
"docs/dogfood.md": {
|
|
157
|
-
"verifiedAgainst": "
|
|
157
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
158
158
|
"paths": [
|
|
159
159
|
"src/hub/dogfood.ts",
|
|
160
160
|
"src/hub/dogfood-read.ts",
|
|
@@ -163,8 +163,14 @@
|
|
|
163
163
|
"src/cli/help.ts"
|
|
164
164
|
]
|
|
165
165
|
},
|
|
166
|
+
"docs/influences.md": {
|
|
167
|
+
"verifiedAgainst": "bfa5c3b99459168cbda7966069535a7b4c7b3c5d",
|
|
168
|
+
"paths": [
|
|
169
|
+
"docs/specs/2026-09-19-agent-hub-design.md"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
166
172
|
"docs/events.md": {
|
|
167
|
-
"verifiedAgainst": "
|
|
173
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
168
174
|
"paths": [
|
|
169
175
|
"src/hub/events.ts",
|
|
170
176
|
"src/hub/attribution.ts",
|
|
@@ -177,7 +183,7 @@
|
|
|
177
183
|
]
|
|
178
184
|
},
|
|
179
185
|
"docs/memory.md": {
|
|
180
|
-
"verifiedAgainst": "
|
|
186
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
181
187
|
"paths": [
|
|
182
188
|
"package.json",
|
|
183
189
|
"src/memory/",
|
|
@@ -194,7 +200,7 @@
|
|
|
194
200
|
]
|
|
195
201
|
},
|
|
196
202
|
"docs/profiles.md": {
|
|
197
|
-
"verifiedAgainst": "
|
|
203
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
198
204
|
"paths": [
|
|
199
205
|
"templates/profiles/",
|
|
200
206
|
"templates/packs/",
|
|
@@ -213,7 +219,7 @@
|
|
|
213
219
|
]
|
|
214
220
|
},
|
|
215
221
|
"docs/research.md": {
|
|
216
|
-
"verifiedAgainst": "
|
|
222
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
217
223
|
"paths": [
|
|
218
224
|
"src/hub/research.ts",
|
|
219
225
|
"src/hub/tooling.ts",
|
|
@@ -221,7 +227,7 @@
|
|
|
221
227
|
]
|
|
222
228
|
},
|
|
223
229
|
"docs/roles.md": {
|
|
224
|
-
"verifiedAgainst": "
|
|
230
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
225
231
|
"paths": [
|
|
226
232
|
"src/hub/roles.ts",
|
|
227
233
|
"src/hub/shipped-roles.ts",
|
|
@@ -232,7 +238,7 @@
|
|
|
232
238
|
]
|
|
233
239
|
},
|
|
234
240
|
"docs/sdlc.md": {
|
|
235
|
-
"verifiedAgainst": "
|
|
241
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
236
242
|
"paths": [
|
|
237
243
|
"src/hub/sdlc.ts",
|
|
238
244
|
"src/hub/sdlc-merge.ts",
|
|
@@ -262,7 +268,7 @@
|
|
|
262
268
|
]
|
|
263
269
|
},
|
|
264
270
|
"docs/text-projection.md": {
|
|
265
|
-
"verifiedAgainst": "
|
|
271
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
266
272
|
"paths": [
|
|
267
273
|
"src/hub/text-projection.ts",
|
|
268
274
|
"src/hub/projection-exec.ts",
|
|
@@ -273,7 +279,7 @@
|
|
|
273
279
|
]
|
|
274
280
|
},
|
|
275
281
|
"docs/agent-notes/adapters.md": {
|
|
276
|
-
"verifiedAgainst": "
|
|
282
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
277
283
|
"paths": [
|
|
278
284
|
"src/adapters/",
|
|
279
285
|
"src/pi/",
|
|
@@ -311,7 +317,7 @@
|
|
|
311
317
|
]
|
|
312
318
|
},
|
|
313
319
|
"docs/agent-notes/benchmarks.md": {
|
|
314
|
-
"verifiedAgainst": "
|
|
320
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
315
321
|
"paths": [
|
|
316
322
|
"scripts/benchmarks/",
|
|
317
323
|
"test/benchmarks/",
|
|
@@ -323,7 +329,7 @@
|
|
|
323
329
|
]
|
|
324
330
|
},
|
|
325
331
|
"docs/agent-notes/budget.md": {
|
|
326
|
-
"verifiedAgainst": "
|
|
332
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
327
333
|
"paths": [
|
|
328
334
|
"src/hub/budget.ts",
|
|
329
335
|
"src/cli/statusline-tee.ts",
|
|
@@ -347,7 +353,7 @@
|
|
|
347
353
|
]
|
|
348
354
|
},
|
|
349
355
|
"docs/agent-notes/bus.md": {
|
|
350
|
-
"verifiedAgainst": "
|
|
356
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
351
357
|
"paths": [
|
|
352
358
|
"src/hub/bus.ts",
|
|
353
359
|
"src/hub/envelope.ts",
|
|
@@ -362,7 +368,7 @@
|
|
|
362
368
|
]
|
|
363
369
|
},
|
|
364
370
|
"docs/agent-notes/daemon.md": {
|
|
365
|
-
"verifiedAgainst": "
|
|
371
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
366
372
|
"paths": [
|
|
367
373
|
"src/hub/daemon.ts",
|
|
368
374
|
"src/hub/control-client.ts",
|
|
@@ -453,7 +459,7 @@
|
|
|
453
459
|
]
|
|
454
460
|
},
|
|
455
461
|
"docs/agent-notes/local-worker.md": {
|
|
456
|
-
"verifiedAgainst": "
|
|
462
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
457
463
|
"paths": [
|
|
458
464
|
"src/adapters/local-worker.ts",
|
|
459
465
|
"src/local/",
|
|
@@ -473,7 +479,7 @@
|
|
|
473
479
|
]
|
|
474
480
|
},
|
|
475
481
|
"docs/agent-notes/tasks.md": {
|
|
476
|
-
"verifiedAgainst": "
|
|
482
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
477
483
|
"paths": [
|
|
478
484
|
"src/hub/tasks.ts",
|
|
479
485
|
"src/hub/board.ts",
|
|
@@ -521,7 +527,7 @@
|
|
|
521
527
|
]
|
|
522
528
|
},
|
|
523
529
|
"docs/agent-notes/tests.md": {
|
|
524
|
-
"verifiedAgainst": "
|
|
530
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
525
531
|
"paths": [
|
|
526
532
|
"test/",
|
|
527
533
|
"scripts/check.sh",
|
|
@@ -550,7 +556,7 @@
|
|
|
550
556
|
]
|
|
551
557
|
},
|
|
552
558
|
"docs/agent-notes/README.md": {
|
|
553
|
-
"verifiedAgainst": "
|
|
559
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
554
560
|
"paths": [
|
|
555
561
|
"src/cli/console-state.ts",
|
|
556
562
|
"src/cli/attention.ts",
|
|
@@ -559,7 +565,7 @@
|
|
|
559
565
|
]
|
|
560
566
|
},
|
|
561
567
|
"src/cli/help.ts": {
|
|
562
|
-
"verifiedAgainst": "
|
|
568
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
563
569
|
"paths": [
|
|
564
570
|
"src/cli/main.ts",
|
|
565
571
|
"src/cli/launch.ts",
|
|
@@ -578,7 +584,7 @@
|
|
|
578
584
|
]
|
|
579
585
|
},
|
|
580
586
|
"docs/agent-notes/security-review.md": {
|
|
581
|
-
"verifiedAgainst": "
|
|
587
|
+
"verifiedAgainst": "6f613946ae3c262e9fdff7922bb0106480214c84",
|
|
582
588
|
"paths": [
|
|
583
589
|
"src/hub/envelope.ts",
|
|
584
590
|
"src/hub/conductor.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@staix/agent-hub",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "Native multi-agent hub: Claude Code, Codex, Kimi Code, Pi and local inference as peers in one project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"bun": ">=1.4.4"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@staix/agent-mem": "0.
|
|
20
|
+
"@staix/agent-mem": ">=0.33.0 <1.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-hub",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "Channel between Claude Code and the agent-hub daemon: peer messages from Codex, Kimi and the local worker arrive as channel events; hub_send replies.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Young Joon Lee",
|