@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.
Files changed (165) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +25 -4
  3. package/THIRD_PARTY_NOTICES.md +0 -18
  4. package/docs/agent-notes/README.md +71 -1
  5. package/docs/agent-notes/adapters.md +5 -2
  6. package/docs/agent-notes/bus.md +1 -0
  7. package/docs/agent-notes/daemon.md +7 -6
  8. package/docs/agent-notes/local-worker.md +1 -0
  9. package/docs/agent-notes/models.md +5 -3
  10. package/docs/agent-notes/tasks.md +9 -2
  11. package/docs/agent-notes/tests.md +1 -1
  12. package/docs/contracts/companion-cli-v1.json +70 -0
  13. package/docs/design/adapters.md +115 -2
  14. package/docs/design/agent-hub-architecture.md +10 -2
  15. package/docs/design/bus.md +8 -0
  16. package/docs/design/execution-reference.md +171 -11
  17. package/docs/design/guidance-experiments.md +438 -0
  18. package/docs/design/guidance-probes.md +802 -0
  19. package/docs/design/model-routes.md +1053 -0
  20. package/docs/design/supervision.md +121 -0
  21. package/docs/design/task-board.md +111 -0
  22. package/docs/dogfood.md +24 -15
  23. package/docs/events.md +20 -1
  24. package/docs/memory.md +3 -3
  25. package/docs/operations.md +366 -133
  26. package/docs/profiles.md +2 -2
  27. package/docs/quickstart.md +114 -3
  28. package/docs/research.md +5 -3
  29. package/docs/sdlc.md +113 -7
  30. package/docs/security.md +88 -6
  31. package/docs/specs/2026-09-19-agent-hub-design.md +14 -11
  32. package/docs/specs/2026-10-04-switchyard-source-port-design.md +3 -1
  33. package/docs/verification/2026-10-25-qwen-dual-output-t0.md +22 -0
  34. package/docs/verification/2026-11-08-qwen-0269-model-setter-1317.md +25 -11
  35. package/docs/verification/2026-11-09-qwen-0270-acp.md +181 -0
  36. package/docs/verification/2026-11-09-qwen-0270-model-setter-1317.md +61 -0
  37. package/docs/verification/2026-11-10-0.36.0.md +59 -0
  38. package/docs/verification/2026-11-10-claude-implementer-2.1.322.md +59 -0
  39. package/docs/verification/2026-11-10-qwen-0270-dual-output.md +367 -0
  40. package/docs/verification/2026-11-10-qwen-0271-dual-output.md +101 -0
  41. package/docs/verification/2026-11-11-0.37.0.md +40 -0
  42. package/docs/verification/2026-11-11-guidance-probe-t2-1226.md +153 -0
  43. package/docs/verification/2026-11-11-qwen-setter-suggestions-off.md +167 -0
  44. package/docs/verification/claude-shell-wrapper-native.py +1 -1
  45. package/docs/verified.json +27 -27
  46. package/package.json +3 -4
  47. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  48. package/plugins/agent-hub/kimi-hook.js +3570 -1800
  49. package/plugins/agent-hub/server.js +4112 -1913
  50. package/src/adapters/channel-peer.ts +7 -1
  51. package/src/adapters/claude-channel.ts +7 -4
  52. package/src/adapters/compat.ts +10 -10
  53. package/src/adapters/local-probe.ts +174 -0
  54. package/src/adapters/local-worker.ts +233 -22
  55. package/src/adapters/qwen-dual.ts +324 -44
  56. package/src/cli/console-state.ts +25 -6
  57. package/src/cli/console-versions.ts +99 -0
  58. package/src/cli/console.ts +13 -1
  59. package/src/cli/guidance.ts +67 -0
  60. package/src/cli/help.ts +12 -4
  61. package/src/cli/identity.ts +10 -3
  62. package/src/cli/init-prompt.ts +15 -2
  63. package/src/cli/init-required-checks.ts +122 -0
  64. package/src/cli/init-settings.ts +10 -4
  65. package/src/cli/init.ts +39 -3
  66. package/src/cli/install-paths.ts +7 -2
  67. package/src/cli/lineage.ts +78 -0
  68. package/src/cli/main.ts +171 -14
  69. package/src/cli/runtime-version-warning.ts +2 -2
  70. package/src/cli/sdlc-output.ts +9 -5
  71. package/src/cli/setup-research.ts +10 -0
  72. package/src/hub/autonomy-defaults.ts +20 -9
  73. package/src/hub/board.ts +346 -4
  74. package/src/hub/build-entry.ts +11 -0
  75. package/src/hub/bus.ts +12 -0
  76. package/src/hub/ci-watch.ts +4 -4
  77. package/src/hub/config-apply.ts +6 -3
  78. package/src/hub/config-trust.ts +7 -1
  79. package/src/hub/control-client.ts +5 -2
  80. package/src/hub/daemon.ts +508 -26
  81. package/src/hub/delivery-hints.ts +4 -2
  82. package/src/hub/delivery-journal.ts +50 -2
  83. package/src/hub/delivery-public.ts +51 -0
  84. package/src/hub/dogfood-profile.ts +8 -4
  85. package/src/hub/events.ts +3 -2
  86. package/src/hub/execution-lineage-owner.ts +272 -0
  87. package/src/hub/execution-lineage.ts +52 -8
  88. package/src/hub/execution-links.ts +85 -0
  89. package/src/hub/guidance-probe-store.ts +713 -0
  90. package/src/hub/guidance-probes.ts +358 -0
  91. package/src/hub/guidance-variants.ts +398 -0
  92. package/src/hub/handoff.ts +1 -0
  93. package/src/hub/hub-tools.ts +43 -2
  94. package/src/hub/inference.ts +18 -5
  95. package/src/hub/manager.ts +44 -2
  96. package/src/hub/memory-policy.ts +2 -2
  97. package/src/hub/operational-authority.ts +13 -1
  98. package/src/hub/peers.ts +6 -1
  99. package/src/hub/planning.ts +1 -1
  100. package/src/hub/ports.ts +1 -1
  101. package/src/hub/progress.ts +47 -23
  102. package/src/hub/report.ts +2 -0
  103. package/src/hub/research.ts +1 -0
  104. package/src/hub/restart.ts +20 -0
  105. package/src/hub/roles.ts +26 -0
  106. package/src/hub/routing.ts +4 -1
  107. package/src/hub/sdlc-merge.ts +39 -1
  108. package/src/hub/sdlc-release-authorization.ts +139 -17
  109. package/src/hub/sdlc-release-policy.ts +100 -0
  110. package/src/hub/sdlc-release.ts +60 -8
  111. package/src/hub/sdlc.ts +62 -11
  112. package/src/hub/settings.ts +2 -0
  113. package/src/hub/supervision-proposals.ts +405 -0
  114. package/src/hub/supervision-rules.ts +388 -0
  115. package/src/hub/supervision.ts +2 -0
  116. package/src/hub/task-approval.ts +2 -2
  117. package/src/hub/task-repository.ts +5 -0
  118. package/src/hub/tasks.ts +917 -53
  119. package/src/local/probe-errors.ts +28 -0
  120. package/src/local/probe-sandbox.ts +224 -0
  121. package/src/local/probe-types.ts +108 -0
  122. package/src/local/probe-workspace.ts +237 -0
  123. package/src/local/sandbox.ts +71 -2
  124. package/src/local/tools.ts +135 -9
  125. package/src/memory/capture.ts +2 -2
  126. package/src/models/relay.ts +9 -2
  127. package/src/models/route/advisor-trigger.ts +88 -0
  128. package/src/models/route/config.ts +39 -8
  129. package/src/models/route/conversation-view.ts +179 -0
  130. package/src/models/route/decision-evidence.ts +1 -1
  131. package/src/models/route/decision.ts +193 -26
  132. package/src/models/route/escalation-control.ts +30 -0
  133. package/src/models/route/hub-prompts.ts +97 -0
  134. package/src/models/route/judge-choice.ts +155 -0
  135. package/src/models/route/judge-replies.ts +102 -0
  136. package/src/models/route/labels.ts +14 -70
  137. package/src/models/route/observation-signals.ts +250 -0
  138. package/src/models/route/plan-execute-choice.ts +27 -0
  139. package/src/models/route/relay-selector.ts +10 -9
  140. package/src/models/route/runtime.ts +129 -60
  141. package/src/models/route/stage-diagnostics.ts +22 -0
  142. package/src/models/route/stage-evidence.ts +55 -0
  143. package/src/models/route/stage-fallback.ts +58 -0
  144. package/src/models/route/stage-input.ts +155 -0
  145. package/src/models/route/stage.ts +5 -147
  146. package/src/models/route/turn-state.ts +77 -0
  147. package/src/omniroute/client.ts +3 -0
  148. package/src/ui/guidance-panel.ts +156 -0
  149. package/src/ui/guidance-view.ts +43 -0
  150. package/src/ui/lineage-view.ts +34 -0
  151. package/src/ui/plugin.ts +141 -27
  152. package/src/version.ts +4 -0
  153. package/templates/adec/README.md +32 -0
  154. package/templates/adec/ahub.plan-execute.json +23 -0
  155. package/templates/adec/ahub.stage.json +23 -0
  156. package/LICENSES/Apache-2.0.txt +0 -204
  157. package/src/models/route/advisor.ts +0 -102
  158. package/src/models/route/escalation.ts +0 -82
  159. package/src/models/route/judge.ts +0 -23
  160. package/src/models/route/normalize.ts +0 -103
  161. package/src/models/route/plan-execute.ts +0 -52
  162. package/src/models/route/prompts.ts +0 -8
  163. package/src/models/route/signals.ts +0 -247
  164. package/src/models/route/state.ts +0 -54
  165. package/src/models/route/text.ts +0 -61
