@staix/agent-hub 0.45.0 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +10 -4
  3. package/docs/adding-an-ai-tool.md +1 -0
  4. package/docs/agent-notes/adapters.md +33 -4
  5. package/docs/agent-notes/budget.md +2 -1
  6. package/docs/agent-notes/daemon.md +5 -1
  7. package/docs/agent-notes/security-review.md +3 -2
  8. package/docs/agent-notes/tasks.md +3 -1
  9. package/docs/agent-notes/tests.md +1 -1
  10. package/docs/design/adapters.md +16 -0
  11. package/docs/design/agent-hub-architecture.md +12 -0
  12. package/docs/design/cli-output.md +2 -0
  13. package/docs/design/roadmap.md +86 -5
  14. package/docs/design/task-board.md +2 -2
  15. package/docs/dogfood.md +15 -0
  16. package/docs/events.md +2 -2
  17. package/docs/operations.md +102 -20
  18. package/docs/quickstart.md +9 -3
  19. package/docs/security.md +7 -5
  20. package/docs/smoke.md +1 -1
  21. package/docs/verification/2026-11-05-hardcoded-values-classification-rules.md +28 -0
  22. package/docs/verification/2026-11-22-agy-1.5.14.md +27 -0
  23. package/docs/verification/2026-11-22-claude-instruction-hook.md +35 -0
  24. package/docs/verification/2026-11-22-instructed-ipc.md +9 -0
  25. package/docs/verification/2026-11-22-jcode-1.0.3.md +71 -0
  26. package/docs/verification/2026-11-22-jcode-separate-home.md +14 -0
  27. package/docs/verification/2026-11-22-qwen-0283-acp.md +28 -0
  28. package/docs/verification/2026-11-22-qwen-0283-dual-output.md +33 -0
  29. package/docs/verification/2026-11-22-roadmap-r5-view-receipt.md +63 -0
  30. package/docs/verification/2026-11-23-0.46.0.md +44 -0
  31. package/docs/verification/assets/1483-r5-detail-1440-light.png +0 -0
  32. package/docs/verification/assets/1483-r5-detail-390-light.png +0 -0
  33. package/docs/verification/assets/1483-r5-view-1440-dark.png +0 -0
  34. package/docs/verification/assets/1483-r5-view-1440-light.png +0 -0
  35. package/docs/verification/assets/1483-r5-view-390-dark.png +0 -0
  36. package/docs/verification/assets/1483-r5-view-390-light.png +0 -0
  37. package/docs/verification/assets/1483-r5-view-820-dark.png +0 -0
  38. package/docs/verification/assets/1483-r5-view-820-light.png +0 -0
  39. package/docs/verified.json +23 -23
  40. package/package.json +3 -2
  41. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  42. package/plugins/agent-hub/kimi-hook.js +5951 -5499
  43. package/plugins/agent-hub/server.js +1136 -1015
  44. package/plugins/agent-hub/skills/ahub/SKILL.md +17 -0
  45. package/plugins/agent-hub/skills/ahub-manage/SKILL.md +37 -0
  46. package/plugins/agent-hub/skills/ahub-status/SKILL.md +14 -0
  47. package/plugins/agent-hub/skills/ahub-use/SKILL.md +12 -0
  48. package/src/adapters/claude-channel.ts +2 -1
  49. package/src/adapters/compat.ts +12 -11
  50. package/src/adapters/definitions/native-cli-claude-setup.ts +9 -1
  51. package/src/adapters/definitions/native-cli-doctor.ts +8 -5
  52. package/src/adapters/definitions/native-cli-jcode-home-init.ts +158 -0
  53. package/src/adapters/definitions/native-cli-jcode-home.ts +72 -0
  54. package/src/adapters/definitions/native-cli-jcode-mcp.ts +20 -0
  55. package/src/adapters/definitions/native-cli-skills.ts +29 -0
  56. package/src/cli/claude-profile-hook.ts +40 -3
  57. package/src/cli/console-state.ts +55 -26
  58. package/src/cli/console-usage.ts +5 -3
  59. package/src/cli/console.ts +35 -4
  60. package/src/cli/help.ts +15 -10
  61. package/src/cli/identity.ts +2 -1
  62. package/src/cli/instruction-hook.ts +28 -0
  63. package/src/cli/jcode-mcp.ts +2 -1
  64. package/src/cli/main.js +8 -0
  65. package/src/cli/main.ts +138 -18
  66. package/src/cli/output-standard.ts +3 -55
  67. package/src/cli/output.ts +8 -2
  68. package/src/cli/recovery-package.ts +47 -11
  69. package/src/cli/roadmap.ts +37 -3
  70. package/src/cli/setup-homes.ts +1 -0
  71. package/src/cli/setup.ts +1 -1
  72. package/src/cli/skills-install.ts +463 -0
  73. package/src/cli/task-output.ts +1 -1
  74. package/src/cli/upgrade-presentation-flags.ts +1 -1
  75. package/src/hub/board.ts +42 -4
  76. package/src/hub/budget-projection.ts +99 -0
  77. package/src/hub/claude-launch-proof.ts +5 -1
  78. package/src/hub/conductor.ts +8 -3
  79. package/src/hub/config-apply.ts +3 -2
  80. package/src/hub/config-tier.ts +1 -1
  81. package/src/hub/config-trust.ts +1 -1
  82. package/src/hub/control-client.ts +9 -2
  83. package/src/hub/daemon.ts +457 -26
  84. package/src/hub/events.ts +1 -1
  85. package/src/hub/execution-budget.ts +29 -8
  86. package/src/hub/hub-tools.ts +2 -2
  87. package/src/hub/inference.ts +1 -1
  88. package/src/hub/instances.ts +10 -1
  89. package/src/hub/instructed-exact.ts +95 -0
  90. package/src/hub/instructed-intent.ts +64 -0
  91. package/src/hub/instructed-ipc.ts +33 -0
  92. package/src/hub/instructed-runtime.ts +19 -0
  93. package/src/hub/instruction-receipt.ts +218 -0
  94. package/src/hub/manager.ts +46 -3
  95. package/src/hub/registry.ts +1 -1
  96. package/src/hub/roadmap-decompose.ts +60 -1
  97. package/src/hub/roadmap-sync.ts +2 -2
  98. package/src/hub/roadmap.ts +19 -1
  99. package/src/hub/routing.ts +18 -1
  100. package/src/hub/runtime-capture-prune.ts +2 -1
  101. package/src/hub/settings.ts +2 -1
  102. package/src/hub/tasks.ts +194 -12
  103. package/src/hub/ui.ts +6 -2
  104. package/src/hub/usage-rollup.ts +42 -2
  105. package/src/ui/index.html +342 -8
  106. package/src/ui/plugin.ts +6 -2
  107. package/src/ui/roadmap-model.ts +70 -0
