@staix/agent-hub 0.53.0 → 0.54.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 +18 -0
- package/README.md +4 -3
- package/docs/agent-notes/README.md +1 -1
- package/docs/agent-notes/adapters.md +4 -3
- package/docs/agent-notes/budget.md +2 -2
- package/docs/agent-notes/bus.md +1 -0
- package/docs/agent-notes/daemon.md +1 -1
- package/docs/agent-notes/models.md +1 -1
- package/docs/agent-notes/tests.md +4 -4
- package/docs/contracts/companion-cli-v3.json +348 -0
- package/docs/design/adapters.md +1 -1
- package/docs/design/agent-hub-architecture.md +8 -5
- package/docs/design/bus.md +1 -1
- package/docs/design/cli-output-inventory.md +2 -2
- package/docs/design/model-routes.md +20 -5
- package/docs/dogfood.md +7 -3
- package/docs/events.md +1 -1
- package/docs/memory.md +2 -2
- package/docs/operations.md +122 -45
- package/docs/quickstart.md +8 -2
- package/docs/security.md +11 -7
- package/docs/specs/2026-09-19-agent-hub-design.md +5 -3
- package/docs/specs/2026-09-19-multi-project-design.md +1 -1
- package/docs/specs/2026-12-04-arev-adoption-design.md +3 -3
- package/docs/specs/mcp-endpoint.md +1 -1
- package/docs/specs/relay-contract.md +38 -0
- package/docs/verification/2026-12-06-0.54.0.md +76 -0
- package/docs/verification/2026-12-06-codex-0174-reviewer-isolation.md +43 -0
- package/docs/verification/2026-12-06-codex-0174-reviewer-tool-call.md +34 -0
- package/docs/verification/2026-12-06-compat-codex-capabilities-0.174.0.md +25 -0
- package/docs/verification/2026-12-06-compat-pi-1.8.0.md +23 -0
- package/docs/verified.json +27 -28
- package/package.json +5 -4
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/.mcp.json +1 -1
- package/plugins/agent-hub/compat.json +5 -3
- package/plugins/agent-hub/kimi-hook.js +5 -4
- package/plugins/agent-hub/relay-launcher.js +24 -0
- package/plugins/agent-hub/server.js +5112 -4737
- package/src/adapters/acp.ts +5 -4
- package/src/adapters/compat.ts +22 -12
- package/src/adapters/definitions/native-cli-preview-pi.ts +2 -1
- package/src/adapters/definitions/native-config-defaults.ts +1 -1
- package/src/adapters/definitions/native-factories.ts +4 -1
- package/src/adapters/local-worker.ts +3 -3
- package/src/adapters/pi.ts +26 -7
- package/src/adapters/relay-launcher.ts +27 -0
- package/src/cli/agents.ts +20 -8
- package/src/cli/commands/agents.ts +18 -1
- package/src/cli/commands/doctor.ts +18 -4
- package/src/cli/commands/launch-line.ts +13 -5
- package/src/cli/help.ts +4 -2
- package/src/cli/launch-line-plan.ts +82 -0
- package/src/cli/pi-steps-warning.ts +14 -0
- package/src/hub/accounts.ts +8 -4
- package/src/hub/adec-triage.ts +105 -0
- package/src/hub/bus.ts +39 -6
- package/src/hub/config-apply.ts +1 -1
- package/src/hub/config.ts +2 -2
- package/src/hub/control/dashboard-messages.ts +221 -0
- package/src/hub/control/delivery-messages.ts +356 -0
- package/src/hub/control/dispatch.ts +114 -0
- package/src/hub/control/operations-messages.ts +269 -0
- package/src/hub/control/peer-messages.ts +126 -0
- package/src/hub/control/scope.ts +79 -2
- package/src/hub/daemon.ts +111 -918
- package/src/hub/delivery-hints.ts +2 -0
- package/src/hub/delivery-journal.ts +17 -6
- package/src/hub/events.ts +2 -1
- package/src/hub/host.ts +41 -9
- package/src/hub/lifecycle.ts +3 -2
- package/src/hub/peers.ts +2 -0
- package/src/hub/pi-exit-policy.ts +27 -0
- package/src/hub/protocol-window.ts +1 -1
- package/src/hub/routing.ts +9 -0
- package/src/hub/supervision.ts +33 -6
- package/src/hub/tasks-types.ts +4 -1
- package/src/hub/tasks.ts +35 -1
- package/src/models/route/config.ts +4 -4
- package/src/models/route/decision.ts +18 -10
- package/src/models/route/runtime.ts +8 -5
- package/src/npm-artifact.ts +76 -0
- package/src/omniroute/client.ts +6 -0
- package/src/pi/extension.ts +5 -2
- package/src/pi/install.ts +77 -0
- package/src/pi/pin.ts +49 -0
- package/templates/adec/README.md +10 -6
- package/templates/config.json +1 -1
package/docs/quickstart.md
CHANGED
|
@@ -18,7 +18,7 @@ Or use the matching GitHub release:
|
|
|
18
18
|
|
|
19
19
|
<!-- facts:install-tag -->
|
|
20
20
|
```bash
|
|
21
|
-
bun add -g github:STAIxBWLB/agent-hub#v0.
|
|
21
|
+
bun add -g github:STAIxBWLB/agent-hub#v0.54.0
|
|
22
22
|
ahub setup
|
|
23
23
|
```
|
|
24
24
|
<!-- /facts:install-tag -->
|
|
@@ -59,6 +59,12 @@ A project whose hub is stopped is upgraded without starting it: `ahub upgrade
|
|
|
59
59
|
--all-stopped --to <version>` does that for every stopped project at once
|
|
60
60
|
(`--dry-run` lists each one first).
|
|
61
61
|
|
|
62
|
+
## Upgrading to 0.54.0
|
|
63
|
+
|
|
64
|
+
Nothing changes until you use something new, with two exceptions that apply on upgrade. A managed headless Pi peer that dies from a signal or shuts itself down now restarts once under `pi.auto_start` from its verified recorded session, even mid-turn, and its step ceiling counts a whole logical turn, so a native retry no longer resets it. `ahub doctor` warns when a project file sets `pi.max_steps` below the default. A project without an explicit `pi.cmd` can pin a verified Pi with `ahub agents install pi`, and then uses that hub-owned install. Optional settings are added (`bus.hold_notice_ms`, `decision_mode = "enforce"` on an adec route, `[inference] triage_adec` in `routing.toml`); a 0.53.0 hub refuses the first two, so set them only once every hub on the project runs 0.54.0. The memory library's declared range rises to `>=0.50.0 <1.0.0` (agent-mem 0.50.0 with cli-output 0.1.6); store and sync formats do not change. Release N-1 for 0.54.x is 0.53.0.
|
|
65
|
+
|
|
66
|
+
`ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.54.0` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
|
|
67
|
+
|
|
62
68
|
## Upgrading to 0.53.0
|
|
63
69
|
|
|
64
70
|
Claude sessions see the most change. `ahub upgrade` now keeps compatible attached Claude sessions open while the hub changes versions (`--recreate` restarts them as before), and a hub tool call a Claude session makes during the replacement waits up to 30 seconds and runs on the new hub. Run `ahub setup` after the global update: the new plugin talks to the hub over the project's MCP socket and falls back to the old bridge on a hub that does not serve one. Reviews change too: a `hub_review` verdict bound to a head is now recorded in the AREV ledger, so `arev gate` answers for a hub-reviewed head without a manual `arev record`, and review briefs list files and exclusions exactly as `arev packet` does. An owner who missed a spec acknowledgement at filing adds it with `hub_spec_ack` instead of re-filing. Orca companions can read the new companion contract v2 and `ahub launch-line <kind> --json`. No setting is added, so the same `.agenthub/` files work with 0.52.0 and 0.53.0. Release N-1 for 0.53.x is 0.52.0.
|
|
@@ -613,7 +619,7 @@ More: `ahub help`. How it is built and why: [`docs/specs/2026-09-19-agent-hub-de
|
|
|
613
619
|
|
|
614
620
|
## Shared memory
|
|
615
621
|
|
|
616
|
-
The hub accepts the first-party `@staix/agent-mem` <!-- facts:agent-mem-pin -->>=0.
|
|
622
|
+
The hub accepts the first-party `@staix/agent-mem` <!-- facts:agent-mem-pin -->>=0.50.0 <1.0.0<!-- /facts:agent-mem-pin --> core as a range below the next major: a plain release inside it with a supported host API needs no hub release, and the lockfile resolves one release. That includes deterministic capture; no claude-mem worker is needed. Existing shared-v1 memory remains the default; upgrading does not migrate it. Managed agents use screened `hub_memory_search`, `hub_memory_show` and `hub_memory_graph` tools, or propose a correction with `hub_memory_correct`; only a person accepts candidates through the supported `amem review` path. Since agent-mem 0.7.0, `amem review` also accepts candidates on a selected generation.
|
|
617
623
|
|
|
618
624
|
Before any real generation migration, upgrade every hub sharing that memory home to 0.12.30 or later and check its authenticated binding with `ahub memory profile-check` in each custom registry. Ready bindings prove compatibility, not an atomic live cutover: quiesce consumers and close their handles before migrating, then reopen through the supported session-preserving lifecycle. Invalid or changed profiles disable native memory without falling back to legacy writes; the bus and board continue. See [memory operations](operations.md#hub-memory) for the remaining rollout gates.
|
|
619
625
|
|
package/docs/security.md
CHANGED
|
@@ -63,7 +63,7 @@ instead of changing the backend or copying dependency files.
|
|
|
63
63
|
|
|
64
64
|
## Native memory authority and profile selection
|
|
65
65
|
|
|
66
|
-
The portable core is the first-party `@staix/agent-mem` package, accepted as the range `>=0.
|
|
66
|
+
The portable core is the first-party `@staix/agent-mem` package, accepted as the range `>=0.50.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.
|
|
67
67
|
|
|
68
68
|
`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.
|
|
69
69
|
|
|
@@ -791,7 +791,7 @@ live after a settings write, undo or reload (turning it off from an edited file
|
|
|
791
791
|
be set through an agent, tools or conductor surface. Claude's daemon response
|
|
792
792
|
withholds the scoped mode on these writes so an older hook grants nothing too.
|
|
793
793
|
|
|
794
|
-
Agent CLI versions (#691). One policy gates the Codex and Kimi fresh reviewers, the headless Claude implementer, Jcode, agy, Qwen (ACP and the dual-output TUI) and Pi (#843): a receipt-verified version passes, Jcode and agy also start an untested version inside their compatible line with a note, and any other version is refused unless the person trusts that exact version on this machine with `ahub agents trust <id> <version>`. The record is `agent-compat.json` in the hub home (`~/.agenthub`), written atomically with mode 600 and at most 64 entries; an unreadable, linked, oversized or invalid record trusts nothing. Agent shells and `--live-test` may read `ahub agents` but cannot trust or revoke. Trust lifts only the version pin: the fresh reviewers' runtime proofs still run before every child, and an untested version's native contract stays unverified. The native capability listings (#1808) are gated the same way: Kimi, Qwen and Codex list capabilities only on their probed versions (2.3.2, 0.26.1 and 0.166.0) or a version the person trusts, and an untested listing may miss or misclassify entries. Watch-only `observe` entries (the Codex app-server and Kimi ACP handshakes, the Claude channel flag, the Orca CLI) never refuse on a version: no launch, start or restore path reads them, and the daily watch, `ahub agents` and `ahub doctor` report them. Separately, an upgrade plan that must close or restore Orca terminals checks the field names of the Orca CLI's answers and blocks those rows on a mismatch. `ahub agents --latest` (person only) is the one path that reads the network for this table: it reads the newest published release's `compat.json`, advises and writes nothing, and the hub never fetches it.
|
|
794
|
+
Agent CLI versions (#691). One policy gates the Codex and Kimi fresh reviewers, the headless Claude implementer, Jcode, agy, Qwen (ACP and the dual-output TUI) and Pi (#843): a receipt-verified version passes, Jcode and agy also start an untested version inside their compatible line with a note, and any other version is refused unless the person trusts that exact version on this machine with `ahub agents trust <id> <version>`. The record is `agent-compat.json` in the hub home (`~/.agenthub`), written atomically with mode 600 and at most 64 entries; an unreadable, linked, oversized or invalid record trusts nothing. Agent shells and `--live-test` may read `ahub agents` but cannot trust or revoke. Trust lifts only the version pin: the fresh reviewers' runtime proofs still run before every child, and an untested version's native contract stays unverified. The native capability listings (#1808) are gated the same way: Kimi, Qwen and Codex list capabilities only on their probed versions (Kimi 2.3.2, Qwen 0.26.1, and Codex 0.166.0 and 0.174.0) or a version the person trusts, and an untested listing may miss or misclassify entries. Watch-only `observe` entries (the Codex app-server and Kimi ACP handshakes, the Claude channel flag, the Orca CLI) never refuse on a version: no launch, start or restore path reads them, and the daily watch, `ahub agents` and `ahub doctor` report them. Separately, an upgrade plan that must close or restore Orca terminals checks the field names of the Orca CLI's answers and blocks those rows on a mismatch. `ahub agents --latest` (person only) is the one path that reads the network for this table: it reads the newest published release's `compat.json`, advises and writes nothing, and the hub never fetches it.
|
|
795
795
|
|
|
796
796
|
Qwen Code's optional production ACP peer requires the qwen-code native identity, a compat-admitted version (receipt-verified 0.25.0, 0.26.0, 0.26.1, 0.26.4, 0.26.5, 0.26.8, 0.26.9, 0.27.0, 0.27.1 and 0.28.3)
|
|
797
797
|
and advertised mode ids before setting a policy or starting work. Its own tools
|
|
@@ -1428,10 +1428,14 @@ expanded); the EFFECTIVE MODEL that `ahub status` shows from a `served` or
|
|
|
1428
1428
|
|
|
1429
1429
|
## Optional adec decision route (#554)
|
|
1430
1430
|
|
|
1431
|
-
A `decision` route with `decision_backend = "adec"`
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1431
|
+
A `decision` route with `decision_backend = "adec"` defaults to off. Shadow
|
|
1432
|
+
records the proposal while preserving the model, effort and conversation.
|
|
1433
|
+
Only the person can enable enforce in `.agenthub/routing.toml`. The
|
|
1434
|
+
machine-local overlay cannot set it. With a valid non-abstaining response,
|
|
1435
|
+
enforce sends the selected alias and `reasoning_effort` to the gateway.
|
|
1436
|
+
Abstention, timeout, failure or an ineligible pair uses `constraints.current`.
|
|
1437
|
+
Gateway credentials stay inside OmniRoute, and campus and PII admission
|
|
1438
|
+
apply to the gateway call. The endpoint must be numeric HTTP loopback with path `/v1/route`, no userinfo, query or fragment; no
|
|
1435
1439
|
redirects, ambient proxies, credentials or browser headers are used, and the hub
|
|
1436
1440
|
never starts the service or reads its credentials. Evidence is a bounded 8 KiB
|
|
1437
1441
|
projection (a capped latest-user fragment, recent assistant and tool tails,
|
|
@@ -1445,7 +1449,7 @@ refuses the stale turn, and route events keep closed metadata only, never
|
|
|
1445
1449
|
evidence, credentials or service error prose.
|
|
1446
1450
|
|
|
1447
1451
|
A `stage` route with `classifier = "decision"` (#1373) uses the same endpoint
|
|
1448
|
-
rules and
|
|
1452
|
+
rules, accepts off and shadow, and asks only when its own score lies within `ambiguous_band`
|
|
1449
1453
|
(default 0.05, at most 0.5) of its threshold, once per user turn. The question
|
|
1450
1454
|
carries the route's closed numeric stage evidence (signals, dimensions and
|
|
1451
1455
|
scores) and the two configured tiers, never the conversation projection; a PII
|
|
@@ -2165,7 +2165,8 @@ A machine-local boolean `action_policy.floor` (default false, registered, applie
|
|
|
2165
2165
|
outside the hub. The issue's Codex `thread/resume` needs the TUI, so the report
|
|
2166
2166
|
names the thread instead.
|
|
2167
2167
|
- Loss notices use the bus preface, not an envelope: a peer's `needs_review`
|
|
2168
|
-
rows block its later deliveries
|
|
2168
|
+
rows block its later deliveries (except a row the ACP adapter's own unrequested stop
|
|
2169
|
+
marked `holdsSelf`, which holds only itself, #1946), so a notice queued behind them would arrive
|
|
2169
2170
|
only after they are resolved anyway; the preface leads that next delivery. Only
|
|
2170
2171
|
rows still in `needs_review` when the peer attaches are listed.
|
|
2171
2172
|
- `recovery.auto_resume_after_crash` is off by default, also with a project
|
|
@@ -2229,7 +2230,7 @@ A machine-local boolean `action_policy.floor` (default false, registered, applie
|
|
|
2229
2230
|
- Delivery retries exhausted for an owned open task trigger escalation through `Tasks`, with a redacted reason and a console notice. Delivery health skips peers after three consecutive exhausted deliveries until a completed delivery clears the streak.
|
|
2230
2231
|
- `needs_review` holds uncertain work that still matters. The hub settles a row `completed` only when every original is a hub presence item or a hub task/review notice provably moot for its recipient: an approved or cancelled task (except its cancellation stop notice), a review no longer in review for that reviewer, or a notice whose authoritative `refs.taskRecipient` audience (`owner` or `reviewer`) is no longer current. Hub producers tag current-owner notices, reviewer reminders and planner coordination separately; former-owner stop notices and former-owner/former-reviewer withdrawal notices use untagged kind `task` and stay held until task approval or cancellation, because their purpose is to tell the former role to stop. An owner task offer (kind `task`, `refs.taskRecipient: "owner"`, positive safe-integer `refs.taskOffer`) also becomes moot once that recipient still owns its task in `in_progress`, `in_review` or `changes_requested` and its own `accepted` entry follows the latest ownership event. A person's assignment or acceptance does not count for the peer; a replacement-owner offer under review stays live until that peer accepts. The pure check inspects at most 4096 recent history entries, with absent or out-of-bound proof retaining the hold; approval/cancellation keep their existing rules. The ids-only reason is `superseded: task #N accepted`. This applies on hold entry, restored startup, recovery release and board changes, using the same hub-actor resolution path; it never records an offer read or changes the task. A plain owner reminder without the offer marker, an unaccepted offer and any mixed peer/user row stay held. Task-kind reviewer reminders remain live while the recipient is that in-review reviewer. Planner notices and untagged legacy task-kind notices stay held until approval or cancellation: without an audience marker, sender/kind/task id cannot prove that an owner assignment moved. This conservative legacy ceiling preserves still-live coordination and guidance. Unknown tasks, live recipient notices and mixed peer/user rows remain held. Rows whose recorded reason starts with `requested stop:` are never completed automatically, even when their tasks become approved. `supersededDeliveryReason` alone authorizes completion; a separate pure `deliveryTaskContext` retains ids-only approved/moved task context for mixed rows without authorizing settlement. Status, console notices and console/peer/tool route explanations list every hold once, including sender, kind and age; public explanations screen appended hold lines through the current privacy policy and keep task context ids-only. Classify on entry, after restore, after the daemon releases its recovery hold and on board changes; use the existing resolve path with a recorded hub actor, preserving pauses and Tasks state. Hub completion restores presence originals through the same preface merge and transaction rollback path as retry, preserving shared notes for the next queued delivery; person completion remains consumed (#434).
|
|
2231
2232
|
- A Claude session without channel support returns `failed_safe` before the push reaches the model, preserving originals for pull. If an older daemon rejects that receipt, the plugin falls back once to its prior generation-bound `needs_review` receipt instead of leaving the row dispatching. A thrown `server.notification` remains `needs_review`: the MCP SDK delegates to a transport whose stdout write can already have emitted bytes before an exception is observed, so the exception alone cannot prove no frame left. Existing proven pre-acceptance guards in Codex, ACP, Pi and the local worker remain unchanged. Console-only command refusals name only the inherited identity marker keys actually present (never their values), explain `!` commands, and direct the person to a separate terminal or `ahub console` (#434).
|
|
2232
|
-
- `hub_delivery_retry { delivery_id }` lets an authenticated recipient retry only its own current `needs_review` row. This option is offered only to transports with an independent tool turn (Claude channel/pull, Codex and Pi). The delivery-only local worker and headless ACP peers cannot start a tool turn through their own hold, so they do not advertise this tool and the daemon refuses a manual call before mutation. Their held hints ask the person to resolve the row; ordinary messages never bypass the hold. Kimi TUI remains pull-only and keeps the recipient option. An ephemeral delivery-only MCP marker controls exposure and hint copy only; the current adapter class is the authority. There is no action or reason input: `completed` and `discard` remain person-only. Any explicit retry in that recipient's lineage, including a person's retry, consumes this allowance; a redelivery held again stays for the person. The existing resolution transaction records `peer:<id>` and a fixed reason, keeps original envelopes unchanged and requeues them through the existing put-back path. A busy recipient may consent to this queue-only operation, but delivery waits for idle and all pause/recovery and active-delivery fences remain. The rendered clone reserves the existing journal body cap for the warning, clipping only the clone at a Unicode character boundary with an explicit cut marker when needed; originals remain unchanged. Jcode project MCP entries carry the same delivery-only exposure marker as other headless ACP peers, preserving their own configuration and peer identity rules. Final rendered output, after condensation and on pull or steer, starts with the fixed sanitized header `Hub redelivery warning: An earlier attempt of this delivery is uncertain; check for its effects before acting.` Explicit retry history is scoped by recipient and original envelope ids. A separate monotone consumed-proof projection records one proof id and warning provenance per original, leaving resolution audit rows unchanged. Explicit resolution and coalesced handoff inherit that proof atomically for every grouped non-context original; a rejected checkpoint consumes no fresh allowance. Hub presence originals carry mutable recall/shared context whose id survives merging, so their ids never participate in retry proof lookup, inheritance, warnings or unknown marking. A preface shared with earlier work cannot consume an unrelated new message's retry allowance; actual task/chat originals retain their consumed lineage. Safe-failure requeue, withdrawal of an earlier original, terminal-state changes, pruning, restart or older-writer audit replacement cannot renew the allowance. Older attempt-bearing rows backfill this projection on return. Recovery snapshots without history and unmappable pruned pre-feature retry records mark only their affected recipient/original ids unknown: those lineages require a person, while unrelated new messages keep their allowance. Tool results expose held metadata only (total count, ids, senders, kinds and age), at most 32 rows/4 KiB with explicit truncation; no body or task text enters the hint. These hints work independently of channel mode and do not wait behind the held queue (#434).
|
|
2233
|
+
- `hub_delivery_retry { delivery_id }` lets an authenticated recipient retry only its own current `needs_review` row. This option is offered only to transports with an independent tool turn (Claude channel/pull, Codex and Pi). The delivery-only local worker and headless ACP peers cannot start a tool turn through their own hold, so they do not advertise this tool and the daemon refuses a manual call before mutation. Their held hints ask the person to resolve the row; ordinary messages never bypass the hold, except for a row marked `holdsSelf` by the ACP adapter's own unrequested stop (a host-set, journaled mark; reason text never decides it, #1946), which holds only itself: later queued work is delivered, the row stays listed in status for an explicit resolution, and the next delivery carries one bounded, body-free held hint. Every other `needs_review` row of a local peer keeps the peer-wide hold. Kimi TUI remains pull-only and keeps the recipient option. An ephemeral delivery-only MCP marker controls exposure and hint copy only; the current adapter class is the authority. There is no action or reason input: `completed` and `discard` remain person-only. Any explicit retry in that recipient's lineage, including a person's retry, consumes this allowance; a redelivery held again stays for the person. The existing resolution transaction records `peer:<id>` and a fixed reason, keeps original envelopes unchanged and requeues them through the existing put-back path. A busy recipient may consent to this queue-only operation, but delivery waits for idle and all pause/recovery and active-delivery fences remain. The rendered clone reserves the existing journal body cap for the warning, clipping only the clone at a Unicode character boundary with an explicit cut marker when needed; originals remain unchanged. Jcode project MCP entries carry the same delivery-only exposure marker as other headless ACP peers, preserving their own configuration and peer identity rules. Final rendered output, after condensation and on pull or steer, starts with the fixed sanitized header `Hub redelivery warning: An earlier attempt of this delivery is uncertain; check for its effects before acting.` Explicit retry history is scoped by recipient and original envelope ids. A separate monotone consumed-proof projection records one proof id and warning provenance per original, leaving resolution audit rows unchanged. Explicit resolution and coalesced handoff inherit that proof atomically for every grouped non-context original; a rejected checkpoint consumes no fresh allowance. Hub presence originals carry mutable recall/shared context whose id survives merging, so their ids never participate in retry proof lookup, inheritance, warnings or unknown marking. A preface shared with earlier work cannot consume an unrelated new message's retry allowance; actual task/chat originals retain their consumed lineage. Safe-failure requeue, withdrawal of an earlier original, terminal-state changes, pruning, restart or older-writer audit replacement cannot renew the allowance. Older attempt-bearing rows backfill this projection on return. Recovery snapshots without history and unmappable pruned pre-feature retry records mark only their affected recipient/original ids unknown: those lineages require a person, while unrelated new messages keep their allowance. Tool results expose held metadata only (total count, ids, senders, kinds and age), at most 32 rows/4 KiB with explicit truncation; no body or task text enters the hint. These hints work independently of channel mode and do not wait behind the held queue (#434).
|
|
2233
2234
|
- Local attach and idle model/route replacement require a reachable authenticated gateway, served models and successful minimal availability calls. Busy workers refuse replacement; validation failure leaves the current worker intact. Controlled recovery can reconstruct a manually paused local worker without gateway availability, but manual resume validates its restored choice before lifting the pause. Doctor checks the fixed model against the inventory.
|
|
2234
2235
|
- Reviewer routing appends attached peers holding `roles.reviewer` after the review class's candidates. Without a reviewer, task results and console notices explain direct approval and the skipped candidates.
|
|
2235
2236
|
- Conflict detection includes `in_review` work. Completed overlapping snapshots that share files compute one concurrent-edit change set across the completed overlapping turns and publish at most one conditional notice per affected task, containing both turn ids and attributing the changes to neither peer. Per-task-pair events remain research evidence, while notice persistence grows linearly in the affected tasks (#576). A bounded, per-worktree HEAD reflog cursor classifies moves appended during the turn. Incoming checkout, merge, pull and proven fast-forward reset paths are excluded from attributed changes and undo paths; normal peer commit, amend and cherry-pick paths remain attributed, as do sequencer pick/reword/edit/squash/fixup/continue/finish paths under native command prefixes. The start checkout of rebase or pull --rebase classifies incoming paths from `merge-base(old, upstream)..upstream` instead of `old..upstream`, so replayed own commits do not overlap and true upstream paths are excluded (#612); any remaining path overlap or ambiguity stays unknown, never attributed as upstream work. Fast-forward reset stays incoming even if its descendant target contains commits made by the peer in another worktree during the turn, safely excluding external commits from local turn attribution and undo (#612). Paths still dirty between end HEAD and the end workspace snapshot are never excluded (including autostash and checkout -m). Independent working-tree edits remain attributed. Missing, rotated, truncated, unrecognized or ambiguous move evidence is unknown, never an exclusion; paths shared by own and incoming moves are ambiguous. A HEAD change during snapshot capture makes that capture unknown. Status probes the checkout branch once per synchronous burst, then screens the cached raw branch through the current privacy policy for every rendering; the cache ends before the next control turn. Pi terminal reconciliation reads an owner observation maintained by the existing 500 ms monitor and expiring after 1 s; fresh signature checks remain mandatory at tool/effect admission and teardown. Private tasks and sensitive file names remain redacted.
|
|
@@ -3305,6 +3306,7 @@ acts on the stopped state directory.
|
|
|
3305
3306
|
- A trusted guard uses `PreEffectToolRefusal` only when that operation has performed no task or board effect; PII screening and its telemetry record may precede the refusal. Pi receives the same `error: <message>` refusal as the control client, and its session/call receipt is `done`. Initial task ownership/dependency/state checks and conductor entry peer/mode/assignment/escalation validation opt into the type; shared helpers default to ordinary errors, and conductor checks after an awaited release validation stay ordinary. Generic errors, board readback failures after a write, and receipt settlement write failures remain uncertain/pending and are never repeated. A legacy pending row has no pre-effect proof in its stored fingerprint/state/result, so startup preserves it; neither present board state nor a matching error message establishes historical refusal.
|
|
3306
3307
|
- Each Pi owner reports one exit with cause, exit code or signal, whether startup completed, whether a turn/tool was active, whether teardown was expected, and the last validated tool name only. TUI shutdown/owner-loss and verified stop teardown lack observed OS status and record unknown. A successfully stopped claimed TUI owner reports once; a never-owned launch reports no invented exit. Replacement teardown says the owner stopped for a new Pi owner even if replacement startup is refused. Internal teardown notices direct inspection and `ahub pi`, without claiming a person requested them. Replacement, failed-start and active-turn guidance takes precedence over the automatic-start-disabled notice. Console notices name the next action or automatic-start state; headless code 0 is still an exit and settles active deliveries as uncertain.
|
|
3307
3308
|
- With `pi.auto_start`, an unexpected idle headless exit attempts its verified persisted session once in a 60 s window. The daemon owns the attempt/window across adapter replacements, blocks throughout an in-flight attempt, and rearms the 60 s window when that attempt settles. It checks current-owner identity, completed startup, turn/tool inactivity, start serialization, shutdown and recovery before and after awaited receipt drain/session capture. Missing or invalid persisted state leaves Pi offline with `ahub pi` guidance, with no fresh-session fallback. A second exit inside the window stays offline. Requested stops, stale owners, startup failures, active turns/tools and native terminal exits never trigger this automatic path; crash recovery's existing #66 behavior remains separate.
|
|
3309
|
+
- Exception for a killed or self-shut-down owner (#1967 T1): an unexpected exit whose cause is a signal, `ctx.shutdown()` after a `model_select` of another provider, or a `session_shutdown` with no exit code may restart under `pi.auto_start` even while a turn or tool was active, because no clean exit code says the process finished and the session file is the only record. The in-flight delivery is already `needs_review` (the owner's `fail()` settles it before the exit is reported) and is never replayed by the restart, so the person decides about its partial effects; only the owner is brought back, resuming the recorded session once. Each peer and cause restarts once per 10 minutes, keyed by both so a different cause never erases an earlier one's window; a repeat inside it stays offline with `ahub pi` guidance. A plain exit code with an active turn or tool keeps the idle-only rule above. The exit log line records the cause label (`signal:<name>`, `model_select:<provider>`, `session_shutdown`, `code:<n>`), the last native event and a bounded stderr tail, never task text. For a restartable cause the recovery gate considers a running recovery phase, not the peer's own held `needs_review` row, which the restart does not clear.
|
|
3308
3310
|
## Amendment: benchmarks (issue #251)
|
|
3309
3311
|
|
|
3310
3312
|
- `ahub bench` runs a person's suite file (tasks with a starting commit, an optional setup and a verify command)
|
|
@@ -6544,7 +6546,7 @@ C1 lists capabilities and nothing else: no `hub_invoke`, no `invoke` capability,
|
|
|
6544
6546
|
|
|
6545
6547
|
- **Where.** `src/hub/capabilities.ts` holds the pure rules (digest, sanitizer, flat schema, publish validation, share listing). The two native parsers and their version pins are vendor-specific, so they live in `src/adapters/native-capabilities.ts`, where the #451 registry guard allows vendor literals. `AcpPeer` and `CodexPeer` implement a new optional `PeerAdapter.capabilityManifest()`; the daemon reads it per call, never a cached or probed copy. The per-definition `capabilities.manifest` field of D1 is not used: the port on the adapter is.
|
|
6546
6548
|
- **No class is declared natively.** `Capability.sideEffect` is optional and absent for every native listing, so the digest carries `null` for it. `effectiveClass` is the higher of the declared and the person's class, a side that names none contributes nothing, and only when neither names one is the class `destructive` (O6). A value that is not one of the four reads as `destructive`. The `exec` class is removed from the manifest type.
|
|
6547
|
-
- **Pins.**
|
|
6549
|
+
- **Pins.** The C0 baseline was Kimi 2.3.2 (`Kimi Code CLI`), Qwen 0.26.1 (`qwen-code`) and Codex 0.166.0. `COMPAT` holds the current exact listing versions. The Codex set includes C0 and [0.174.0](../verification/2026-12-06-compat-codex-capabilities-0.174.0.md). An unverified version lists nothing unless the person explicitly trusts it for capability listing.
|
|
6548
6550
|
- **ACP lists belong to a session.** The `available_commands_update` of the current session is kept whatever the turn state. One that arrives before `session/new` is answered waits and counts only when it names the session that was bound; one for another session is dropped. A restart clears the list. An offline peer lists nothing.
|
|
6549
6551
|
- **Codex.** `skills/list { cwds: [project], forceReload: false }` goes through the attached app-server connection with a hub id, so the TUI never sees the answer. Enabled skills only; the short description is used when there is one. An unattached, offline or unanswered peer rejects, which the daemon shows as no list.
|
|
6550
6552
|
- **Config.** `invocation` is a machine-local block validated by the closed schema (`invocation.share` only in C1; `timeout_s` arrives with C2) and applies live. `hub_capabilities` reads the share from the running config on every call.
|
|
@@ -118,4 +118,4 @@ Same-machine cross-project routing is no longer out of scope: work that belongs
|
|
|
118
118
|
|
|
119
119
|
- **Project context (#1779 T2).** `startDaemon` takes an explicit `DaemonProjectContext` (`root`, `stateDir`, `env` for children; default built once from `cwd`, `stateDir` and the process environment). Child environments (tool servers, the instructed hook, the ACP and Codex adapters) come from it, and `scripts/check-process-identity.ts` fails on a new `process.cwd()` or `AGENTHUB_STATE_DIR` / `AGENTHUB_PROJECT_DIR` read in `src/hub` outside a reasoned allow-list (CLI-side resolution before a daemon exists). Still one project per process; signals, forced exit and loggers stay process-wide (T3).
|
|
120
120
|
|
|
121
|
-
- **Host (#1779 T3a).** `ahub host --runtime <root>` owns several `startDaemon` instances of one runtime, keyed by project id (`src/hub/host.ts`), each started with `hostedProjectContext` (the host's environment with that project's own state and project directories). Off by default: `startProject` hands a project to the host of its runtime only when its config sets `host.shared: true` and it starts neither under a recovery operation nor as a live test; otherwise it spawns a daemon as before, byte for byte. The host listens on an owner-only socket under the hub home, named by a hash of the runtime root (`ping`, `add`); a project that asks while no host answers starts one (`ahub host --runtime <root> --add-current`), and a second host for the same runtime joins the first instead of replacing its socket. Signals and the 15 s forced exit belong to the host: a signal stops every project in the order added, then the host. An uncaught error or rejection is attributed through an `AsyncLocalStorage` entered when the project was added, so it reaches timers and promises the project started: it stops that project only; an error with no project is logged and stops the host. Measured under Bun 1.4.4 (`test/host-shared.test.ts`, a real host process): an error thrown from a timer the project started is attributed and stops that project only; an error thrown from a `node:net` socket handler and an unhandled rejection lose the context, count as unattributed and stop the host. T5a measured throws at A's Bun server callback boundary. A fetch throw returned HTTP 500 and left both projects running without invoking the host hook. A control WebSocket callback throw reached the hook without project attribution and stopped the host. See the [T5a receipt](../verification/2026-12-04-host-shared-receipts.md). One host per runtime root is an atomic claim in `registry.db` (`host_claims`, pid and process signature): only the claim holder removes a stale socket file and listens, a loser joins the answering host or fails closed naming the holder, and a project the host is asked to add is admitted only as the registry holds it. `project stop` is the project's own `kill`: its daemon removes its listener, timers and children, releases its registry claim and leaves the others serving. Clients see no change: per-project control port, `status.json`, `control-token` and state directory stay; `status.json` and the status reply gain `hostId`, and `pid` is the host's. The host exits when its last project stops. Retargeting (#1779 T4): a project's host is the runtime root in its `runtime.json`. Stop it, record another runtime with `recordProjectRuntime` and start it again, and it runs in that runtime's host while every other project stays in its own, untouched; the old host exits with its last project and removes its socket (`test/host-retarget.test.ts`). Under a recovery or upgrade operation a project starts isolated and joins its runtime's host on its next ordinary start. T5a measured control replies of 14.62 ms and 88.30 ms during A's awaited and chunked five-second startup probes. A five-project host used 97,928,152 bytes of physical footprint after settling, compared with 217,926,416 bytes for three isolated daemons. These are fixture measurements. Shared mode stays off by default. The default decision and live dogfood run remain separate.
|
|
121
|
+
- **Host (#1779 T3a).** `ahub host --runtime <root>` owns several `startDaemon` instances of one runtime, keyed by project id (`src/hub/host.ts`), each started with `hostedProjectContext` (the host's environment with that project's own state and project directories). Off by default: `startProject` hands a project to the host of its runtime only when its config sets `host.shared: true` and it starts neither under a recovery operation nor as a live test; otherwise it spawns a daemon as before, byte for byte. The host listens on an owner-only socket under the hub home, named by a hash of the runtime root (`ping`, `add`); a project that asks while no host answers starts one (`ahub host --runtime <root> --add-current`), and a second host for the same runtime joins the first instead of replacing its socket. Signals and the 15 s forced exit belong to the host: a signal stops every project in the order added, then the host. An uncaught error or rejection is attributed through an `AsyncLocalStorage` entered when the project was added, so it reaches timers and promises the project started: it stops that project only; an error with no project is logged and stops the host. Measured under Bun 1.4.4 (`test/host-shared.test.ts`, a real host process): an error thrown from a timer the project started is attributed and stops that project only; an error thrown from a `node:net` socket handler and an unhandled rejection lose the context, count as unattributed and stop the host. T5a measured throws at A's Bun server callback boundary. A fetch throw returned HTTP 500 and left both projects running without invoking the host hook. A control WebSocket callback throw originally reached the hook without project attribution and stopped the host. Hosted control message and close callbacks enter the project's context and catch a synchronous throw at the callback boundary, both for the WebSocket listener and for MCP endpoint sessions. The host logs the failure and stops that project while the other projects keep serving. See the [T5a receipt](../verification/2026-12-04-host-shared-receipts.md). One host per runtime root is an atomic claim in `registry.db` (`host_claims`, pid and process signature): only the claim holder removes a stale socket file and listens, a loser joins the answering host or fails closed naming the holder, and a project the host is asked to add is admitted only as the registry holds it. `project stop` is the project's own `kill`: its daemon removes its listener, timers and children, releases its registry claim and leaves the others serving. Clients see no change: per-project control port, `status.json`, `control-token` and state directory stay; `status.json` and the status reply gain `hostId`, and `pid` is the host's. The host exits when its last project stops. Retargeting (#1779 T4): a project's host is the runtime root in its `runtime.json`. Stop it, record another runtime with `recordProjectRuntime` and start it again, and it runs in that runtime's host while every other project stays in its own, untouched; the old host exits with its last project and removes its socket (`test/host-retarget.test.ts`). Under a recovery or upgrade operation a project starts isolated and joins its runtime's host on its next ordinary start. T5a measured control replies of 14.62 ms and 88.30 ms during A's awaited and chunked five-second startup probes. A five-project host used 97,928,152 bytes of physical footprint after settling, compared with 217,926,416 bytes for three isolated daemons. These are fixture measurements. Shared mode stays off by default. The default decision and live dogfood run remain separate.
|
|
@@ -66,12 +66,12 @@ Plan of record: entelecheia/ai-workspace#78, phase **V4 hub adoption** ("agent-h
|
|
|
66
66
|
|
|
67
67
|
The owner approved V4 on 2026-12-04. Agent-review 0.17.1 publishes
|
|
68
68
|
`@staix/agent-review/core` with `CORE_CONTRACT = "1.0.0"` and
|
|
69
|
-
`@staix/agent-review/fixtures/review-cases.json`.
|
|
69
|
+
`@staix/agent-review/fixtures/review-cases.json`. The hub pins agent-review exactly (0.17.1 at approval, 0.17.3 now, STAIxBWLB/cli-output#48 lockstep) and
|
|
70
70
|
assert the contract at startup or in a test. Agent-review 1.0.0 waits for
|
|
71
71
|
this adoption to verify the contract.
|
|
72
72
|
|
|
73
|
-
Agent-review 0.17.
|
|
74
|
-
agent-mem 0.
|
|
73
|
+
Agent-review 0.17.3 pins `@staix/mcp-stdio` 1.3.0 and `@staix/cli-output` 0.1.6. The hub's locked
|
|
74
|
+
agent-mem 0.50.0 uses mcp-stdio 1.2.1 and the same cli-output 0.1.6, so the dependency tree contains both mcp-stdio versions and one cli-output.
|
|
75
75
|
|
|
76
76
|
## Delivery order
|
|
77
77
|
|
|
@@ -51,7 +51,7 @@ With `startDaemon({ mcpServe: true })` (off by default; no production caller set
|
|
|
51
51
|
- **Mode mapping:** `tools` (or a hello with `session`) is a control `tools` client. A `channel` hello without `session` is a control `peer` client. The daemon grants channel mode after the parent-evidence check (T3), and otherwise serves pull-only with `hub_inbox`. It never asks to stand by.
|
|
52
52
|
- **JSON-RPC 2.0, newline-delimited:** `initialize` and `tools/list` come from `src/hub/mcp-bridge-core.ts` (`tools/list` reads the lifecycle through the session's own control client); `tools/call` goes through `hubToolCall` (`src/hub/mcp-tool-call.ts`), so a refusal carries the bridge's text. `ping` answers `{}`, `notifications/cancelled` aborts the named call, any other method is -32601, a handler error keeps its code or becomes -32603. Calls run concurrently; the endpoint does not await a line.
|
|
53
53
|
- **Refusal:** when the control path refuses the hello (project or instance mismatch, off roster, reserved id), the session gets one JSON-RPC error line (`id: null`, code -32000, the hub's reason) and the connection ends. A malformed hello still closes with no reply.
|
|
54
|
-
- **AC7:** `home` maps to `claude:<label>` as for a bridge session (#1810) because the control hello does the mapping; an undeclared, missing or invalid home
|
|
54
|
+
- **AC7:** `home` maps to `claude:<label>` as for a bridge session (#1810) because the control hello does the mapping; an undeclared, missing or invalid home budgets as the kind's default account: `claude:default` once the kind has a declared account (#1941), the bare key otherwise (a project without `accounts`, or a kind without a declared account). The home path is passed only into that mapping and appears in no log, event, status reply or output.
|
|
55
55
|
|
|
56
56
|
## Channel pushes and the buffer (T2b)
|
|
57
57
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# MCP relay contract
|
|
2
|
+
|
|
3
|
+
**Contract version:** 1
|
|
4
|
+
|
|
5
|
+
The relay bridges host stdio and the project Unix socket using UTF-8, newline-delimited JSON. This contract describes the bundled Bun relay. The endpoint applies its own admission and MCP rules as described in [Per-project MCP endpoint](mcp-endpoint.md).
|
|
6
|
+
|
|
7
|
+
## Launcher negotiation
|
|
8
|
+
|
|
9
|
+
The Claude plugin looks up `asuite` on its inherited PATH. It checks that executable with `mcp-shim ahub --contract`, a 500 ms limit, and stdio isolated from the MCP host. The command advertises version 1 by exiting successfully with only `1` on stdout. On a match, the launcher replaces itself with the same executable and arguments `mcp-shim ahub`, preserving stdio and the process identity. A missing executable, failed probe, version mismatch or exec error selects the bundled `server.js` with the usual Bun invocation. No shell interprets the probe output.
|
|
10
|
+
|
|
11
|
+
## Startup and hello
|
|
12
|
+
|
|
13
|
+
- Pin the resolved project before reading stdio. Read `status.json` in its state directory. A served endpoint requires `mcpServing: true` and an absolute `mcpSocket` ending in `run/<projectId>/mcp.sock`. The socket and its parent must belong to the current uid and have modes 0600 and 0700 respectively. Read the trimmed token from `control-token` in that state directory.
|
|
14
|
+
- Send a hello with `v: 1`, `relay: true`, `mode` (`channel` or `tools`), `peer`, `pid`, `ppid`, `cwd`, `home`, `token`, `projectId`, `instanceId`, `projectRoot`, `channelRequested`, `standby` and `reconnect`. The project ID and root stay pinned. The instance ID comes from the current descriptor. `home` is the absolute Claude configuration directory or the user's `.claude` directory. `channelRequested` reflects the inherited channel marker. `standby` and `reconnect` start false.
|
|
15
|
+
- Include `session` when a session label was resolved, including an empty origin label. Include `claudeSessionId` for a UUID-shaped native session ID and `launchId` for a nonempty launch ID of at most 128 characters. Send `permissionTool: true` only when requested in tools mode and `deliveryOnly: true` only when requested.
|
|
16
|
+
- Follow the hello immediately with an internal JSON-RPC `ping` using an `ahub-relay-` prefixed UUID. A matching successful response with a result establishes readiness and stays internal. If startup cannot resolve or reach a served endpoint, the probe is refused, or readiness takes over three seconds, start the legacy bridge with stdin untouched.
|
|
17
|
+
|
|
18
|
+
## Reconnect and refusal
|
|
19
|
+
|
|
20
|
+
- Once serving, keep ownership of stdio. Re-read the descriptor and token on reconnect, and refuse a descriptor for a different project ID or root. Retry after 1 second, doubling to a 30-second cap. Reset after a served connection. Code 4426 uses a five-minute retry, and code 4000 sets standby on subsequent hellos.
|
|
21
|
+
- Forward host `initialize` as received. A successful reply marks the host initialized and makes subsequent hellos say `reconnect: true`. Reconnect sends hello and internal ping, with no synthesized `initialize`. After readiness on a different instance ID, emit one `notifications/tools/list_changed` for an initialized host. A reconnect to the same instance emits no relay-generated notification.
|
|
22
|
+
- Never replay an outstanding request on a lost socket. Reply with JSON-RPC error -32000 using the terminal reason when available, or report that the outcome may be unknown. A new tool call arriving during an ordinary reconnect can wait up to 30 seconds for readiness. Send held calls in arrival order. Standby, terminal closes and wire mismatches do not hold new calls.
|
|
23
|
+
- An endpoint line with `id: null` and error code -32000 is a refusal. Consume it and close the connection. With no terminal code, it follows the startup fallback or post-start retry policy. After startup, codes 4401, 4403, 4404, 4405, 4409 and 4430 stop reconnecting and use the shared [connection-policy text](../../src/adapters/claude-connection-policy.ts). Unsent tool calls receive that text as tool content, with `isError: true` for a person detach. Unsent non-tool requests receive JSON-RPC error -32000. A silent close has no refusal text.
|
|
24
|
+
|
|
25
|
+
## Replay fixtures
|
|
26
|
+
|
|
27
|
+
Each line starts with its direction and a space. `host>` writes to relay stdin, `endpoint<` checks a relay-to-endpoint line, `endpoint>` writes a socket response, and `host<` checks relay stdout. `stderr<` checks the relay diagnostic stream. `control drop` closes the active socket, and `control replace` changes the advertised instance before closing it. The absent-endpoint fixture starts without a served socket and checks the legacy bridge's response.
|
|
28
|
+
|
|
29
|
+
Replay substitutes `{{PID}}`, `{{PPID}}`, `{{PROJECT}}`, `{{HOME}}`, `{{TOKEN}}` and `{{READY_ID}}` with fixture process and socket values. The readiness ID is captured once and reused through reconnect. All wire lines are checked byte for byte after substitution, excluding their framing newline. Only the terminal-close fixture asserts stderr, since the legacy bridge has its own startup diagnostics.
|
|
30
|
+
|
|
31
|
+
| Fixture | SHA-256 |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| [absent-endpoint.txt](../../test/fixtures/relay/absent-endpoint.txt) | `21cb62b606c2f36c25363c5d0032f9696e327c0a8798e308dbe755721bcc0f21` |
|
|
34
|
+
| [daemon-replacement.txt](../../test/fixtures/relay/daemon-replacement.txt) | `ec85347223fc95eb018e8f2febb7aabf8ea938774fd7e7a794d6f3570811e4ef` |
|
|
35
|
+
| [normal.txt](../../test/fixtures/relay/normal.txt) | `1f7968827e6bda4a228947adaaa21b6c2d0edae6472601701e132a90b2ff45a7` |
|
|
36
|
+
| [reconnect.txt](../../test/fixtures/relay/reconnect.txt) | `eb51cc287e1401e82d111db3993090c7ec4ee1b917340874eff06bdbaf8edb7e` |
|
|
37
|
+
| [refusal.txt](../../test/fixtures/relay/refusal.txt) | `87be356212bd7577e898749e3d78f94afd3834a14151ea740cd56252a5002a43` |
|
|
38
|
+
| [terminal-close.txt](../../test/fixtures/relay/terminal-close.txt) | `838d5ffda65478bc6d51ffb02610300b3378bbaa1af34f736ce6d3b90c4fc5e6` |
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# 0.54.0 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.54.0 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.54.0, prepared from main 17180c00 (18 commits since v0.53.0, 6 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.53.0: #1974, #1964, #1969, #1957, #1968, #1958, #1955, #1954, #1956, #1952, #1951, #1950, #1949, #1947, #1948, #1945, #1943, #1944.
|
|
12
|
+
|
|
13
|
+
Each of the 18 merged after `check (ubuntu-latest)`, `check (macos-latest)` and `seeded guards` passed in full CI at its merged head; every run below finished before its merge. On a draft-first PR, the draft run's deliberate macOS failure is still visible beside the full run. All 18 hub tasks below are `approved` with claude as reviewer. `arev gate --head <merged head> --pr <n>` passes for 15 of them; the three exceptions:
|
|
14
|
+
|
|
15
|
+
- #1958 and #1968: the approved AREV review is recorded at 9ac313d16 and 2d011f827, one commit before the merged head. The only later commit is a merge of `origin/main` (bringing in #1955 and #1958, both already merged and reviewed). The added and removed lines of the PR against main are identical before and after that merge; only hunk positions moved. So these two merges are bound to an approval at an earlier head whose content is unchanged.
|
|
16
|
+
- #1944: an approved AREV review is recorded at the exact merged head 5ee2091ea, but the gate fails on 12 files the review skipped for coverage (among them `src/hub/control/delivery-messages.ts`, `operations-messages.ts`, `peer-messages.ts`, `scope.ts`, `scripts/seeds.json` and `test/worktree-shelf.test.ts`). The change is a dispatch-table refactor; the skips were not accepted with `arev resolve` before the merge.
|
|
17
|
+
|
|
18
|
+
| PR | Work | Hub task, owner | Merged head | Full CI run (attempts) |
|
|
19
|
+
| --- | --- | --- | --- | --- |
|
|
20
|
+
| #1943 | closing-refs workflow and check-docs fixtures | hub task 1355, jcode | 36b645399 | 47515186135 (1) |
|
|
21
|
+
| #1944 | remaining control handlers by table (#1830 S2d-2) | hub task 1353, jcode | 5ee2091ea | 47515150862 (1) |
|
|
22
|
+
| #1945 | shared review fixtures and companion CLI rig (Refs #1830) | hub task 1360, codex | 44fa1eb98 | 47514796160 (2) |
|
|
23
|
+
| #1947 | adec consumer evidence, triage shadow and outcome labels (Refs #1936) | hub task 1354, jcode | ff4c8d0cb | 47524773096 (2) |
|
|
24
|
+
| #1948 | MCP relay contract v1 transcripts (Refs #1942) | hub task 1357, codex | 41dd3519c | 47519009743 (2) |
|
|
25
|
+
| #1949 | pin cli-output 0.1.6 with agent-mem 0.50.0 | hub task 1364, jcode | 7c2c9bfb2 | 47536426329 (1) |
|
|
26
|
+
| #1950 | isolate control WebSocket callback failures (Refs #1779) | hub task 1336, codex | 385fab497 | 47538591109 (1) |
|
|
27
|
+
| #1951 | prefer the native MCP relay for contract v1 (Refs #1942) | hub task 1358, codex | 6e8b96a04 | 47541286239 (1) |
|
|
28
|
+
| #1952 | account budgets as `<kind>:default` (Refs #1941) | hub task 1361, codex | b5c8b0a8c | 47584135696 (1) |
|
|
29
|
+
| #1954 | enforce adec model and effort picks (Refs #554, #1936) | hub task 1365, codex | cd1ce5642 | 47589256907 (1) |
|
|
30
|
+
| #1955 | a local plain needs_review row holds only itself (Refs #1946) | hub task 1362, jcode | 6a5227e1c | 47606326704 (2) |
|
|
31
|
+
| #1956 | codex-review 0.174.0 compat receipts (Refs #888) | hub task 1368, jcode | d3de0e8ac | 47586938951 (1) |
|
|
32
|
+
| #1957 | verify Codex 0.174.0 capability listing (Refs #888) | hub task 1369, codex | 06478caea | 47613604880 (1) |
|
|
33
|
+
| #1958 | verify Pi 1.8.0 (Refs #888) | hub task 1367, codex | fc28ba874 | 47609820251 (1) |
|
|
34
|
+
| #1964 | launch-line keeps the launch's options, refuses an older daemon | hub task 1373, jcode | 329d48dc8 | 47622175491 (1) |
|
|
35
|
+
| #1968 | scope the manual-head refusal, report publisher health | hub task 1376, jcode (second-peer verify: hub task 1378, codex) | 69c34f9a3 | 47611467879 (1) |
|
|
36
|
+
| #1969 | Pi exit cause and restart, logical-turn steps, doctor warning | hub task 1375, jcode | 3db3240b3 | 47620352318 (1) |
|
|
37
|
+
| #1974 | pin a verified hub-owned Pi install (Refs #1965) | hub task 1374, codex | b7a818747 | 47623802980 (3) |
|
|
38
|
+
|
|
39
|
+
5 runs passed only after a same-head rerun: #1945 and #1974 (macOS shard 1/5), #1948 (macOS shard 3/5), #1955 (Ubuntu shard 2/6) and #1947 (macOS aggregate). Their first-attempt logs were not read for this record, so the causes are unconfirmed.
|
|
40
|
+
|
|
41
|
+
## Native acceptance receipts
|
|
42
|
+
|
|
43
|
+
Receipts added under `docs/verification/` since v0.53.0: `docs/verification/2026-12-06-codex-0174-reviewer-isolation.md`, `docs/verification/2026-12-06-codex-0174-reviewer-tool-call.md`, `docs/verification/2026-12-06-compat-codex-capabilities-0.174.0.md`, `docs/verification/2026-12-06-compat-pi-1.8.0.md`.
|
|
44
|
+
|
|
45
|
+
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.54.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.
|
|
46
|
+
|
|
47
|
+
## Document review
|
|
48
|
+
|
|
49
|
+
`node scripts/check-docs.mjs` reported 27 documents stale against their stamps (7607ee581 or f0089eeba): README.md, src/cli/help.ts, docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, the 11 notes under docs/agent-notes/ (README, adapters, benchmarks, budget, bus, daemon, local-worker, models, security-review, tasks, tests), and docs/cooperbench.md, data-policy.md, dogfood.md, events.md, influences.md, memory.md, operations.md, quickstart.md, research.md, roles.md, security.md, text-projection.md. Each was read against the diffs of the commits since its stamp that touched its covered paths. Fixes went into the release branch before the restamp:
|
|
50
|
+
|
|
51
|
+
- operations.md: the Pi version check runs the selected executable (explicit `pi.cmd`, else the hub-owned pin, else `pi` on PATH); `pi.max_steps` counts a logical turn and `ahub doctor` warns below the default; the #1967 restart of a signalled or self-shutdown owner, its 10-minute same-cause limit and the richer exit record.
|
|
52
|
+
- agent-notes/adapters.md: the same Pi command selection, exit reason and restart ledger, and the hub-owned pin as a reader of `COMPAT.pi.verified`.
|
|
53
|
+
- security.md: Codex capability listings are probed on 0.166.0 and 0.174.0.
|
|
54
|
+
- memory.md: the declared agent-mem floor is 0.50.0.
|
|
55
|
+
- quickstart.md: the 0.54.0 note names the agent-mem range `>=0.50.0 <1.0.0`.
|
|
56
|
+
|
|
57
|
+
After the restamp, the release PR's first full CI run failed `test/upgrade-runtime-contract.test.ts` on both OSes: with release N-1 at 0.53.0, which publishes `sessionContract`, the N-1 runtime record carries that key. The test now expects it exactly when the N-1 package declares one; its reader probe is unchanged. The AREV review of that head then found the Pi restart paragraph too broad: operations.md, quickstart.md and the CHANGELOG now say the exception covers managed headless owners only and lifts only the turn/tool-active fence (a native terminal owner is not restarted; the verified recorded session and the 60-second limit still apply). agent-notes/tests.md was reread against the test change, needed no edit, and was restamped at 3b22aa749.
|
|
58
|
+
|
|
59
|
+
The other 22 needed no change; most were updated in the PRs themselves. benchmarks.md, local-worker.md, security-review.md and tasks.md were checked by their diffs since the stamp and a search for the new modules, not read end to end. All 27 were restamped at 5f825037e (`bun scripts/release-prepare.ts restamp ... --reviewed`).
|
|
60
|
+
|
|
61
|
+
## Checks
|
|
62
|
+
|
|
63
|
+
- `node scripts/check-docs.mjs --require-fresh`: `docs: OK (0 stale documents)`.
|
|
64
|
+
- `bun x tsc --noEmit`: exit 0.
|
|
65
|
+
- `bun scripts/build.mjs --check`: exit 0.
|
|
66
|
+
- `node scripts/check-package.mjs` with npm 11.20.0 (the `NPM_VERSION` of check.yml): `package: OK (1299 files, @staix/agent-hub@0.54.0)`.
|
|
67
|
+
- Test clones (#1830 S5 receipt): `ripwire test --clones` reports `dup_pct=15.0` (6,750 of 45,014 function lines), at the recorded 15.0% floor, down from 15.1 at 0.53.0. This is a receipt, not a gate.
|
|
68
|
+
- The release PR's exact-head CI run is recorded on the release PR.
|
|
69
|
+
|
|
70
|
+
## Known gaps, not blocking
|
|
71
|
+
|
|
72
|
+
- No local full test suite: heavy tests run only on dgx02 or in CI, and the release PR's CI is the full gate.
|
|
73
|
+
- No installation, running-hub upgrade or live TUI launch of 0.54.0. The Pi 1.8.0 pin and `ahub agents install pi` are covered by fixtures and the compat receipt, not by a person-run install on this machine.
|
|
74
|
+
- The #1944 AREV coverage skips and the #1958 and #1968 earlier-head approvals above are recorded, not re-reviewed.
|
|
75
|
+
- The causes of the five first-attempt CI failures were not read.
|
|
76
|
+
- A fresh registry rollback to 0.53.0 is not verified. The N-1 fixture pins agent-mem 0.47.0, but a fresh stage of 0.53.0 may resolve agent-mem 0.50.0, whose cli-output 0.1.6 pin differs from the 0.53.0 hub's 0.1.5 pin (AREV round 2 advisory). Already retained 0.53.0 runtimes are not affected.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Codex 0.174.0 fresh-reviewer model-free receipt
|
|
2
|
+
|
|
3
|
+
Date 2026-12-06 KST. Refs #888, hub task 1368. The committed `runCompatReceipt` harness (`scripts/compat-receipt.ts`, the codex-review entry of `scripts/compat-receipts/manifest.json`) ran on macOS arm64 (27.2.1) with Bun 1.4.4 at hub commit `156286c7009c4226fc9bcffc5ed0ceb790301832`. It ran once for the 0.174.0 candidate and once for the verified 0.169.0 control, serially, each in a private empty-environment workspace with separate `HOME`, `AGENTHUB_HOME`, `CODEX_HOME`, `AMEM_HOME`, XDG directories and `TMPDIR`.
|
|
4
|
+
|
|
5
|
+
The candidate passed all 17 runnable preparation legs. The control passed 16 applicable legs, and `version-negative` is not applicable to an already verified version. **0.174.0 remains unverified for `codex-review`: the model-backed leg ran once and produced no verdict (no `hub_review` call; see the [tool-call receipt](2026-12-06-codex-0174-reviewer-tool-call.md)).** `verified` is unchanged.
|
|
6
|
+
|
|
7
|
+
## Artifact
|
|
8
|
+
|
|
9
|
+
| Version | npm `dist.integrity` (installed by the harness) |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| 0.169.0 control | `sha512-KhzYlkKPxoNssR8CEm45IjqnFWn7UtlF4CiD3tOJPea51xBs7MaHy0UQG9GSbCqk6Lrjn5QdJDV0QD1/FgWlGw==` |
|
|
12
|
+
| 0.174.0 candidate | `sha512-lPOTUPn9688OtXstkfYbllzTrvOjdQQO5n6Z9k6+H6R4G8Yn6ZIJULBlDoDCEmZkQkRhJB0eohT2i7PjjYjxTQ==` |
|
|
13
|
+
|
|
14
|
+
The harness records the registry integrity of the root package, not the native binary SHA-256 that the 0.173.0 receipt recorded. The unmodified version gate refused 0.174.0 before the producer recorded any trust, and the harness never writes trust.
|
|
15
|
+
|
|
16
|
+
## Legs
|
|
17
|
+
|
|
18
|
+
Candidate passes: `version-negative`, `empty-home-prepare`, `ambient-prepare`, `model-free-mcp-inventory-disabled-ambient`, `hub-tools-exact-allowlist`, `plugins-and-hooks-disabled`, `legacy-notify-disabled`, `apps-disabled-effective-feature-readback`, `web-search-disabled`, `project-untrusted`, `native-public-read-private-deny-write-deny`, `native-glob-and-symlink-private-deny`, `portable-core-name-and-state-deny`, `standard-host-credential-roots-denied`, `binary-config-stable`, `binary-hash-once-metadata-fence`, `session-ephemeral`.
|
|
19
|
+
|
|
20
|
+
Not run, with cause: `source-impact` and `tag-binding` (`source-review-required`): **source-impact is not-run, partially reviewed.** Only the hook registry, exec CLI and MCP type diffs were read in full. `core/src/mcp.rs`, `core/src/session/mod.rs` and `core-plugins/src/manager.rs` were not read line by line. `control` (`install-unavailable`: the harness installs one version per run, so the control ran as its own run), and `model-backed-hub-call` (`model-required` in the harness; the separate live run is in the [tool-call receipt](2026-12-06-codex-0174-reviewer-tool-call.md)).
|
|
21
|
+
|
|
22
|
+
**This run was outside the harness's containment contract.** `scripts/compat-receipt.ts` refuses to run unless it is on a disposable runner (a GitHub-hosted runner or a Linux container). I bypassed that gate through the programmatic `disposable` port on the owner's personal Mac, and no person authorized the bypass. Process cleanup is therefore reported `unproven` by the harness. The temporary workspaces were retained for inspection and then removed by hand, a verified process-table check found no survivors, and no account, API key, model or credential path was used, but the containment claim does not hold and the leg results are evidence from an uncontained run. Rerun on a disposable runner for a result that meets the contract.
|
|
23
|
+
|
|
24
|
+
## Upstream source comparison
|
|
25
|
+
|
|
26
|
+
| Tag | Annotated tag object | Peeled commit |
|
|
27
|
+
| --- | --- | --- |
|
|
28
|
+
| `rust-v0.173.0` | `1920a2494b8717bb64337a9b49a3fac4af586109` | `fcff6f6317b59220fa4a928b10c8f75cc706960d` |
|
|
29
|
+
| `rust-v0.174.0` | `1aa9d8b4d3737552402b954ea6cd8a83e8307605` | `2d42293d1d32079068f1e4ed8aa70fdbf146ec01` |
|
|
30
|
+
|
|
31
|
+
SHA-256 of the seven tracked files at 0.174.0, against 0.173.0. Six changed, Seatbelt is byte-identical.
|
|
32
|
+
|
|
33
|
+
| File under `codex-rs/` | 0.174.0 SHA-256 | Versus 0.173.0 (changed lines) |
|
|
34
|
+
| --- | --- | --- |
|
|
35
|
+
| `hooks/src/registry.rs` | `a7bc16f122f18f35a6e1958efec4a0c283cf5043c590c1df0fb1e50114f51651` | Changed (11) |
|
|
36
|
+
| `exec/src/cli.rs` | `d9974ce4aa96bbabadf28d7e79cfecd473f8fc210e4414854d6cd49ae3230fbd` | Changed (2) |
|
|
37
|
+
| `config/src/mcp_types.rs` | `6042df3fb88f729fedab9c4cb56ef8b01b4953eae21636526b3473bc0f0844d5` | Changed (38) |
|
|
38
|
+
| `core/src/mcp.rs` | `53b2417b22f17d7f9d556d7a9415bb3c2e283e18e81766215bb415887a3918d2` | Changed (94) |
|
|
39
|
+
| `sandboxing/src/seatbelt.rs` | `f9f3ea86088ff3787ad7fdd5a746e79243851fb17fd38ef386388e849d171625` | Same |
|
|
40
|
+
| `core/src/session/mod.rs` | `09dec1b55556f7c2513061c3491639721c650a019d3213f8ac8bdfed428d2c83` | Changed (756) |
|
|
41
|
+
| `core-plugins/src/manager.rs` | `77164aa1e09d5bec4b8641002b0ca8e7bb7b300675fd7277d150949dc7711d2f` | Changed (15) |
|
|
42
|
+
|
|
43
|
+
Read in full: the hook registry change adds a read-only post-tool-use matcher check. The exec CLI change is a doc comment. The MCP type change adds an optional HTTP header helper with its own environment grant, which is a remote-server option the hub's strict MCP inventory does not configure. The `core/src/mcp.rs`, `core/src/session/mod.rs` and `core-plugins/src/manager.rs` diffs were not reviewed line by line: the session diff (756 changed lines) is too large for this receipt. The runtime legs above exercised the resulting behavior (MCP inventory, Apps, plugins, hooks, legacy notify, read and write canaries), but the source-level claims that those probes cannot see are not re-established for 0.174.0.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Codex 0.174.0 reviewer tool-call receipt
|
|
2
|
+
|
|
3
|
+
Date 2026-12-06 KST. Refs #888, hub task 1368. The [model-free receipt](2026-12-06-codex-0174-reviewer-isolation.md) qualified native preparation. One person-authorized account turn on the default Codex home ran through the production daemon. **It produced no verdict, so 0.174.0 remains unverified for `codex-review` and `verified` is unchanged.** One attempt only, no retry, as authorized.
|
|
4
|
+
|
|
5
|
+
## Fixture
|
|
6
|
+
|
|
7
|
+
A scratch harness outside git (not a supported command) started the production `startDaemon` with the headless `codex-review` instance (`review_mode: fresh`), the exact native 0.174.0 binary (SHA-256 `5a636cfee64f3f39399a37ba9808fdeb737c6d90c5534dfa90deab7b8b9126c7`, unchanged before and after) behind a bash wrapper, and the committed `Tasks` flow. A temporary builder proposed, accepted and finished a synthetic one-file task (`score.ts`, `add(a, b)`), with the instruction and a random marker in one accepted `plan.risks` item. The wrapper did three things only: set `RUST_LOG=error,codex_core::session=info` for the review child, tee its stderr to a file, and create an exclusive (`O_EXCL`) one-attempt fence before the first `codex exec`. The harness started from an empty inherited environment with scratch `HOME`, `AGENTHUB_HOME`, `AMEM_HOME`, `XDG_CONFIG_HOME` and `TMPDIR`, and `CODEX_HOME` set to the person's real default home. Exact-version trust was written only into the scratch hub home.
|
|
8
|
+
|
|
9
|
+
Before the live turn, with no model request: an account-free run with the committed fake reviewer persisted one approved verdict and showed the marker and fixture head in the review envelope; a live-binary probe reached the review `exec`, showed the child's environment names (no ambient variables beyond the harness's own) and that the default home's `auth.json` was reachable, and exited before the fence. A first probe was run with the full ambient shell environment and was stopped; the live turn used the empty environment.
|
|
10
|
+
|
|
11
|
+
## One native review
|
|
12
|
+
|
|
13
|
+
| Evidence | Observed |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| Hub source head | `f120ef02145704adff02eeee07027d31bbf76dc8` (plus a main merge) |
|
|
16
|
+
| Fixture head | `8e43ef7f5a64b9553fdfb06f21e086039f00490b` |
|
|
17
|
+
| Reviewer start | `ok`, isolation admitted |
|
|
18
|
+
| Review envelope | Delivered to `codex-review` with the commit and the withheld summary |
|
|
19
|
+
| Attempts / native exit | 1 / 0 |
|
|
20
|
+
| Tool calls | `hub_task_show` only. No `hub_review` call |
|
|
21
|
+
| Persisted verdicts | 0. Task stayed `in_review`, then the hub withdrew the request and set the reviewer to `user` |
|
|
22
|
+
| Marker in persisted history | No |
|
|
23
|
+
| Served model ID | Not observed. The scoped stderr (1021 bytes) held no `server reported model` line |
|
|
24
|
+
| Default account file size and mtime | Unchanged |
|
|
25
|
+
|
|
26
|
+
The native stderr shows the turn trying `exec_command` twice. `codex exec` rejected both approval requests ("runs non-interactively and immediately rejects approval requests"), and the session shut down about six seconds after it started. The hub log recorded `no verdict exit=0; last hub tool hub_task_show; no hub_review call`. So the model read the task, tried shell reads it could not get approved, and ended the turn without calling `hub_review`.
|
|
27
|
+
|
|
28
|
+
## Do the 0.172.0 and 0.173.0 causes recur?
|
|
29
|
+
|
|
30
|
+
The 0.172.0 cause (verdict stored without the marker) did not recur, because no verdict was stored at all. The 0.173.0 cause (no served model ID) did recur: none was observed. A third cause is new here: no `hub_review` call. I cannot say whether that is a 0.174.0 behavior change or a property of this fixture (a model that tries shell reads before reviewing), because the single authorized attempt is spent. This fixture was rebuilt from the receipts' description, not the 0.173.0 harness, so a difference in the fixture cannot be excluded.
|
|
31
|
+
|
|
32
|
+
## Cleanup
|
|
33
|
+
|
|
34
|
+
The daemon stopped, no fixture process remained, the fixture roots under the system temp directory and the private npm prefix were removed, and no credential content was read or copied. The run bypassed no containment gate: it used the production daemon on a personal host as the 0.173.0 live run did, with the person's authorization for the account turn. A new attempt needs a new authorization.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Compatibility receipt for Codex capability listing 0.174.0
|
|
2
|
+
|
|
3
|
+
Refs #888. Recorded 2026-12-06. The isolated schema read and live, account-free `skills/list` check both passed. Admit 0.174.0 for `codex-capabilities` as an exact version.
|
|
4
|
+
|
|
5
|
+
## Offline schema check
|
|
6
|
+
|
|
7
|
+
The installed `codex-cli 0.174.0` generated the app-server schema with `app-server generate-json-schema --out <scratch>`. The command ran in a scratch working directory with separate HOME, CODEX_HOME and TMPDIR and network denied by macOS Seatbelt. The surface matches the [0.166.0 baseline and 0.172.0 comparison](2026-11-30-capability-listing-shape-1808.md).
|
|
8
|
+
|
|
9
|
+
| Definition | 0.174.0 result |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| SkillsListParams | Optional `cwds` and `forceReload` |
|
|
12
|
+
| SkillsListResponse | Required `data` array |
|
|
13
|
+
| SkillsListEntry | Required `cwd`, `errors`, and `skills` |
|
|
14
|
+
| SkillMetadata | Required `name`, `description`, `path`, `scope`, and `enabled`. Optional `dependencies`, `interface`, `pluginId`, and `shortDescription` |
|
|
15
|
+
| SkillScope | `user`, `repo`, `system`, and `admin` |
|
|
16
|
+
|
|
17
|
+
The parser still reads enabled skills from `data[].skills`. Its contract and implementation are unchanged.
|
|
18
|
+
|
|
19
|
+
## Live listing check
|
|
20
|
+
|
|
21
|
+
- [Hosted compatibility job](https://github.com/STAIxBWLB/agent-hub/actions/runs/47517462302/job/145666140633) on a disposable macOS arm64 runner, executed on 2026-12-05 UTC from `dd3371d28c848b2b713bc5fa1ebbb60ef827f89a`.
|
|
22
|
+
- Exact `@openai/codex@0.174.0` npm artifact integrity `sha512-lPOTUPn9688OtXstkfYbllzTrvOjdQQO5n6Z9k6+H6R4G8Yn6ZIJULBlDoDCEmZkQkRhJB0eohT2i7PjjYjxTQ==` matched the registry. The `compat-receipt-codex-capabilities-0.174.0` artifact records the required `skills-list-shape` leg as passed.
|
|
23
|
+
- The producer checked the same-process network denial and then sent `initialize`, `initialized` and `skills/list` only. It observed the requested working directory and the fixture user skill at its expected path. Owned stop was confirmed. Lifetime cleanup remained unproven, with containment bounded by the disposable runner.
|
|
24
|
+
|
|
25
|
+
This receipt covers capability listing on macOS arm64. It establishes neither launch or reviewer compatibility nor skill execution, which needs a model turn. It adds no version range.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Compatibility receipt for Pi 1.8.0
|
|
2
|
+
|
|
3
|
+
Refs #888. Recorded 2026-12-06. The exact 1.8.0 artifact passed the same required legs as the [1.6.1 receipt](2026-11-26-compat-pi-1.6.1.md). Admit 1.8.0 as an exact version.
|
|
4
|
+
|
|
5
|
+
## Evidence
|
|
6
|
+
|
|
7
|
+
- [Hosted compatibility job](https://github.com/STAIxBWLB/agent-hub/actions/runs/47517462302/job/145666140657), run on 2026-12-05 UTC from `dd3371d28c848b2b713bc5fa1ebbb60ef827f89a`, with pinned Bun and a frozen dependency install on a disposable macOS arm64 runner.
|
|
8
|
+
- The job's `compat-receipt-pi-1.8.0` artifact contains `summary.json` and `receipt.md`. The exact npm package was `@earendil-works/pi-coding-agent@1.8.0`. Its integrity, `sha512-0ZsEDc+/Gl/ag6TNpPGecIWfC0DGsaVJonAT/8erGfBbSBwd8y/MQHZ+27uKT6SdWRsNjORQgcOz+dBILLep5g==`, matches the registry.
|
|
9
|
+
- The candidate ran with isolated homes and a fixture loopback provider. The harness confirmed owned stop and isolated-home cleanup. Process-lifetime cleanup remained unproven, so containment relied on the disposable runner. The workflow's later publish job failed after the receipt artifact was produced.
|
|
10
|
+
|
|
11
|
+
| Required leg | Result |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| Native identity | Pass |
|
|
14
|
+
| CLI RPC session identity | Pass |
|
|
15
|
+
| SDK extension registration | Pass |
|
|
16
|
+
| Managed tool receipt replay | Pass |
|
|
17
|
+
| Failed tool result | Pass |
|
|
18
|
+
| Zero provider requests | Pass |
|
|
19
|
+
| Host permission modes | Pass |
|
|
20
|
+
| Version admission | Pass |
|
|
21
|
+
| Isolated-home cleanup | Pass |
|
|
22
|
+
|
|
23
|
+
The evidence covers model-free macOS arm64 operation. Account-backed inference, a real provider, TUI coexistence and other Pi versions remain unverified.
|