@@ -0,0 +1,153 @@
1
+ # Guidance probe T2 qualification
2
+
3
+ Date: 2026-11-11. Refs #1226. This is a human verification record for the
4
+ confined adapter, not the T3 durable producer receipt or a live trial.
5
+
6
+ ## Scope and authorization
7
+
8
+ T2 uses the existing LocalPeer loop on a fresh private peer, with host-only
9
+ lifecycle and purpose, a fixed requested model, role-specific admitted bytes,
10
+ read/write/edit tools and experiment-wide accounting. The factory is not wired
11
+ into the daemon. No real model or existing worker session was launched, and no
12
+ account or production configuration was changed. Live-home/account contents were
13
+ not copied or supplied as probe inputs. The same-PID OS crash report was read
14
+ read-only for the separate diagnosis described below.
15
+
16
+ Constructor-injected fake model/fixture ports are source evidence. They do not
17
+ prove OS confinement, provider behavior, sampling control or model quality.
18
+
19
+ ## Source and fixture checks
20
+
21
+ | Committed head | Check | Observed result |
22
+ | --- | --- | --- |
23
+ | `b403a263204feaf47204ee45561cc4ce4ff3562f` | Remote typecheck and owner-ledger tests | 59 pass, 0 fail, 363 assertions; complete-frame admission, compound rollback, replay and async currentness |
24
+ | `bf2bba1deb7032be889d9a7550cb7c811099a11f` | Initial full-source preflight | Typecheck failed on nullable narrowing and one new async fixture literal; tests not run |
25
+ | `6faf1b0e1ce87a69071122dfd77f799fd607ee93` | Corrected remote typecheck and 13 focused files | 241 pass, 22 macOS skips, 0 fail, 11385 assertions; skipped legs are not native proof |
26
+ | `c14387136f8e51e2af79f199b57ed405fe2d1823` | Async-preparation duplicate fix: typecheck, inventory and 3 focused files | 101 pass, 1 macOS skip, 0 fail, 700 assertions; deterministic barrier verifies no unframed reservation or double launch |
27
+
28
+ The first required changed gate at `e60557cccb2fbd585935f98c5d4bbca4dd51c7b7`
29
+ was deliberately stopped (exit 130) after static review found that a duplicate
30
+ could reserve an unframed slot while the original asynchronous frame was pending.
31
+ The owned container was observed absent after teardown. That run is not a green
32
+ gate. The fix returns current metadata only until the original reservation exists,
33
+ while checking the original actor/session/connection and preserving admitted replay.
34
+
35
+ After this source fix, normal pinned local bundle regeneration was deferred by
36
+ fresh resource admission (exit 75, memory pressure warning), including one
37
+ conductor-requested retry. The build did not start. Generated files were not
38
+ hand-edited and remote build outputs were not copied back. Subsequent
39
+ committed-head freshness verification at
40
+ `60606e56da5570ff2843211e89d8ed6ddb1cde5a` passed with the existing tracked
41
+ assets; build admission deferral alone did not establish stale bundles. The
42
+ required gate continued into the full suite. It then reported two registry-guard
43
+ failures for the kind-specific LocalPeer factory in generic `src/local/` and was
44
+ stopped (exit 130); its owned container was observed absent. The implementation
45
+ moves that factory to `src/adapters/local-probe.ts`, preserving the empty
46
+ registry baseline and every assertion. Final-head validation remains separately
47
+ reported in the PR.
48
+
49
+ The focused set covers T1 lifecycle/recovery/control, complete request parity,
50
+ role input separation, source/tree/binary binding, compound model/file budgets,
51
+ post-approval currentness, observer exclusion and existing LocalPeer/tool/path/
52
+ OmniRoute behavior. The final committed-head changed gate and hosted CI are
53
+ reported separately in the implementation PR; this record does not replace them.
54
+
55
+ ## Local macOS confinement attempt
56
+
57
+ The three focused suites ran under fresh resource admission, pinned Bun 1.4.2
58
+ and an isolated HOME/environment at
59
+ `3752a4013feb9e2bb5e44ea990cf21fd399a20cf`.
60
+
61
+ Observed: **50 pass, 1 skip, 7 fail**. All five role canaries, the default real
62
+ profile plus fake-model integration and the real-proof cleanup case failed the
63
+ first NC positive control. The default integration observed zero fake model
64
+ calls before the refusal. No native confinement or successful model execution
65
+ is established by this attempt.
66
+
67
+ Subsequent bounded private diagnostics at
68
+ `e612679bc1c9d7f0e39e3e2c6c943b86912d5832` identify the owned NC child as
69
+ `SIGABRT`, with quiescent process cleanup. Its same-PID OS crash record places
70
+ failure in dyld `ignition_halt` / `CacheFinder` / `ProcessConfig`, before program
71
+ startup; the reported termination namespace is `0x23`, code `2`. These fields
72
+ identify the observed startup stage, not the denied resource or root cause.
73
+
74
+ A separate isolated host diagnostic, `sandbox-exec` with an allow-default
75
+ profile running only system `true`, exited 0. It is neither the lane profile,
76
+ a negative-boundary test nor a fallback, and grants no probe qualification.
77
+
78
+ No file, Mach, network or system-data permission was added based on the abort.
79
+ No failing native assertion was removed or skipped. The default adapter refuses
80
+ before model handoff when its actual proof is unavailable.
81
+
82
+ A later bounded historical unified-log read used the kernel Sandbox/deny
83
+ predicate around the owned NC lifetime. It returned no matching denial, so the
84
+ resource remains unknown. A requested fresh logger-plus-canary attempt was
85
+ deferred by resource admission (exit 75, memory pressure warning), before the
86
+ logger or canary started. No permission was inferred from that empty read.
87
+
88
+ ## Review corrections
89
+
90
+ Review of `d81db5b7cc7437f60716e00d8d7d318381b74e2d` found three source issues
91
+ that its Linux gate did not establish away: non-canonical temporary-directory
92
+ parents could refuse admitted writes; the frozen token reservation did not
93
+ check each later call's own frame; and private tool errors hid their cause and
94
+ recovery step. The correction keeps ordinary paths unchanged and adds an alias
95
+ write case, a second-call frame-bound case and typed logical refusal cases.
96
+ Results for the corrected head are reported separately in the PR.
97
+
98
+ ## Native confinement root cause (macOS 27.0.1, local)
99
+
100
+ The "exact denied resource is unknown" statements above were written before this
101
+ bisection and stay as the record of that attempt. The cause is now identified,
102
+ by plain `sandbox-exec` runs and by the unchanged canaries; no assertion was
103
+ removed, skipped or loosened.
104
+
105
+ 1. **Root directory node.** `(deny file-read-data ...)` without `(literal "/")`
106
+ in the allowlist aborts every program at dyld startup (`nc`, `sh` and `cat`
107
+ all exit 134). Hosted macOS run 42967909894 shows the same abort. dyld reads
108
+ the root directory node's data at every process start. A `literal` matches that
109
+ one node, not its children.
110
+ 2. **The `/bin/sh` stub.** With (1) fixed, the lane script still fails, now at
111
+ its own `sh -c`: on this macOS `/bin/sh` re-execs `/bin/bash` as its variant
112
+ (`Failed to exec /bin/bash as variant for /bin/sh`) and reads the variant
113
+ selector `/private/var/select/sh`. The lane needed `/bin/bash` on the
114
+ `process-exec` allowlist and the selector as one data and traversal literal.
115
+ Allowing `/bin/bash` alone, or the selector's metadata alone, still fails.
116
+
117
+ With both, the unchanged canaries pass locally: all five role canaries, the
118
+ known-quiescent cleanup case and the default real-confinement plus fake-model
119
+ lifecycle (63 pass, 1 skip, 0 fail across the sandbox, local-worker and
120
+ input-matrix suites).
121
+
122
+ What the change widens, and what it does not. The selector `/private/var/select/sh`
123
+ is now **readable** under the lane profile (that is the grant); it is a system
124
+ symlink to `/bin/bash` and holds no operator data. Its siblings stay denied:
125
+ `developer_dir`, `X11` and the directory itself all refuse a read. An earlier
126
+ draft of this note said the selector's bytes were denied; that was a measurement
127
+ artifact (the read failed on writing to stdout) and is corrected here.
128
+
129
+ The exact generated profile, run through `sandbox-exec` as `/bin/sh`, still denies
130
+ reading a file outside the workspace, `/etc/hosts`, the person's home files and
131
+ `/Users`; denies executing `python3`, `curl` and `env`; denies a loopback
132
+ connection; and denies a write outside the workspace. `/bin/sh` on macOS is the
133
+ bash variant stub, so the `/bin/bash` exec grant lets the lane run nothing `sh`
134
+ could not. Probe tool dispatch refuses `bash` and `git` before any command
135
+ (existing negative test), so no probe tool runs a command at all.
136
+
137
+ ## Remaining evidence
138
+
139
+ - Local real-profile confinement now passes the unchanged canaries after the root-node and `/bin/sh` stub corrections above; that is one macOS 27.0.1 machine, not the
140
+ hosted gate. The earlier "unknown" statements describe the attempt before the bisection.
141
+ - Hosted macOS CI must run the unchanged positive/negative canaries and default
142
+ real-profile/fake-model integration. Linux refusal and fake fixtures cannot
143
+ substitute for that gate. A recurring hosted failure requires investigation.
144
+ - Real provider/model/worker behavior, measured gains and the separately
145
+ authorized live leg remain unrun. T3 receipt collection, reconciliation and
146
+ retained-output cleanup remain separate work.
147
+
148
+ Private evidence is retained at workspace-relative
149
+ `scratchpad/temp/task824/resume-20261111/`: `core-preflight.log`,
150
+ `source-preflight.log`, `source-preflight-typed.log`, `native-source.log`,
151
+ `native-control-owned.log`, `owned-crash.json`, `owned-native-log.txt` and
152
+ `native-runtime-control.json`. Raw profiles, physical workspace/home paths and
153
+ system report identity fields are not copied into this public record.
@@ -0,0 +1,167 @@
1
+ # Qwen ACP setter with follow-up suggestions disabled
2
+
3
+ Date: 2026-11-11. Task #861, Refs #1317 and #888.
4
+
5
+ **Both exact versions pass ordinary A/B/clear/A in this isolated fixture.**
6
+ Production live-setter admission remains unavailable; basic ACP and qwen-dual
7
+ verified-version lists are unchanged. This is candidate evidence for a separate
8
+ conductor admission decision, limited to normal settings with suggestions off.
9
+
10
+ ## Measured completion requests
11
+
12
+ Ordinals are reserved at completion-POST arrival, before reading the body.
13
+ Classification uses the complete latest USER, never total request/message counts
14
+ or a marker in earlier history. It requires all-text content, streaming/plain
15
+ response shape without a title schema, and exactly one current-run marker. A
16
+ source-pinned suggestion digest can identify a suggestion; unsupported or
17
+ ambiguous requests fail the leg. Model-list GETs are not turn classification
18
+ evidence.
19
+
20
+ | Version | Ordinal | Latest USER marker | Class | Provider model | Full USER bytes |
21
+ | --- | --- | --- | --- | --- | --- |
22
+ | 0.26.9 | 1 | A | ordinary | `task861-a` | 12148 |
23
+ | 0.26.9 | 2 | B | ordinary | `task861-b` | 185 |
24
+ | 0.26.9 | 3 | CLEAR | ordinary | `task861-a` | 189 |
25
+ | 0.27.0 | 1 | A | ordinary | `task861-a` | 12148 |
26
+ | 0.27.0 | 2 | B | ordinary | `task861-b` | 185 |
27
+ | 0.27.0 | 3 | CLEAR | ordinary | `task861-a` | 189 |
28
+
29
+ All six requests are text-block streaming requests with no response-format or
30
+ title schema. Each version completes all three delivery IDs. While A is held,
31
+ changing desired selection to B sends no setter and busy delivery refuses.
32
+ The next-turn B setter and baseline-A clear are acknowledged before their
33
+ respective completion-request arrivals. No suggestion or unknown completion
34
+ request is observed in either successful closed session.
35
+
36
+ ## Source, artifact and settings binding
37
+
38
+ The production `AcpPeer`, `ModelOverrides` and `ModelOverrideLatches` come from
39
+ `cb5976ebc83252865569460d641bb59315124edc` (published 0.36.0), tree
40
+ `4ba31b1439f5016654e0cbadd84f4f8854c0c1d1`.
41
+ The controller checks 27 committed source/metadata files and two physically owned
42
+ agent-mem 0.23.1 dependency files, including its package manifest; no ancestor
43
+ dependency is used for native execution. Fourteen binding observations per leg
44
+ match. The private model policy is explicitly unqualified and changes no
45
+ production capability or machine trust.
46
+
47
+ - Node 24.18.1 runs from an owned runtime outside the actual HOME; SHA-256
48
+ `f480e325ee0ca9cb9eef00b5ca6057a2a104807a1b073f1bc373a55c67facff5`.
49
+ - Controller Bun 1.4.2 SHA-256
50
+ `35d20dd0263e5c950194434b925454fdfa9ba6e4467da960410fa05b08a7a5b5`.
51
+ - Exact 0.26.9 is reacquired from its official SRI-pinned tarball through a normal
52
+ private npm 11.20.0 install. Exact 0.27.0 reuses the immutable private #849
53
+ artifact. Package, CLI and ACP hashes match their prior bindings; private
54
+ lockfiles and prefix snapshots bind the installed dependencies.
55
+ - Reviewed lifecycle metadata names optional audio-capture `node install.js`
56
+ (a nonfatal node-gyp-build launcher) and clipboard `prepare: husky`; the latter
57
+ is not marked as an install script in the locks. No audio or clipboard journey
58
+ is qualified.
59
+
60
+ | Exact package | npm gitHead | SRI |
61
+ | --- | --- | --- |
62
+ | 0.26.9 | `600aff0592bcfc21668ca4aba95a5b20c6491b86` | `sha512-2orVsP3Dr01gk38STbYTWcFZeXftc0QXDHhglK7YPsIwgmumvnJeTAu1N00esRUwuLcevZ8k4godLwypDKb1LA==` |
63
+ | 0.27.0 | `03b0c2435be1890a21b117860eaf389076787275` | `sha512-efZt0LUm/raGUjR/SNN6pp8cpuNHnmE0hQvcvXzWHtVX9oVtDDgukq2IZNwYDErFYqHRj1xq2NQ5Jjt2SHUr/Q==` |
64
+
65
+ The native command uses `--acp --advisor off --auth-type openai
66
+ --telemetry=false`, with **no `--bare`**. Before CLI startup, a denied-network
67
+ child loads the exact normal settings module and checks nine booleans: UI
68
+ follow-up suggestions false, hooks disabled, MCP empty, synthetic OpenAI auth,
69
+ fixture model A, owned user/system/default settings paths and auto-update off.
70
+ All nine are true on both versions. Each private settings file remains
71
+ byte-identical after B and after owned stop. No real credentials or accounts
72
+ are copied or used; only the owned loopback provider supplies fixed SSE text.
73
+
74
+ Static AST metadata joins ACP `generatePromptSuggestion` to its local
75
+ `generateViaBaseLlm` USER-text reference. The exact 1,548-byte shipped suggestion
76
+ constant has SHA-256
77
+ `53e6d97a6587792612a74b051b81e7b5a2236496e8da25aafe6c7cf75086d8e2`
78
+ on both versions. Source modules are `chunk-AXAZGX4Y.js` for 0.26.9 and
79
+ `chunk-AHZ4AG7B.js` for 0.27.0. This narrow symbol binding does not certify a
80
+ complete vendor import graph. Prompt bodies are not published.
81
+
82
+ ## Isolation, closure and retained evidence
83
+
84
+ Fresh 0700 roots isolate HOME, cwd, TMPDIR, XDG, Qwen/runtime and hub trust/DB.
85
+ The reviewed Seatbelt profile denies actual-home/system Qwen configuration and
86
+ global writes, permits only the exact loopback provider port, and passes the
87
+ positive provider / negative decoy, actual-config-read, runtime-copy-write and
88
+ native watcher controls. The approved exact-path fingerprint exclusions are
89
+ unchanged; global/managed install, launcher and selector are separate scopes.
90
+
91
+ | Version | Protected entries before/after | Private prefix entries before/after | Observed owned identities | Remaining observed processes |
92
+ | --- | --- | --- | --- | --- |
93
+ | 0.26.9 | 7025 / 7025 | 1721 / 1721 | 18 | 0 |
94
+ | 0.27.0 | 7025 / 7025 | 1723 / 1723 | 18 | 0 |
95
+
96
+ | Version | Protected digest (both snapshots) | Private-prefix digest (both snapshots) |
97
+ | --- | --- | --- |
98
+ | 0.26.9 | `a88c24aad7147a0a60127bb07c7170a560c3e010064d004bdd072d5f74a87a1f` | `1de05d088a3572bc3de449343b73df56530d7bb586b5937e436fcc09e25c8bcb` |
99
+ | 0.27.0 | `a88c24aad7147a0a60127bb07c7170a560c3e010064d004bdd072d5f74a87a1f` | `ba1c58e46b3a9bd7073befe0ea92b1c24db0b3a72519cf1c9b237d567cf80c58` |
100
+
101
+ Each corresponding digest also matches before/after. Actual configuration,
102
+ global/managed packages, launcher and selector are unchanged within each leg.
103
+ Provider shutdown joins every admitted handler, body and stream before freezing
104
+ the final ledger; all pending counts are zero. Owned native stop and outer
105
+ process observation pass, with no cleanup fault. Detached lifetime containment
106
+ is not claimed.
107
+
108
+ Private producers and closed evidence are located through
109
+ `scratchpad/temp/task861/qualified-results.json`, with per-leg roots and full
110
+ manifest, source, settings, ledger and supervisor bindings. These producers are
111
+ private/uncommitted; the hashes identify the reviewed source, not a committed
112
+ reproducible proof module.
113
+
114
+ | Version | Closed result SHA-256 |
115
+ | --- | --- |
116
+ | 0.26.9 | `2edb1498fb392ac748d4ec67541adcc635ea65955b053c8dd4a8534ad9ccafd1` |
117
+ | 0.27.0 | `58729f79913ed6a71fd718fd60344c48e0f734226cae0e0efa3c66f625912ac3` |
118
+
119
+ Final harness source SHA-256:
120
+
121
+ | Producer | SHA-256 |
122
+ | --- | --- |
123
+ | `REVIEW.md` | `a14f335214395720de1cb33be111671df4c8e376748409d4ade90730049dc236` |
124
+ | `acquire-control.ts` | `72a43ee351fb57c9d6252fd002dc589ce992012464f416ed3c97a7f2b31edb24` |
125
+ | `classifier.ts` | `5369f98d46faa303c950863ff8039e26f76b6ed8ae013e04dd7950d34d14d8c5` |
126
+ | `controls.test.ts` | `cc030983bcad3f6c4de42bdddc03fa4c3abcd55fd35f8cbd620c64a4d2d5f605` |
127
+ | `provider-ledger-controls.test.ts` | `ec8e678770b8a22b9478ba953ecff2946607266e5799273aaa1ea1100e8ab2f8` |
128
+ | `provider-ledger.ts` | `7fd93abe014e0eb0777de360ccb3439aafd92de47abbe82e21557fa1d8110bb3` |
129
+ | `provider-lifetime.ts` | `72539a505364840e7ee9d915431729e74d0bd183f1164de28e9d8d775e65835d` |
130
+ | `run-setter.ts` | `68de89df97fb37ba80d876541359d66dfe8a9e8dee4d078e0818e750569cf6b1` |
131
+ | `setter-probe.ts` | `8d2ff2a7c96575bbe325322a33e7026db9c5090698e9f8bac8da7e1536ac10e8` |
132
+ | `snapshot.py` | `9b2fb040a69ddc4ec4c0773dfd96e3ce2793b32c3a02b52932bd393bff5295f2` |
133
+ | `source-binding.ts` | `91593661b2b0a011a6abfaf395d7fd01aeb3fbc9eb9bfc71861ea22d2fc765c6` |
134
+
135
+ ## Earlier attempts and historical correction
136
+
137
+ The first suggestions-off 0.26.9 attempt had all nine settings checks true but
138
+ one complete 12,148-byte latest USER was rejected as unknown by the private
139
+ classifier before marker search: it incorrectly reused its 4,096-byte diagnostic
140
+ retention limit as a full-input limit. The session timed out, owned cleanup and
141
+ fences passed, and that request remains unknown. It establishes no clear
142
+ outcome. Its closed root is retained through
143
+ `scratchpad/temp/task861/first-qualify-0.26.9.json`.
144
+
145
+ The corrected fixture classifies complete input up to 64 KiB while retaining
146
+ only a 4,096-byte private diagnostic prefix. `latestUserTruncated` refers to
147
+ that diagnostic retention, not incomplete parsed input. Original assertions
148
+ remain; added complete-context, repeated/mixed-marker and over-bound cases
149
+ bring fake controls to **9 passed, 0 failed, 63 assertions**. New source hashes
150
+ and fresh resource admission precede each successful sequential native run.
151
+
152
+ The [0.26.9](2026-11-08-qwen-0269-model-setter-1317.md) and
153
+ [0.27.0](2026-11-09-qwen-0270-model-setter-1317.md) historical A/B/B results retain
154
+ counts/response shape but no latest-USER content, marker or digest. Their third
155
+ request purpose is **unknown**. The new result invalidates count-only ordinary
156
+ classification; it does not prove the old request was a suggestion or that
157
+ disabling suggestions alone caused a behavioral change across the old/new
158
+ controller and adapter sources.
159
+
160
+ ## Admission proposal and limits
161
+
162
+ Propose separate conductor review of an exact 0.26.9/0.27.0 setter admission
163
+ using this suggestions-off evidence. This PR enables neither version. Default-on
164
+ suggestions, real accounts/models, arbitrary provider-identity mapping, TUI,
165
+ Linux and installed-hub operation remain unverified. Existing basic ACP and
166
+ qwen-dual admissions stay unchanged. Committed-head automated/hosted checks are
167
+ reported with the PR submission, separately from these native fixture results.
@@ -68,7 +68,7 @@ results=[]
68
68
  for raw_binary in args.claude:
