@staix/agent-hub 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/README.md +25 -4
- package/THIRD_PARTY_NOTICES.md +0 -18
- package/docs/agent-notes/README.md +71 -1
- package/docs/agent-notes/adapters.md +5 -2
- package/docs/agent-notes/bus.md +1 -0
- package/docs/agent-notes/daemon.md +7 -6
- package/docs/agent-notes/local-worker.md +1 -0
- package/docs/agent-notes/models.md +5 -3
- package/docs/agent-notes/tasks.md +9 -2
- package/docs/agent-notes/tests.md +1 -1
- package/docs/contracts/companion-cli-v1.json +70 -0
- package/docs/design/adapters.md +115 -2
- package/docs/design/agent-hub-architecture.md +10 -2
- package/docs/design/bus.md +8 -0
- package/docs/design/execution-reference.md +171 -11
- package/docs/design/guidance-experiments.md +438 -0
- package/docs/design/guidance-probes.md +802 -0
- package/docs/design/model-routes.md +1053 -0
- package/docs/design/supervision.md +121 -0
- package/docs/design/task-board.md +111 -0
- package/docs/dogfood.md +24 -15
- package/docs/events.md +20 -1
- package/docs/memory.md +3 -3
- package/docs/operations.md +366 -133
- package/docs/profiles.md +2 -2
- package/docs/quickstart.md +114 -3
- package/docs/research.md +5 -3
- package/docs/sdlc.md +113 -7
- package/docs/security.md +88 -6
- package/docs/specs/2026-09-19-agent-hub-design.md +14 -11
- package/docs/specs/2026-10-04-switchyard-source-port-design.md +3 -1
- package/docs/verification/2026-10-25-qwen-dual-output-t0.md +22 -0
- package/docs/verification/2026-11-08-qwen-0269-model-setter-1317.md +25 -11
- package/docs/verification/2026-11-09-qwen-0270-acp.md +181 -0
- package/docs/verification/2026-11-09-qwen-0270-model-setter-1317.md +61 -0
- package/docs/verification/2026-11-10-0.36.0.md +59 -0
- package/docs/verification/2026-11-10-claude-implementer-2.1.322.md +59 -0
- package/docs/verification/2026-11-10-qwen-0270-dual-output.md +367 -0
- package/docs/verification/2026-11-10-qwen-0271-dual-output.md +101 -0
- package/docs/verification/2026-11-11-0.37.0.md +40 -0
- package/docs/verification/2026-11-11-guidance-probe-t2-1226.md +153 -0
- package/docs/verification/2026-11-11-qwen-setter-suggestions-off.md +167 -0
- package/docs/verification/claude-shell-wrapper-native.py +1 -1
- package/docs/verified.json +27 -27
- package/package.json +3 -4
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +3570 -1800
- package/plugins/agent-hub/server.js +4112 -1913
- package/src/adapters/channel-peer.ts +7 -1
- package/src/adapters/claude-channel.ts +7 -4
- package/src/adapters/compat.ts +10 -10
- package/src/adapters/local-probe.ts +174 -0
- package/src/adapters/local-worker.ts +233 -22
- package/src/adapters/qwen-dual.ts +324 -44
- package/src/cli/console-state.ts +25 -6
- package/src/cli/console-versions.ts +99 -0
- package/src/cli/console.ts +13 -1
- package/src/cli/guidance.ts +67 -0
- package/src/cli/help.ts +12 -4
- package/src/cli/identity.ts +10 -3
- package/src/cli/init-prompt.ts +15 -2
- package/src/cli/init-required-checks.ts +122 -0
- package/src/cli/init-settings.ts +10 -4
- package/src/cli/init.ts +39 -3
- package/src/cli/install-paths.ts +7 -2
- package/src/cli/lineage.ts +78 -0
- package/src/cli/main.ts +171 -14
- package/src/cli/runtime-version-warning.ts +2 -2
- package/src/cli/sdlc-output.ts +9 -5
- package/src/cli/setup-research.ts +10 -0
- package/src/hub/autonomy-defaults.ts +20 -9
- package/src/hub/board.ts +346 -4
- package/src/hub/build-entry.ts +11 -0
- package/src/hub/bus.ts +12 -0
- package/src/hub/ci-watch.ts +4 -4
- package/src/hub/config-apply.ts +6 -3
- package/src/hub/config-trust.ts +7 -1
- package/src/hub/control-client.ts +5 -2
- package/src/hub/daemon.ts +508 -26
- package/src/hub/delivery-hints.ts +4 -2
- package/src/hub/delivery-journal.ts +50 -2
- package/src/hub/delivery-public.ts +51 -0
- package/src/hub/dogfood-profile.ts +8 -4
- package/src/hub/events.ts +3 -2
- package/src/hub/execution-lineage-owner.ts +272 -0
- package/src/hub/execution-lineage.ts +52 -8
- package/src/hub/execution-links.ts +85 -0
- package/src/hub/guidance-probe-store.ts +713 -0
- package/src/hub/guidance-probes.ts +358 -0
- package/src/hub/guidance-variants.ts +398 -0
- package/src/hub/handoff.ts +1 -0
- package/src/hub/hub-tools.ts +43 -2
- package/src/hub/inference.ts +18 -5
- package/src/hub/manager.ts +44 -2
- package/src/hub/memory-policy.ts +2 -2
- package/src/hub/operational-authority.ts +13 -1
- package/src/hub/peers.ts +6 -1
- package/src/hub/planning.ts +1 -1
- package/src/hub/ports.ts +1 -1
- package/src/hub/progress.ts +47 -23
- package/src/hub/report.ts +2 -0
- package/src/hub/research.ts +1 -0
- package/src/hub/restart.ts +20 -0
- package/src/hub/roles.ts +26 -0
- package/src/hub/routing.ts +4 -1
- package/src/hub/sdlc-merge.ts +39 -1
- package/src/hub/sdlc-release-authorization.ts +139 -17
- package/src/hub/sdlc-release-policy.ts +100 -0
- package/src/hub/sdlc-release.ts +60 -8
- package/src/hub/sdlc.ts +62 -11
- package/src/hub/settings.ts +2 -0
- package/src/hub/supervision-proposals.ts +405 -0
- package/src/hub/supervision-rules.ts +388 -0
- package/src/hub/supervision.ts +2 -0
- package/src/hub/task-approval.ts +2 -2
- package/src/hub/task-repository.ts +5 -0
- package/src/hub/tasks.ts +917 -53
- package/src/local/probe-errors.ts +28 -0
- package/src/local/probe-sandbox.ts +224 -0
- package/src/local/probe-types.ts +108 -0
- package/src/local/probe-workspace.ts +237 -0
- package/src/local/sandbox.ts +71 -2
- package/src/local/tools.ts +135 -9
- package/src/memory/capture.ts +2 -2
- package/src/models/relay.ts +9 -2
- package/src/models/route/advisor-trigger.ts +88 -0
- package/src/models/route/config.ts +39 -8
- package/src/models/route/conversation-view.ts +179 -0
- package/src/models/route/decision-evidence.ts +1 -1
- package/src/models/route/decision.ts +193 -26
- package/src/models/route/escalation-control.ts +30 -0
- package/src/models/route/hub-prompts.ts +97 -0
- package/src/models/route/judge-choice.ts +155 -0
- package/src/models/route/judge-replies.ts +102 -0
- package/src/models/route/labels.ts +14 -70
- package/src/models/route/observation-signals.ts +250 -0
- package/src/models/route/plan-execute-choice.ts +27 -0
- package/src/models/route/relay-selector.ts +10 -9
- package/src/models/route/runtime.ts +129 -60
- package/src/models/route/stage-diagnostics.ts +22 -0
- package/src/models/route/stage-evidence.ts +55 -0
- package/src/models/route/stage-fallback.ts +58 -0
- package/src/models/route/stage-input.ts +155 -0
- package/src/models/route/stage.ts +5 -147
- package/src/models/route/turn-state.ts +77 -0
- package/src/omniroute/client.ts +3 -0
- package/src/ui/guidance-panel.ts +156 -0
- package/src/ui/guidance-view.ts +43 -0
- package/src/ui/lineage-view.ts +34 -0
- package/src/ui/plugin.ts +141 -27
- package/src/version.ts +4 -0
- package/templates/adec/README.md +32 -0
- package/templates/adec/ahub.plan-execute.json +23 -0
- package/templates/adec/ahub.stage.json +23 -0
- package/LICENSES/Apache-2.0.txt +0 -204
- package/src/models/route/advisor.ts +0 -102
- package/src/models/route/escalation.ts +0 -82
- package/src/models/route/judge.ts +0 -23
- package/src/models/route/normalize.ts +0 -103
- package/src/models/route/plan-execute.ts +0 -52
- package/src/models/route/prompts.ts +0 -8
- package/src/models/route/signals.ts +0 -247
- package/src/models/route/state.ts +0 -54
- package/src/models/route/text.ts +0 -61
package/docs/security.md
CHANGED
|
@@ -10,7 +10,7 @@ agent-hub connects agents that can each run commands. This page says what the hu
|
|
|
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
12
|
- **A committed config cannot choose launch commands, credential files, data endpoints, permission modes or a wider sandbox.** The machine-local fields (`kimi_cmd`, `permission_modes`, `codex_bin`, `pi.cmd`, `checks`, `mlx.bin`, `mlx.runtimeDir`, `mlx.modelPath`, `omniroute.urls`, `omniroute.access_hosts`, the `omniroute` key files, `memory.worker_url` (still accepted, ignored since 0.16.0), `local.read_allow`, `local.bash_network`, `local.network_allow`, `local.doc_read`, `local.web_fetch`, `terminal.open`, `tasks.auto_pull`, `tasks.queue_backpressure`, `context.max_assignment_used`, `schedules` (the `every`, `cron` and `tz` forms alike), `folder_triggers`, `corpus.paths`, `invocation`, `start.agents`, `instances`, `action_policy`, `rooms`) apply only from a config file git confirms nobody committed (`instances`, `action_policy` and `rooms` are read only from an untracked `.agenthub/config.local.json`; in `config.json` they are ignored even when untracked): `.agenthub/config.json` or `.agenthub/config.local.json`, matched by file identity so no other spelling the file system accepts slips past, and `.agenthub` itself not a committed symlink or submodule. Without a repository, or when git fails, they keep their defaults; an empty value always means the default. "Untracked" is answered by the repository that contains the project: a checkout copied or extracted into an unrelated repository, or into an ignored directory of one, is trusted like your own files. So a cloned repository cannot choose a launch command, a completion check, a gateway to send a key file to, a memory endpoint, a permission mode, the command that opens a terminal, which agents `ahub up` opens terminals for, a folder the hub reads, work proposed on a timer, a host a model may fetch from, which of your agents' skills other peers may call, or a wider sandbox. A command in `checks` runs as you, outside the local worker's sandbox, like a git hook. So do the `setup` and `verify` commands of a benchmark suite (issue #251): `ahub bench run <suite.json>` is a person's command, refused from an agent session, and it resets the work tree for each attempt, so it runs only with `bench.enabled`, at the root of a clean repository that tracks nothing under `.agenthub/`. Nothing in `routing.toml` or in task text is ever run. `routing.toml` and the other shared fields still come from the checkout, and they matter: `routing.toml` picks the models the local worker and the hub's inference use at your gateway and can turn the PII constraint off, and roles and budget shape who does what. Review them in a repository you do not trust. The hub's own git calls outside the sandbox (snapshots, facts, config trust, project discovery, memory recall, the bench runner) all use the single hardened implementation in the exact-pinned first-party `@staix/agent-mem/platform` package, re-exported by `src/hub/git.ts`, which disables the programs a repository's configuration can name — the file-system monitor, hooks, external diff, the pager, and the credential and askpass helpers, with prompts failing closed — so a config that ever does get written cannot run code with the hub's rights. Of those, the monitor, hooks and external diff are reachable by commands the hub issues (the planted-program test exercises all three; a `diff --no-index` reads the repo's config, so that call also passes `--no-ext-diff` and `--no-textconv`); the pager is not (every call pipes stdout). Credential and askpass helpers are disabled for project repositories; memory sync alone may use credentials for its own memory repository, without prompts. The cost: `core.fsmonitor=false` also turns off a person's enabled built-in monitor for the hub's own calls, so the per-turn snapshot's `add -A` scans the whole tree (the snapshot Git calls of one burst share a 250 ms budget, each call at most 10 s; a boundary that runs out is recorded as unknown, never as a stale baseline) (#576). git has no global switch for filter drivers, and of the hub's commands only the snapshot's `add`/`restore` would run one (its driver command lives in the protected `.git/config`).
|
|
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`) 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.
|
|
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.
|
|
16
16
|
- **The session record holds identities only.** `.agenthub/state/sessions.json` (issue #37, mode 600) keeps each attached peer's recovery metadata: launch options, session and thread ids, Pi's session file path. No message or task text; loss notices name deliveries by id, sender and public task title. The Pi continuity bookmark that recovery keeps across stop and archive (`.agenthub/state/recovery-continuity.json`, mode 600, at most 16 KiB) holds identities only too: operation and project ids, the project root, and Pi's session id, session file, backend and model name; a bookmark that is not a private regular file, is larger than that or names another project or operation reads as invalid, which is kept distinct from no bookmark.
|
|
@@ -768,6 +768,7 @@ External adapter modules (#451 A4) are the one way to run adapter code that ship
|
|
|
768
768
|
- Hub tools are auto-approved by the exact `mcp__agent-hub__<tool>` name Qwen reports for the call and never by prefix, title or argument text. Everything else asks the console, and an always-ask class call (#636) is never auto-approved. A prompt answered in the Qwen terminal withdraws the hub's pending approval: a late answer finds nothing to grant.
|
|
769
769
|
- Identity: the adapter attaches only a Qwen whose `session_start` states a verified version, protocol 2 and the events the hub reads, and it binds the running owner from the host's process table (the root of the process tree whose argv names this adapter's input file: Qwen 0.26.1 runs as a wrapper, a node launcher and a `cli.js` child that all name it; two separate roots is no owner), never from a message the launcher sends. The hub never signals that process and never types into its terminal; the person's terminal owns it.
|
|
770
770
|
- Environment: `ahub qwen --mode tui` execs Qwen in the person's own environment (Qwen needs their PATH, HOME and provider key, which the daemon never copies) with the hub's peer marker over it. Every other `AGENTHUB_*` variable but `AGENTHUB_HOME`, the other agents' vendor markers, and recovery and unattended authority are dropped, so a Qwen started from another agent's shell never carries that agent's identity, launch id or mode.
|
|
771
|
+
- A hub deny is not a readiness signal (#1371). The denied delivery completes without an answer, and later queued input stays unsubmitted behind a durable fence until a new personal turn completes in the Qwen terminal or a verified fresh native generation starts; the denied turn's own Stop, a readable event file again, a replayed `session_start` or a hub restart does not release it, and the peer reports offline after 30 s. A short or unconfirmed input write holds the delivery `needs_review` and appends nothing more.
|
|
771
772
|
- Not defended: a person who gives Qwen yolo mode, an agent that Qwen runs and that writes the file through a path this lexical check does not recognise, and another process of the same user (the usual same-user boundary of the state directory).
|
|
772
773
|
|
|
773
774
|
## Global attention metadata (#280, phase 3)
|
|
@@ -883,7 +884,7 @@ Current daemons advertise `task_cancel` in hello and status metadata. A current
|
|
|
883
884
|
|
|
884
885
|
Stall causes are persisted and deduplicated by cause and replanning revision. Planner advice joins its next delivery as bounded ids-only context; it does not manufacture an ordinary task turn. Pull-only offer attention clears only after acceptance, decline, supersession or durable positive evidence for that exact offer and recipient. Operator, hub or owner completion of an uncertain delivery is not evidence that the offer was read.
|
|
885
886
|
|
|
886
|
-
`hub_delivery_retry` grants an eligible recipient one retry of its own `needs_review` work, never pause removal. `hub_delivery_resolve` (#1112) lets a local agent mark only its own `needs_review` row `completed` or `discard`, at the revision `hub_inbox` showed, with a public, screened reason recorded under its actor. An attached Claude push-channel session may also settle its own `accepted` row that way (#1172); any other peer's `accepted` row is refused. It never replays the originals or changes task state. An unknown id, another peer's row and a row in neither state share one refusal, so the answer never confirms another peer's row. A channel `accepted` row that gets neither native completion nor that disposition within `bus.accepted_settle_ms` (default ten minutes) becomes `needs_review` with no replay. With `conductor.feed` on, the configured conductor gets one ids-only notice for an important, task or review timeout. The person, the hub, a remote peer, a paused or held peer, and recovery, shutdown or storage holds are refused. A row that carries an invocation stays person-only, because its outcome is uncertain. An explicit `hub_inbox` read may return newly queued messages behind such a hold,
|
|
887
|
+
`hub_delivery_retry` grants an eligible recipient one retry of its own `needs_review` work, never pause removal. `hub_delivery_resolve` (#1112) lets a local agent mark only its own `needs_review` row `completed` or `discard`, at the revision `hub_inbox` showed, with a public, screened reason recorded under its actor. An attached Claude push-channel session may also settle its own `accepted` row that way (#1172); any other peer's `accepted` row is refused. It never replays the originals or changes task state. An unknown id, another peer's row and a row in neither state share one refusal, so the answer never confirms another peer's row. A channel `accepted` row that gets neither native completion nor that disposition within `bus.accepted_settle_ms` (default ten minutes) becomes `needs_review` with no replay. With `conductor.feed` on, the configured conductor gets one ids-only notice for an important, task or review timeout. The person, the hub, a remote peer, a paused or held peer, and recovery, shutdown or storage holds are refused. A row that carries an invocation stays person-only, because its outcome is uncertain. An explicit `hub_inbox` read may return newly queued messages behind such a hold, and only when no recovery, pause, lifecycle or storage fence applies. It may also show the caller's own held originals (#1359) as a read-only inspection: at most 32 of its own `needs_review` rows (and `accepted` rows only for the current explicit-settlement channel) within the host pull byte budget, through the public queue body projection (private and missing tasks and private envelopes stubbed, unsafe metadata withheld, bodies sanitized); the caller cannot name another recipient, and the view never retries, resolves, acknowledges or changes an attempt. A held review inspection stays excluded from observer capture across restart until an explicit disposition. Durable per-original evidence survives journal pruning; unknown retry history or a used retry requires the person. Hub presence prefaces are excluded from attempted-work identity, so a shared context preface does not consume an unrelated message's retry. Delivery-only local and ACP peers (including Jcode) cannot invoke recipient retry; tool exposure hints do not replace the daemon's actual-adapter guard. Their held work requires person resolution. Before transport handoff, storage failure preserves the queue and preface; after handoff an uncertain effect is never automatically replayed.
|
|
887
888
|
|
|
888
889
|
A declared instance whose only role is reviewer gets review requests, task messages addressed to it and the person's messages; agent chat, digests and presence are discarded and journaled, and it gets no memory recall (task 223). The headless Claude reviewer runs one new `claude -p` per review with `--setting-sources ""`, `--strict-mcp-config`, `--no-session-persistence`, tools limited to Read, Grep, Glob, `hub_review` and `hub_task_show`, and `dontAsk`. Its prompt holds hub facts and a bounded diff, never the builder's summary, and its `hub_task_show` drops the builder's notes. Changes touching `local.deny` or `pii.paths` are withheld and passed as `Read` deny rules, which Claude enforces, not the hub. Private tasks are never given to it. Its `hub_review` counts only while the child started for that task still runs; a stop or exit revokes it first, and surviving processes hold the delivery as `needs_review` and keep the reviewer busy.
|
|
889
890
|
|
|
@@ -891,7 +892,7 @@ A terminal Claude implementer or verifier instance (#525-5) owns write-class tas
|
|
|
891
892
|
|
|
892
893
|
A planner-only instance (#525-6: `planner` without `implementer` or `verifier`) plans on the project checkout, so a declared `worktree` is refused. A Codex planner's `thread/start` and `thread/resume` are requested read-only, and a thread is adopted only when Codex's reply positively confirms a read-only sandbox; an unconfirmed or malformed reply refuses that RPC and closes the link before the hub adopts the thread or delivers work, and the current roles are rechecked before each injection. This is an initial ceiling, not confinement of the person's attached TUI, which can change its native sandbox later. A declared planner-only Claude channel instance gets no automatic grant from its facts hook for any tool but Read, LS, Glob and Grep, whatever the permission mode.
|
|
893
894
|
|
|
894
|
-
The headless Claude implementer (#525-4) runs one owned `claude -p` child per turn in its declared worktree, with `--setting-sources ""`, `--strict-mcp-config`, native permission mode `default`, the hub's managed PreToolUse hook and `--permission-prompt-tool mcp__agent-hub__hub_permission_request`; never `--bare`, `acceptEdits`, `dontAsk` or `bypassPermissions`, and `never-ask` is refused. Each task keeps its own persisted session; unscoped chat reuses one only while exactly one task is in progress, and a `hub_inbox` read refuses a batch attributed to another task. The approval path fails closed: `hub_permission_request` is accepted only from the current child's launch and generation, goes to the console's existing approval queue and `approvals.timeout_s`, and offers allow-once and deny only, with no allow-always or session grant. A timeout, a prompt failure, a disconnect, a hub that is down or refusing, or a stale child binding answers deny; a failed hook decides nothing, so the call still waits for a person. The approval title is the tool name and a JSON rendering of the arguments passed through `sanitize()` and the public-text screen (any PII, secret or private-path match withholds the whole value as `[withheld]`, before any cut), never task text, cut at 600 characters with a `[cut, N chars]` marker; the original arguments stay with the child and are not logged. The MCP wire cannot tell a native permission dispatch from a call the model makes itself; a person allow still refers only to its original arguments. Automatic Bash authorization uses the separate single-use host wrapper contract below, never a caller-supplied tool id as native provenance. A stop holds an uncertain delivery until the owned process group is confirmed gone. The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) is model-free on Claude Code 2.1.309, [repeated on 2.1.310](verification/2026-10-26-claude-implementer-2.1.310.md), [on 2.1.314](verification/2026-10-31-claude-implementer-2.1.314.md), [on 2.1.316](verification/2026-10-31-claude-implementer-2.1.316.md)
|
|
895
|
+
The headless Claude implementer (#525-4) runs one owned `claude -p` child per turn in its declared worktree, with `--setting-sources ""`, `--strict-mcp-config`, native permission mode `default`, the hub's managed PreToolUse hook and `--permission-prompt-tool mcp__agent-hub__hub_permission_request`; never `--bare`, `acceptEdits`, `dontAsk` or `bypassPermissions`, and `never-ask` is refused. Each task keeps its own persisted session; unscoped chat reuses one only while exactly one task is in progress, and a `hub_inbox` read refuses a batch attributed to another task. The approval path fails closed: `hub_permission_request` is accepted only from the current child's launch and generation, goes to the console's existing approval queue and `approvals.timeout_s`, and offers allow-once and deny only, with no allow-always or session grant. A timeout, a prompt failure, a disconnect, a hub that is down or refusing, or a stale child binding answers deny; a failed hook decides nothing, so the call still waits for a person. The approval title is the tool name and a JSON rendering of the arguments passed through `sanitize()` and the public-text screen (any PII, secret or private-path match withholds the whole value as `[withheld]`, before any cut), never task text, cut at 600 characters with a `[cut, N chars]` marker; the original arguments stay with the child and are not logged. The MCP wire cannot tell a native permission dispatch from a call the model makes itself; a person allow still refers only to its original arguments. Automatic Bash authorization uses the separate single-use host wrapper contract below, never a caller-supplied tool id as native provenance. A stop holds an uncertain delivery until the owned process group is confirmed gone. The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) is model-free on Claude Code 2.1.309, [repeated on 2.1.310](verification/2026-10-26-claude-implementer-2.1.310.md), [on 2.1.314](verification/2026-10-31-claude-implementer-2.1.314.md), [on 2.1.316](verification/2026-10-31-claude-implementer-2.1.316.md) [on 2.1.318](verification/2026-11-05-claude-implementer-2.1.318.md), [on 2.1.319](verification/2026-11-06-claude-implementer-2.1.319.md) and [on 2.1.322](verification/2026-11-10-claude-implementer-2.1.322.md); it is not sandbox proof, and a real account, model and person interaction remains a live leg.
|
|
895
896
|
|
|
896
897
|
The #845 host shell wrapper is the only automatic Bash path for a headless implementer. In `ask-when-needed`, a complete public input must pass the existing #816 read-only proof or the closed task-command proof, with an active owned task and registered worktree. Enabled action-policy classes still ask, and `ask`, PII handling and the `never-ask` refusal are unchanged. The native request and authenticated host response both name wrapper protocol 1, so an older plugin cannot drop the rewrite and execute an original command automatically.
|
|
897
898
|
|
|
@@ -899,15 +900,17 @@ A grant uses a random, expiring single-use nonce and an in-memory record bound t
|
|
|
899
900
|
|
|
900
901
|
Task branch authority uses recorded `refs.branch`, otherwise a host-observed non-default attached branch on the first eligible task-command request, excluding `main`, `master`, unknown/detached HEAD and another open task's branch. The binding is a normal `Tasks` write with history and an opaque canonical-root hash; a changed branch or worktree asks and never rebinds. Push grants accept only `git push origin <bound>` or `git push -u origin <bound>`; force, refspec, deletion and other remotes ask. Every origin push URL is checked against the captured project repository and PR argv pins that repository. Execution uses an explicit same-branch refspec; configured remote.origin.push/mirror refuses. Project/worktree PATH directories and aliases are removed, and gh child Git inherits core SAFE_CONFIG through fixed environment configuration. PR body-file content is bounded, screened and snapshotted into executed --body bytes. See [the design contract](specs/2026-09-19-agent-hub-design.md#headless-implementer-host-shell-execution-845) for the exact closed forms and [the native receipt](verification/2026-10-26-headless-claude-shell-context.md) for verification limits.
|
|
901
902
|
|
|
902
|
-
The fresh Codex reviewer (#519) needs `review_mode: "fresh"` and a compat-admitted Codex (receipt-verified 0.146.0, 0.163.0 and 0.
|
|
903
|
+
The fresh Codex reviewer (#519) needs `review_mode: "fresh"` and a compat-admitted Codex (receipt-verified 0.146.0, 0.163.0, 0.164.0 and 0.166.0; `ahub agents` shows the current policy); an unverified/untrusted version is unavailable. Before each review it requires a model-free isolation receipt: binary and config unchanged, only the two hub tools in the configured MCP inventory (each approved by its own name, never by a server-wide default, #783), plugins, hooks and Apps disabled (Apps by a separate feature readback), and a named filesystem profile whose fixtures prove public reads, private-path denial (exact, glob and symlink), standard host credential denial and write denial. Credential and tool-home roots are denied even with an empty `local.deny`; that list does not cover every personal file. A dangling or unreadable credential root refuses the reviewer, and the reason names only its path class (`~/.docker`, `$DOCKER_CONFIG`), never the path or its contents. A failed per-review start names one class from a closed list (`version`, `binary`, `mcp_inventory`, `plugins_hooks_apps`, `sandbox_proof`, `credential_root`, `timeout`, `unknown`) with a fixed sentence in the unavailable reason, `hub.log` and the `reviewer` line of `ahub status`; it never carries a path, native CLI text or a token (#722). Its shell is sandboxed read-only, not Claude's Read/Grep/Glob whitelist. Network and web search are configured disabled but not observed: managed requirements can still select cached web search, and no run has shown the review selecting the profile through `default_permissions`. A failed receipt or start never falls back to a continuing native session, and a child that ends without a saved verdict is never approval. The agy reviewer slot is an unavailable placeholder and never runs; it binds nothing, so agy's own `hub_task_show` reads are not fenced as a review (#792).
|
|
903
904
|
|
|
904
905
|
The fresh Kimi reviewer (#533) needs `review_mode: "fresh"` and a compat-admitted Kimi Code (receipt-verified 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.1 and 2.5.1; `ahub agents` shows the current policy) with its native OAuth login; an unverified/untrusted version, or a failed preparation, is unavailable. The [2.3.0](verification/2026-10-22-kimi-qwen-compat.md), [2.3.1](verification/2026-10-25-kimi-231-reviewer-compat.md) and [2.5.1](verification/2026-11-06-kimi-251-reviewer-compat.md) receipts are model-free and do not prove real login or a model review. It is a native tool-authority boundary, not a sandbox: no Seatbelt wraps it, and same-user native code is not isolated from the filesystem or network. Each review starts a new child in a private `KIMI_CODE_HOME` with managed-provider-only config, a clean temporary working directory and an empty skills directory. Its agent may use only `hub_review` and `hub_task_show`, served by a loopback MCP session bound to the task, head and review revision that never carries the hub's control token; it has no native read, file or shell tool and sees only the screened review brief and host facts. Its `credentials/` and `oauth/` directories and `device_id` link to the person's native ones, so refresh keeps Kimi's own lock and atomic rename; no token is copied and `KIMI_DISABLE_OAUTH_LOCK` is never set. A stop revokes its verdict authority before termination; killing it mid-refresh may require a native re-login. Private tasks are never given to it, and a child that ends without a saved verdict is never approval.
|
|
905
906
|
|
|
906
|
-
The review brief (#520) withholds private changes whole (both sides of a move) and counts them; a rule file that fails the private-data screen is named, not shown. Attributes and rules are read at the merge base, so a change cannot loosen its own review. Optional changed symbols (#684) come from ripwire 0.6.7 on the daemon's host PATH, run as an owned process on a disposable snapshot of the task's commit; each path, name and kind passes the hub's public metadata screen before the brief, the console's task detail or the dashboard shows it, a private task stores and shows none, and a failed or missing read is `unknown`, never a gate. Spec acceptance, plan review, plan conformance, premature-review, cost, test-integrity (#481 S4), issue and PR identity linking (#694) and dogfood scorecard (#687) reads fetch GitHub metadata only (edit times, check states, thread authorship and resolution, changed file names, open PR heads, workflow run conclusions), never issue bodies, comments or patches. Issue identity linking at propose and accept (#723) parses the task's title and refs locally, reads nothing from GitHub and skips PII tasks. The CI workflow keeps `contents: read` and `actions: read`.
|
|
907
|
+
The review brief (#520) withholds private changes whole (both sides of a move) and counts them; a rule file that fails the private-data screen is named, not shown. Attributes and rules are read at the merge base, so a change cannot loosen its own review. Optional changed symbols (#684) come from ripwire 0.6.7 on the daemon's host PATH, run as an owned process on a disposable snapshot of the task's commit; each path, name and kind passes the hub's public metadata screen before the brief, the console's task detail or the dashboard shows it, a private task stores and shows none, and a failed or missing read is `unknown`, never a gate. Spec acceptance, plan review, plan conformance, premature-review, cost, test-integrity (#481 S4), issue and PR identity linking (#694) and dogfood scorecard (#687) reads fetch GitHub metadata only (edit times, check states, thread authorship and resolution, changed file names, open PR heads, workflow run conclusions), never issue bodies, comments or patches. Required-check discovery at `ahub init --sdlc advise|enforce` (#1344) makes at most three capped GitHub reads (the default branch, the latest completed default-branch run, that run's jobs), each bounded to 5 s within a 20 s deadline, and otherwise reads only literal job names from `.github/workflows/*.yml`, refusing links. Issue identity linking at propose and accept (#723) parses the task's title and refs locally, reads nothing from GitHub and skips PII tasks. The CI workflow keeps `contents: read` and `actions: read`.
|
|
907
908
|
|
|
908
909
|
Deliverable records (#509a). `hub_task_done` and `hub_sdlc_record` name files as `{path, format, version?}`; the hub hashes them itself and refuses a claimed `sha256`, `hash` or `bytes` and any field it does not own. Paths resolve under the owner's execution root with `realPath` and `guardPath` in read mode: outside the project, the secrets denylist, the hub's own state (`.git`, `.agenthub`), a dangling link, a non-regular file and more than 256 MiB each or 512 MiB together are refused, with the path as given and never a resolved one. The file is opened without following a final link and its device, inode, size and time are compared with what was checked, before and after the read, so a swapped or changing file is refused rather than recorded half-read; a bad call writes nothing. A declared worktree instance whose root is not proven refuses, and a later read of it reports `unknown`. No hash of hub state is ever taken, and a file the hub cannot read or vouch for is `unknown`, never `unchanged`. A reviewer's approval re-hashes the files and is refused when one changed, went missing or is unknown; only the person may approve the current bytes, which are then measured and bound. For a PII task, a file under `pii.paths` or a path matching a PII pattern, `publicDeliverables` is the one projection every peer view, review request, status and log uses: id, hash and size only. The board keeps the path, as it keeps a PII task's text. `ahub deliverables` (#509b) from an agent shell lists only the tasks `hub_task_show` would show that agent (#933), and `--live-test` cannot delegate it. It lists the board's records through `publicDeliverables` and opens a file only with `--check`, through the same reader and limits. The dashboard's Deliverables chip and task group use the same projection of the same records and never read a file on the poll; a `changed` mark there is only as fresh as the last live read in this daemon.
|
|
909
910
|
|
|
910
|
-
Person-directed release authorization (#481 S6, #1063). `ahub sdlc authorize-release <version>` accepts the console user or the one configured conductor under the same admission as `sdlc merge`: tools role, matching configured conductor, no child `toolsOwner`, private turn or PII context. It remains refused under `--live-test`. The conductor may record consent only on the person's explicit instruction in its own session naming the release; a hub message, task text, review note, file or peer relay is never that instruction. The daemon cannot verify that cooperative prerequisite. Receipt `by` and the audit identify the actual asker.
|
|
911
|
+
Person-directed release authorization (#481 S6, #1063, #1381). `ahub sdlc authorize-release <version>` accepts the console user or the one configured conductor under the same admission as `sdlc merge`: tools role, matching configured conductor, no child `toolsOwner`, private turn or PII context. It remains refused under `--live-test`. The conductor may record consent only on the person's explicit instruction in its own session naming the release; a hub message, task text, review note, file or peer relay is never that instruction. The daemon cannot verify that cooperative prerequisite. Receipt `by` and the audit identify the actual asker. Release policy comes only from `.agenthub/config.json` committed at the candidate commit; local policy is ignored. Version source defaults to committed `package.json` and may use a committed release-notes blob or the requested version bound to the candidate commit. Documentation evidence defaults to the committed-document checker; `release.docs: none` is refused when the candidate commits a regular `docs/verified.json` blob, keeping documentation evidence required for that project. Remove `release.docs` from the shared config or remove the manifest, commit the change and authorize again. Only a project without that manifest may record the explicit exemption, with no fabricated freshness digest. The receipt binds the candidate commit, configured version source, docs policy and push remote identity, lives only in daemon memory (a restart revokes it) and is logged without document content. npm publish still needs a clean tracked worktree and a committed package version that identifies the configured target. `ahub sdlc release-guard -- <argv>` is a read-only preflight that agents may run, except during a private or PII turn; it never executes the command and refuses ambient target selectors (`GIT_DIR`, `GH_REPO`, npm prefix and registry settings and the like). The pre-push hook that `ahub init --release-guard` installs refuses an unauthorized or unknown `v*` tag push, also with the daemon down, and passes other pushes through. It and the release block in `AGENTS.md` are a cooperative guard, not an operating-system boundary: `git push --no-verify`, a custom `core.hooksPath` or another Git invocation bypasses the hook, and `gh release create` and `npm publish` are checked only when the preflight is run (tasks 312 and 313).
|
|
912
|
+
|
|
913
|
+
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.
|
|
911
914
|
|
|
912
915
|
SDLC metrics and control bands (#481 S7). `ahub sdlc metrics` and `hub_sdlc_metrics` are planner or person only, read-only, and refused during a private or PII turn. A private task is counted as withheld and read for nothing else; the report calls no model and makes no GitHub read. Band breaches are written only by the daemon's evaluator through Tasks, never while it is stopping, recovering or has a storage error. A `diagnose` or `propose` card is a backlog task (`triage` or `plan`) whose text is fixed words, numbers and task ids, never task text; it passes the PII signal check and the candidate-text screen before it is written, and no GitHub issue is created. A `log` breach is one hub notice, remembered in the board's `band_notices` table as a marker (`<metric>:#<task>:log`, checked against a fixed pattern) and a time, nothing else.
|
|
913
916
|
|
|
@@ -1351,6 +1354,17 @@ and authority facts are rechecked across every await, a changed authority
|
|
|
1351
1354
|
refuses the stale turn, and route events keep closed metadata only, never
|
|
1352
1355
|
evidence, credentials or service error prose.
|
|
1353
1356
|
|
|
1357
|
+
A `stage` route with `classifier = "decision"` (#1373) uses the same endpoint
|
|
1358
|
+
rules and modes and asks only when its own score lies within `ambiguous_band`
|
|
1359
|
+
(default 0.05, at most 0.5) of its threshold, once per user turn. The question
|
|
1360
|
+
carries the route's closed numeric stage evidence (signals, dimensions and
|
|
1361
|
+
scores) and the two configured tiers, never the conversation projection; a PII
|
|
1362
|
+
or private turn sends only dimensions and needs a positive `onCampus()`. The
|
|
1363
|
+
answer is recorded and changes no tier, model, effort or conversation. A held
|
|
1364
|
+
answer is reused only while its privacy and observer facts still hold, and a
|
|
1365
|
+
change across the request refuses the stale turn. The PII screen, `assign()` and
|
|
1366
|
+
the escalation and advisor triggers never use it.
|
|
1367
|
+
|
|
1354
1368
|
## Bounded visual attachments (#1058)
|
|
1355
1369
|
|
|
1356
1370
|
`hub_visual` stores a validated acon `VisualPayload` in `hub.db` under hub
|
|
@@ -1369,6 +1383,74 @@ asset read repeats the guard and hash check, with the acon provider binding the
|
|
|
1369
1383
|
project and instance. Raw tool input and results never reach observer capture,
|
|
1370
1384
|
even on refusal.
|
|
1371
1385
|
|
|
1386
|
+
## Supervision proposals (#1221)
|
|
1387
|
+
|
|
1388
|
+
`supervision.mode` is machine-local and off by default: a committed
|
|
1389
|
+
`.agenthub/config.json` cannot turn it on. `shadow` stores bounded proposals and
|
|
1390
|
+
does nothing else (no inbox row, notice or turn); `advisory` may also show a
|
|
1391
|
+
pending one in the console inbox. The queue holds at most 100 pending proposals,
|
|
1392
|
+
three per task revision, and keeps 400 terminal rows for dedupe; one read
|
|
1393
|
+
returns at most 50, and a reading past a bound is refused and counted. Rules read
|
|
1394
|
+
only public structured facts (task history, the hub's own deliverable measurement
|
|
1395
|
+
and declared-overlap rows), never notes, review findings, transcripts or file
|
|
1396
|
+
bodies, and a private task is never proposed on, read or decided. Only a present
|
|
1397
|
+
role on the task (its owner or reviewer, a configured planner, the conductor or
|
|
1398
|
+
the person) reads or decides a proposal, and there is no supervisor role. An
|
|
1399
|
+
accept runs the one existing action the proposal names through that action's own
|
|
1400
|
+
authority, so an `escalate` is accepted only by the conductor or the person; a
|
|
1401
|
+
refusal starts nothing. There is no automatic pause, retry, cancel, reroute,
|
|
1402
|
+
approval or rollback, no resident worker and no timer, and an action whose
|
|
1403
|
+
outcome the hub could not observe is recorded `unknown` and never retried.
|
|
1404
|
+
|
|
1405
|
+
## Guidance variants (#1225)
|
|
1406
|
+
|
|
1407
|
+
`ahub guidance create|list|show|withdraw` and the matching hub tools record
|
|
1408
|
+
immutable advisory role variants on one task. Writes follow task-role admission:
|
|
1409
|
+
the person or the task's current rostered owner; an agent cannot write under
|
|
1410
|
+
review, every actor is refused on an approved or cancelled task, a conductor
|
|
1411
|
+
designation grants nothing, and the CLI refuses `--live-test` person promotion.
|
|
1412
|
+
Private turns, review-observer input and PII tasks refuse every actor before any
|
|
1413
|
+
id, count or body is read. Raw role snapshots and variant bytes stay in private
|
|
1414
|
+
local hub tables, separate from the task, its history, public views, bus notices
|
|
1415
|
+
and memory. Reads return a closed metadata projection and a screened section diff;
|
|
1416
|
+
the rationale texts and experiment id are field-screened and shown as `withheld`
|
|
1417
|
+
when they do not clear. Bounds are 8192 bytes per role file and 32768 bytes per
|
|
1418
|
+
record. The tools' arguments and results never reach observer capture, and a
|
|
1419
|
+
variant grants no activation, permission, role or probe.
|
|
1420
|
+
|
|
1421
|
+
## Guidance probes (#1226)
|
|
1422
|
+
|
|
1423
|
+
`ahub guidance probe register|start|show|cancel` is the person's or the one
|
|
1424
|
+
configured conductor's, through the existing operational-authority admission; an
|
|
1425
|
+
ordinary peer, a console delegation and a `--live-test` run are refused. Every
|
|
1426
|
+
write goes through Tasks, which rechecks actor, session, task epoch and flow,
|
|
1427
|
+
the selected variant's applicability and privacy across every await: a private
|
|
1428
|
+
turn or a private or PII task refuses. Registration is an inert private
|
|
1429
|
+
declaration in additive `hub.db` tables (`guidance_probe_*`), never on the task,
|
|
1430
|
+
its history or a public view, and no actor, session or authority can be named in
|
|
1431
|
+
it. Production has no probe runner: start refuses before reserving a lane, and
|
|
1432
|
+
fixture runners are injected only by test constructors, never by wire data, CLI,
|
|
1433
|
+
config or a model id. The T2 confined path (a private `LocalPeer` with no bus,
|
|
1434
|
+
memory capture, observer or ordinary history) offers only `read`, `write` and
|
|
1435
|
+
`edit` under a logical `/workspace`, writes only under declared `scratch/` and
|
|
1436
|
+
`output/` paths, refuses non-regular and hardlinked targets and files over
|
|
1437
|
+
1 MiB, and runs any proof command under a narrowed seatbelt profile with network
|
|
1438
|
+
denied (the model-free proof's own control listener aside). It is fixture-proven
|
|
1439
|
+
only and grants no real model or worker run ([design](design/guidance-probes.md)).
|
|
1440
|
+
|
|
1441
|
+
## Execution lineage (#1220)
|
|
1442
|
+
|
|
1443
|
+
`ahub lineage show` and `hub_lineage_show` read a bounded public metadata
|
|
1444
|
+
neighborhood: at most 100 nodes, 200 edges and 256 KiB per page, with explicit
|
|
1445
|
+
truncation. They expose no titles, prompts, paths, session ids or review bodies;
|
|
1446
|
+
unsupported, missing and denied reads share one unavailable shape, and only an
|
|
1447
|
+
authorized diagnostic operator sees a reason. `ahub lineage link` and
|
|
1448
|
+
`hub_lineage_link` admit an inert declared reference through Tasks under the
|
|
1449
|
+
task's current actor, revision, project and privacy; a stale or changed one
|
|
1450
|
+
refuses without writing. A reference never fetches its producer or attests to a
|
|
1451
|
+
runner outcome, and foreign project keys stay opaque. The acon console reads the
|
|
1452
|
+
same page through a provider port with no new action.
|
|
1453
|
+
|
|
1372
1454
|
## Questions a peer asks the person (#1053)
|
|
1373
1455
|
|
|
1374
1456
|
`hub_ask` lets any peer put a structured question (one to four questions, two to eight options each) to the person. A question is not a permission: it is its own record in `hub.db` (`questions`), has its own control messages, and never expires as a denial.
|
|
@@ -44,7 +44,7 @@ Facts below are tagged **verified** (measured on 2026-09-19 on the owner's Mac)
|
|
|
44
44
|
vLLM serves `deepseek-ai/DeepSeek-V4-Flash-0731`; GLM-5.3-Flash and
|
|
45
45
|
Qwen3.8-27B are planned (internal deployment plan).
|
|
46
46
|
OpenCode 1.18.31 already has a `dgx-dsv4f` provider for this gateway.
|
|
47
|
-
-
|
|
47
|
+
- Historical routing policy engine, superseded by [Hub Model Routes](../design/model-routes.md) in #1352: NVIDIA-NeMo/Switchyard v0.2.0 (Apache-2.0). Route types
|
|
48
48
|
`llm_classifier`, `stage_router`, `escalation_router`; `auto` needs a source build
|
|
49
49
|
until v0.3.0. Standalone `switchyard-server` proxies `/v1/chat/completions`,
|
|
50
50
|
`/v1/messages`, `/v1/responses` and forwards to any `base_url` upstream. Stability:
|
|
@@ -72,6 +72,8 @@ Facts below are tagged **verified** (measured on 2026-09-19 on the owner's Mac)
|
|
|
72
72
|
|
|
73
73
|
## Amendment: retire the Switchyard sidecar (#553, 2026-10-20)
|
|
74
74
|
|
|
75
|
+
Historical amendment. #1352 supersedes the source-port and provenance requirements below with the newly authored [Hub Model Routes](../design/model-routes.md). The reserved port offset remains 3 under a neutral name; derived modules, their upstream checker and Apache notice are retired. The unrelated Tabler Icons notice remains.
|
|
76
|
+
|
|
75
77
|
- All model routing runs in process. Remove `src/switchyard/`, the external binary,
|
|
76
78
|
generated config, lifecycle, health/status/doctor entries, `AGENTHUB_SWITCHYARD_BIN`
|
|
77
79
|
and `x-switchyard-session-id`. Port offset `SWITCHYARD = 3` remains reserved and
|
|
@@ -370,7 +372,7 @@ pii = "local_only" # hard: on-prem models only
|
|
|
370
372
|
budget_paused = "skip_peer"
|
|
371
373
|
```
|
|
372
374
|
|
|
373
|
-
L2 in-process routing (2026-10-04 source port): `[hub_routes."hub/<id>"]` selects
|
|
375
|
+
Historical L2 in-process routing (2026-10-04 source port, superseded by [Hub Model Routes](../design/model-routes.md) in #1352): `[hub_routes."hub/<id>"]` selects
|
|
374
376
|
stage, plan_execute, advisor or escalation policies inside the hub. The host retains
|
|
375
377
|
transport, budget admission and complete-turn history ownership; algorithms make decisions
|
|
376
378
|
from normalized chat input and bounded session state. See
|
|
@@ -719,7 +721,7 @@ M6 internal inference, packaging
|
|
|
719
721
|
- Room v1 excludes hosted multi-tenant service, multi-owner rooms, forward secrecy, traffic-metadata hiding, approval or permission-request relay, and cross-machine instances. Shared boards, remote roles and remote task ownership remain excluded; memory crosses only through the separate agent-mem git sync. No hub server is exposed.
|
|
720
722
|
- OmniRoute daemon on the Mac; pooling subscription OAuth through any gateway.
|
|
721
723
|
- Gemini CLI and OpenCode adapters beyond the ACP fallback note.
|
|
722
|
-
- Switchyard `auto` route until v0.3.0 ships.
|
|
724
|
+
- Historical exclusion, superseded in #1352: Switchyard `auto` route until v0.3.0 ships. Current routing uses the hub-owned route implementation and optional adec choices.
|
|
723
725
|
- Running Claude Code itself on a local model (depends on the Anthropic-to-chat
|
|
724
726
|
translation check in the OmniRoute plan v1, Phase 0).
|
|
725
727
|
- A hub-owned memory store, cmem.ai cloud sync, automatic corpus building (a project
|
|
@@ -1517,7 +1519,7 @@ two-machine receipts remain separate verification.
|
|
|
1517
1519
|
| Risk | Mitigation |
|
|
1518
1520
|
| --- | --- |
|
|
1519
1521
|
| Claude channels are research preview; flag or protocol may change | Adapter isolated in one file; plugin version pinned to a Claude Code range; `hub_inbox` fallback |
|
|
1520
|
-
| Model routing algorithm drift |
|
|
1522
|
+
| Model routing algorithm drift | Hub-owned spec-derived tests and optional adec policy choices; the historical source-port provenance check is superseded in #1352 |
|
|
1521
1523
|
| Anthropic-to-chat translation drops `tool_use` | Claude never runs on local models in this design |
|
|
1522
1524
|
| Local worker executes untrusted room text | Untrusted framing, cwd scope, denylist, no `--unattended` by default |
|
|
1523
1525
|
| Steering a Codex turn changes its plan mid-flight | Only `important` steers; default tier is `status` |
|
|
@@ -3510,17 +3512,18 @@ the queue.
|
|
|
3510
3512
|
|
|
3511
3513
|
- T0 ran live on Qwen Code 0.26.1 under an isolated HOME ([verification](../verification/2026-10-25-qwen-dual-output-t0.md)): Q2, Q3, Q5 and Q6 pass, Q4 fails. The owner decided on 2026-10-25 to build Part 3 with the two limits below stated, so AC9's condition reads "Q2, Q3, Q5 and Q6 pass; Q4's limit is stated".
|
|
3512
3514
|
- Launch: `ahub qwen --mode tui` runs `qwen --input-file <in> --json-file <out> --mcp-config <hub server> --approval-mode default` in the person's terminal, as `ahub pi --mode tui` does. Both files live under the project state dir, mode 0600. The event file is a regular file the adapter tails from a saved offset.
|
|
3513
|
-
- Version gate: a separate compat entry for the dual-output contract, verified 0.26.1
|
|
3514
|
-
- Delivery: `deliver()` sets busy synchronously and appends one `{"type":"submit","text"}` line with the digest.
|
|
3515
|
+
- Version gate: a separate compat entry for the dual-output contract, verified 0.26.1, exact 0.27.0 and exact 0.27.1 (matched account-free receipts for [0.27.0](../verification/2026-11-10-qwen-0270-dual-output.md) and [0.27.1](../verification/2026-11-10-qwen-0271-dual-output.md)). It does not widen the headless `qwen` entry, whose ACP receipts are separate.
|
|
3516
|
+
- Delivery: `deliver()` sets busy synchronously and appends one `{"type":"submit","text"}` line with the digest. Required Q2 follows the actual normal Bus/QwenDualPeer path: a second envelope is enqueued while the first fixture-provider response is held; only one submit is present before release. After the first non-tool-use assistant and its message_stop, the second user/provider/final-assistant/message_stop must have distinct, ordered event indices. The direct-native-busy-submit claim from the original 0.26.1 receipt was not reproduced by the v2 producer's matched 0.26.1 control; it is recorded characterization, not a substitute Q2 pass/fail. The [2026-11-10 receipt](../verification/2026-11-10-qwen-0270-dual-output.md) records ruling `fa75c5f2-fc78-42a1-85dc-cf206e6a7825` and the revised procedure, whose matched private 0.26.1/candidate 0.27.0 Q2 runs pass two distinct normal-Bus turns; the remaining required Q3/Q5/Q6/Q7 pair also passed, supporting exact 0.27.0 admission with Q4's existing external-stop limit stated.
|
|
3515
3517
|
- Turn end: Qwen emits no `result` event in this mode. A turn ends at an `assistant` event whose `stop_reason` is not `tool_use`, followed by `message_stop`; that assistant text is the turn's shared answer. A `result` event, if a later build emits one, also ends the turn.
|
|
3516
3518
|
- Approvals: `control_request` with `subtype: can_use_tool` goes to the hub approval path, and the answer is `{"type":"confirmation_response","request_id","allowed"}`. Allow or deny only. The hub's own tools are approved by the exact `tool_name` (`mcp__<server>__<tool>`), never by prefix. A `control_response` for a pending request that the hub did not answer means the person answered in the TUI: withdraw the hub's pending approval. A `control_response` error for a stale id is logged, never retried.
|
|
3517
|
-
- Limit 1, deny:
|
|
3519
|
+
- Limit 1, deny: an appended hub deny settles the delivery as known `completed`, without a shared answer, but supplies no native completion ACK. Persist `denyPending: true` before appending it and retain a continuous input fence. Only a newly observed same-session personal USER followed by that personal turn's normal final assistant/message_stop under the same verified owner, or a verified fresh native launch generation, releases the fence. Denied-turn pairs, approval responses, orphan Stops, replayed session starts and file readability do not. The 30 s operational wait expires offline with queued messages unsubmitted and an actionable terminal/restart notice; the durable fence remains and passive recovery still observes those proofs. Detach/adoption invalidate unfinished proof, and adoption cannot reuse buffered personal frames. See [adapter contract](../design/adapters.md#qwen-deny-input-fence-888).
|
|
3520
|
+
- Input writes: append one full UTF8 Buffer once, require the exact byte count, and never retry a remainder. Short/throwing writes retain `needs_review` and offline; non-newline input tails before append or attachment fence input until a verified fresh generation, never personal completion. The live uncertain-write latch is RAM-only and crash detection reads the actual tail. A torn prefix ending in newline remains undetected; a durable per-write intent record is the upgrade path if observed.
|
|
3518
3521
|
- Limit 2, no external stop: the input protocol has only `submit` and `confirmation_response`, and SIGINT does not stop a turn. The inactivity watchdog never cancels a Qwen TUI turn. It reports the stalled turn to the person (status, console and dashboard: "stalled; press Esc in the Qwen terminal") and keeps the peer busy. The hub never types into the terminal or signals the process to stop a turn.
|
|
3519
3522
|
- Prompt channel: the input file is a prompt channel. Qwen's own write and shell tools reach it only through approval, and the hub's approval path refuses any write or command that names the state dir. No other peer can write it.
|
|
3520
3523
|
- Detached: the TUI keeps working when nobody reads the event file (T0 Q5). A daemon that cannot read the file treats the peer as detached, not idle; on reattach the adapter resumes from its saved offset.
|
|
3521
3524
|
- Recovery: `qwen -r <session_id>` with the same two files resumes the conversation, does not replay earlier submits, and appends to the event file. The adapter records `session_id` from `system/session_start` and resumes from its saved offset, so events from before the restart are not processed twice.
|
|
3522
3525
|
- Implementation notes (#449, measured on 0.26.1 where stated):
|
|
3523
|
-
- Files and state: `<state dir>/qwen/qwen-dual/{input.jsonl,events.jsonl,mcp.json,state.json}`; `state.json` holds `session_id`, the read offset, a generation counter and the bound owner (pid with its `processSignature`). `ahub qwen --mode tui` is explicit only: Qwen's `start.forms` stays `["headless"]`, so Qwen is not a start-mode peer and the hub never opens this terminal itself. The TUI driver is the definition's `start.createTui` on the `qwen-dual` daemon port, a fixed-builtin capability.
|
|
3526
|
+
- Files and state: `<state dir>/qwen/qwen-dual/{input.jsonl,events.jsonl,mcp.json,state.json}`; `state.json` holds `session_id`, the read offset, a generation counter and the bound owner (pid with its `processSignature`), plus the optional host-only `denyPending: true` input fence. `ahub qwen --mode tui` is explicit only: Qwen's `start.forms` stays `["headless"]`, so Qwen is not a start-mode peer and the hub never opens this terminal itself. The TUI driver is the definition's `start.createTui` on the `qwen-dual` daemon port, a fixed-builtin capability.
|
|
3524
3527
|
- Gate: checked twice, by `qwen --version` against `COMPAT["qwen-dual"]` before any file is made, and by the TUI's own `session_start` (version, `protocol_version` 2, the events the adapter reads). An unverified TUI is not attached and the person gets a notice.
|
|
3525
3528
|
- Event file: Qwen opens an existing `--json-file` at byte 0 without truncating it (it overwrote the head of a 3 KB file in place), so appending after a restart is not what it does. A fresh or resumed launch therefore starts from empty files (the old event file is kept as `events.prev.jsonl`, the saved offset restarts at 0 for the new file), and a hub restart while the person's Qwen keeps running adopts it and reads on from the saved offset with no launch. Qwen starts reading the input file at its size at start, so earlier submits are not replayed either way.
|
|
3526
3529
|
- Owner: bound from the host's process table (the one process whose argv contains `--input-file <this adapter's file>`; two matches is no owner), at `session_start` and then every second. No launcher message is trusted for it. When the owner is gone the peer goes offline, an open hub turn settles `needs_review` and a notice says the terminal ended. The hub never signals it.
|
|
@@ -5964,11 +5967,11 @@ Order: 2a first (it measures everything else). 2b and 2c are independent. 2d aft
|
|
|
5964
5967
|
|
|
5965
5968
|
### S6 person release authorization boundary (#481)
|
|
5966
5969
|
|
|
5967
|
-
- `ahub sdlc authorize-release <version>` accepts the console user or the one configured conductor, never live-test delegated (#1063). Conductor admission matches `sdlc merge`: tools role, `conductorPeer(config.roles) === c.peer`, no `toolsOwner`, private turn or caller PII context. The conductor records consent only on the person's explicit instruction in its own session naming the release; a hub message, task text, review note, file or another peer's relay is never that instruction. This instruction-origin condition is cooperative, not verified by the daemon. Receipt `by` and the metadata audit identify the actual asker (`user` or conductor peer). The daemon binds consent to
|
|
5968
|
-
- Authoritative receipts live only in the current daemon generation's bounded memory ledger (at most 64 candidates). An additive metadata event audits consent but cannot recreate it. Restart revokes all approvals. The release report
|
|
5970
|
+
- `ahub sdlc authorize-release <version>` accepts the console user or the one configured conductor, never live-test delegated (#1063). Conductor admission matches `sdlc merge`: tools role, `conductorPeer(config.roles) === c.peer`, no `toolsOwner`, private turn or caller PII context. The conductor records consent only on the person's explicit instruction in its own session naming the release; a hub message, task text, review note, file or another peer's relay is never that instruction. This instruction-origin condition is cooperative, not verified by the daemon. Receipt `by` and the metadata audit identify the actual asker (`user` or conductor peer). The daemon binds consent to the candidate checkout's exact HEAD, release version source and origin fetch/push identity. Policy comes only from `.agenthub/config.json` as committed at that candidate commit; unreadable or malformed committed policy refuses, and `.agenthub/config.local.json` release keys are ignored with a notice. `release.version` is `package.json` by default, or `release-notes` (requiring a regular `release.notesPath` blob at the candidate commit; default `docs/releases/v{version}.md`), or `none` (the requested semantic version is bound to the exact commit). `release.docs` is `checker` by default or `none`; `none` is an explicit receipt exemption, not a fresh verdict, and is allowed only when the candidate has no regular `docs/verified.json` blob. A committed manifest keeps documentation evidence required; remove `release.docs` from the shared config or remove the manifest and commit the change before authorizing again. Candidate commit, source/version and origin are rechecked after documentation evidence. `npm publish` always requires a clean tracked worktree and derives its target from the committed package version; it refuses when that package version does not identify the configured source's version. Only ids, hashes, version, timestamp, counts or the explicit docs exemption enter the receipt/audit event; no project script or release operation runs.
|
|
5971
|
+
- Authoritative receipts live only in the current daemon generation's bounded memory ledger (at most 64 candidates). An additive metadata event audits consent but cannot recreate it. Restart revokes all approvals. The package.json-default release report keeps its existing version and receipt behavior. For `release-notes` or `none`, the read-only report selects the most recent successful authorization bound to the exact report HEAD, repository, origin and committed policy; `release-notes` is revalidated as a regular blob for that receipt's version, and `none` reports only the requested version bound by that receipt. If there is no eligible receipt, the report says the version is undetermined, names the configured source and directs the person to `ahub sdlc authorize-release <version>`; it never guesses a version from a notes filename, tag or stale receipt. Failed source revalidation reports stale/unknown consent and `ready` remains false. `docs:none` reports the recorded/configured exemption without attempting documentation evidence or fabricating a verdict. Guard, hook and npm paths never infer their target from the latest receipt. Reports do not certify native acceptance, change the tag workflow or publish.
|
|
5969
5972
|
- Optional `ahub init --release-guard` installs a managed executable Git pre-push hook plus instructions. A regular existing hook is renamed, preserving its inode/mode, and chained with exact argv/stdin after successful guard readback. Linked/hardlinked hooks, occupied backups and custom hooksPath refuse before project writes. Re-init retains the guard; the wrapper pins Bun/package paths and needs re-init if they move.
|
|
5970
5973
|
- Actual pushed `v*` refs must have a valid version and captured source-object/commit matching consent. Missing/mismatched commit/version/remote, unreachable daemon, deletion, unknown evidence or restart refuses the version-tag push. Branch-only pushes work offline. `--no-verify` remains the person's explicit bypass and is forbidden to agents; this is cooperative Git enforcement, not a sandbox.
|
|
5971
|
-
- Literal CLI preflights support a single named-remote tag refspec, GitHub release creation (existing remote tag readback, or explicit full SHA for a new tag), and current-checkout npm publish. Ambiguous/alternate-repository/bulk/workspace/archive selectors refuse. npm requires a clean tracked worktree and rechecks HEAD and
|
|
5974
|
+
- Literal CLI preflights support a single named-remote tag refspec, GitHub release creation (existing remote tag readback, or explicit full SHA for a new tag), and current-checkout npm publish. Ambiguous/alternate-repository/bulk/workspace/archive selectors refuse. npm requires a clean tracked worktree and rechecks HEAD plus configured source and documentation policy; when configured to use an alternate version source, the committed package version must independently identify the same target. Artifact bytes, npm config and lifecycle scripts are outside this receipt. gh/npm instructions and preflight are the S6 boundary; adapter refusal belongs to #312/#313. No release effect is executed and no native/live pass is inferred. AC7 is covered by host-ledger units and actual hook/CLI/daemon fixture tests.
|
|
5972
5975
|
|
|
5973
5976
|
- S6 npm cleanliness uses filter-free cached-index/raw-blob comparison before and after docs readback, never `git status` or content conversions. Unknown modes, gitlinks, transformed bytes, unsafe paths or the 4,096-entry / 4 MiB-file / 32 MiB-total / 250 ms bounds refuse. Untracked artifact content remains outside this consent check.
|
|
5974
5977
|
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
title: Switchyard 라우팅 로직의 소스 수준 도입 계획 - agent-hub TypeScript 이식
|
|
3
3
|
date: 2026-10-04
|
|
4
4
|
project: agent-hub
|
|
5
|
-
status:
|
|
5
|
+
status: superseded by docs/design/model-routes.md (#1352)
|
|
6
6
|
related: 261004-review-agent-hub-switchyard-comparison.md, 261004-plan-agent-hub-research-v2.md
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Switchyard 라우팅 로직의 소스 수준 도입 계획
|
|
10
10
|
|
|
11
|
+
이 문서는 #1352의 [Hub Model Routes](../design/model-routes.md)로 대체된 역사 기록이다. 현재 구현과 변경 계약은 해당 문서를 따른다. 아래 본문은 당시의 도입 계획으로 보존하며, 현재 구현이나 배포 지시가 아니다.
|
|
12
|
+
|
|
11
13
|
## 요약
|
|
12
14
|
|
|
13
15
|
- **방식**: Switchyard 바이너리(sidecar)를 띄우는 대신, 필요한 라우팅 로직을 agent-hub의 TypeScript 소스로 옮겨 hub 프로세스 안에서 실행함.
|
|
@@ -18,3 +18,25 @@
|
|
|
18
18
|
## Consequence for #286 AC9
|
|
19
19
|
|
|
20
20
|
AC9 is conditional on Q2 to Q6 passing. Q4 fails, so the condition does not hold as written. Building Part 3 anyway needs an owner decision and a spec amendment that names the two limits: the watchdog reports a stalled Qwen TUI turn to the person instead of stopping it, and the adapter itself marks the turn ended when the hub sends a deny, because Qwen emits nothing for it.
|
|
21
|
+
|
|
22
|
+
## Later Q2 reproduction boundary (2026-11-10)
|
|
23
|
+
|
|
24
|
+
The historical Q2 Pass above describes this original real-model run and is not a
|
|
25
|
+
new exact-artifact qualification. The fixed-provider v2 workload later failed
|
|
26
|
+
its two-user-turn assertion on a private matched 0.26.1 control as well as newer
|
|
27
|
+
candidates ([0.26.8 receipt](2026-11-06-qwen-0268-dual-output.md)). That did not
|
|
28
|
+
reproduce the original native-busy-submit queue observation. The extra provider
|
|
29
|
+
POSTs are unclassified, so no underlying native cause is inferred.
|
|
30
|
+
|
|
31
|
+
Ruling fa75c5f2-fc78-42a1-85dc-cf206e6a7825 defines required Q2 at the actual normal
|
|
32
|
+
Bus/QwenDualPeer boundary with two distinct user/final-stop turns, while direct
|
|
33
|
+
native-busy-submit behavior remains recorded characterization. The
|
|
34
|
+
[2026-11-10 receipt](2026-11-10-qwen-0270-dual-output.md) records the revised
|
|
35
|
+
procedure and its own evidence: the private matched 0.26.1 and candidate 0.27.0
|
|
36
|
+
normal-Bus Q2 runs each passed two distinct turns, and the matching required
|
|
37
|
+
Q3/Q5/Q6/Q7 pair subsequently passed with the existing Q4 limit. A separate
|
|
38
|
+
direct-busy characterization on both artifacts observed one user/assistant/Stop
|
|
39
|
+
with both markers in one assistant.
|
|
40
|
+
This does not retrospectively reproduce the native-busy-submit claim. The
|
|
41
|
+
original account/global-install harness is
|
|
42
|
+
not the account-free procedure for that new qualification.
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
# Qwen 0.26.9 ACP model setter,
|
|
1
|
+
# Qwen Code 0.26.9 ACP model setter, historical A/B/B
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
**Interpretation correction (2026-11-11, task #861).** The historical A/B/B
|
|
4
|
+
provider-model observation is retained. Its saved counts and response shape do
|
|
5
|
+
not identify the third request's purpose: no latest-USER content, marker or hash
|
|
6
|
+
was retained. That purpose is **unknown**, so the original conclusion below does
|
|
7
|
+
not establish an ordinary clear failure. The [new receipt](2026-11-11-qwen-setter-suggestions-off.md) records
|
|
8
|
+
ordinary A/B/A on both exact versions with follow-up suggestions disabled.
|
|
9
|
+
It does not prove that the historical third request was a suggestion. Production
|
|
10
|
+
live-setter admission remains unavailable pending a separate decision.
|
|
11
|
+
|
|
12
|
+
The original receipt follows as historical interpretation.
|
|
13
|
+
|
|
14
|
+
Date: 2026-11-08. Task #809, Refs #1317 AC4. **Original verdict: failed clear.**
|
|
15
|
+
The saved A/B/B observation does not identify the third request's purpose, so
|
|
16
|
+
ordinary-clear restoration was unverified in that attempt. Qwen has no production
|
|
17
|
+
live-setter capability in this change. General compatibility qualification is separate, in
|
|
6
18
|
[the 0.26.9 ACP receipt](2026-11-08-qwen-0269-acp.md).
|
|
7
19
|
|
|
8
20
|
## Exact artifact and isolation
|
|
@@ -51,18 +63,20 @@ arbitrary native presets share an endpoint or account.
|
|
|
51
63
|
2. The next prompt sends `session/set_config_option`, `configId: model`, value
|
|
52
64
|
`task809-b(openai)`. Native acknowledgement precedes a request using B.
|
|
53
65
|
3. Clear removes the desired row. The adapter sends the original baseline
|
|
54
|
-
`task809-a(openai)` and receives acknowledgement,
|
|
55
|
-
|
|
66
|
+
`task809-a(openai)` and receives acknowledgement, then the third provider
|
|
67
|
+
request uses B. Its purpose is unknown. The observed sequence is **A/B/B**;
|
|
68
|
+
it does not establish an ordinary A/B/A verdict.
|
|
56
69
|
4. The fixture refuses that third unexpected model and reports failure. It does
|
|
57
70
|
not count the resulting turn as completed or as a passing clear. Two prior
|
|
58
71
|
delivery ids completed. Owned stop succeeds and private settings remain
|
|
59
72
|
byte-identical immediately after B and after stop.
|
|
60
73
|
|
|
61
|
-
|
|
62
|
-
counts 1, 2 and 3. No response-format/title schema is present
|
|
63
|
-
|
|
64
|
-
request
|
|
65
|
-
is not
|
|
74
|
+
The original ordinary classification used message counts 2, 4 and 6, with user
|
|
75
|
+
counts 1, 2 and 3. No response-format/title schema is present, and auto-title was
|
|
76
|
+
declared disabled before startup. Those facts do not exclude a follow-up
|
|
77
|
+
suggestion request or identify the third request's purpose. The underlying
|
|
78
|
+
native cause is not established; the observed ACK is insufficient to certify
|
|
79
|
+
ordinary clear.
|
|
66
80
|
|
|
67
81
|
## Earlier setup failures
|
|
68
82
|
|