@staix/agent-hub 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +85 -0
- package/README.md +8 -4
- package/docs/adding-an-ai-tool.md +20 -4
- package/docs/agent-notes/adapters.md +3 -3
- package/docs/agent-notes/benchmarks.md +7 -1
- package/docs/agent-notes/daemon.md +6 -5
- package/docs/agent-notes/tasks.md +4 -2
- package/docs/agent-notes/tests.md +3 -0
- package/docs/contracts/companion-cli-v1.json +3 -0
- package/docs/data-policy.md +9 -0
- package/docs/design/adapters.md +14 -0
- package/docs/design/cli-output-inventory.md +362 -0
- package/docs/design/cli-output.md +42 -1
- package/docs/design/execution-reference.md +5 -2
- package/docs/design/guidance-probes.md +2 -2
- package/docs/design/refusal-inventory.md +26 -0
- package/docs/design/roadmap.md +4 -0
- package/docs/design/task-board.md +17 -1
- package/docs/dogfood.md +26 -10
- package/docs/events.md +9 -0
- package/docs/friction.md +46 -0
- package/docs/memory.md +35 -3
- package/docs/operations.md +63 -15
- package/docs/profiles.md +1 -0
- package/docs/quickstart.md +14 -2
- package/docs/roles.md +6 -0
- package/docs/sdlc.md +44 -1
- package/docs/security.md +16 -7
- package/docs/specs/2026-09-19-agent-hub-design.md +17 -0
- package/docs/specs/2026-09-19-multi-project-design.md +7 -1
- package/docs/verification/2026-11-24-0.46.1.md +48 -0
- package/docs/verification/2026-11-25-agy-1.5.16.md +31 -0
- package/docs/verification/2026-11-25-claude-implementer-2.1.332.md +47 -0
- package/docs/verification/2026-11-25-codex-0172-reviewer-isolation.md +47 -0
- package/docs/verification/2026-11-25-kimi-272-reviewer-compat.md +38 -0
- package/docs/verification/2026-11-25-kimi-tui-272.md +14 -0
- package/docs/verification/2026-11-25-pi-160-compat.md +40 -0
- package/docs/verification/2026-11-26-0.47.0.md +43 -0
- package/docs/verification/2026-11-26-codex-0172-reviewer-tool-call.md +29 -0
- package/docs/verification/dogfood/2026-11-24.md +2829 -0
- package/docs/verification/pi-160-model-free.ts +57 -0
- package/docs/verification/pi-160-native.mjs +21 -0
- package/docs/verified.json +43 -31
- package/package.json +2 -2
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +679 -134
- package/plugins/agent-hub/server.js +776 -154
- package/src/adapters/acp.ts +5 -0
- package/src/adapters/channel-peer.ts +7 -0
- package/src/adapters/claude-print-child.ts +27 -5
- package/src/adapters/codex-appserver.ts +9 -0
- package/src/adapters/compat.ts +12 -11
- package/src/adapters/configured-acp.ts +45 -2
- package/src/adapters/configured-print.ts +163 -0
- package/src/adapters/conformance/index.ts +1 -0
- package/src/adapters/conformance/print.ts +57 -0
- package/src/adapters/definitions/native-activity.ts +57 -0
- package/src/adapters/definitions/native-factories.ts +4 -2
- package/src/adapters/jcode.ts +10 -2
- package/src/adapters/local-worker.ts +2 -0
- package/src/adapters/registry-types.ts +5 -3
- package/src/adapters/role-eligibility.ts +5 -0
- package/src/cli/bench.ts +2 -1
- package/src/cli/broker.ts +2 -1
- package/src/cli/capabilities-output.ts +10 -14
- package/src/cli/configured-acp-entry.ts +10 -2
- package/src/cli/console-state.ts +25 -5
- package/src/cli/error-format.ts +2 -0
- package/src/cli/guidance.ts +1 -1
- package/src/cli/handoff-output.ts +20 -17
- package/src/cli/help.ts +78 -40
- package/src/cli/init-settings.ts +15 -0
- package/src/cli/intake-output.ts +13 -13
- package/src/cli/launch.ts +3 -2
- package/src/cli/learn-output.ts +40 -21
- package/src/cli/main.ts +148 -77
- package/src/cli/memory.ts +47 -2
- package/src/cli/output.ts +54 -31
- package/src/cli/recovery-package.ts +6 -1
- package/src/cli/roadmap.ts +2 -2
- package/src/cli/room-output.ts +71 -0
- package/src/cli/room.ts +19 -33
- package/src/cli/schedule-output.ts +20 -19
- package/src/cli/sdlc-output.ts +188 -170
- package/src/cli/source-output.ts +17 -14
- package/src/cli/specs.ts +13 -13
- package/src/cli/study-output.ts +66 -69
- package/src/cli/task-output.ts +106 -158
- package/src/cli/terminal-recovery.ts +2 -1
- package/src/cli/upgrade-runtime.ts +2 -1
- package/src/cli/warn-line.ts +18 -0
- package/src/cli/worktrees-output.ts +25 -23
- package/src/hub/audit-source.ts +45 -0
- package/src/hub/board.ts +141 -5
- package/src/hub/bus.ts +13 -2
- package/src/hub/config-apply.ts +14 -1
- package/src/hub/config-trust.ts +1 -0
- package/src/hub/control-client.ts +1 -1
- package/src/hub/daemon.ts +371 -45
- package/src/hub/handoff.ts +5 -1
- package/src/hub/hub-tools.ts +23 -5
- package/src/hub/instance-config.ts +3 -3
- package/src/hub/learn-followup.ts +103 -0
- package/src/hub/learning.ts +63 -1
- package/src/hub/manager.ts +15 -1
- package/src/hub/memory-policy.ts +2 -1
- package/src/hub/memory-review.ts +217 -0
- package/src/hub/peer-activity.ts +37 -0
- package/src/hub/peers.ts +3 -0
- package/src/hub/project-move.ts +258 -0
- package/src/hub/registry.ts +16 -5
- package/src/hub/restart.ts +7 -0
- package/src/hub/review-brief.ts +8 -4
- package/src/hub/review-checkout.ts +26 -0
- package/src/hub/review-findings.ts +6 -3
- package/src/hub/risk-tier.ts +129 -0
- package/src/hub/roadmap-check.ts +1 -0
- package/src/hub/routing.ts +3 -1
- package/src/hub/sdlc-merge.ts +9 -0
- package/src/hub/sdlc-metrics.ts +24 -1
- package/src/hub/sdlc-queue.ts +1 -1
- package/src/hub/sdlc.ts +15 -6
- package/src/hub/settings.ts +2 -0
- package/src/hub/spec-readback.ts +136 -0
- package/src/hub/specs.ts +1 -1
- package/src/hub/task-list-page.ts +1 -1
- package/src/hub/tasks.ts +558 -65
- package/src/hub/ui.ts +4 -2
- package/src/ui/index.html +26 -2
- package/src/ui/overview-model.ts +138 -0
- package/src/ui/plugin.ts +30 -4
- package/templates/roles/ops/project-manager.md +1 -1
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`, `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`).
|
|
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`, `memory.review`, `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 first-party `@staix/agent-mem` package, accepted as the range `>=0.
|
|
64
|
+
The portable core is the first-party `@staix/agent-mem` package, accepted as the range `>=0.39.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
|
|
|
@@ -69,6 +69,8 @@ Code neighbours (#684 phase 4). For a symbol start, `hub_memory_graph` and the d
|
|
|
69
69
|
|
|
70
70
|
`hub_memory_correct` requires `memory_correct` and proposes a machine-local candidate after the same project/privacy checks, including revalidation after asynchronous screening. It cannot accept or alter a note. Public review failures with unmet items may also propose candidates through Tasks, and `ahub ask --remember` answers and context checkpoints are saved only as candidates, never as curated notes (agent-mem#13 P4). Candidates and usage counters stay at `M/candidates.db`, are not synced/imported, and never enter recall, briefs, ask or graph evidence. A person accepts shared-v1 candidates through the package CLI's TTY/policy checks; the accepted result is an ordinary v1 note, while the sidecar remains local. Generation `amem review` is supported since agent-mem 0.7.0, subject to the package CLI's applicable TTY and policy checks. Citation counters are observation proxies, not evidence that an agent understood or used a note.
|
|
71
71
|
|
|
72
|
+
A scheduled memory review (#1329, [memory](memory.md#scheduled-review-and-its-switch-1329-part-1)) is started only from the machine-local `memory.review` block, and `ahub memory review on|off|status` is the person's switch (`--live-test` does not delegate it). While a turn is bound to the review card its peer owns, the hub refuses before any write every hub tool call outside the review's scope: memory mutations, vault note writes, code edits and checks, peer starts and holds, and any `hub_*` tool that is not a read, a proposal, the card's own lifecycle or a message. In that turn `hub_remember` becomes a machine-local `memory` candidate for the person to accept with `amem review`, never a curated note. The binding is the turn's attribution, so the card's reviewer and the owner's other tasks keep every tool. Only the hub writes the card's schedule marker, so a peer cannot narrow or widen another turn's scope by writing a card. A peer's other MCP servers and its shell are outside this gate and keep their own policies.
|
|
73
|
+
|
|
72
74
|
The hub binds the selected root/profile at open. Invalid/missing generation metadata refuses native memory without a shared-v1 fallback; the bus and board continue. Explicit checks at hub operation entry and before sidecar writes stop later stale calls, but are not atomic against a selector change during an in-flight core operation. Migration therefore requires quiescing consumers and closing handles before changing selection, then reopening through the supported lifecycle. A public core pre-write hook is the upgrade path for atomic in-flight cutover.
|
|
73
75
|
|
|
74
76
|
Before migrating any real home, every hub sharing it must first be on 0.12.30 or later with positive authenticated binding or unbound/quiesced proof from `ahub memory profile-check` in each relevant registry. An unknown or unreadable runtime is not proof of absence, and a matching ready binding still holds a handle that must be closed. Profile-check reports only its named registry inventory. Root paths, selector receipts and malformed-legacy counts are person-local diagnostics, excluded from ordinary peer status and allowed agent CLI reads. Source/fixture checks do not establish native capture, real migration or account/device-sync success.
|
|
@@ -636,10 +638,10 @@ Please report vulnerabilities privately through GitHub's "Report a vulnerability
|
|
|
636
638
|
|
|
637
639
|
- `ahub ui` uses the authenticated console control connection to start an ephemeral HTTP listener on `127.0.0.1`. No UI listener exists before that command. The control and Codex proxy ports continue to refuse every `Origin` header.
|
|
638
640
|
- The daemon issues a cryptographically random, single-use bootstrap ticket valid for 60 seconds. The CLI opens the dashboard with that ticket in the URL fragment, never a query string or the control token. The static page removes the fragment immediately and exchanges it with a same-origin POST. Tickets are consumed once; expired tickets cannot create sessions.
|
|
639
|
-
- The exchange creates a separate random session, valid for one hour without renewal, in an `HttpOnly; SameSite=Strict; Path=/` cookie named for this listener's port. Sessions and tickets live only in memory and die with the daemon. The page itself keeps one more cookie, `agent-hub-theme` (issue #246): script-set, `SameSite=Strict`, kept for a year for the whole `127.0.0.1` host, and read back only as one of `system`, `light` or `dark`. A second script-set cookie, `agent-hub-office` (issue #264), keeps the Office view choice under the same attributes and is read back only as `off`, `flat` or `isometric`. The #391 view split adds two more script-set cookies under the same attributes: `agent-hub-view`, read back only as one of the
|
|
641
|
+
- The exchange creates a separate random session, valid for one hour without renewal, in an `HttpOnly; SameSite=Strict; Path=/` cookie named for this listener's port. Sessions and tickets live only in memory and die with the daemon. The page itself keeps one more cookie, `agent-hub-theme` (issue #246): script-set, `SameSite=Strict`, kept for a year for the whole `127.0.0.1` host, and read back only as one of `system`, `light` or `dark`. A second script-set cookie, `agent-hub-office` (issue #264), keeps the Office view choice under the same attributes and is read back only as `off`, `flat` or `isometric`. The #391 view split adds two more script-set cookies under the same attributes: `agent-hub-view`, read back only as one of the nine view names, and `agent-hub-column-focus`, read back only as one of the five board columns or empty. HTTP is loopback-only; the cookie is not a substitute for the origin checks.
|
|
640
642
|
- 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
643
|
- 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
|
-
- 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).
|
|
644
|
+
- 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). The Overview view (#1514) carries only aggregate figures over the board's public history: a private task is counted as withheld and adds no title, owner or time, and the figures are built only while that view is open.
|
|
643
645
|
- 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
646
|
- The listener stops with the daemon. Expired sessions must be reopened with `ahub ui`; the page does not silently obtain new credentials.
|
|
645
647
|
|
|
@@ -661,7 +663,7 @@ endpoint. Browsers provide registered project IDs and expected daemon instance
|
|
|
661
663
|
IDs; they cannot submit arbitrary paths, ports, PIDs or control tokens. The
|
|
662
664
|
manager forwards the same closed, redacted dashboard operations as a project-local
|
|
663
665
|
page. A snapshot request's `view` is forwarded only when it is one of the page's
|
|
664
|
-
|
|
666
|
+
nine view names (#683 U4), and the project hub checks it again. It cannot expose
|
|
665
667
|
private task history or allow local-worker tools.
|
|
666
668
|
|
|
667
669
|
Per-project control handshakes verify project, root and instance against the
|
|
@@ -676,6 +678,8 @@ not inherit state, unattended or gateway URL/key overrides from the session that
|
|
|
676
678
|
opened the manager. Native memory is deliberately not a project-isolation boundary:
|
|
677
679
|
its existing basename/worktree aliases and provider accounts can remain shared.
|
|
678
680
|
|
|
681
|
+
`ahub projects move` (#1424) re-keys a moved project's registration and is person-only: an agent shell and `--live-test` are refused. It previews first and applies only with the preview's `--confirm` fingerprint after every affected hub is stopped, backs up the databases and markers it changes under `.agenthub/archive/move-<UTC time>/`, and leaves memory project keys and archived recovery history at their original identities; autonomy is not carried to the new root.
|
|
682
|
+
|
|
679
683
|
## acon console plugin (#935, #1012)
|
|
680
684
|
|
|
681
685
|
`@staix/agent-hub/ui-plugin` runs inside the agent-console (`acon`) process as the
|
|
@@ -686,7 +690,7 @@ dashboard page cannot reach: `answer` (#1053), `receipt` (#1054) and the review
|
|
|
686
690
|
(`review_comment_put|delete|send`, `review_comments`, `review_blob`, #1056). Every
|
|
687
691
|
write through them requires acon's verified `ActionMeta`, as described in those
|
|
688
692
|
sections. Every other action must be on the manager's closed list and every view one
|
|
689
|
-
of the
|
|
693
|
+
of the nine view names. There is no generic control proxy, task-detail read, shell
|
|
690
694
|
or caller-chosen command, and the only file read is the bounded review material of a
|
|
691
695
|
public task (`review_blob`).
|
|
692
696
|
|
|
@@ -721,6 +725,7 @@ public task (`review_blob`).
|
|
|
721
725
|
works, the open turn's start time. No envelope body, task detail, approval title, reason, path
|
|
722
726
|
or symbol reaches it, a PII task never joins a link, and the scene is trimmed to
|
|
723
727
|
acon's caps. `test/acon-plugin.test.ts` pins this with a marker fixture.
|
|
728
|
+
- **Board revision.** The provider's `revision(scopes)` (#1635) sends the console-role `board_revision` control message, which any other role is refused, and gets back the board's write counter as one bare number. The `board` scope folds those counters into a short opaque value; no task text, id or title goes into it, at most 20 scopes of at most 200 characters are read, and an unknown counter makes the value `0` so the console fetches instead of trusting it.
|
|
724
729
|
|
|
725
730
|
## Peer roster authority
|
|
726
731
|
|
|
@@ -797,12 +802,15 @@ Antigravity (`agy`, #485) is optional, cloud and off roster by default. The laun
|
|
|
797
802
|
|
|
798
803
|
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
804
|
|
|
805
|
+
Configured print adapters (#1515) are the same person-only, machine-local declaration with `transport: "print"`: a fixed command and argv with one `{prompt}` placeholder or stdin, a version probe argv whose whole trimmed output must equal `versionPin`, a deadline of 1 to 300 seconds and the advisory roles `reviewer` or `advisor`. Unlike a configured ACP kind, a print peer runs only inside the hub's read-only sandbox: the hub refuses to start one on a host without it, and the version probe and every turn run as a new child under `sandbox-exec` with no network, no file write but `/dev/null`, no read of the hub's state directory, the project's deny list applied, and an environment replaced by a fixed `PATH`, `HOME=/var/empty`, `LANG` and `TERM`, so none of the person's credentials or variables reach it. The executable's identity is pinned at start and rechecked before each run. It takes public advisory messages only: a private or PII turn, and any `task`, `review` or `invocation` envelope, is refused before a child is spawned, and the prompt and the answer each pass the public-text screen. Stdout is capped at 64 KiB and marked when cut; a failure or timeout reports a sanitized stderr tail of at most 2,000 characters only when it passes that screen. A print peer has no hub MCP tools, so it never owns a task, never files a verdict and is excluded from the reviewer pool and the assignment walk even when its declaration lists `reviewer`; its permission mode is unmanaged and its quota and context are unknown.
|
|
806
|
+
|
|
800
807
|
External adapter modules (#451 A4) are the one way to run adapter code that ships outside the hub, and the pin is code authorization, not a sandbox. `adapter_modules` is read only from a Git-confirmed untracked `.agenthub/config.local.json` (never from a shared, tracked or cloned config, and never written by settings or a hub tool). Only daemon startup imports a module, from the captured bytes that matched the `sha256` pin, not by reopening the path; the file must sit inside the project with no symlinked component and not be world-writable. Its imports are bound to the running hub's own `@staix/agent-hub/adapter` and builtins (`bun:ffi` and `bun:test` excluded), and dynamic imports, `require`, `eval` and `Function` are refused by a conservative scan. Once imported, the module runs with the daemon's privileges: the 2 s import deadline stops waiting but does not cancel its code or undo side effects, and the host's default against hub-tool title auto-approval holds only while the module keeps the factory options it is given. Inspect the whole bundle before recording its hash. Refusal reasons withhold source and module error text. A loaded kind keeps its own family, cloud trust (never PII), headless start and off-roster default, and fixed-builtin capabilities are refused. The daemon reads a native proof port (a status notice, the Codex frontend proxy, a native turn revert, a Claude launch proof) only from a fixed builtin definition, so a module product that carries one gains nothing (#790). Extra instances of a module kind (#754) exist only when the module opts in (`headlessInstances`: headless, implementer, verifier or continuing reviewer) and the person declares them in `instances`. Each needs its own managed worktree, on an attached branch unless it is read-only, and is bound to what startup verified (module pin, API, capability and policy digests, execution root): a changed binding, a replaced worktree, a branch switch or a lost owned process revokes its authority, and a recorded native session resumes only under the exact same binding.
|
|
801
808
|
|
|
802
809
|
# Transient ACP activity (#286)
|
|
803
810
|
|
|
804
811
|
- Watch activity can contain file contents, thoughts and command output. It is console-role only, kept in a bounded in-memory ring and exposed only through the `watch` control request. Agent shells, conductor tools, dashboard snapshots, hub tools and memory observers cannot read it. Terminal bodies pass through the console's sanitization and wrapping helpers. Slow sockets close instead of accumulating unbounded output.
|
|
805
812
|
- Private/PII turns show a single stub; the adapter latches privacy for that turn. The existing final-answer bus and native approval paths (console and dashboard) remain independent, with their existing privacy rules. Watch never adds activity to either path or any disk log.
|
|
813
|
+
- Derived activity kinds (#1512) are a different, smaller thing: live console status may show a busy Codex, ACP or local-worker peer's current kind from a closed list (`files`, `shell`, `network`, `hub`, `memory`, `agents`, `model`, `unknown`) and its start time, mapped from the native item or tool kind and, for a Codex MCP call, an allowlisted server name only, never from command text, paths, URLs or arguments. A private, PII or review-observer turn, a peer holding an open PII task, or a turn whose privacy cannot be read shows none for the rest of the turn. The row lives only in daemon memory, is cleared at the turn's end, and is never written to the database, the event journal, logs, snapshots, envelopes, memory capture or a prompt ([data policy](data-policy.md#derived-peer-activity)).
|
|
806
814
|
- Qwen's dual-output TUI (#286 Part 3, [receipt](verification/2026-10-25-qwen-dual-output-t0.md)) is a separate transport, covered next.
|
|
807
815
|
|
|
808
816
|
# Qwen dual-output input file (#286 Part 3)
|
|
@@ -1153,7 +1161,7 @@ it has no reach a same-user process lacks (see "What is not defended").
|
|
|
1153
1161
|
|
|
1154
1162
|
## Bounded task specs and isolated checks (#418)
|
|
1155
1163
|
|
|
1156
|
-
`hub_task_spec` reads only the GitHub issues named by a current owner's or reviewer's task in this project's origin repository, including the validated canonical GitHub intake source when its title/body has no issue token. Bare `#N` references count only in the title; detail references require `owner/repo#N` or `https://github.com/owner/repo/issues/N`. Bare detail numbers denote hub tasks, and arbitrary file paths are not parsed as issue references. A qualified reference cannot begin after a slash or a name character, so `src/hub/tasks.ts#12` is a file path. Routing uses this same parser. Without a GitHub project identity, bare title numbers do not require spec access, but explicit qualified/URL references, `refs.repo` and imported GitHub identity still fail closed. `refs.repo`, which `hub_task_propose` and `hub_task_accept` take since #476 to scope overlap per repository, is metadata only: it grants no file access or execution root, and a spec read for a task naming another repository refuses. The daemon resolves authenticated and container executables outside the project, pins their absolute paths and uses fixed arguments; repository-writable PATH shims are refused. Runner Git resolves its host executable through a restricted PATH. For specs, the model receives no credential or arbitrary authenticated URL capability. Foreign/transferred issues, more than three references, bodies over 64 KiB and aggregate results over 80 KiB fail explicitly. Spec fetches share a 25-second budget inside the control client's 30-second cap; each gh call remains bounded to 15 seconds. Current PII, secret and private-path policy withholds the complete spec rather than returning a partial contract. PII turns and PII tasks refuse these tools. The independent `spec_read` and `check_run` capabilities apply when a peer has a narrowed capability list. Arguments and results are excluded from capture. Proven deterministic pre-effect guards return PreEffectToolRefusal so Pi settles the exact refusal receipt; generic transport/storage failures and failures after durable receipt/output changes remain uncertain, never reclassified from error text.
|
|
1164
|
+
`hub_task_spec` reads only the GitHub issues named by a current owner's or reviewer's task in this project's origin repository, including the validated canonical GitHub intake source when its title/body has no issue token. Bare `#N` references count only in the title; detail references require `owner/repo#N` or `https://github.com/owner/repo/issues/N`. Bare detail numbers denote hub tasks, and arbitrary file paths are not parsed as issue references. A qualified reference cannot begin after a slash or a name character, so `src/hub/tasks.ts#12` is a file path. Routing uses this same parser. Without a GitHub project identity, bare title numbers do not require spec access, but explicit qualified/URL references, `refs.repo` and imported GitHub identity still fail closed. `refs.repo`, which `hub_task_propose` and `hub_task_accept` take since #476 to scope overlap per repository, is metadata only: it grants no file access or execution root, and a spec read for a task naming another repository refuses. The daemon resolves authenticated and container executables outside the project, pins their absolute paths and uses fixed arguments; repository-writable PATH shims are refused. Runner Git resolves its host executable through a restricted PATH. For specs, the model receives no credential or arbitrary authenticated URL capability. Foreign/transferred issues, more than three references, bodies over 64 KiB and aggregate results over 80 KiB fail explicitly. Spec fetches share a 25-second budget inside the control client's 30-second cap; each gh call remains bounded to 15 seconds. Current PII, secret and private-path policy withholds the complete spec rather than returning a partial contract. PII turns and PII tasks refuse these tools. The independent `spec_read` and `check_run` capabilities apply when a peer has a narrowed capability list. A spec read-back (#1658, [sdlc](sdlc.md#spec-read-back-1658)) adds one bounded grant: the reviewer-role peer the hub binds as reader may call `hub_task_spec` for that one task, returning only the receipt issue the request names, until it reports with `hub_readback_report`, the lifecycle or its reviewer role ends, or the issue body moves. Only the person or the configured conductor starts one, a private task starts none, a private, PII or review-observer turn files no report, report text passes the task privacy screen, and the listed paths are checked against the default branch through the hardened git options with no worktree read and no fetch. Arguments and results are excluded from capture. Proven deterministic pre-effect guards return PreEffectToolRefusal so Pi settles the exact refusal receipt; generic transport/storage failures and failures after durable receipt/output changes remain uncertain, never reclassified from error text.
|
|
1157
1165
|
|
|
1158
1166
|
`hub_check_start` accepts only a current owner's in-progress task, its recorded branch/commit and either `typecheck` or one to 32 existing `test/*.test.ts` paths. `checks.runner = "container"` is a person opt-in in an untracked config file; a tracked config cannot grant it. Missing service/image, an unverified internal network, stale task/owner/native generation, unavailable dependencies or an invalid path fails closed. There is no host-shell, network or Seatbelt fallback.
|
|
1159
1167
|
|
|
@@ -1562,6 +1570,7 @@ Person comment writes (`review_comment_put`, `review_comment_delete`, `review_co
|
|
|
1562
1570
|
- **Material.** Placement material comes only from guarded immutable Git snapshots at the task's recorded head (declared refs, plan paths, or same-head verified PR paths), bounded per operation to eight files and eight seconds; a sent package is at most 12,000 bytes. `review_blob` refuses a PII task, and periodic snapshots make no comment-material Git or GitHub read. PII tasks and private paths keep comments on the board and count-only in every public view.
|
|
1563
1571
|
- **Delivery.** A sent package carries the host-only `refs.reviewPackage` marker: the intended owner gets the body, while logs, stream projections, incoming labels, memory capture and observers get an ids-only stub; review markers a peer supplies are discarded. Open sent comments, anchored findings and unsettled review deliveries keep the original recipient's responses out of shared memory and observers until resolution, dismissal, task close or explicit disposition (#1192, #1205). The marker grants no task, console or PII authority.
|
|
1564
1572
|
- **Retry and recovery.** A send is never retried automatically, and a queued receipt proves publication, not that the owner read it. A restart, upgrade or recovery onto a daemon lacking `review_comments` is refused while anchored comments are stored.
|
|
1573
|
+
- **Brief file reads (#1646).** `hub_review_file` serves one file of a task's own review brief at the reviewed head, from Git objects through the same guarded material reader and caps, never from a working tree. Only the task's current owner or reviewer may call it, the path must be one the brief lists, a private task and a private or PII turn read nothing, and the call and its result are excluded from memory capture. The spawned reviewer MCP and the sandboxed Codex reviewer keep their two-tool surface (`hub_review`, `hub_task_show`) and do not have it. The checkout evidence a verdict records is read by the hub from the reviewing session's own checkout, proved to be a worktree of this repository, or else from the project checkout; an unreadable checkout records no evidence.
|
|
1565
1574
|
|
|
1566
1575
|
### Room health and codec advertisements (#1204 T4)
|
|
1567
1576
|
|
|
@@ -5059,6 +5059,23 @@ Version line (#589, owner decision 2026-10-20): agy updates itself, so the launc
|
|
|
5059
5059
|
- The first explicit acceptance/self-claim of the ownership span captures its baseline through the guarded host `ownerAccepted` callback; later re-acceptance cannot move it. An acceptance manufactured by done has no pre-work baseline and leaves D2 unknown; it adds no capture ahead of the existing review projection. Acceptance and done snapshots use the existing hardened snapshot machinery and shared 250 ms burst budget. Declared instances require their current execution adapter/root binding; canonical-checkout dirtiness cannot substitute for an instance's evidence. Unknown, disabled, private, missing/pruned or restart-lost captures never become empty evidence. Native writing-turn boundaries hash shared branch refs with one budgeted `for-each-ref` probe, without exposing names. HEAD or any shared branch-ref movement is progress, including commit-only turns in ignored worktrees. A canonical-root turn with recorded branch/commit, `.worktrees` paths or SDLC PR/head evidence remains unknown when its visible tree/refs are empty; a canonical tree cannot disprove work elsewhere. Even without recorded hints, negative canonical evidence additionally requires a bounded `git worktree list --porcelain -z` proof of a sole worktree at both boundaries and no ignored `.worktrees` directory. Uncommitted/detached work elsewhere therefore remains unknown before its first ref movement. The shadow repository compares its own private Git directory as the registered bare main-worktree path, preserving the same metadata validation and unknown-on-failure rules. Builtin-owner D1 is deliberately inert while `.worktrees` exists; the upgrade path is binding each owner to its actual execution worktree. Both probes cap output at 1 MiB and share the same snapshot deadline; no raw ref names or worktree paths escape. Check start/cancel, escalation and memory correction are task-tool effects alongside existing mutations; read-only check results are not. No snapshot is added during a private snapshot window; a PII notice, if trusted evidence is available, uses only `publicTitle`. Capturing private evidence and restoring acceptance baselines across daemon restarts remain outside this advisory.
|
|
5060
5060
|
- Structured `no-writes` stalls feed the S9 grooming digest and status. S7 consumers receive additive `stalls.noWrites` and `stalls.doneWithoutWrites` counts from cost reporting over that report's existing bounded, public, repository/PR-scoped tasks; they are not a count of every board row. No model call, automatic reassignment, done gate or new write endpoint is added.
|
|
5061
5061
|
|
|
5062
|
+
## Amendment: config-only advisory print transport (#1515)
|
|
5063
|
+
|
|
5064
|
+
An untracked, machine-local adapter declaration may choose `transport: "print"`.
|
|
5065
|
+
It supplies fixed command and argv, a literal version probe argv and whole-output
|
|
5066
|
+
pin, a deadline and an advisory role set. Input uses exactly one `{prompt}`
|
|
5067
|
+
placeholder or stdin. The host uses the existing owned print child and requires
|
|
5068
|
+
the read-only sandbox before the version probe or any turn. Each child receives
|
|
5069
|
+
a scrubbed environment and no hub MCP authority. Private or PII requests are
|
|
5070
|
+
refused before spawn. Stdout is capped and marked when truncated. Nonzero exit or
|
|
5071
|
+
timeout keeps a screened stderr tail and reports a failed turn after cleanup.
|
|
5072
|
+
|
|
5073
|
+
A `reviewer` or `advisor` declaration denotes an advisory peer. The stdout
|
|
5074
|
+
answer is delivered as a peer message. It does not carry verdict authority and
|
|
5075
|
+
the task reviewer pool and assignment walk exclude the peer. The host advertises
|
|
5076
|
+
the configured-print feature for recovery compatibility and refuses a retained
|
|
5077
|
+
print session. The real non-ACP receipt is person-run.
|
|
5078
|
+
|
|
5062
5079
|
## Amendment: config-only ACP adapters, A3 (#451, #486)
|
|
5063
5080
|
|
|
5064
5081
|
A3 adds declarative ACP definitions. It does not add A4 module loading, executable
|
|
@@ -46,7 +46,13 @@ console authorization, dashboard validation and PII redaction.
|
|
|
46
46
|
- Only the owning instance removes runtime files or releases a claim. Stop waits
|
|
47
47
|
for owned children; uncertain ownership and incomplete shutdown are explicit errors.
|
|
48
48
|
- Expose `projects`, `status --all`, and `projects remove <id>` (stopped metadata
|
|
49
|
-
only).
|
|
49
|
+
only). A moved root gets a new registration by default. The person may keep
|
|
50
|
+
the existing port and state by previewing and confirming `ahub projects move`
|
|
51
|
+
before starting it at the new path (#1424). The old hub and every hub with
|
|
52
|
+
affected handoff rows must be stopped. Registry writer admission fences new
|
|
53
|
+
starts while the move backs up and re-keys stores. If interrupted, the registry
|
|
54
|
+
identity decides whether to restore the backed-up stores before the next start.
|
|
55
|
+
Never merge by basename.
|
|
50
56
|
|
|
51
57
|
### Unified dashboard
|
|
52
58
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# 0.46.1 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.46.1 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.46.1, prepared from main 01a07203 (2 commits since v0.46.0, 0 of them `feat`; bump rule: patch). 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.46.0: #1666, #1665.
|
|
12
|
+
|
|
13
|
+
- #1665 (hub task 1083, owner jcode): changes requested at 3e1117fa, because the latest-in-range gate failed 7 recovery-package-memory tests on agent-mem 0.38.0. Approved at 2fa206c1 after agent-mem-latest run 45277315102 passed at that head. Merged at that head after exact-head full CI run 45279247263 (both OSes; one macOS shard timed out in an unrelated restart test and passed on rerun).
|
|
14
|
+
- #1666 (hub task 1084, owner jcode): approved at a43ef1ed. Merged at that head after exact-head full CI run 45308169668 (both OSes).
|
|
15
|
+
|
|
16
|
+
No merge is bound to an approval at an earlier head. No connector review or review thread was posted on either PR.
|
|
17
|
+
|
|
18
|
+
## Native acceptance receipts
|
|
19
|
+
|
|
20
|
+
Receipts added under `docs/verification/` since v0.46.0: none.
|
|
21
|
+
|
|
22
|
+
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.46.1`, 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.
|
|
23
|
+
|
|
24
|
+
## Document review
|
|
25
|
+
|
|
26
|
+
`node scripts/check-docs.mjs` reported 9 stale documents. Their sources changed only through `src/cli/recovery-package.ts`, `test/recovery-package-memory.test.ts`, `bun.lock`, the version bump and the rebuilt bundles. Each was read against that change:
|
|
27
|
+
|
|
28
|
+
- docs/operations.md: the memory section now says `bun.lock` resolves 0.38.0 (was 0.33.0).
|
|
29
|
+
- docs/agent-notes/daemon.md: the recovery-package rule now states the one agent-mem dependency it accepts (`@staix/cli-output` at the hub's exact pin) and the nested `node_modules` refusal (#1664).
|
|
30
|
+
- docs/quickstart.md: new "Upgrading to 0.46.1" note, including the global-install-first step for an affected 0.46.0 install.
|
|
31
|
+
- README.md: Status line set by release-prepare; no other statement affected.
|
|
32
|
+
- docs/agent-notes/tests.md, docs/memory.md, docs/security.md, docs/adding-an-ai-tool.md, docs/addons/claude-mem.md: searched for statements on agent-mem versions, the lockfile, `@staix/cli-output` and recovery-package dependencies; none is affected (the declared range, floor and host API are unchanged). The last two were stale only because of uncommitted bundle and version changes.
|
|
33
|
+
|
|
34
|
+
All 9 are restamped to 482feea1, the commit that holds this review. docs/agent-notes/README.md then went stale through the daemon.md edit; it was read, and it has no statement on recovery-package dependencies, so it is restamped too.
|
|
35
|
+
|
|
36
|
+
## Checks
|
|
37
|
+
|
|
38
|
+
- `bun x tsc --noEmit`: exit 0.
|
|
39
|
+
- `bun scripts/build.mjs --check`: exit 0.
|
|
40
|
+
- `node scripts/check-package.mjs` with the CI-pinned npm 11.20.0: `package: OK (1013 files, @staix/agent-hub@0.46.1)`. The Mac's npm 12.2.2 prints a different `npm pack` shape, and the script refuses it by design.
|
|
41
|
+
- `node scripts/check-docs.mjs --require-fresh`: run after the restamp commit; result in the release PR.
|
|
42
|
+
- Release PR exact-head CI: recorded on the PR.
|
|
43
|
+
|
|
44
|
+
## Known gaps, not blocking
|
|
45
|
+
|
|
46
|
+
- The dgx02 `scripts/check.sh --changed` gate for #1666 hit its 45-minute hang backstop without a failing test; the merge rests on exact-head full CI on both OSes.
|
|
47
|
+
- No live upgrade of a 0.46.0 install that resolved agent-mem 0.37.0 or later was run; the fix is proven by the recovery-package tests and by agent-mem-latest run 45277315102 on agent-mem 0.38.0.
|
|
48
|
+
- Native acceptance: none added; this release changes no native adapter.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# agy 1.5.16 verification attempt (2026-11-25)
|
|
2
|
+
|
|
3
|
+
Hub task 1122, Refs #888 and #1280. **Result: 1.5.16 stays unverified.** Only the CLI surface leg could run from this checkout. The hooks, plugin MCP, normal close and actual-launcher nonce legs were not run, so `src/adapters/compat.ts` is not touched and `verified` is unchanged.
|
|
4
|
+
|
|
5
|
+
Binary: `agy` 1.5.16, sha256 `b746bd68eb150f594e53af1e5577c8b101eaf33bd44ca10ac683af90e0630cf3`, 230,641,440 bytes.
|
|
6
|
+
|
|
7
|
+
## Isolation and the real install
|
|
8
|
+
|
|
9
|
+
- The probes ran a scratch copy of the binary (`cp -p`, same hash as the real one), never `~/.local/bin/agy`. Environment: `env -i` with a scratch `HOME`, scratch XDG config, cache, data and state directories, a scratch `TMPDIR`, `PATH=/usr/bin:/bin` and `AGY_CLI_DISABLE_AUTO_UPDATE=1`. The working directory was an empty scratch project. `AGENTHUB_HOME` was unset, so no hub home was written. No account, token or prompt was used.
|
|
10
|
+
- Real install, hashed before and after the probes (the real binary was never executed or written):
|
|
11
|
+
- before: `b746bd68eb150f594e53af1e5577c8b101eaf33bd44ca10ac683af90e0630cf3`, 230,641,440 bytes, mtime 1795524180, directory entry count 45
|
|
12
|
+
- after: `b746bd68eb150f594e53af1e5577c8b101eaf33bd44ca10ac683af90e0630cf3`, 230,641,440 bytes, mtime 1795524180, directory entry count 45
|
|
13
|
+
- identical. The real path is a regular file, not a symlink.
|
|
14
|
+
|
|
15
|
+
## Results
|
|
16
|
+
|
|
17
|
+
| Leg | Result | Evidence |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| CLI surface | pass | `--version` printed `1.5.16`, exit 0. `--help` and `help` exit 0 with 3,443 bytes on stderr. `--acp` and `--new` exit 2 with the unknown-flag diagnostic. `mcp list` in an empty project exit 0, `No MCP servers configured.` The ten flags `--continue`, `--conversation`, `--disable-slash-commands`, `--input-format`, `--output-format`, `--print`, `--prompt-interactive`, `--project`, `--remote-control` and `--sandbox` are all present. The `acp` subcommand is listed. |
|
|
20
|
+
| Hooks and plugin MCP | not run: harness | The task801 producers (`cli-surface.ts`, `native-hooks.ts`, `tmux-helper-control.ts`, `launcher-nonce.ts`, `run-probe.py`) are not in the repository. Their originals under `/tmp/agent-hub-681/` and `/tmp/agent-hub-684/` no longer exist, as the 1.5.14 receipt already noted. The 1.5.14 attempt also found the hooks leg's `providerFifteenDeclarations` requirement failing because agy declared 17 functions (the 15 known plus `run_workflow` and `swarm`); that decision is still open and 1.5.16 was not re-measured. |
|
|
21
|
+
| Normal close (tmux helper) | not run: harness | Same missing producer set. |
|
|
22
|
+
| Actual-launcher nonce through `ahub agy` | not run: harness and install risk | Needs the restored `launcher-nonce.ts` originals. A live `ahub agy` run with only a scratch `HOME` has replaced the person's real `~/.local/bin/agy` before (mem:cf73141a), so it must not be run here. |
|
|
23
|
+
| Desktop TUI | person-run, not attempted | Needs a person at the desktop in an owned Mac slot. |
|
|
24
|
+
|
|
25
|
+
## Person-run next step
|
|
26
|
+
|
|
27
|
+
Restore the task801 producers by their recorded hashes (`originals.json` beside them), parameterize the hooks leg's version fence, decide whether `run_workflow` and `swarm` are accepted declarations, and rerun the hooks, close and launcher-nonce legs against agy 1.5.16 from a scratch copy of the binary with `PATH` pointing at the copy first, `HOME` and `AGENTHUB_HOME` both scratch, and the real `~/.local/bin/agy` hashed before and after.
|
|
28
|
+
|
|
29
|
+
## Not verified
|
|
30
|
+
|
|
31
|
+
Everything except the CLI surface above, including account and model behavior, the TUI, permission modes and headless ACP. No other agy version is inferred.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Claude Code 2.1.332 headless implementer receipt
|
|
2
|
+
|
|
3
|
+
Date 2026-11-25 UTC. Refs #888, hub task 1118. This repeats the [2.1.329 procedure](2026-11-20-claude-implementer-2.1.329.md) on macOS arm64 with Bun 1.4.4. Source base `ce27e60535955674747f3a77fe1a1b619f20a257`.
|
|
4
|
+
|
|
5
|
+
Both binaries passed all 44 cases, 22 per binary. The case results were identical after excluding the version, binary hash and elapsed time. This qualifies exact `2.1.332` for `claude-implementer`.
|
|
6
|
+
|
|
7
|
+
## Binary and producer identity
|
|
8
|
+
|
|
9
|
+
The 2.1.329 control came from the npm `@anthropic-ai/claude-code-darwin-arm64` package. Its package SHA-512 matched the npm integrity value, and its binary SHA-256 matched the previous receipt. The installed 2.1.332 binary was resolved before the run and checked by exact version. All five files retained these SHA-256 hashes across the runs.
|
|
10
|
+
|
|
11
|
+
| File | SHA-256 |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| `Claude Code 2.1.329 control` | `8c1729568b19cdadedd0a978bf692f9f279ef554c8a333c4e132b94fd8725550` |
|
|
14
|
+
| `Claude Code 2.1.332 candidate` | `5b8214f8f082f3187420b27b4063b9b4f4d9412cd66ea436d6d1966ad582700f` |
|
|
15
|
+
| `claude-permission-transport-native.py` | `c8e82c66a8cf2faf4f4930da21ca81e36166381fd932219cb60e3cec541af10b` |
|
|
16
|
+
| `claude-shell-wrapper-native.py` | `ad891f5b9663e14e3f44febd787500a8ced815125c489adadddcdeb279f64826` |
|
|
17
|
+
| `claude-shell-wrapper-host.ts` | `616e6711e392f0eee7e3fa1c7bdc47a537dfa86bcc8ffb30e549ca94e5a71cef` |
|
|
18
|
+
|
|
19
|
+
## Model-free runs
|
|
20
|
+
|
|
21
|
+
Resource admission allowed one native job at a time. The producer ran with an empty inherited environment, scratch `HOME`, `AGENTHUB_HOME` and Claude config, and a fixed PATH. The native children had fresh fixture homes and configs, strict MCP settings, and a deterministic loopback provider with a synthetic API key. The scratch hub home stayed empty.
|
|
22
|
+
|
|
23
|
+
| Leg | 2.1.329 | 2.1.332 |
|
|
24
|
+
| --- | --- | --- |
|
|
25
|
+
| Write permission transport | 9/9 | 9/9 |
|
|
26
|
+
| Bash transport with `mcp__agent-hub__hub_permission_request` and required tool-use ID | 9/9 | 9/9 |
|
|
27
|
+
| Bash transport with `--rewrite-bash` | 2/2 | 2/2 |
|
|
28
|
+
| Host shell wrapper | 2/2 | 2/2 |
|
|
29
|
+
|
|
30
|
+
On both binaries, pending Write and Bash approvals reached the bounded stop without writing a file. The rewrite cases did not execute the original command. The wrapper context case recorded three provider requests and two permission calls with persistent cwd. The normalized wrapper case recorded four provider requests and three permission calls, verified environment isolation and quoted paths, refused replay and wrote exactly one effect. All 44 native process groups were empty at cleanup, and the wrapper helpers stopped.
|
|
31
|
+
|
|
32
|
+
## Receipt artifact hashes
|
|
33
|
+
|
|
34
|
+
| Local JSON receipt | SHA-256 |
|
|
35
|
+
| --- | --- |
|
|
36
|
+
| write, 2.1.329 | `0995e3e5ba2a4ea317486b4d7ff751ddd670c17b41472dc460dc1c9fe574db24` |
|
|
37
|
+
| write, 2.1.332 | `02e54a4772305446f10add9de55387365f965ad95be9d1ca492cea4ccb249a5f` |
|
|
38
|
+
| bash, 2.1.329 | `a3570d0efe04d443139e363313dc0d94e1eb0ff83f44d026e784156260646ae8` |
|
|
39
|
+
| bash, 2.1.332 | `d983787b67f28be0dc908b59523969c193330ba4fd24fef31cccaabe2d44bfc7` |
|
|
40
|
+
| rewrite, 2.1.329 | `744c5769f8be87f3a0ea33663066a24f9d3f8589f86bc5418d998913323d517a` |
|
|
41
|
+
| rewrite, 2.1.332 | `9e0b0c6209b68d20d2fc9cff824f54f5e6c8a4feb5f303ef63c380516452a7e7` |
|
|
42
|
+
| wrapper, 2.1.329 | `5408eaf84570c5b01eff7d02b3aebebd933edf4e71110be97c41460e776d9ad8` |
|
|
43
|
+
| wrapper, 2.1.332 | `a562d1e52159f6171d1a60bb0fec99670d506df0db1c9d4005ee23e25957be64` |
|
|
44
|
+
|
|
45
|
+
## Evidence boundaries
|
|
46
|
+
|
|
47
|
+
The run covers the native transport and host-wrapper contract on macOS arm64. Account authentication, real provider inference, person approval interaction, session resume, production-daemon task binding and native sandbox confinement remain unverified. Monitor, mod-initiated calls and opt-in Code Mode were outside the fixture scope. The existing launch-time binary fence still applies.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Codex 0.172.0 fresh-reviewer model-free receipt
|
|
2
|
+
|
|
3
|
+
Date 2026-11-25. Refs #888, hub task 1119. The production preparation legs from the [0.171.0 receipt](2026-11-22-codex-0171-reviewer-isolation.md) ran on macOS arm64 with Bun 1.4.4 at hub source commit `87239bd0357f3b8929ffc6b61fab89c0fb95f0d3`.
|
|
4
|
+
|
|
5
|
+
The candidate passed all 17 runnable preparation legs. The verified 0.169.0 control passed all 16 applicable legs. **0.172.0 remains unverified for `codex-review` pending a separately authorized model-backed hub tool-call receipt.**
|
|
6
|
+
|
|
7
|
+
## Artifact and preparation
|
|
8
|
+
|
|
9
|
+
Exact macOS arm64 npm platform archives were downloaded and checked against the registry's per-artifact SHA-512 integrity values. The archives were extracted into private prefixes. The 0.169.0 native binary hash matches the previous receipt. Both binaries reported their exact versions and retained their hashes after preparation and schema generation.
|
|
10
|
+
|
|
11
|
+
| Version | Platform archive SHA-512 | Native binary SHA-256 |
|
|
12
|
+
| --- | --- | --- |
|
|
13
|
+
| 0.169.0 control | `sha512-5WsWFBbVP78D+6FvNo1MMVxLPZdmcoQlqVJFrF4qx/TmvneLnMQKtLyXkUo54XOTDfoYKpNouTJ/F7gTVA8FnQ==` | `739cda86e15d30a6e2b40cf8dcbbfb988aaf48b305b27065573bb8e9fd41d002` |
|
|
14
|
+
| 0.172.0 candidate | `sha512-B239wE7pGeOmjylfqLymDIwuL4QgQR7pQZc5phHpZ3t8UVkno9AS3dNPEprm7AzZHw3kf2I6Uf+uOFfjGegELQ==` | `f30a99714dc984876864239ef60563949b1e21421a7c9180422f51fd39186bc6` |
|
|
15
|
+
|
|
16
|
+
A scratch producer called the committed `runReviewerProofs`, `codexReviewerBackend.prepare` and bounded command runner. It ran the two versions serially with empty inherited environments, separate `HOME`, `AGENTHUB_HOME`, `CODEX_HOME`, `AMEM_HOME`, `XDG_CONFIG_HOME` and `TMPDIR`, and an explicit PATH. The candidate was refused by the unmodified version gate before the producer recorded temporary exact-version trust in the scratch hub home. The producer removed its trust entries.
|
|
17
|
+
|
|
18
|
+
Both binaries passed empty-home and ambient preparation and all 14 preparation attestation markers. Those markers cover effective MCP inventory, disabled Apps, plugins, hooks and legacy notify, ephemeral and untrusted project settings, and the production native read/write canaries. The fixture exercised these controls without model requests or account credentials.
|
|
19
|
+
|
|
20
|
+
## Upstream source comparison
|
|
21
|
+
|
|
22
|
+
The 0.169.0 annotated tag `a41fe5b443652cbdbee57717fbb9fd78d8d8b32a` peels to `d32063f96c2dff1dc96af839b3952abb6acfeda4`. The 0.172.0 annotated tag `fc3036dba44468096953f0e832f3fecd3adc0228` peels to `3d86e43b075adeba2193ec5c22ac92f55afd82e6`. All seven files from the earlier receipt changed between those commits.
|
|
23
|
+
|
|
24
|
+
| File under `codex-rs/` | 0.172.0 SHA-256 |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| `hooks/src/registry.rs` | `1875149dc3fbe79ecf667009f3fcde7b655961b0451840aec85dcb7879e58a8e` |
|
|
27
|
+
| `exec/src/cli.rs` | `dc36955d295470e542e9677dddf8b757f8d3bbcd6530a601dbb908aeec2d1668` |
|
|
28
|
+
| `config/src/mcp_types.rs` | `f9f4c78f71356114ff8286a88404d6426d0ba9ae5c71785da9d66437870839b6` |
|
|
29
|
+
| `core/src/mcp.rs` | `375eb941051e14976641b10e6fadd050f229f320ad7bd6e8753264033a0deed9` |
|
|
30
|
+
| `sandboxing/src/seatbelt.rs` | `f9f3ea86088ff3787ad7fdd5a746e79243851fb17fd38ef386388e849d171625` |
|
|
31
|
+
| `core/src/session/mod.rs` | `015d1a96f2d6003e67f7f79c57c32853dab8ac5c9e64605c39cf9e2283c86189` |
|
|
32
|
+
| `core-plugins/src/manager.rs` | `3f72e7bf1891dfb9f81aa3997447e76d756f35993b51ba3ca1bb0bedfd45c7dd` |
|
|
33
|
+
|
|
34
|
+
The hook registry now returns a model-request hook outcome and accepts a completion callback. Exec adds remote connection flags that the hub's isolated preparation does not pass. MCP runtime configuration now accepts a contribution context, and server identity carries environment scope. The reviewed session and plugin paths retain the Apps guard, legacy notify assignment and plugin disable guards. Seatbelt preparation moves behind a sandbox backend and consumes a resolved permission profile. This comparison reviewed the small hook, CLI and MCP diffs and relevant regions of the larger Seatbelt, session and plugin diffs. The wider impact of the source changes remains open, including behavior during a model turn.
|
|
35
|
+
|
|
36
|
+
## App-server schemas
|
|
37
|
+
|
|
38
|
+
Both binaries generated their stable and experimental JSON schemas in their isolated homes. The comparison covers files and top-level v2 definitions with direct properties, required fields and enums.
|
|
39
|
+
|
|
40
|
+
| View | Files | Shared files changed | v2 definitions |
|
|
41
|
+
| --- | --- | --- | --- |
|
|
42
|
+
| Stable | 329 to 331 | 38 | 700 to 716 |
|
|
43
|
+
| Experimental | 479 to 483 | 55 | 864 to 885 |
|
|
44
|
+
|
|
45
|
+
The stable set removed no files. The experimental set removed the standalone `CurrentTimeReadParams.json` and `CurrentTimeReadResponse.json` files. Neither v2 bundle lost a top-level definition. Both removed the same five direct properties from the control schema. These were `AgentMessageDisplay.action`, `blockType`, `checkTrustedContacts`, `cyberTrustedAccess` and `Project.position`. No new direct required field or removed direct enum value was observed.
|
|
46
|
+
|
|
47
|
+
The attached app-server adapter and verdict delivery remain outside the preparation evidence. The verified list and admission receipt pointer stay at their existing versions.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Kimi Code 2.7.2 fresh-reviewer compatibility receipt
|
|
2
|
+
|
|
3
|
+
Date 2026-11-25. Refs #888, hub task 1120. This repeats the [2.5.1 model-free reviewer procedure](2026-11-06-kimi-251-reviewer-compat.md) on macOS arm64 with Bun 1.4.4. Both isolated runs passed all nine runnable proof markers, including a second run against the proposed verified entry with an empty trust list and no trust file. This qualifies exact 2.7.2 for `kimi-review`.
|
|
4
|
+
|
|
5
|
+
## Artifact and isolation
|
|
6
|
+
|
|
7
|
+
| Artifact | Binding |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Annotated tag object | `1781dbd74bc7fabf23ac4721a570397f278817f1` |
|
|
10
|
+
| Peeled source commit | `56145f849caa305d42acd09b67fb65d11146f887` |
|
|
11
|
+
| Official macOS arm64 archive | `kimi-code-darwin-arm64.tar.gz`, 61,167,615 bytes |
|
|
12
|
+
| Archive SHA-256 | `46cb6bf4afe3a6d7931e0a47418035fde53a43b286329c8dabb5f71bfc9e71b4` |
|
|
13
|
+
| Executable SHA-256, before and after | `f97206f936eda7d446fcb4fb67d8029da0efe7f8b5f2bee404ed6577eaac604c` |
|
|
14
|
+
| Hub source base | `87239bd0357f3b8929ffc6b61fab89c0fb95f0d3`, agent-mem 0.39.0 |
|
|
15
|
+
|
|
16
|
+
The GitHub asset metadata and sibling checksum matched the archive, and bounded extraction unpacked it into a private prefix. Each run used the exact native executable, separate scratch `HOME`, `AGENTHUB_HOME`, `KIMI_CODE_HOME`, `AMEM_HOME`, `XDG_CONFIG_HOME` and `TMPDIR`, with a fixed PATH and no inherited credentials. The final runs used private OS temporary roots with clean ancestors for the production cwd guard. A preliminary run under the workspace was refused at preparation, before native controls. The two final runs used synthetic credentials and fixed loopback responses.
|
|
17
|
+
|
|
18
|
+
## Production and native proof results
|
|
19
|
+
|
|
20
|
+
| Leg | Scratch trust | Proposed pin without trust |
|
|
21
|
+
| --- | --- | --- |
|
|
22
|
+
| Production preparation, exact version, fresh configuration and environment replacement | Pass | Pass |
|
|
23
|
+
| Two-tool MCP inventory, empty skills and subagents, and private files | Pass | Pass |
|
|
24
|
+
| Broker refuses wrong task, extra tool, missing authorization and revoked calls | Pass | Pass |
|
|
25
|
+
| Native two-tool loop | Pass | Pass |
|
|
26
|
+
| Write absent from the restricted loop | Pass | Pass |
|
|
27
|
+
| Write positive control | Pass | Pass |
|
|
28
|
+
| Non-loopback preload guard positive control | Pass | Pass |
|
|
29
|
+
| Workspace trust environment decoy removed | Pass | Pass |
|
|
30
|
+
| Source fixture bytes preserved, owned child stopped and temporary launch files removed | Pass | Pass |
|
|
31
|
+
|
|
32
|
+
The first run used the committed `runKimiProofs` worker with temporary exact-version trust in the scratch hub home. The second used the same proof after replacing only the scratch trust step with an assertion that the proposed version pin passed with no trust file. The result JSON matched byte for byte, with SHA-256 `9c52b84232e356a6ea3a34154f528b6f42be6db0617c4907f61e697e877fe84b`.
|
|
33
|
+
|
|
34
|
+
The restricted native loop advertised only `hub_review` and `hub_task_show` through the production task-bound broker. The positive write control used a disposable fixture. The loopback guard is application-level evidence. Real account readiness, model behavior, native kernel isolation, OAuth refresh and an interactive TUI remain outside this evidence.
|
|
35
|
+
|
|
36
|
+
## Scoped source comparison
|
|
37
|
+
|
|
38
|
+
Compared the 2.5.1 and 2.7.2 tagged sources for workspace trust, workspace MCP configuration, tool registry and assembly, and OAuth management. The trust environment, builtin assembly and tool contribution files are byte-identical. Workspace trust rebinds when directory configuration changes. Workspace MCP configuration watches the selected project configuration. Tool registration now rejects duplicate names and exposes registration events. The OAuth manager changed its refresh/locking code. The proof confirms exact inventory, native broker behavior and synthetic credentials for the scoped fixture. It does not exercise real refresh or the wider release changes.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Kimi Code 2.7.2 TUI completion checks
|
|
2
|
+
|
|
3
|
+
Date 2026-11-25. Refs #888, hub task 1120. Exact Kimi Code 2.7.2 macOS arm64 artifact identity and source base are recorded in the [reviewer receipt](2026-11-25-kimi-272-reviewer-compat.md). The binary reported 2.7.2 in an isolated model-free version probe.
|
|
4
|
+
|
|
5
|
+
**2.7.2 remains unverified for `kimi-tui`.** The [2.5.2 TUI receipt](2026-11-08-kimi-tui-completion-1282.md) establishes the completion bridge with real interactive model turns. The required exact-version live legs below remain open for 2.7.2.
|
|
6
|
+
|
|
7
|
+
| Required leg | Result |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Native TUI origin, blocked Stop, and final turn readback | Unverified. Requires an interactive native turn. |
|
|
10
|
+
| Native background inventory, quiescence and private completion | Unverified. Requires an interactive model turn with background work. |
|
|
11
|
+
| Plugin installation, ownership and cleanup in the exact native TUI | Unverified. Covered only by host source fixtures in this run. |
|
|
12
|
+
| Host completion, launcher, privacy and adapter regressions | Pass. 23 tests across four host fixture suites, zero failures. |
|
|
13
|
+
|
|
14
|
+
The reviewer proof exercised a separate headless role through a deterministic loopback provider. The verified TUI set and existing live receipt pointer stay at 2.5.2.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Pi 1.6.0 model-free compatibility receipt
|
|
2
|
+
|
|
3
|
+
Date: 2026-11-25. Hub task 1121, Refs #888. This repeats the [Pi 1.5.2 receipt](2026-11-14-pi-152-compat.md) for the published `@earendil-works/pi-coding-agent@1.6.0`. Same legs, model-free, no account. The person had already trusted 1.6.0 locally; this receipt is what lets the verified set carry it.
|
|
4
|
+
|
|
5
|
+
**Decision: add `1.6.0` to Pi `verified`.** Every leg passed. No range is inferred: the Pi entry still has no `line`, so any other version, including `1.5.3`, needs the person's `ahub agents trust pi <version>`.
|
|
6
|
+
|
|
7
|
+
## Identity and isolation
|
|
8
|
+
|
|
9
|
+
- Package: `@earendil-works/pi-coding-agent` 1.6.0, installed from the registry into a private npm prefix with a scratch HOME, cache and temporary directory and empty npm user and global config files, with `--ignore-scripts`. The person's `~/.pi` was not touched by the install.
|
|
10
|
+
- npm integrity: `sha512-zX1BVEsshx7A2MRuQ6jfr3RJGWw4Wn+vLq5ZfmlvS1RskhRmByaSZVXH/zcwRrWHO7qPgs98pNCbPOEti/t0fQ==`, read from the installed lockfile.
|
|
11
|
+
- Native `dist/cli.js` SHA-256: `8189b66abc4f9f431dbb70941dcba690d76d040de1fbfff212886be35a53639d`. This is the same value the 1.4.0, 1.5.0 and 1.5.2 receipts record, so the launcher entry file did not change. The changes are in other files of the package and are exercised by the legs below.
|
|
12
|
+
- Host: macOS arm64, Bun 1.4.4 as installed on the host, Node 24.18.1, repository at the task branch `compat/pi-1.6.0` on top of main `87239bd03`.
|
|
13
|
+
- The producer ran with `env -i` and only `HOME`, `TMPDIR` (both scratch directories) and a `PATH`. Each native leg used an empty temporary HOME and `PI_CODING_AGENT_DIR`, a temporary cwd and session directory and invented loopback bridge settings (token `fixture`). No account, token, prompt or inference. `AGENTHUB_HOME` was unset for the producer, so no hub home was written.
|
|
14
|
+
- Real configuration: SHA-256 of the person's `~/.pi/agent/models.json` and `~/.agenthub/agent-compat.json` was taken immediately before and after the producer run: identical. This is a narrow bracket, not a whole-home comparison.
|
|
15
|
+
|
|
16
|
+
## Results
|
|
17
|
+
|
|
18
|
+
| Leg | Result | Evidence |
|
|
19
|
+
| --- | --- | --- |
|
|
20
|
+
| Native identity | pass | `--version` returned exactly `1.6.0`, exit 0, empty stderr; package name and version checked independently. |
|
|
21
|
+
| Real CLI extension load and RPC session identity | pass | `--mode rpc` with the hub extension: `get_state` succeeded with a session id and file, `messageCount` 0; the extension emitted `session_start` and `session_shutdown`. |
|
|
22
|
+
| Installed SDK extension registration | pass | The 1.6.0 `DefaultResourceLoader` and `createAgentSession` loaded this checkout's extension and registered exactly `compat_probe` as the active tool. |
|
|
23
|
+
| Managed tool callback and receipt replay | pass | The registered callback was invoked without a prompt and posted to the isolated bridge through the real `PiToolReceipts`; two identical calls returned identical success with one effect (`effects: 1`). |
|
|
24
|
+
| Failed tool result | pass | The bridge fixture denial returned `failed: true` and the extension returned `isError: true`. |
|
|
25
|
+
| Host permission modes | pass (host fixtures) | `test/permission-modes.test.ts` Pi mode case, see the commands below. |
|
|
26
|
+
| Version admission | pass (host fixtures) | `test/pi-compat.test.ts` and `test/compat.test.ts`, see the commands below. |
|
|
27
|
+
| Provider requests | pass | Zero requests reached the loopback provider (`providers: 0`); no prompt was submitted. Native and SDK stderr were empty. |
|
|
28
|
+
|
|
29
|
+
Producer result: `pi 1.6.0 model-free receipt: PASS`. The producer is the 1.5.2 one with the version constants and driver file name changed (`pi-160-model-free.ts`, `pi-160-native.mjs`, scratch prefix `ahub-1121-`); no assertion was relaxed, and `pi-160-native.mjs` is byte-identical to `pi-152-native.mjs`.
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
bun docs/verification/pi-160-model-free.ts <prefix>/node_modules/.bin/pi <prefix>/node_modules/@earendil-works/pi-coding-agent
|
|
33
|
+
env -u AGENTHUB_HOME -u AGENTHUB_PROJECT_DIR -u AGENTHUB_STATE_DIR bun test test/pi-compat.test.ts test/compat.test.ts
|
|
34
|
+
env -u AGENTHUB_HOME -u AGENTHUB_PROJECT_DIR -u AGENTHUB_STATE_DIR bun test test/permission-modes.test.ts --test-name-pattern 'Pi mode grants'
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Not verified
|
|
38
|
+
|
|
39
|
+
- Account-backed inference, a model-generated tool request, a real provider's quota behavior and interactive TUI coexistence. The SDK callback leg does not claim model-generated tool dispatch.
|
|
40
|
+
- Linux and Intel macOS. No other Pi release is inferred.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# 0.47.0 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.47.0 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.47.0, prepared from main e639ad1c (57 commits since v0.46.1, 23 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.46.1: #1727, #1669, #1726, #1260, #1725, #1721, #1723, #1720, #1722, #1718, #1719, #1717, #1716, #1715, #1714, #1712, #1713, #1711, #1709, #1710, #1707, #1697, #1708, #1701, #1706, #1703, #1705, #1702, #1696, #1704, #1698, #1700, #1699, #1695, #1694, #1693, #1689, #1691, #1692, #1690, #1687, #1685, #1684, #1688, #1683, #1646, #1679, #1682, #1681, #1677, #1678, #1680, #1675, #1673, #1670, #687, #1676, #1674, #1672, #1671.
|
|
12
|
+
|
|
13
|
+
Every one merged by squash under the draft-first flow (#1490, #1576), after the conductor's hub approval at the head it names. Each merged head shows `check (ubuntu-latest)`, `check (macos-latest)` and `seeded guards` completed successfully (checked for all 56 pull requests while preparing this release). A `check (macos-latest)` failure next to the success on the same head is the draft's deferred macOS run, and it was never rerun. #1712 appears as two commits: bef2e3eee carries the change, and the pull request's recorded merge commit 611443e5d, made 22 minutes later, is empty. No merge is bound to an approval at an earlier head.
|
|
14
|
+
|
|
15
|
+
## Native acceptance receipts
|
|
16
|
+
|
|
17
|
+
Receipts added under `docs/verification/` since v0.46.1: `docs/verification/2026-11-25-agy-1.5.16.md`, `docs/verification/2026-11-25-claude-implementer-2.1.332.md`, `docs/verification/2026-11-25-codex-0172-reviewer-isolation.md`, `docs/verification/2026-11-25-kimi-272-reviewer-compat.md`, `docs/verification/2026-11-25-kimi-tui-272.md`, `docs/verification/2026-11-25-pi-160-compat.md`, `docs/verification/2026-11-26-codex-0172-reviewer-tool-call.md`, `docs/verification/dogfood/2026-11-24.md`, `docs/verification/pi-160-model-free.ts`, `docs/verification/pi-160-native.mjs`.
|
|
18
|
+
|
|
19
|
+
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.47.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.
|
|
20
|
+
|
|
21
|
+
## Document review
|
|
22
|
+
|
|
23
|
+
`node scripts/check-docs.mjs` reported 29 documents stale against their stamps (482feea1, 90114588, 7dbc4dc0, 6f613946, 8e066f20, 13e3b407, bfa5c3b9): README.md, docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, docs/agent-notes/README.md, adapters.md, benchmarks.md, budget.md, bus.md, daemon.md, local-worker.md, security-review.md, tasks.md and tests.md, docs/bench.md, docs/data-policy.md, docs/dogfood.md, docs/events.md, docs/friction.md, docs/influences.md, docs/memory.md, docs/operations.md, docs/profiles.md, docs/quickstart.md, docs/research.md, docs/roles.md, docs/sdlc.md, docs/security.md, docs/text-projection.md and src/cli/help.ts. Each was reviewed against the commits since its stamp that touch its covered paths (delta scope).
|
|
24
|
+
|
|
25
|
+
- README.md: spec read-backs and the `[risk]` table on the task board, the scheduled memory review, the dashboard Overview view and `ahub projects move`.
|
|
26
|
+
- docs/quickstart.md: the 0.47.0 upgrade note (the agent-mem floor 0.39.0 and its v6 index, the Report layout and warning lines, the proposal detail cap, and the features that do nothing until used).
|
|
27
|
+
- docs/operations.md: dashboard keys `1` to `9` with Overview, the sprite's twelve icons, the hub memory range 0.39.0, the protocol row through 0.47.0, the 0.47.x N-1 statement, and short descriptions of the Report layout, memory review, split reasons, the detached Jcode peer, the print transport, read-backs and the risk tier.
|
|
28
|
+
- docs/security.md: the agent-mem range, `memory.review` as machine-local, nine dashboard views, the print adapter sandbox, memory review scope, derived activity kinds, `board_revision`, the Overview aggregates, the read-back's `hub_task_spec` grant, `hub_review_file` and `ahub projects move`.
|
|
29
|
+
- docs/memory.md: the 0.39.0 floor, startup settlement repair over outstanding keys, `hub_review_file` as never captured.
|
|
30
|
+
- docs/sdlc.md: `ahub sdlc metrics` grouped by split reason. docs/profiles.md: the removal-card marker refusal.
|
|
31
|
+
- docs/adding-an-ai-tool.md: `identity: "none"`, the `onActivity` callback and `registerPrintConformance`. docs/dogfood.md: the #1654 row widened to the rest of the Report migration. docs/friction.md: the #1688 fix and a 0.47.0 source run (in_band 3, out_of_band 6, dead_end 0).
|
|
32
|
+
- Agent notes and the AGENTS.md area path lists: the new check.sh inventory steps and the refusal baseline (tests), the warning helper, raw-output baseline and Overview model (daemon), activity kinds (adapters), the risk tier, checkout evidence and learn follow-up (tasks), friction journeys (benchmarks); `docs/verified.json` covers the newly named files.
|
|
33
|
+
- No change needed: docs/addons/claude-mem.md, docs/agent-notes/README.md, budget.md, bus.md, local-worker.md and security-review.md, docs/bench.md, docs/data-policy.md, docs/events.md, docs/influences.md, docs/research.md, docs/roles.md, docs/text-projection.md and src/cli/help.ts (`test/help.test.ts` passes).
|
|
34
|
+
|
|
35
|
+
All 29 were restamped together with `bun scripts/release-prepare.ts restamp ... --reviewed` at the commit that ends these corrections, the parent of the stamp commit.
|
|
36
|
+
|
|
37
|
+
## Checks
|
|
38
|
+
|
|
39
|
+
At the release branch: `bun x tsc --noEmit` is clean, `bun scripts/build.mjs --check` passes, `node scripts/check-package.mjs` with npm 11.20.0 (the CI pin) reports `package: OK (1040 files, @staix/agent-hub@0.47.0)`, `bun scripts/readme-facts.ts` reports OK, `test/help.test.ts` passes (35 tests), and `test/published-protocol-compat.test.ts` passes against the retargeted 0.46.1 N-1 fixture (5 tests). `node scripts/check-docs.mjs --require-fresh` reports no stale document after the restamp. The full gate on both OSes is the release PR's exact-head CI.
|
|
40
|
+
|
|
41
|
+
## Known gaps, not blocking
|
|
42
|
+
|
|
43
|
+
No live installation, `ahub upgrade` to 0.47.0, or live TUI launch was run. The configured print transport's live leg and the Kimi live legs are person-run and not recorded here. The agent-mem v6 index behaviour quoted in the upgrade note is agent-mem's own and was taken from its release notes, not re-run. `hub_readback_report` text is not on the review-capture exclusion list in `src/hub/memory-policy.ts`; it restates a spec issue the reader was given, so it is left captured, and this is noted for a later look. The agy 1.5.16 verification stays unverified. The local npm 12.x prints a pack shape `check-package.mjs` refuses, so the package check was run with the CI-pinned npm 11.20.0. The full suite was not run locally; it is CI's gate on this PR.
|