69
69
  binary=pathlib.Path(raw_binary).resolve(); identity=ROOT/('identity-'+binary.name); identity.mkdir()
70
70
  version=subprocess.run([str(binary),'--version'],env={'HOME':str(identity),'CLAUDE_CONFIG_DIR':str(identity/'config'),'PATH':runtime_path},capture_output=True,text=True,timeout=10)
71
- assert version.returncode==0 and (version.stdout.strip().split()[0] == args.expected_version if args.expected_version is not None else version.stdout.strip().split()[0] in ('2.1.309','2.1.310','2.1.314','2.1.316','2.1.318','2.1.319')),(version.returncode,version.stdout)
71
+ assert version.returncode==0 and (version.stdout.strip().split()[0] == args.expected_version if args.expected_version is not None else version.stdout.strip().split()[0] in ('2.1.309','2.1.310','2.1.314','2.1.316','2.1.318','2.1.319','2.1.322')),(version.returncode,version.stdout)
72
72
  label=version.stdout.strip().split()[0]; digest=sha(binary)
73
73
  for mode in ('context','normalized'):
74
74
  d=ROOT/(label+'-'+mode); d.mkdir(); home=d/'home';home.mkdir(); work=d/"work 'quoted'";work.mkdir();(work/'sub').mkdir()
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "documents": {
4
4
  "README.md": {
5
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
5
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
6
6
  "paths": [
7
7
  "package.json",
8
8
  "src/",
@@ -11,14 +11,14 @@
11
11
  ]
12
12
  },
13
13
  "docs/security.md": {
14
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
14
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
15
15
  "paths": [
16
16
  "src/",
17
17
  "templates/"
18
18
  ]
19
19
  },
20
20
  "docs/operations.md": {
21
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
21
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
22
22
  "paths": [
23
23
  "package.json",
24
24
  "src/",
@@ -35,7 +35,7 @@
35
35
  ]
36
36
  },
37
37
  "docs/quickstart.md": {
38
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
38
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
39
39
  "paths": [
40
40
  "package.json",
41
41
  "src/",
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  },
45
45
  "docs/adding-an-ai-tool.md": {
46
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
46
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
47
47
  "paths": [
48
48
  "src/adapters/registry-types.ts",
49
49
  "src/adapters/registry.ts",
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  },
64
64
  "docs/addons/claude-mem.md": {
65
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
65
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
66
66
  "paths": [
67
67
  "src/hub/tooling.ts",
68
68
  "src/adapters/definitions/native-policy-aux.ts",
@@ -116,7 +116,7 @@
116
116
  ]
117
117
  },
118
118
  "docs/cooperbench.md": {
119
- "verifiedAgainst": "8e066f20c2809b7700539cd7dd42ef4232f44eae",
119
+ "verifiedAgainst": "4ac7c54c187011106873fddac09a88b0c925cedb",
120
120
  "paths": [
121
121
  "scripts/benchmarks/runner.py",
122
122
  "scripts/benchmarks/native.ts",
@@ -141,7 +141,7 @@
141
141
  ]
142
142
  },
143
143
  "docs/data-policy.md": {
144
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
144
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
145
145
  "paths": [
146
146
  "src/hub/path-policy.ts",
147
147
  "src/local/tools.ts",
@@ -154,7 +154,7 @@
154
154
  ]
155
155
  },
156
156
  "docs/dogfood.md": {
157
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
157
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
158
158
  "paths": [
159
159
  "src/hub/dogfood.ts",
160
160
  "src/hub/dogfood-read.ts",
@@ -164,7 +164,7 @@
164
164
  ]
165
165
  },
166
166
  "docs/events.md": {
167
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
167
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
168
168
  "paths": [
169
169
  "src/hub/events.ts",
170
170
  "src/hub/attribution.ts",
@@ -177,7 +177,7 @@
177
177
  ]
178
178
  },
179
179
  "docs/memory.md": {
180
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
180
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
181
181
  "paths": [
182
182
  "package.json",
183
183
  "src/memory/",
@@ -194,7 +194,7 @@
194
194
  ]
195
195
  },
196
196
  "docs/profiles.md": {
197
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
197
+ "verifiedAgainst": "4ac7c54c187011106873fddac09a88b0c925cedb",
198
198
  "paths": [
199
199
  "templates/profiles/",
200
200
  "templates/packs/",
@@ -213,7 +213,7 @@
213
213
  ]
214
214
  },
215
215
  "docs/research.md": {
216
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
216
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
217
217
  "paths": [
218
218
  "src/hub/research.ts",
219
219
  "src/hub/tooling.ts",
@@ -221,7 +221,7 @@
221
221
  ]
222
222
  },
223
223
  "docs/roles.md": {
224
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
224
+ "verifiedAgainst": "4ac7c54c187011106873fddac09a88b0c925cedb",
225
225
  "paths": [
226
226
  "src/hub/roles.ts",
227
227
  "src/hub/shipped-roles.ts",
@@ -232,7 +232,7 @@
232
232
  ]
233
233
  },
234
234
  "docs/sdlc.md": {
235
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
235
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
236
236
  "paths": [
237
237
  "src/hub/sdlc.ts",
238
238
  "src/hub/sdlc-merge.ts",
@@ -262,7 +262,7 @@
262
262
  ]
263
263
  },
264
264
  "docs/text-projection.md": {
265
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
265
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
266
266
  "paths": [
267
267
  "src/hub/text-projection.ts",
268
268
  "src/hub/projection-exec.ts",
@@ -273,7 +273,7 @@
273
273
  ]
274
274
  },
275
275
  "docs/agent-notes/adapters.md": {
276
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
276
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
277
277
  "paths": [
278
278
  "src/adapters/",
279
279
  "src/pi/",
@@ -311,7 +311,7 @@
311
311
  ]
312
312
  },
313
313
  "docs/agent-notes/benchmarks.md": {
314
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
314
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
315
315
  "paths": [
316
316
  "scripts/benchmarks/",
317
317
  "test/benchmarks/",
@@ -323,7 +323,7 @@
323
323
  ]
324
324
  },
325
325
  "docs/agent-notes/budget.md": {
326
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
326
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
327
327
  "paths": [
328
328
  "src/hub/budget.ts",
329
329
  "src/cli/statusline-tee.ts",
@@ -347,7 +347,7 @@
347
347
  ]
348
348
  },
349
349
  "docs/agent-notes/bus.md": {
350
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
350
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
351
351
  "paths": [
352
352
  "src/hub/bus.ts",
353
353
  "src/hub/envelope.ts",
@@ -362,7 +362,7 @@
362
362
  ]
363
363
  },
364
364
  "docs/agent-notes/daemon.md": {
365
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
365
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
366
366
  "paths": [
367
367
  "src/hub/daemon.ts",
368
368
  "src/hub/control-client.ts",
@@ -453,7 +453,7 @@
453
453
  ]
454
454
  },
455
455
  "docs/agent-notes/local-worker.md": {
456
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
456
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
457
457
  "paths": [
458
458
  "src/adapters/local-worker.ts",
459
459
  "src/local/",
@@ -465,7 +465,7 @@
465
465
  ]
466
466
  },
467
467
  "docs/agent-notes/models.md": {
468
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
468
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
469
469
  "paths": [
470
470
  "src/models/",
471
471
  "src/hub/inference.ts",
@@ -473,7 +473,7 @@
473
473
  ]
474
474
  },
475
475
  "docs/agent-notes/tasks.md": {
476
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
476
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
477
477
  "paths": [
478
478
  "src/hub/tasks.ts",
479
479
  "src/hub/board.ts",
@@ -521,7 +521,7 @@
521
521
  ]
522
522
  },
523
523
  "docs/agent-notes/tests.md": {
524
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
524
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
525
525
  "paths": [
526
526
  "test/",
527
527
  "scripts/check.sh",
@@ -550,7 +550,7 @@
550
550
  ]
551
551
  },
552
552
  "docs/agent-notes/README.md": {
553
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
553
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
554
554
  "paths": [
555
555
  "src/cli/console-state.ts",
556
556
  "src/cli/attention.ts",
@@ -559,7 +559,7 @@
559
559
  ]
560
560
  },
561
561
  "src/cli/help.ts": {
562
- "verifiedAgainst": "44c523e1e08b36974e3313a90bca9b25b24e0134",
562
+ "verifiedAgainst": "8a2a09e4589151ffd3cde8ce0b4638cfcda9f5cc",
563
563
  "paths": [
564
564
  "src/cli/main.ts",
565
565
  "src/cli/launch.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staix/agent-hub",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "Native multi-agent hub: Claude Code, Codex, Kimi Code, Pi and local inference as peers in one project",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,7 +17,7 @@
17
17
  "bun": ">=1.4.2"
18
18
  },
19
19
  "dependencies": {
20
- "@staix/agent-mem": "0.23.1"
20
+ "@staix/agent-mem": "0.24.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@modelcontextprotocol/sdk": "^1.27.1",
@@ -35,8 +35,7 @@
35
35
  "README.md",
36
36
  "LICENSE",
37
37
  "CHANGELOG.md",
38
- "THIRD_PARTY_NOTICES.md",
39
- "LICENSES"
38
+ "THIRD_PARTY_NOTICES.md"
40
39
  ],
41
40
  "repository": {
42
41
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-hub",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "Channel between Claude Code and the agent-hub daemon: peer messages from Codex, Kimi and the local worker arrive as channel events; hub_send replies.",
5
5
  "author": {
6
6
  "name": "Young Joon Lee",