package/docs/security.md CHANGED
@@ -9,7 +9,7 @@ agent-hub connects agents that can each run commands. This page says what the hu
9
9
  - **Write retry keys grant no authority (#1078).** The `tool_write_idempotency` feature binds top-level control `requestId` keys to authenticated actor/role/launch/generation/execution scope and canonical business arguments. For task proposals and reviews, MCP `request_id` is an explicit retry argument, independent of JSON-RPC correlation; it is removed before dispatch. A timeout or connection loss remains `outcome: unknown`, with a settling read, while a pre-admission refusal says this attempt did not run. Reusing another scope's key, changed arguments, expired or old-instance IDs never starts a new write. Current authority and privacy are rechecked before a cached result is returned, including the PII status of overlap references. Request payloads are hashed rather than retained; result records are bounded and remain in daemon memory. Limits are per authenticated actor (512 entries/15 minutes), not one shared admission budget. Delivery acknowledgement uses the journal's existing idempotence and socket/generation ownership checks without consuming that cache, so another actor's filled window cannot prevent settlement. Legacy clients without keys keep their path; current clients refuse explicit replay to an older daemon that would ignore it. See [safe retry and refusal semantics](operations.md#control-write-outcomes-and-safe-retries-1078).
10
10
  - **Control-write diagnostics carry metadata only (#1126).** The daemon's write spans and event-loop probe record a closed set of operation kinds, phases, task numbers and durations, never task text, paths, ids of transports, actors or sessions, credentials, error text or external output, and nothing for a PII task or a private turn. A frame from a client that has not authenticated is never inspected for them. Retention is capped (128 requests, 256 spans, 512 recent intervals, five-minute expiry) and a record in `hub.log` is at most 2,048 bytes; client timing on stderr is off unless `AHUB_CONTROL_WRITE_TIMING=1`.
11
11
  - **Permission prompts stay on unless an operator selects a permission mode.** `ask` leaves native decisions unchanged. `ask-when-needed` grants scoped Claude file tools or Pi/local writes and edits, and a headless Claude implementer's proven shell commands through the host wrapper (#845, below); Kimi and Codex use their own native policies. `never-ask` requires explicit runtime confirmation, a person's console `y` for a config default at hub start, or retained autonomy consent bound to that peer's exact never-ask value in the untracked `config.local.json` (#999, below). Without one of these the peer runs in `ask`. Kimi's and `local`'s permission requests are relayed to the console and cancelled after `approvals.timeout_s` (default 120 s) of silence; the macOS notification for a waiting request carries the peer and the tool name only. The one exception is the hub's own tools (`hub_send` and the task tools, matched by exact name): Kimi's requests for them are approved once without a prompt and logged by name, the same trust Codex gets through `approval_mode` in the hub's config. They invoke hub-owned operations rather than arbitrary file or shell tools, and every call passes the hub's own checks. A call the always-ask policy classes (below) is never approved this way, whatever its title. Identity comes from the exact permission title, or from the earlier tool-call title bound to the same call id and resolved against the configured MCP servers when the permission title contains argument JSON (Qwen). Payload text and unrelated display titles never establish identity. Configured ACP kinds (#451) never get this exception: a request whose title spells a hub tool exactly still goes to the person approval path, and only a mapped native mode changes what the agent itself asks. For ACP agents, a payload longer than the console shows is marked as cut and never offers a session-wide grant. Pi's write, edit, shell and git write requests are relayed the same way and can be answered `Always allow <tool> until Pi restarts`: later calls of that tool by the same Pi start skip the prompt but stay inside the path guard and sandbox. The grant covers every later call of that tool whatever its payload, is kept in memory only, cannot be given from the dashboard, and each call it allows is logged by tool name. A Pi or `local` request whose call was cancelled or whose turn ended is withdrawn at once: a later answer is refused and grants nothing, an `Always allow` included. One shell command runs without a hub approval: the `!command` a person types in the managed Pi TUI. It stays inside the same sandbox and denylist, and the hub takes it only from the verified owner process of a Pi in TUI mode, while Pi is idle, on a reservation that is used once; a model's own bash call never takes that path (issue #253). `--unattended` turns prompts off, says so loudly, and is never the default; a classed call from a hub-owned ACP peer, the local worker or Pi still waits for a person under it.
12
- - **A committed config cannot choose launch commands, credential files, data endpoints, permission modes or a wider sandbox.** The machine-local fields (`kimi_cmd`, `permission_modes`, `codex_bin`, `pi.cmd`, `checks`, `mlx.bin`, `mlx.runtimeDir`, `mlx.modelPath`, `omniroute.urls`, `omniroute.access_hosts`, the `omniroute` key files, `memory.worker_url` (still accepted, ignored since 0.16.0), `local.read_allow`, `local.bash_network`, `local.network_allow`, `local.doc_read`, `local.web_fetch`, `terminal.open`, `tasks.auto_pull`, `tasks.queue_backpressure`, `context.max_assignment_used`, `schedules` (the `every`, `cron` and `tz` forms alike), `folder_triggers`, `corpus.paths`, `invocation`, `start.agents`, `instances`, `action_policy`, `rooms`) apply only from a config file git confirms nobody committed (`instances`, `action_policy` and `rooms` are read only from an untracked `.agenthub/config.local.json`; in `config.json` they are ignored even when untracked): `.agenthub/config.json` or `.agenthub/config.local.json`, matched by file identity so no other spelling the file system accepts slips past, and `.agenthub` itself not a committed symlink or submodule. Without a repository, or when git fails, they keep their defaults; an empty value always means the default. "Untracked" is answered by the repository that contains the project: a checkout copied or extracted into an unrelated repository, or into an ignored directory of one, is trusted like your own files. So a cloned repository cannot choose a launch command, a completion check, a gateway to send a key file to, a memory endpoint, a permission mode, the command that opens a terminal, which agents `ahub up` opens terminals for, a folder the hub reads, work proposed on a timer, a host a model may fetch from, which of your agents' skills other peers may call, or a wider sandbox. A command in `checks` runs as you, outside the local worker's sandbox, like a git hook. So do the `setup` and `verify` commands of a benchmark suite (issue #251): `ahub bench run <suite.json>` is a person's command, refused from an agent session, and it resets the work tree for each attempt, so it runs only with `bench.enabled`, at the root of a clean repository that tracks nothing under `.agenthub/`. Nothing in `routing.toml` or in task text is ever run. `routing.toml` and the other shared fields still come from the checkout, and they matter: `routing.toml` picks the models the local worker and the hub's inference use at your gateway and can turn the PII constraint off, and roles and budget shape who does what. Review them in a repository you do not trust. The hub's own git calls outside the sandbox (snapshots, facts, config trust, project discovery, memory recall, the bench runner) all use the single hardened implementation in the first-party `@staix/agent-mem/platform` package, re-exported by `src/hub/git.ts`, which disables the programs a repository's configuration can name — the file-system monitor, hooks, external diff, the pager, and the credential and askpass helpers, with prompts failing closed — so a config that ever does get written cannot run code with the hub's rights. Of those, the monitor, hooks and external diff are reachable by commands the hub issues (the planted-program test exercises all three; a `diff --no-index` reads the repo's config, so that call also passes `--no-ext-diff` and `--no-textconv`); the pager is not (every call pipes stdout). Credential and askpass helpers are disabled for project repositories; memory sync alone may use credentials for its own memory repository, without prompts. The cost: `core.fsmonitor=false` also turns off a person's enabled built-in monitor for the hub's own calls, so the per-turn snapshot's `add -A` scans the whole tree (the snapshot Git calls of one burst share a 250 ms budget, each call at most 10 s; a boundary that runs out is recorded as unknown, never as a stale baseline) (#576). git has no global switch for filter drivers, and of the hub's commands only the snapshot's `add`/`restore` would run one (its driver command lives in the protected `.git/config`).
12
+ - **A committed config cannot choose launch commands, credential files, data endpoints, permission modes or a wider sandbox.** The machine-local fields (`kimi_cmd`, `permission_modes`, `codex_bin`, `pi.cmd`, `checks`, `mlx.bin`, `mlx.runtimeDir`, `mlx.modelPath`, `omniroute.urls`, `omniroute.access_hosts`, the `omniroute` key files, `memory.worker_url` (still accepted, ignored since 0.16.0), `local.read_allow`, `local.bash_network`, `local.network_allow`, `local.doc_read`, `local.web_fetch`, `terminal.open`, `tasks.auto_pull`, `tasks.queue_backpressure`, `context.max_assignment_used`, `schedules` (the `every`, `cron` and `tz` forms alike), `folder_triggers`, `corpus.paths`, `invocation`, `start.agents`, `instances`, `action_policy`, `rooms`, `instructed`, `jcode_mcp_allow`) apply only from a config file git confirms nobody committed (`instances`, `action_policy` and `rooms` are read only from an untracked `.agenthub/config.local.json`; in `config.json` they are ignored even when untracked): `.agenthub/config.json` or `.agenthub/config.local.json`, matched by file identity so no other spelling the file system accepts slips past, and `.agenthub` itself not a committed symlink or submodule. Without a repository, or when git fails, they keep their defaults; an empty value always means the default. "Untracked" is answered by the repository that contains the project: a checkout copied or extracted into an unrelated repository, or into an ignored directory of one, is trusted like your own files. So a cloned repository cannot choose a launch command, a completion check, a gateway to send a key file to, a memory endpoint, a permission mode, the command that opens a terminal, which agents `ahub up` opens terminals for, a folder the hub reads, work proposed on a timer, a host a model may fetch from, which of your agents' skills other peers may call, or a wider sandbox. A command in `checks` runs as you, outside the local worker's sandbox, like a git hook. So do the `setup` and `verify` commands of a benchmark suite (issue #251): `ahub bench run <suite.json>` is a person's command, refused from an agent session, and it resets the work tree for each attempt, so it runs only with `bench.enabled`, at the root of a clean repository that tracks nothing under `.agenthub/`. Nothing in `routing.toml` or in task text is ever run. `routing.toml` and the other shared fields still come from the checkout, and they matter: `routing.toml` picks the models the local worker and the hub's inference use at your gateway and can turn the PII constraint off, and roles and budget shape who does what. Review them in a repository you do not trust. The hub's own git calls outside the sandbox (snapshots, facts, config trust, project discovery, memory recall, the bench runner) all use the single hardened implementation in the first-party `@staix/agent-mem/platform` package, re-exported by `src/hub/git.ts`, which disables the programs a repository's configuration can name — the file-system monitor, hooks, external diff, the pager, and the credential and askpass helpers, with prompts failing closed — so a config that ever does get written cannot run code with the hub's rights. Of those, the monitor, hooks and external diff are reachable by commands the hub issues (the planted-program test exercises all three; a `diff --no-index` reads the repo's config, so that call also passes `--no-ext-diff` and `--no-textconv`); the pager is not (every call pipes stdout). Credential and askpass helpers are disabled for project repositories; memory sync alone may use credentials for its own memory repository, without prompts. The cost: `core.fsmonitor=false` also turns off a person's enabled built-in monitor for the hub's own calls, so the per-turn snapshot's `add -A` scans the whole tree (the snapshot Git calls of one burst share a 250 ms budget, each call at most 10 s; a boundary that runs out is recorded as unknown, never as a stale baseline) (#576). git has no global switch for filter drivers, and of the hub's commands only the snapshot's `add`/`restore` would run one (its driver command lives in the protected `.git/config`).
13
13
  - **Telemetry holds no bodies.** `.agenthub/state/events.jsonl` (issue #40) records envelope ids, routing and sizes, task ids and states, overlapping paths and token counts, and the task id (with a PII flag) that each usage and token record is attributed to. It never records a message body, a task title or detail, and marks private (PII) envelopes and tasks as such. Budget pauses, resumes and quota resets carry the peer, window, times and the hub's own reason text, and a person's release authorization its commit, version and docs digest. The usage roll-up (#683) folds the usage, token and limit records into `hub.db` and joins issue, PR and release from the board when read; `ahub usage` and the console's Usage panel answer only the console and a configured planner, and a planner not during a private turn. Kimi's token records (#285) are counted from its own session wire log under its home: only the four token integers, the model label and the row time are copied, and the record id is an opaque hash, never a path, session id or text. agy's (#1280) are read from its session transcript through the hook-gated readback the same way: the token integers and an opaque hash of session and step. A person's model override (`model_change`, #1317) records the peer, the previous and new model ids and the next-turn boundary; a visual (#1058) its id, kind, byte and image counts and optional task id. The log stays on the machine; `ahub export` only prints it. Two opt-in stores copy numbers from it into your home directory, shared by every project on the machine (directories mode 700, files 600): research records (issue #247, `research.enabled`; a person's explicit `ahub setup --research` or `--no-research` saves the default for new projects in the owner-only `~/.agenthub/defaults.json`, which `ahub init` only reads, and a missing, unreadable or untrusted file means off, #1347) in `~/.agenthub/research/` hold per approved or cancelled task (record v2) the ids, states, counts, tokens, times and PII flag the events hold, counts and closed words only, a person's label from a closed list, and a hash in place of the project id, and `ahub research export --dataset <dir>` writes an allowlisted copy meant to leave the machine (peers reduced to family names, project-chosen role and profile names dropped, owner-only files in a directory inside the home and outside every registered project, compared as real paths); benchmark runs (issue #251) in `~/.agenthub/bench/` hold suite name and hash, arm label, the attached peers' ids, models and permission modes, task ids, outcomes, exit codes, counts, tokens and times, never suite text or a command's output.
14
14
  - **Snapshots stay in your repository.** Per-turn snapshots (issue #33) are git objects in the project's own object store, written through a temporary index; nothing is referenced, pushed or copied elsewhere, and `git gc` prunes them. They hold what the work tree held, including untracked files that are not ignored, so keep secrets in ignored files. They carry the repository's own permissions, and nothing caps their disk use but `git gc`. A turn of a peer holding an open PII task is not snapshotted; a PII file left in the project is snapshotted by later turns like any other file. `ahub undo` restores only files whose current content is exactly what the turn left.
15
15
  - **The edit hook reads, never decides.** `ahub check-path --hook` (issue #32) reads hub.db and returns context for Claude and a line for you; it sets no permission decision, so your permission rules stay in charge. It names other owners' task ids, titles and states, which then reach Claude's model; PII tasks are left out.
@@ -640,7 +640,7 @@ Please report vulnerabilities privately through GitHub's "Report a vulnerability
640
640
  - Every request must have the exact listener Host. Every data or action request, including the ticket exchange and snapshot polling, must be POST with the exact listener Origin and JSON content type. Foreign and missing origins, missing or expired sessions, oversized bodies and unknown actions are rejected. There is no CORS support. The only unauthenticated GET is the fixed, data-free HTML shell. No files or paths are served dynamically.
641
641
  - Responses are non-cacheable, cannot be framed, suppress referrers, and use a content security policy restricting scripts/styles to the shipped inline content and connections to this origin. Browser text is rendered with textContent, never interpreted as HTML.
642
642
  - The browser receives a bounded redacted event stream, peer states and queue counts, public task views (with a task's screened changed-symbol observation, #684: ids, paths, names and kinds, never source or line spans, and its Code group, #684 phase 2c: those symbols marked against the plan's names, each name re-screened by the public metadata screen; a private task has no group and its plan names never enter the snapshot), budget windows, each peer's DOING line (#878: a native session title or current plan item, at most 120 characters, kept in daemon memory only and screened when observed and again when shown; a failed screen, a private turn or the peer's open PII task shows `[private]`), pending approvals, the settings rows (closed values and ids, the file each comes from) and each startable peer's start plan (issue #269), benchmark run summaries (issue #251): the newest runs in `~/.agenthub/bench/`, whichever project on this machine ran them, by suite name, arm label, state, the task id in progress, counts, tokens and times, never suite text, the Usage view (#683 U4), computed only while the Agents view is open: peer ids, UTC days and token counts with their source, budget pause, resume and reset events without their reason text, and per-task rows of the task id, a PII flag and token counts, never a title, and the office view's optional fields (issue #264): each peer's open turn (start time, attributed task id, attribution kind), a `checking` flag on tasks whose check is running, and warning `links` of overlapping, conflicting or cohort tasks (task and peer ids only, never paths, symbols or reasons; a PII task never joins a link, and a private or PII-attributed turn exposes no task id). Private envelope bodies and PII task text never cross this endpoint. Local-worker and Pi approval titles can contain PII, so their details remain terminal-only; the dashboard identifies the request and directs the operator to `ahub tail` before allowing it. Budget checkpoint summaries are also omitted. An ordinary (not live-test) session's snapshot also carries the open questions with their full text, a private one included, for the person's answer form (#1053), and unread results with the detail built when shown (#1054). An explicit review refresh of one task adds its person review comment threads and placement, with PII and private-path comments as counts only (#1056).
643
- - The closed action list includes permission response, peer pause/resume, console message, task proposal/assignment and the settings actions below (set, undo, preview, reload, and the structural edit preview and apply of a settings session). Project-board actions add revision-fenced planning, Backlog pull/return/split/undo and release planning/state changes through Tasks; they do not tag, publish or write GitHub state. These use the existing daemon/task paths and budget pause rules. `start_peer` (issue #269) starts a peer from a closed list in the mode a person set, with a command the hub assembles: the request carries a peer id and nothing else. There is no generic control proxy, task-detail read, shell, file access, free-form configuration edit, budget override, launch of a caller-chosen command or daemon shutdown API.
643
+ - The closed action list includes permission response, peer pause/resume, console message, task proposal/assignment and the settings actions below (set, undo, preview, reload, and the structural edit preview and apply of a settings session). Project-board actions add revision-fenced planning, Backlog pull/return/split/undo and release planning/state changes through Tasks; they do not tag, publish or write GitHub state. Roadmap actions (#1483 R5) add milestone new, edit, link, unlink, move, state, accept and reject through Tasks as the person; each is fenced by the revision the page rendered, refused during recovery or shutdown, and writes no GitHub state. These use the existing daemon/task paths and budget pause rules. `start_peer` (issue #269) starts a peer from a closed list in the mode a person set, with a command the hub assembles: the request carries a peer id and nothing else. There is no generic control proxy, task-detail read, shell, file access, free-form configuration edit, budget override, launch of a caller-chosen command or daemon shutdown API.
644
644
  - The listener stops with the daemon. Expired sessions must be reopened with `ahub ui`; the page does not silently obtain new credentials.
645
645
 
646
646
  ## Dashboard settings and the settings session (issue #269)
@@ -784,16 +784,16 @@ withholds the scoped mode on these writes so an older hook grants nothing too.
784
784
 
785
785
  Agent CLI versions (#691). One policy gates the Codex and Kimi fresh reviewers, the headless Claude implementer, Jcode, agy, Qwen (ACP and the dual-output TUI) and Pi (#843): a receipt-verified version passes, Jcode and agy also start an untested version inside their compatible line with a note, and any other version is refused unless the person trusts that exact version on this machine with `ahub agents trust <id> <version>`. The record is `agent-compat.json` in the hub home (`~/.agenthub`), written atomically with mode 600 and at most 64 entries; an unreadable, linked, oversized or invalid record trusts nothing. Agent shells and `--live-test` may read `ahub agents` but cannot trust or revoke. Trust lifts only the version pin: the fresh reviewers' runtime proofs still run before every child, and an untested version's native contract stays unverified.
786
786
 
787
- Qwen Code's optional production ACP peer requires the qwen-code native identity, a compat-admitted version (receipt-verified 0.25.0, 0.26.0, 0.26.1, 0.26.4, 0.26.5, 0.26.8 and 0.26.9)
787
+ Qwen Code's optional production ACP peer requires the qwen-code native identity, a compat-admitted version (receipt-verified 0.25.0, 0.26.0, 0.26.1, 0.26.4, 0.26.5, 0.26.8, 0.26.9, 0.27.0, 0.27.1 and 0.28.3)
788
788
  and advertised mode ids before setting a policy or starting work. Its own tools
789
789
  have no hub sandbox; auto-edit approves file edits, yolo every tool. Configured
790
790
  never-ask still requires the person's confirmation. qwen_cmd is machine-local and
791
791
  never editable through settings. Legacy benchmark adapters remain unmanaged by
792
792
  this production table. Startup diagnostics withhold native host/payload details.
793
793
 
794
- Jcode is optional, source/version-fenced and runs native tools without a hub sandbox or hub permission-mode mapping. .jcode joins the scoped-grant exclusion, including lexical/resolved aliases. Only a person writes its unique project MCP entry; foreign/override/symlink entries refuse. Its `AGENTHUB_PROJECT_DIR` is compared by real path, so a hub-written entry stays the hub's own after the project directory moves and its old path is left as a symlink; the rest of the entry's shape still must match exactly, and a refusal names the differing field (#1423). The hub owns a private daemon/socket and ACP group, never the global daemon, and copies no credentials. It accepts a plain jcode release from 0.98.0 up to, not including, 1.0.0 (#529; only 0.98.1, 0.99.0 and 0.99.1 are verified, and another version in that line starts with a note), or an exact version the person trusts (#691), and runs every owned jcode process (probe, serve, ACP and TUI) with `JCODE_NO_TELEMETRY=1`, because jcode's telemetry can report the provider account's email. Native diagnostics withhold payloads/hosts. Hub tools are bound to an owned launch (task 368): the shared project entry names no peer, each owned Jcode process carries its own peer id and launch id, the daemon admits a hub-tools connection for a Jcode peer only with the id of that peer's current owned launch, and a tools-mode server started without a peer id refuses every tool. Extra Jcode instances (#685, at most 8) are declared only through `instances` in an untracked `.agenthub/config.local.json`, start headless, and each needs its own `jcode_home`, which may not be the base home or another instance's, nor nested in or around one, however it is spelled. Unproved conversation loads refuse; no fresh replacement is called a restore. A finished task's advisory about the project root checkout names the branch only after the hub's whole public-text screen (`Tasks.publicMetadataText`: a PII pattern, a secret shape and a project-private path) passes it and it is a plain ref name; otherwise a generic sentence carries no part of it (#572). Native TUI launch exposes its private socket/session tuple only to the authenticated console, bound to the same live owned socket and session after read-only native persistence proof. Tools/status do not receive it. The TUI has no single-writer guard: person input may interleave with ACP. Native policy remains unmanaged and closing the frontend does not stop ACP. An `important` message reaches a busy Jcode as a soft interrupt written to the hub's own private server socket for the owned session (#572); the hub never cancels a turn to deliver, and a steer that was sent but not acknowledged, or whose turn ended first, is held as `needs_review`, never replayed. Jcode has no switch to choose its MCP servers, so the owned serve and ACP processes load every server named in `<JCODE_HOME>/mcp.json` and the project's `.jcode/mcp.json`, `.mcp.json` and `.claude/mcp.json`, besides the hub's own; `ahub doctor` lists their names only. Point `jcode_home` at a separate home, or remove a server from those files, to keep it out.
794
+ Jcode is optional, source/version-fenced and runs native tools without a hub sandbox or hub permission-mode mapping. .jcode joins the scoped-grant exclusion, including lexical/resolved aliases. Only a person writes its unique project MCP entry; foreign/override/symlink entries refuse. Its `AGENTHUB_PROJECT_DIR` is compared by real path, so a hub-written entry stays the hub's own after the project directory moves and its old path is left as a symlink; the rest of the entry's shape still must match exactly, and a refusal names the differing field (#1423). The hub owns a private daemon/socket and ACP group, never the global daemon, and copies no credentials. It accepts a plain jcode release from 0.98.0 up to, not including, 1.1.0 (#529; only 0.98.1, 0.99.0, 0.99.1 and 1.0.3 are verified, and another version in that line starts with a note), or an exact version the person trusts (#691), and runs every owned jcode process (probe, serve, ACP and TUI) with `JCODE_NO_TELEMETRY=1`, because jcode's telemetry can report the provider account's email. Native diagnostics withhold payloads/hosts. Hub tools are bound to an owned launch (task 368): the shared project entry names no peer, each owned Jcode process carries its own peer id and launch id, the daemon admits a hub-tools connection for a Jcode peer only with the id of that peer's current owned launch, and a tools-mode server started without a peer id refuses every tool. Extra Jcode instances (#685, at most 8) are declared only through `instances` in an untracked `.agenthub/config.local.json`, start headless, and each needs its own `jcode_home`, which may not be the base home or another instance's, nor nested in or around one, however it is spelled. Unproved conversation loads refuse; no fresh replacement is called a restore. A finished task's advisory about the project root checkout names the branch only after the hub's whole public-text screen (`Tasks.publicMetadataText`: a PII pattern, a secret shape and a project-private path) passes it and it is a plain ref name; otherwise a generic sentence carries no part of it (#572). Native TUI launch exposes its private socket/session tuple only to the authenticated console, bound to the same live owned socket and session after read-only native persistence proof. Tools/status do not receive it. The TUI has no single-writer guard: person input may interleave with ACP. Native policy remains unmanaged and closing the frontend does not stop ACP. An `important` message reaches a busy Jcode as a soft interrupt written to the hub's own private server socket for the owned session (#572); the hub never cancels a turn to deliver, and a steer that was sent but not acknowledged, or whose turn ended first, is held as `needs_review`, never replayed. Jcode has no switch to choose its MCP servers, so the owned serve and ACP processes load every server named in `<JCODE_HOME>/mcp.json` and the project's `.jcode/mcp.json`, `.mcp.json` and `.claude/mcp.json`, besides the hub's own; `ahub doctor` lists their names only. Point `jcode_home` at a separate home, or remove a server from those files, to keep it out. `ahub init` creates a hub-owned home holding only the hub entry, the `jcode_mcp_allow` servers and the hub skills, and never reads or copies the person's login, sessions or history (#1627). `jcode_mcp_allow` changes only what `ahub doctor` accepts, by name, not what jcode loads (#1621).
795
795
 
796
- Antigravity (`agy`, #485) is optional, cloud and off roster by default. The launcher accepts the Antigravity CLI 1.4.x line and exact 1.5.3; only 1.4.2, 1.4.7, 1.4.12 and 1.5.3 have a native receipt ([1.4.7](verification/2026-10-26-agy-1.4.7.md), [1.4.12](verification/2026-11-03-agy-1.4.12-launcher-nonce.md), [1.5.3](verification/2026-11-08-agy-1.5.3.md)), so another 1.4.x patch launches with a warning that it is unverified, and every other version, other 1.5.x included, is refused before a hub connection or plugin write (#589) unless the person trusts that exact version (#691). It runs native tools under its own unmanaged permissions, without a hub sandbox or hub permission-mode mapping; headless, resume, unattended and native permission flags are refused. Its roles are capped at implementer and verifier, so it never plans, reviews or receives PII work. Only the person's `ahub agy` launcher writes its three plugin files in `.agents/plugins/agent-hub/` (`plugin.json`, `mcp_config.json`, `hooks.json`): linked or foreign entries refuse before any write (`AGENTHUB_PROJECT_DIR` and `AGENTHUB_STATE_DIR` in its MCP entry and hook commands are compared by real path, #1423), cleanup removes only that launch's matching files, and it never writes project-level `.agents/hooks.json` or the person's `~/.gemini` settings. Conductor starts are refused, and a declared agy extra instance is refused at config load (#625). Hook authority (`native_hook_launch`) comes only from that launcher, belongs to the console socket that began it and ends when that socket closes; hook input over 1 MiB is refused, and observations are bound to the daemon, launch, native session and project.
796
+ Antigravity (`agy`, #485) is optional, cloud and off roster by default. The launcher accepts the Antigravity CLI 1.4.x line and exact 1.5.3; only 1.4.2, 1.4.7, 1.4.12 and 1.5.3 have a native receipt ([1.4.7](verification/2026-10-26-agy-1.4.7.md), [1.4.12](verification/2026-11-03-agy-1.4.12-launcher-nonce.md), [1.5.3](verification/2026-11-08-agy-1.5.3.md)), so another 1.4.x patch launches with a warning that it is unverified, and every other version, other 1.5.x included, is refused before a hub connection or plugin write (#589) unless the person trusts that exact version (#691). It runs native tools under its own unmanaged permissions, without a hub sandbox or hub permission-mode mapping; headless, resume, unattended and native permission flags are refused. Its roles are capped at implementer and verifier, so it never plans, reviews or receives PII work. Only the person's `ahub agy` launcher writes its three plugin files in `.agents/plugins/agent-hub/` (`plugin.json`, `mcp_config.json`, `hooks.json`): linked or foreign entries refuse before any write (`AGENTHUB_PROJECT_DIR` and `AGENTHUB_STATE_DIR` in its MCP entry and hook commands are compared by real path, #1423), cleanup removes only that launch's matching files, and it never writes project-level `.agents/hooks.json` or the person's `~/.gemini` settings (`ahub setup` writes only the hub's own marker-guarded skill trees under `~/.gemini/config/skills` and in the other hosts' user skill directories, replacing a tree only while its recorded digest matches; modified, foreign and linked trees are left alone, #1622). Conductor starts are refused, and a declared agy extra instance is refused at config load (#625). Hook authority (`native_hook_launch`) comes only from that launcher, belongs to the console socket that began it and ends when that socket closes; hook input over 1 MiB is refused, and observations are bound to the daemon, launch, native session and project.
797
797
 
798
798
  Configured ACP adapters (#451 A3) are declared only by the person, in a Git-confirmed untracked `.agenthub/config.local.json`. The whole declaration (command, argv, identity, roles and mode maps) is machine-local authority: a shared or tracked declaration is ignored with a notice, settings never edit it, and changes need a hub restart. The hub runs only the declared argv, never a module or callback. Argv that selects a leader, attach, connect or remote mode is refused, and a Grok declaration needs `--no-leader`. Each start requires the pinned native identity, an exact `session/load` echo on resume, and positive ownership of the spawned process and its original process group; unknown ownership refuses, and stop signals only that verified group. An agent that hands its work to a process outside that group is outside this boundary. Without a mode map native policy is unmanaged, and there is no hub sandbox either way. Configured kinds are cloud peers (never PII), headless only and off roster by default, and the hub makes no quota, context or controlled-recovery claims for them. A read-only instance needs the native read-only mode acknowledged before a prompt and is limited to read and review hub tools, both in the published MCP list and at the host; its native non-read tool requests are rejected, and no setting or runtime change can raise it. These agents' stderr and error text are withheld from logs, and previews redact the executable, argv and session id.
799
799
 
@@ -959,6 +959,8 @@ Person-directed release authorization (#481 S6, #1063, #1381). `ahub sdlc author
959
959
 
960
960
  Merge adoption and carried spec consent (#1348, #1361). `ahub sdlc adopt-merge <task> --pr <n>` is the person's or the current configured conductor's; another caller is refused, `--live-test` cannot delegate it as the person, and a private task or private turn refuses for every actor before any GitHub read. It reads one bounded GraphQL snapshot and requires the PR merged at the task's last recorded full head with every configured required check green there, no unresolved or unknown review thread, no pending or unknown review request, no change request and no open Important finding. It records `merged outside the hub` under the actual actor and moves the task to `approved`, without inventing a reviewer verdict or reviewed head, running `gh pr merge` or removing a branch or worktree. A superseding task may carry an older cancelled task's person spec consent only for the same canonical repository and issue, named by a whole local `supersededBy` reference, when a fresh host GitHub read proves the same issue `lastEditedAt`; no issue body is read, caller timestamps cannot grant it, unknown or truncated metadata leaves consent absent, and manual acceptance stays person-only.
961
961
 
962
+ Instructed hub commands (#1622). The `/agent-hub:ahub` instruction hook that `ahub setup` installs records only a prompt hash and id, and a pending receipt grants nothing. The daemon confirms it against an unused human record in the session's own transcript (exact path under the setup-managed home, no symlink, single link, probed Claude versions), and the session must be the daemon's recorded session of a live private `ahub claude` launch. Stop, 10 minutes, one exact operation or ten intent operations close the receipt. `instructed.mode` (off, exact, intent) is a person witness kept in `hub.db`; only the person's terminal `ahub settings set instructed.mode` changes it, while dashboards, settings sessions, agents and committed config cannot, and `config.local.json` holds a display copy. The tools request carries only the session id, plus the agent-chosen argv in intent mode. The daemon parses it without a shell and runs its own installed CLI, refused when inside a project or peer write root or any git checkout, as a child over an inherited Bun IPC channel, never a network socket; that child connects only as a console bound to the receipt, rechecked before each effect. Exact mode admits only classified forms. Intent mode admits listed reversible forms, plus person verdicts whose literal id is in the prompt; verdicts have no undo. Spending (except the listed task spending settings in exact mode), permission, trust, execution paths, deletion, release and merge, identity, cross-project handoff, file-backed config, PII tasks and private turns stay closed. Only person-typed text is declassified after screening. History and `agent_cli` record `instructed`, the peer and the receipt, never the prompt. A same-user process that forges a transcript record or changes the session environment is outside this boundary.
963
+
962
964
  Instructed SDLC configuration (#1432). `ahub sdlc configure [--mode off|advise] [--required-checks <names>]` is the person's, or the uniquely configured conductor's when the person directly instructed it in its own session; a hub message, task text, review, file or relay is never that instruction, and the daemon cannot verify the conversation (a cooperative claim, as for release consent). The conductor path refuses a child `toolsOwner`, a private or PII context, observer input, recovery and shutdown, and `--live-test` cannot delegate it. It stages only `off`/`advise` and check names for the next start: `ahub init`, `enforce` (or a running or saved `enforce`), `[security]`, `eval_check`, `config_paths` and custom stages stay with the person's settings editor, and it authorizes no merge, tag, release or publication. A retained `sdlc_config_instruction` intent precedes the write and a `config_edit` result audit with the actual actor follows it, both without values; an intent that cannot be retained writes nothing.
963
965
 
964
966
  Security findings, the security pass and the audit ledger (#1403 T1, A2, A4, A5; lifecycle `advise` or `enforce` only). An open `important` finding with `pass: "security"` must carry the `principal`/`control`/`resource`/`result` boundary; the hub opens no GitHub issue for a security finding, and a follow-up card names the task, finding id and pass, never the boundary text or path. `[security] paths` in `.agenthub/sdlc.toml` makes a PR whose complete file inventory matches need a recorded `security_pass` bound to the reviewed head; an incomplete inventory is `unknown`, never `not_required`, and `enforce` refuses the approval and blocks the merge gate for both. Readbacks carry a count of matching paths, never their names. `ahub sdlc audit start|show` is admitted by the daemon for the person or the configured conductor; only the hub writes the ledger, the assigned auditor reports through `hub_audit_report` (refused in a private or PII turn, finding text screened like a verdict note, never captured to memory), and a confirmed important finding stays a candidate until a different reviewer-role peer or the person verifies it, then is settled `fixed` or `false_positive` in a separate call by someone other than the finder. Until settled, an open or accepted important security finding shows only its id, status and that its details are withheld in every view but the person's, and the hub sends no peer message with its path, rationale or boundary. A headless auditor's final answer is still shared automatically, so keeping that text out of it is the brief's instruction, not something the hub enforces.
package/docs/smoke.md CHANGED
@@ -1775,7 +1775,7 @@ the native version and observed outcome here. No hub-driven Qwen TUI is offered.
1775
1775
 
1776
1776
  Qwen recovery source/fake proof: saved ids pass through the driver and CLI to ACP session/load, and the crash loader restores the recorded id/model. Actual native/provider recovery remains unverified.
1777
1777
 
1778
- ## Jcode peer, 0.98.0 to 1.0.0 (#332, #529)
1778
+ ## Jcode peer, 0.98.0 to 1.1.0 (#332, #529)
1779
1779
 
1780
1780
  Source/fixture proof is recorded in verification/2026-10-11-jcode-peer-contract.md; the live owned-daemon and ACP handshake on 0.94.0 and 0.98.1 in verification/2026-10-19-jcode-0.98.1.md. Unverified: real provider/model, native project MCP discovery and hub-tool receipt, native tool policy and stop/child teardown. Native automatic restoration is withheld because the pinned ACP load does not prove the id. No benchmark comparison or default replacement ran.
1781
1781
 
@@ -48,6 +48,34 @@ A key is labelled by a rule only when the rule is a pure function of its name, k
48
48
 
49
49
  R1x is the conductor's ruling on the review of PR #1212, not a calibrated rule: the committed file had no decided key of that kind (its decided `*GRACE_MS` keys are process-kill grace periods and `RATE_LIMIT_MS` throttles a log line, all operational), so its agreement is not measured. It labels four baseline keys: `tool-request.ts` `MAX_FUTURE_MS` (the replay window of request ids), `broker/store.ts` and `rooms/store.ts` `GRACE_MS` (how long a rotated epoch's frames stay accepted, which bounds how long a revoked member's key still works) and `schedules.ts` `MIN_EVERY_MS` (the floor that stops a schedule triggering an agent turn more often than every 15 minutes, a spend guard).
50
50
 
51
+ Rulings of hub task 1072 (the conductor, 2026-11-22), per key, not calibrated:
52
+
53
+ - `claude-profile-hook.ts` `timeout=5`: operational, native hook deadline.
54
+ - `scripts/probes/claude-instruction-hook.py` `sleep=0.1#2`: operational, probe polling latency under R2.
55
+ - `instruction-hook.ts` `MAX_HOOK_BYTES`: safety floor, bounds raw input.
56
+ - `main.ts` instruction-hook `size > 1024 * 1024`: safety floor, bounds raw input.
57
+ - `claude-launch-proof.ts` `launcherSignature.length <= 256`: safety floor, bounds input from another process's file.
58
+ - `instruction-receipt.ts` `MAX_PROMPT_BYTES`: safety floor, bounds raw input.
59
+ - `instruction-receipt.ts` `path.length > 4096`: safety floor, bounds raw input.
60
+ - `instruction-receipt.ts` `MAX_TRANSCRIPT_TAIL`: safety floor, bounds input from another process's file.
61
+ - `instruction-receipt.ts` `MAX_AGE_MS`: safety floor, bounds replay.
62
+ - `instruction-receipt.ts` `MAX_OPERATIONS`: safety floor, bounds authority.
63
+ - `instruction-receipt.ts` `MAX_RECEIPTS`: safety floor, bounds rows per external hook event.
64
+
65
+ Rulings of hub task 1078 (the conductor, 2026-11-23), per key, not calibrated:
66
+
67
+ - `INSTRUCTION_CHILD_TIMEOUT_MS`: operational, the existing child deadline moved to an export.
68
+ - `INSTRUCTION_CONTROL_TIMEOUT_MS`: operational, the derived control-call deadline with transport slack.
69
+
70
+ Rulings of hub task 1065 (the conductor, 2026-11-22), per key, not calibrated:
71
+
72
+ - `daemon.ts` `drain` `64 * 1024`: safety floor, caps external process output.
73
+ - `daemon.ts` `setTimeout=30_000`: operational, subprocess deadline under R2.
74
+ - `instructed-exact.ts` `tail.length >= 2`: contract, mirrors the `settings set` argument count.
75
+ - `instructed-exact.ts` `tail.length <= 3`: contract, mirrors the `settings set` argument count.
76
+
77
+
78
+
51
79
  R4 (a `maxTokens` or `contextWindow` default, 97%) and R7 (a length bound in `src/adapters`, `src/models`, `src/local`, 91%) agree with the file, but no baseline key was labelled by R4, and R7's five baseline keys have no exact agreeing precedent, so they stay in the baseline. Taken together the rules agree with 303 of the 311 decided keys they cover (97.4%) and with 97% and 98% on the two halves of a by-file hold-out (files split by a hash of their path), which is the same data seen differently, not an independent reader.
52
80
 
53
81
  Not labelled, on purpose: every length bound and truncation in `src/hub`, `src/cli`, `src/ui`, `src/rooms` and `src/broker`; `Math.min`/`Math.max` clamps of a timeout; default-parameter timeouts (`timeoutMs = 2000`); `MAX_*` and `*_BYTES` constants; unit conversions. #739 settles their convention first and then relabels the inconsistent existing entries by name.
@@ -0,0 +1,27 @@
1
+ # agy 1.5.14 verification attempt (2026-11-22)
2
+
3
+ Hub task 1055, refs #888. **Result: 1.5.14 stays unverified.** One leg shows a changed contract, so `src/adapters/compat.ts` is not touched.
4
+
5
+ Binary: `agy` 1.5.14, sha256 `e8c2959bf4744580d0e5b8f938ec2dc3918a942b620a6262e53856400f14e5fb`, 229152672 bytes. The task801 producers ran from an unedited copy (the controller `run-probe.py` plus the producers below) under the harness's isolated HOME, XDG, TMPDIR, hub and state roots, never the live hub or the real home. The producers import the source tree pinned at `01b87a7c`, which was recreated as a detached worktree.
6
+
7
+ | Producer | SHA-256 |
8
+ | --- | --- |
9
+ | run-probe.py | `16c6f4b1026250685097089f31c4b2d450d91589fa78dfa6c5f9b5c260efb5e5` |
10
+ | cli-surface.ts | `9345f1a66d14f9cd2d849681eccbfa16edd3fc412767a279913e152bccc4b6d8` |
11
+ | native-hooks.ts | `8e60b161e01e1ec06063c56a5ab710135624f0deb2cf65297baa54c4c418c2e2` |
12
+ | tmux-helper-control.ts | `a13c7a4b1702be7f667857eee0fd9f805c16441fd0f0b9e44ce1b7d962c76373` |
13
+ | launcher-nonce.ts | `55ff4db3462ad185dde17cc31ef971422e022f5ec8ce2940e4045501964c1ac1` |
14
+
15
+ | Leg | Result | Cause |
16
+ | --- | --- | --- |
17
+ | CLI surface | pass | same 3319-byte help, 10 flags, `--acp` and `--new` exit 2, same 12 subcommands, `mcp list` empty |
18
+ | Helper (tmux) | pass | normal exit, closed marker, cleanup confirmed, no agy started |
19
+ | Hooks and plugin MCP | **fail: contract changed** | see below |
20
+ | Launcher nonce | not run: harness | see below |
21
+ | Desktop TUI | person-run, not attempted | needs a person at the desktop: `bun scripts/smoke-acp.ts` is not it, run the task801 `tui` leg by hand in an owned Mac slot |
22
+
23
+ **Hooks leg.** The producer pins `--version` to `1.5.3` and 15 provider tool declarations. A scratch copy (version fence made a parameter, diagnostics added, nothing committed) showed the version fence was the only harness issue. With it relaxed, every hook requirement passed (six hook phases, shared and tool hook fields, two exact MCP calls, native read shape, Stop idle, loopback only, cleanup confirmed, real config unchanged) except `providerFifteenDeclarations`: 1.5.14 declares **17** functions in each of the four provider requests, the 15 known ones plus `run_workflow` and `swarm`. The new tools are a changed provider contract, so it needs a reviewed decision (and an updated expected list) before 1.5.14 can be admitted.
24
+
25
+ **Launcher-nonce leg.** It reads four original producers from `/tmp/agent-hub-681/` and `/tmp/agent-hub-684/`, which no longer exist, so it stops before touching agy (`original_producer_changed` guard, ENOENT). This is the environment, not agy. It needs those four originals restored by their recorded hashes (see `originals.json` beside the producers) before it can run.
26
+
27
+ The two fixture roots the failed harness runs retained (`ahub-801-controller-*`) were read and removed. A person-run next step: after deciding on `run_workflow` and `swarm`, rerun the hooks leg with the version fence parameterized and restore the launcher originals.
@@ -0,0 +1,35 @@
1
+ # Claude instruction hook probe
2
+
3
+ Hub task 1067, issue #1622 AC3. **Result: the typed, Skill, subagent and compaction cases passed on both versions.** The channel case was not driven: the clients reported that channels were unavailable. The hub-owned channel escapes a leading slash in each notification body by construction. Another plugin channel needs its own `--channels` opt-in, which hub-launched sessions do not pass; that remains a separate boundary.
4
+
5
+ The rerunnable harness is `scripts/probes/claude-instruction-hook.py`. It runs each supplied Claude binary under a new isolated HOME and Claude config, an empty project, a private tmux server and a synthetic loopback API. It uses no account or real model. The native API-key prompt was answered for the synthetic key. A private fake MCP server emitted the channel notification. The harness exits nonzero if a required driven case fails or cannot be driven; the unavailable channel leg is covered by the construction guard below.
6
+
7
+ | Claude Code | Typed TUI | Skill tool | Subagent | `/compact` | Channel |
8
+ |---|---|---|---|---|---|
9
+ | 2.1.328 | Pass | Pass | Pass | Pass | Not driven; hub content guarded |
10
+ | 2.1.329 | Pass | Pass | Pass | Pass | Not driven; hub content guarded |
11
+
12
+ - The typed TUI case delivered `/agent-hub:ahub show status` and a session ID to `UserPromptSubmit` on each version. At hook entry and after a two-second wait inside the hook, the transcript contained zero records for both fresh sessions. Claude has no binding in `NativeHookLaunches`, which currently requires an adapter facts hook. The existing synchronous hook therefore cannot prove the newest genuine user transcript record at entry. The receipt store is deferred to a separate design; an agent deliberately rewriting its own transcript remains outside this proof.
13
+ - The synthetic model's Skill request was refused by `disable-model-invocation`; no new prefixed hook input appeared. A synthetic model launched a subagent with a prefixed prompt, and the child was observed without a prefixed hook input.
14
+ - The TUI ran `/compact`; a further API request and compaction screen were observed, with no second prefixed hook input at the check. This does not prove behavior after unobserved later replay.
15
+ - The fake MCP channel wrote a prefixed notification, but both native clients reported `Channels are not currently available` and ignored `server:probe`. The synthetic model request did not contain the notification. The test cannot say what the hook would receive after an actual channel delivery; the hub-owned channel guard is tested separately.
16
+
17
+ Run from this repository with explicit absolute binary paths:
18
+
19
+ ```sh
20
+ python3 scripts/probes/claude-instruction-hook.py /absolute/path/to/claude-2.1.328 /absolute/path/to/claude-2.1.329
21
+ ```
22
+
23
+ The paths above are probe arguments, not person-run repair instructions. When an isolated account-backed run is available, rerun the channel leg. The construction guard covers the hub channel until then. The prior print-mode observations from hub task 1064 are superseded by the TUI cases above.
24
+
25
+ ## Deferred confirmation observations
26
+
27
+ On both versions, the hook's `prompt_id` matched the corresponding command record's `promptId`. The command record had `origin.kind: human`, `isSidechain: false` and no `promptSource`; the skill expansion was a separate meta record. A plain pasted text lookalike on 2.1.329 retained the same command-shaped content but had `promptSource: typed`. At `/compact`, each version wrote a summary record without a human origin. These observations support fail-closed checks, not authentication against a same-user process that edits the transcript.
28
+
29
+ Claude recorded `/agent-hub:ahub show status` as command name `/agent-hub:ahub` and args `show status`: the separator whitespace was not retained while internal whitespace was. The comparison therefore hashes the command and trimmed args, keeps internal bytes, and refuses args containing `<`, `>` or `&` until their encoding is separately proven.
30
+
31
+ In an earlier exploratory version-binding probe, the isolated hook's `CLAUDE_PID` identified the native ancestor. A symlink-launched 2.1.329 process retained a mapped executable pointing at its versioned binary; resolving the launch symlink after replacing it could no longer establish that match, so version admission returned unknown. The implementation no longer uses that probe: confirmation checks the matched transcript record's version.
32
+
33
+ An isolated native 2.1.329 TUI was then run against a scratch daemon and the setup-generated hooks, with a synthetic loopback API. A typed command produced one pending row with the expected canonical hash; the native Stop hook closed it. No real account or project was used. This is a pending/Stop integration check, not evidence that an instructed operation was admitted.
34
+
35
+ For hub task 1072 review, a second isolated 2.1.329 TUI used the setup-installed prompt hook and a scratch daemon with a synthetic loopback API. The hook-created pending row had `created=1795335021968` ms; its matching human command record had timestamp `2026-11-22T08:10:21.981Z`, 13 ms later. A test-managed live launcher proof and session facts were installed for that session, and the daemon's captured `instructionReceiptStore` confirmed the actual record with the expected arguments. The scratch setup omitted its Stop hook to keep the receipt pending until the confirmation check. This proves the record and confirmation path for this isolated run; the launcher proof was a fixture, not a real `ahub claude` launch.
@@ -0,0 +1,9 @@
1
+ # Exact instruction IPC verification
2
+
3
+ Date: 2026-11-22. Refs #1622, hub task 1065.
4
+
5
+ - On macOS and Linux with Bun 1.4.4, `Bun.spawn` with JSON IPC completed a child hello, parent welcome, child request and parent reply, and the child exited 0. The first Linux probe incorrectly assumed exactly one socket and returned failure after observing two. The corrected probe required every observed child socket to refuse reopening; it exited 0 and both returned ENXIO.
6
+ - In the Linux container, Yama `ptrace_scope` was 1 and seccomp mode was 2. A same-user sibling could read a token from a child's environment and open another child's inherited ordinary pipe. It could not reopen the IPC socket through `/proc/<pid>/fd`; a `pidfd_getfd` attempt was denied with EPERM. Node's spawned fd was reported as a Unix socket on macOS. These observations do not establish the same restriction under other host policies.
7
+ - A same-user process able to debug a child, duplicate its socket, rewrite its managed transcript, or modify the installed hub package is outside this boundary.
8
+ - Claude Code 2.1.329, in a temporary home with a synthetic loopback API and no account, ran a model-requested Bash tool in headless mode. The hook supplied a session id and the Bash tool inherited the same session id. This is an environment-binding probe, not a real-account or interactive TUI receipt.
9
+ - The committed `test/instructed-tier.test.ts` exercises the IPC hello and request exchange, forbids a child WebSocket, and runs a real CLI from a copied installed fixture against a scratch daemon. It also tests receipt reuse, mode, PII, Stop, output cap and audit provenance. It does not prove a real-account run.
@@ -0,0 +1,71 @@
1
+ # Jcode 1.0.3 receipt (#888)
2
+
3
+ Date: 2026-11-22. Refs #888. Installed release build, read through `--quiet version --json`: `semver` 1.0.3, `version` `v1.0.3 (a0ae514c4)`, from [1jehuang/jcode](https://github.com/1jehuang/jcode) tag v1.0.3. Host macOS arm64, Bun 1.4.4.
4
+
5
+ This repeats the ACP, serve and MCP contract legs of [the 0.99.1 receipt](2026-10-26-jcode-0.99.1.md) and its steering leg, and adds a delivery leg: one hub envelope reaching a jcode session and being acknowledged. Every leg passed, so 1.0.3 is added to jcode `verified` in `src/adapters/compat.ts` in the same change, and the compatible line is widened to cover the 1.0.x line.
6
+
7
+ ## Isolation
8
+
9
+ - Every process ran under an isolated `HOME` and `JCODE_HOME` (fresh directories under `/tmp/ahub-jc103`, an empty `mcp.json`, no credentials, no account), with `JCODE_NO_TELEMETRY=1` and `JCODE_DISABLE_CLAUDE_MCP=1` as the adapter sets them. The real `~/.jcode` was never the home.
10
+ - The hub home was isolated with `AGENTHUB_HOME` (a scratch directory), because `hubHome()` reads that variable or `homedir()` (`src/hub/project.ts:89-91`). The delivery leg's trust record was written there; the person's real `~/.agenthub/agent-compat.json` was hashed before and after the leg and is unchanged. That held for the run recorded here, not for the first delivery run, which wrote the real hub home; see the incident below. The recorded run asserts `hubHome()` resolves under the scratch root before it writes anything, and writes the record through the policy's own `writeTrust`.
11
+ - SHA-256 of the four real config files that sit directly in `~/.jcode` (`auth.json`, `auth-refresh-state.json`, `config.toml` and `mcp.json`) was taken before the first leg and compared after the last: unchanged.
12
+ - The probes built every argv with the adapter's own `jcodeCommand` and spawned `serve` with `JCODE_SOCKET` and `JCODE_READY_FD=3` the way `JcodePeer` does. After each run `pgrep` found no process whose command line named the sandbox.
13
+
14
+ ## Incident during verification
15
+
16
+ The first delivery run set only `HOME` to a scratch directory, then wrote the trust record with plain `fs` at `trustFile()`. `hubHome()` reads `AGENTHUB_HOME` or `homedir()`, and `homedir()` did not follow the mutated `HOME` in that process, so the path resolved to the person's `~/.agenthub/agent-compat.json` and replaced it with one row (`jcode` 1.0.3). The delivery result itself stands: the acknowledgement was measured from the peer, not from where the record lived.
17
+
18
+ - Overwritten: the whole file, by a single-record write. It is rewritten whole (atomic rename) and the hub keeps no copy, and this Mac had no `tmutil` snapshot, so the previous bytes could not be read back.
19
+ - Rebuilt: `schemaVersion` 1 with the two `jcode` rows the project's own hub log named as in use before the incident (`jcode` 1.0.1, 19 log lines; `jcode` 1.0.3, 2), written mode `600`. The log also named `pi` 1.5.2 (6 lines); that row was not restored, because `1.5.2` is in `COMPAT.pi.verified`, so no version gate read a trust record for it.
20
+ - The two `at` values are reconstructed, not recovered: `1795311008023` and `1795350081023` are the timestamps of those hub log lines, so they are as accurate as the log line and are not the original write times.
21
+ - Not touched: the real `~/.jcode`, whose four config hashes are equal before and after every leg. What the probe wrote there was checked against its mtime as well: `mcp.json` last changed before this task started.
22
+ - After the restore the run was repeated with the guard above, and the guard was shown to bite: the same probe with the `AGENTHUB_HOME` line removed stops at `refusing to run: hubHome() is outside the scratch dir` naming the person's own `~/.agenthub` before it writes, and the real record's hash is unchanged (`5c7a9fbc...`).
23
+
24
+ ## Contract legs (idle server, no model)
25
+
26
+ - **serve** with the adapter's socket name `j.sock`: ready on the private socket in 96 to 97 ms across three runs. It leaves `j-debug.sock`, `j.sock.hash`, `j.sock.server.json` and `j.sock.daemon.lock` beside it, and the server info file carries the same ten keys as on 0.99.1 (`argv`, `debug_socket_path`, `idle_timeout_secs`, `owner_pid`, `pid`, `ppid`, `schema_version`, `scope`, `socket_path`, `started_at`), with `scope` `temporary` and `idle_timeout_secs` 1800. The process exits 0 on SIGTERM and its process group is gone afterwards.
27
+ - **ACP** (`acp --mcp-tools eager` against the same private server):
28
+ - `initialize`: `protocolVersion` 1, `agentInfo` `{ name: "jcode", title: "Jcode", version: "1.0.3" }`, `authMethods: []`.
29
+ - `agentCapabilities`: `loadSession` true, `mcpCapabilities` `{ http: false, sse: false }`, `promptCapabilities` `{ audio: false, embeddedContext: true, image: true }`, and `sessionCapabilities` `{ close: {}, resume: {} }`. `loadSession` is the field the adapter's recovery gate reads (`src/adapters/acp.ts:415`); `sessionCapabilities` is new at 1.0.3 and additive.
30
+ - `session/new` returns `configOptions`, `models` and `sessionId`.
31
+ - `session/load` returns `configOptions` and `models` only, with no `sessionId`. The restored identity stays unproven, so `requireLoadSessionEcho` and the withheld automatic recovery are unchanged.
32
+ - `session/set_mode` and `session/request_permission` are still `Unsupported ACP method` (JSON-RPC -32601), as on 0.98.1 and 0.99.1.
33
+ - **MCP**: a project `.jcode/mcp.json` entry that names no peer was started by the eager ACP child, and its environment held exactly `AGENTHUB_PEER_ID` and `AGENTHUB_LAUNCH_ID` from the owned process environment (values set on the `acp` child by the probe), next to the entry's own `AGENTHUB_MODE`, `AGENTHUB_DELIVERY_ONLY`, `AGENTHUB_STATE_DIR` and `AGENTHUB_PROJECT_DIR`.
34
+ - **Telemetry**: with the adapter's `JCODE_NO_TELEMETRY=1` the serve, ACP, MCP and provider-configuration legs created no telemetry file at all. The steering leg, which runs a model turn, created `telemetry_id` (a UUID) and `telemetry_id.lock`, and did not create `telemetry_usage_outbox`, `telemetry_milestone_first_run_*` or `telemetry_version_sent`; the delivery leg created none of the five. A control `serve` without the variable created all five, `telemetry_usage_outbox` among them. 1.0.3 also writes a native diagnostic log at `<JCODE_HOME>/logs/jcode-<date>.log`; the 0.99.1 receipt's telemetry bullet covered the no-model legs only, so the id file on a model turn is new information rather than a change.
35
+
36
+ ## Steering leg (a running turn)
37
+
38
+ The 0.99.0 check was established on an idle session; this receipt exercises it on a running turn, still with no account: the isolated home holds one `openai-compatible` profile `fakegw` (written by `jcode provider add` into the isolated `config.toml`, `auth = "none"`) pointing at a local server on `127.0.0.1:18999` that streams a slow, fixed reply and records each request it receives. No real provider, key or model was involved.
39
+
40
+ - `serve` and `acp` were started with the adapter's argv carrying `--model fake-model --provider-profile fakegw`, a session was created and `session/prompt` started a turn.
41
+ - While that turn streamed, a second client on the private socket ran the same steps as `nativeSteer`: `ping` listed `soft_interrupt_ids` in `capabilities`, `subscribe` with `target_session_id` joined the same session (no new session), `state` reported `is_processing: true`, and `soft_interrupt` with `urgent: false` was acknowledged.
42
+ - The prompt then ended with `end_turn`, not `cancelled`. The local server saw two requests. The first held only the original prompt. The second held the original prompt, the assistant text streamed so far and the steer text as a new user message, so the steer was injected at the end of the running response and the turn was not cancelled, as the adapter's comment on `nativeSteer` states.
43
+ - The idle variant reported `is_processing: false` and the probe stopped there, which is the state `nativeSteer` refuses with "the session has no running turn" without sending anything.
44
+
45
+ ## Delivery leg (new)
46
+
47
+ jcode went offline after its 1.0.1 upgrade, so the delivery path had no recent evidence. This leg drives it through the production peer with no live hub daemon:
48
+
49
+ - One envelope was published by a bare `Bus` to the production `JcodePeer` (`newEnvelope("user", …, { to: ["jcode"] })`), with the fake gateway as the model.
50
+ - The peer reached `idle` in 107 to 109 ms. The published envelope's id then appeared in `bus.lastDeliveredTo("jcode")`, the provider request carried the delivered text verbatim, `session/prompt` returned `end_turn`, and the peer published its answer as jcode's own envelope (`"Acknowledged: hub delivery reached the jcode session."`). On `stop` the peer went to `offline` with its owned server and ACP child gone.
51
+ - 1.0.3 is admitted by the current policy only through a person's local trust record (`assessVersion` → `trusted`), which this leg wrote under the isolated `AGENTHUB_HOME`. The same change that records this receipt turns that into `verified`.
52
+
53
+ ## Source comparison v0.99.1..v1.0.3
54
+
55
+ 1,648 commits; 1,883 of the 3,312 paths in the v1.0.3 tree differ from v0.99.1, read only through the GitHub trees and compare APIs (nothing built). The whole protocol crate is 16 files, 8 of them source: five changed and two are new (`protocol_memory.rs`, `screen.rs`).
56
+
57
+ - **ACP**: the method dispatch set is the same eleven names at both tags (`initialize`, `session/new`, `session/load`, `session/prompt`, `session/cancel`, `session/close`, `session/resume`, `session/set_config_option`, `session/set_model`, `session/set_reasoning_effort`, `session/update`). `src/cli/acp.rs` is +250/-522 because validation and prompt-content handling moved into two modules that did not exist at 0.99.1 (`src/cli/acp_parameter_validation.rs`, `src/cli/acp_prompt_content.rs`); `validate_acp_mcp_servers` is written the same way in its new home, so an empty or a non-empty `mcpServers` array is still tolerated. Of the 522 removed lines, six match an ACP identifier and all six are those moved blocks.
58
+ - **Protocol**: `crates/jcode-protocol/src/{wire.rs, wire/events.rs, comm_format.rs, lib.rs, notifications.rs}` are +348/-17. None of the 17 removed lines removes a request, field, capability or message: they are doc comments, one `#[derive]` attribute, a re-export line that was widened, and two small formatting/constructor edits. The socket message set (`ping`, `pong`, `subscribe`, `session`, `state`, `soft_interrupt`, `ack`, `error`) is identical at both tags.
59
+ - **MCP**: `crates/jcode-app-core/src/tool/mcp.rs` is +2/-2; both removed lines are in remote MCP management (the transport `enum` schema and a `manager.connect` call), not the eager stdio child the hub uses, which the MCP leg above starts.
60
+ - Read: those six ACP and protocol files and `tool/mcp.rs`. Not read: the other ~1,870 changed paths; the 1.0.x release is mostly native work behind the same contract (provider, auth, TUI, sandbox).
61
+
62
+ ## Not verified
63
+
64
+ - A real account, provider or model, and a model turn that calls a hub tool through the project MCP entry, as in every earlier jcode receipt. The steering and delivery legs prove delivery to the provider request, not how a real model reacts to it.
65
+ - The TUI form (`jcode --resume`), covered separately for 0.98.1 in [the TUI receipt](2026-10-20-jcode-tui-0.98.1.md), was not repeated.
66
+ - A second instance running beside the base peer, and Linux or Intel macOS builds.
67
+ - The source comparison covers the ACP, protocol and MCP definition files named above, not the rest of the release.
68
+
69
+ ## Decision
70
+
71
+ Every leg passed and no request, field, capability or socket message the adapter uses was removed or renamed, so `1.0.3` joins `verified`, and the compatible line moves from "0.98.0 up to 1.0.0" to "0.98.0 up to 1.1.0" so that the 1.0.x line is trusted as well. A failed leg, or a removed contract member, would have meant 1.0.3 exact and no line change, as the task requires.
@@ -0,0 +1,14 @@
1
+ # jcode with a separate JCODE_HOME (2026-11-22)
2
+
3
+ Probe for #1627 (hub task 1073). jcode 1.0.3, run with an isolated `HOME` and a fresh `JCODE_HOME` under a scratch directory. The real `~/.jcode` was never read or written.
4
+
5
+ | Question | Result |
6
+ | --- | --- |
7
+ | Does a fresh `JCODE_HOME` work with only an `mcp.json` of the form `{"servers": {...}}`? | Yes: jcode read the server list from it. |
8
+ | Is the login shared with another home? | No. `jcode login` and `jcode auth` exist and a second home needs its own login. |
9
+ | What does init therefore write? | `mcp.json` (mode 0600) and `skills/`, no `auth.json`. It prints `JCODE_HOME='<home>' jcode login` as the person's step. |
10
+
11
+ | Does a turn need more than the login? | For a person who configured a provider, yes: the default provider and model sit in the person's own `config.toml` (`[provider]`, `[providers.*]`), which init does not copy (it also holds keybindings and hooks). The person step names it: set them in the new home's `config.toml`, or use `--provider-profile`. Observed by section names only on this machine's own config. |
12
+ | When does init switch `jcode_home`? | Not on creation: a new home has no login and switching would break a working jcode. A rerun of `ahub init` writes `jcode_home` once `<home>/auth.json` exists and the project still points at the person's own home. |
13
+
14
+ Run it yourself: `JCODE_HOME=<home> jcode auth` (any scratch home).
@@ -0,0 +1,28 @@
1
+ # Qwen Code 0.28.3 and 0.27.1 ACP receipt
2
+
3
+ Date: 2026-11-22. macOS arm64, Bun 1.4.4, Node 26.13.0. Refs #888, hub task 1025. This repeats the account-free native ACP and permission procedure in the [0.27.0 receipt](2026-11-09-qwen-0270-acp.md). Both 0.28.3 and the 0.27.1 control passed the required basic ACP legs. These results do not qualify the separate dual-output contract or model setter.
4
+
5
+ ## Private artifacts and protection
6
+
7
+ A normal npm install for each exact version ran in its own private prefix and HOME, with empty npm configuration and a private cache. A Seatbelt profile denied the actual home and global writes; positive execution, actual-config read denial and installed-runtime write denial controls passed. Each install reported owned stop and an unchanged protected before/after snapshot. The lockfile integrity matched the official exact-version npm metadata:
8
+
9
+ - 0.28.3: `sha512-bwUKlHuTeNivzGSbSp+vC9htRtsrLPYzikrAlnex391CLBHr8uvUOq+t1Nh1IO8NgjBr3rmpSNnnF5gLTHdJlg==`; npm gitHead `99fcf89892f1a3a8027c75468546c7e7be906245`.
10
+ - 0.27.1: `sha512-6LmUwR8VsgsWBgyZv0ltVJjVhob/0bGiwGFmfHd+QbheaIQQ/SLF6sXD+s9EfbCXBd91SUTr0iYLPS3iEJvNnw==`; npm gitHead `c2eccf7459c8d6d4b2a5df3733d2f3833153763b`.
11
+
12
+ The initial installer preflight used the older 0.27.0 selector snapshot and refused with `global-selector-coverage-refused` before starting the install. The 0.27.1 receipt's revised snapshot matched the current protected selector and all seven coverage checks; it was used without changing the exclusion rules. The new baseline contained 8,176 entries and stayed unchanged through both installs, both native phases and both lifecycle replays. Neither the installed Qwen nor its live sessions were changed.
13
+
14
+ After rebase onto the release, an ACP recheck stopped before its first native command because the protected snapshot differed. The Qwen scope count rose from 4,523 to 4,608; the other protected scopes were unchanged. A bounded mtime check found 41 newer files, 40 under already excluded runtime directories and one elsewhere. The active Qwen peer was running a turn, a likely source, but the change is unattributed and protected content is not claimed unchanged across epochs. The counted Qwen entries are within the existing protected walk, and all seven selector checks passed again. A fresh complete baseline contained 8,261 entries and digest `dfc4548ce08c41705539052882b5ebad07e96538609dbb9530e72871275d74ad`; no exclusion, selector or sandbox was relaxed. Both versions then passed their ACP, permission and network checks again against the rebased source head `f73a4e697d4426d5ef08c3bd52780117084eaa1b`, with that baseline unchanged within each run. The candidate and control recheck records hash to `f533ab0007b925247c2636496bfec0da1fed4c5750a0e236bac843ef21c819c2` and `5b0972cac2b8b64d1408334770537f849442a2a04e4fd809d5616c6e23bd9b48`.
15
+
16
+ ## Native ACP and permission
17
+
18
+ For each version, the promoted producer ran before and after the optional lifecycle replay, with a fresh private HOME and project. The environment used synthetic auth and a fixture model; Seatbelt denied native network access and the Node preload supplied a separate network-denial control. No prompt, account or model request was sent.
19
+
20
+ Each of the four runs established the exact `qwen-code` identity and version, protocol 1, terminal OpenAI auth, a session and fixture model, and the acknowledged `default -> auto-edit -> yolo -> default` mode sequence. Six network attempts were blocked per run, the positive guard passed and each native group was gone with leader exit -15. The actual published permission handler passed its two synthetic requests, exact options, allow-once callback, cancellation and rejection of an unoffered option. Every bounded helper exited 0 with owned stop confirmed, no observed survivor, and unchanged private artifact, producer and policy fingerprints.
21
+
22
+ The optional audio-capture install script has the same reviewed SHA-256 as the earlier receipt, `bf91a3db08fdaf1622a0fa938f1f0e29cef712586ca13c2b0ac2422dd3f916fd`. Its isolated no-network replay exited 0 for both versions with unchanged protected fingerprints and owned stop; both native and permission legs passed again afterwards. The generic producer continues to label that lifecycle leg `source-review-required`; the separate replay is its evidence here. Microphone behavior was not tested.
23
+
24
+ ## Evidence and limits
25
+
26
+ The candidate's package metadata, CLI entry and ACP chunk SHA-256 values were respectively `180cd16f6b3f764fc947f4f445cb084e724e97fb7982ec4b35dd8ccd07b9ae3e`, `113efe4104a9fc66f507d34bfd6abbd896ceb77de47f4b468a0825a327fdc6a5` and `42faa7dda808914ecbee13310482415ac8c454a81185d976107c8845de78b3f2`. The corresponding control values were `cc7638b64fa4767fdae71744000b8d3205d5753fbb4b47f3e1bc6da80de973b5`, `113efe4104a9fc66f507d34bfd6abbd896ceb77de47f4b468a0825a327fdc6a5` and `0feded00fbc5515c4f20ed46c2a896cabf9335e5dcdafb70ca5884959360c893`. The candidate and control pre-lifecycle collector results hash to `b29efc52eba1f32c70a66ba5e91e35a98736cf76ea585056823ca6d065ff9dd0` and `36e72717d3513bbef7ac8708a0b2d68403a364462a7fe96b132dc4012b1edae1` respectively.
27
+
28
+ Owned native process groups were observed gone; Seatbelt is not a disposable-runner lifetime attestation. Real accounts, model turns, Linux, Intel macOS, microphone behavior and the live model setter remain unverified. No native CLI output, configuration contents or credentials are included in this receipt.
@@ -0,0 +1,33 @@
1
+ # Qwen 0.28.3 dual-output qualification
2
+
3
+ Date: 2026-11-22. macOS arm64, Bun 1.4.4, Node 24.18.1. Refs #888, hub task 1025. The required normal-Bus Q2 and account-free Q3/Q5/Q6/Q7 passed for 0.28.3 and the independently installed 0.27.1 control. This follows the [0.27.1 receipt](2026-11-10-qwen-0271-dual-output.md); the headless ACP entry is independently evidenced in the [ACP receipt](2026-11-22-qwen-0283-acp.md).
4
+
5
+ ## Artifacts and fixture
6
+
7
+ Both exact packages were installed in isolated prefixes with the protected and sandboxed install described in the ACP receipt. The lockfile integrities matched npm metadata. The 0.27.1 prefix retained the prior receipt's 1,725-entry digest `393109b8721024ab122b5b431c9f67da1040de66a02896816953ed050cdc0756`; the candidate prefix had 1,806 entries and digest `d23cc403053d7b40ca51402a8beebde85af1dfb9607136ab448f489f688f6f26`.
8
+
9
+ Private copies of the existing controllers added the candidate version, its exact prefix binding and candidate settings module; assertions, bounds, Seatbelt and protected-fence logic remained in place. The committed `runQwenDualBusQ2` supplied normal Bus and driver behavior. The native PTY used an isolated home and a fixed loopback fixture provider, not a real account or model. Q3/Q5/Q6/Q7 used a hash-bound reviewed manifest and settings module. All nine closed configuration checks passed for every case on both versions.
10
+
11
+ ## Results
12
+
13
+ | Observation | 0.27.1 control | 0.28.3 candidate |
14
+ | --- | --- | --- |
15
+ | Q2: submit count while first response held / second queued | 1 / true | 1 / true |
16
+ | Q2: second envelope delivered by Bus | true | true |
17
+ | Q2: final users / final Stops / message Stops / orphan Stops | 2 / 2 / 2 / 0 | 2 / 2 / 2 / 0 |
18
+ | Q2: first Stop < second user < second Stop | 9 < 10 < 17 | 9 < 10 < 17 |
19
+ | Q2: provider requests / message counts / user counts | 2 / 2,4 / 1,2 | 2 / 2,4 / 1,2 |
20
+ | Q2: final evidence closed, owned stop and unchanged fences | pass | pass |
21
+ | Q7 exact version, network positive control and kernel controls | pass | pass |
22
+ | Q3 allow, deny, TUI Enter, read-only and fixture MCP | pass | pass |
23
+ | Q5 unread FIFO and Q6 resume without replay | pass | pass |
24
+ | Required suite and safety acceptance | pass | pass |
25
+ | Fixture model inference calls / real account | 0 / false | 0 / false |
26
+
27
+ Both runs confirmed owned native group stops and joined drains; protected state, prefix and producer fingerprints stayed unchanged. Lifetime containment outside those observed groups is unproven. Q4 remains report-only, and direct busy-submit characterization is not a substitute for Q2 and was not repeated.
28
+
29
+ The control and candidate Q2 result SHA-256 values are `0a43f9610f4027250460dccc945db2674fc10122ae08172bcb7bf5ba880d8e83` and `5cbdc9e02c177d4f1a6be2507b119c8a56d47ead30a777d89745766fe2950380`; their Q3/Q5/Q6/Q7 result hashes are `9d6004c5a1869834b468a05e354247a8a1e316b537d1340517b2656592ab4ce6` and `da92e130d92bd168c14472dfdd5b3a5278f57f87a0b9e963909da3473e398220`.
30
+
31
+ After rebase onto the release, both versions repeated Q2 and Q3/Q5/Q6/Q7 successfully on source head `f73a4e697d4426d5ef08c3bd52780117084eaa1b`. The control and candidate Q2 records hash to `efe26d3fc8ffc1698003f36242fa7455a5f8954b4a345ec9acf6d8085e36448a` and `69cef0a200d61b3e06464b96a95ab19ffc021aaa4183e241455706b23d33de8e`; the repeated Q3/Q5/Q6/Q7 records hash to `4a7f256c45bbf7e7d99552d7b98fbf081d29062a9c8bc89569db367c749e14c7` and `e5dd241af4bded726343fd22eb309710ea4a21ee1f163df8293dc320947f8a46`.
32
+
33
+ Real accounts and model inference, production TUI use, Linux, lifetime containment and Q4 external stop remain unverified. No machine trust or global installation was changed.
@@ -0,0 +1,63 @@
1
+ # #1483 R5: the dashboard Roadmap view
2
+
3
+ Task hub task 964, branch `feat/964-roadmap-r5`. R5 adds the Roadmap view to the dashboard: a tab at key 8 with Now, Next and Later
4
+ lanes, one card per milestone, a detail dialog and an unplaced tray.
5
+
6
+ ## Source
7
+
8
+ A scratch hub outside any git repository (`git rev-parse --show-toplevel` at its root prints "fatal: not a git repository (or any of the
9
+ parent directories)") with its own `HOME` and `AGENTHUB_HOME` under `/tmp`, never the person's home and never the live hub. Three
10
+ milestones (1 "Ship the roadmap view", active in Now with tasks 1 and 2 linked; 2 "Console roadmap panel", proposed in Next; 3
11
+ "Roadmap drift on the board", proposed in Later) and two backlog tasks.
12
+
13
+ Headless Google Chrome 157 over the DevTools protocol (`Target.createTarget` and `attachToTarget`, `Emulation.setDeviceMetricsOverride`,
14
+ `Network.setCookie` for `agent-hub-theme` and `agent-hub-view`, `Page.captureScreenshot` with `captureBeyondViewport`). The dashboard
15
+ ticket is single-use and expires in about a minute, so one fresh ticket was minted per browser session. Console errors and warnings were
16
+ collected through `Log.entryAdded` and `Runtime.exceptionThrown` for every shot.
17
+
18
+ | What | image |
19
+ | --- | --- |
20
+ | Roadmap 1440, light | `assets/1483-r5-view-1440-light.png` |
21
+ | Roadmap 1440, dark | `assets/1483-r5-view-1440-dark.png` |
22
+ | Roadmap 820, light | `assets/1483-r5-view-820-light.png` |
23
+ | Roadmap 820, dark | `assets/1483-r5-view-820-dark.png` |
24
+ | Roadmap 390, light | `assets/1483-r5-view-390-light.png` |
25
+ | Roadmap 390, dark | `assets/1483-r5-view-390-dark.png` |
26
+ | Detail dialog 1440, light | `assets/1483-r5-detail-1440-light.png` |
27
+ | Detail dialog 390, light | `assets/1483-r5-detail-390-light.png` |
28
+
29
+ ## AC1 to AC3: the view, its lanes and its cards
30
+
31
+ Measured in the page for every shot, not read off the source:
32
+
33
+ - the Roadmap tab is the current tab (`aria-current="page"` on `data-view-target="roadmap"`) and the section is shown, at all three widths
34
+ in both themes;
35
+ - three lanes, each headed `Now (1)`, `Next (1)` and `Later (1)`, hold three milestone cards in total;
36
+ - the first card reads "Ship the roadmap view", the milestone the hub puts first in Now;
37
+ - the tray reads "Everything is placed." with `0 unplaced`, so the empty answer repainted instead of staying at "Reading unplaced
38
+ items...";
39
+ - the theme took effect per shot (body background `rgb(238, 238, 241)` in light, `rgb(18, 19, 22)` in dark);
40
+ - the page does not scroll sideways: `scrollWidth`, `body.scrollWidth` and `innerWidth` are equal at 1440, 820 and 390.
41
+
42
+ ## AC4: the detail dialog
43
+
44
+ Opened by clicking the first card, at 1440 and at 390: `dialog.open` is true and its title reads "Milestone #1". The dialog carries the
45
+ Manage section (horizon, state and the ordered move buttons) and the Linked section, which lists tasks 1 and 2 for that milestone.
46
+
47
+ ## AC5: no console noise
48
+
49
+ `problems` is empty for all eight rows: no `Log.entryAdded` at error or warning level and no `Runtime.exceptionThrown`.
50
+
51
+ ## Not covered
52
+
53
+ - Drag and drop between lanes was not exercised in a browser. The page half (carrying the rendered revision with the drop) is pinned by
54
+ `test/ui-roadmap.test.ts`; the daemon half, including the refusal of a stale revision, by `test/ui-roadmap-daemon.test.ts`.
55
+ - The Move up and Move down buttons were not clicked through in the browser; their payload and the hub's renumbering are pinned by the
56
+ same two tests.
57
+ - "Check drift" was not run from the page: the shots show "Drift not checked yet". The drift note, its per-milestone count and the
58
+ console's five-minute cache are covered by `test/ui-roadmap.test.ts` and `test/console-roadmap.test.ts`.
59
+ - The Milestone board filter and the console Roadmap panel (tab 9) were not part of this browser run: the filter is pinned by
60
+ `test/ui-roadmap.test.ts`, the panel by `test/console-roadmap.test.ts` and `test/ui-roadmap-daemon.test.ts`.
61
+ - Only the scratch data above was rendered: three milestones, two linked tasks, nothing private, so a withheld count and a private card
62
+ never appear in these images.
63
+ - Chrome only.
@@ -0,0 +1,44 @@
1
+ # 0.46.0 release verification
2
+
3
+ This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.46.0 and no live TUI launch.
4
+
5
+ ## Candidate
6
+
7
+ Version 0.46.0, prepared from main 13a54900 (24 commits since v0.45.0, 16 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.45.0: #1662, #1659, #1656, #1655, #1653, #1652, #1651, #1650, #1641, #1638, #1639, #1513, #1636, #1629, #1634, #1637, #1630, #1633, #1620, #1631, #1626, #1628, #1622, #1623, #1625, #1624, #1480, #1614.
12
+
13
+ Every one merged by squash after the conductor's hub approval, at the head that approval names, under the draft-first flow (#1490, #1576). Each head shows `check (ubuntu-latest)`, `check (macos-latest)` and `seeded guards` completed successfully. 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. #1637 and #1631 also show an earlier Ubuntu and seeded-guards failure on their final head, which a rerun on the same head then passed. #1620 and #1614 predate the deferral and ran macOS once. #1639 and #1631 change tests only. #1513, #1626, #1622 and #1480 are issues named in commit subjects, not pull requests. 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.45.0: `docs/verification/2026-11-22-agy-1.5.14.md`, `docs/verification/2026-11-22-claude-instruction-hook.md`, `docs/verification/2026-11-22-instructed-ipc.md`, `docs/verification/2026-11-22-jcode-1.0.3.md`, `docs/verification/2026-11-22-jcode-separate-home.md`, `docs/verification/2026-11-22-qwen-0283-acp.md`, `docs/verification/2026-11-22-qwen-0283-dual-output.md`, `docs/verification/2026-11-22-roadmap-r5-view-receipt.md`, `docs/verification/assets/1483-r5-detail-1440-light.png`, `docs/verification/assets/1483-r5-detail-390-light.png`, `docs/verification/assets/1483-r5-view-1440-dark.png`, `docs/verification/assets/1483-r5-view-1440-light.png`, `docs/verification/assets/1483-r5-view-390-dark.png`, `docs/verification/assets/1483-r5-view-390-light.png`, `docs/verification/assets/1483-r5-view-820-dark.png`, `docs/verification/assets/1483-r5-view-820-light.png`.
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.46.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 23 documents stale against the 0.45.0 stamp 6f613946: README.md, docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, docs/agent-notes/README.md, adapters.md, budget.md, bus.md, daemon.md, models.md, security-review.md, tasks.md and tests.md, docs/data-policy.md, docs/dogfood.md, docs/events.md, docs/memory.md, docs/operations.md, docs/quickstart.md, docs/research.md, docs/roles.md, docs/security.md, docs/text-projection.md and src/cli/help.ts. Each was reviewed against the commits since that stamp that touch its covered paths (delta scope), and checked against the source. Corrections:
24
+
25
+ - README.md: hub skills install on other hosts, instructed control and its default mode, the quota forecast, the Roadmap view and panel.
26
+ - docs/quickstart.md: the 0.46.0 upgrade note (instructed mode, spending closed only in intent mode, skills install, jcode home conditions, WIP-aware offers, the 0.45.0 rollback refusal after an instructed milestone state) and the `ahub setup` comment.
27
+ - src/cli/help.ts: the doctor row names the hub skills and routing-classes checks, and the budget row names the forecast. Every command and flag in `ahub help` matches the parsers (test/help.test.ts passes).
28
+ - docs/operations.md: capacity decline back-off, the slot fill of ready unowned work, instructed roadmap state, decomposition publish, console tab 9 Roadmap, the Qwen 0.27.1 and 0.28.3 receipts.
29
+ - docs/security.md: a section on instructed hub commands, `instructed` and `jcode_mcp_allow` as machine-local, the hub-owned jcode home, skill trees on other hosts, roadmap dashboard actions, the Qwen versions.
30
+ - docs/events.md: the daemon-written `agent_cli` record of an instructed command and the `usage_points` roll-up table.
31
+ - docs/dogfood.md: rows for hub skills on other hosts, the hub-owned jcode home and allowlist, and the routing classes warning.
32
+ - docs/adding-an-ai-tool.md and docs/agent-notes/adapters.md: the skills host step for a new builtin kind.
33
+ - Agent notes (adapters, budget, daemon, security-review, tasks, tests) and the AGENTS.md area path lists: instructed screening and skill-form rules, the hub-owned jcode home, the exhaustion projection, the roadmap view model, the channel slash escape, the exact cli-output pin, instructed Tasks writes, and the N-1 fixture's `memoryRange`/`memoryVersion` split.
34
+ - No change needed: docs/addons/claude-mem.md, docs/agent-notes/README.md, bus.md and models.md, docs/data-policy.md, docs/memory.md, docs/research.md, docs/roles.md, docs/text-projection.md.
35
+
36
+ All 23 were restamped together with `bun scripts/release-prepare.ts restamp ... --reviewed` at the commit that ends these corrections, the parent of the stamp commit.
37
+
38
+ ## Checks
39
+
40
+ 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 (1012 files, @staix/agent-hub@0.46.0)`, `bun scripts/readme-facts.ts` reports OK, `test/help.test.ts` passes (31 tests), and `test/published-protocol-compat.test.ts` passes against the retargeted 0.45.0 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.
41
+
42
+ ## Known gaps, not blocking
43
+
44
+ No live installation, `ahub upgrade` to 0.46.0, or live TUI launch was run. The instructed tier's native legs rest on the receipts listed above (instruction hook and IPC). The agy 1.5.14 verification is recorded as an attempt and stays unverified. The local npm 12.2.2 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.