@staix/agent-hub 0.35.0 → 0.36.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 +26 -0
- package/README.md +21 -4
- package/docs/agent-notes/README.md +60 -0
- package/docs/agent-notes/adapters.md +5 -2
- package/docs/agent-notes/bus.md +1 -0
- package/docs/agent-notes/daemon.md +5 -4
- package/docs/agent-notes/models.md +4 -3
- package/docs/agent-notes/tasks.md +8 -1
- package/docs/agent-notes/tests.md +1 -0
- package/docs/design/adapters.md +72 -0
- package/docs/design/agent-hub-architecture.md +1 -1
- 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/model-routes.md +628 -0
- package/docs/design/supervision.md +121 -0
- package/docs/design/task-board.md +111 -0
- package/docs/dogfood.md +15 -4
- package/docs/operations.md +291 -22
- package/docs/profiles.md +2 -2
- package/docs/quickstart.md +106 -1
- package/docs/research.md +4 -2
- package/docs/sdlc.md +108 -4
- package/docs/security.md +67 -5
- package/docs/specs/2026-09-19-agent-hub-design.md +5 -4
- package/docs/verification/2026-10-25-qwen-dual-output-t0.md +22 -0
- package/docs/verification/2026-11-09-qwen-0270-acp.md +181 -0
- package/docs/verification/2026-11-09-qwen-0270-model-setter-1317.md +46 -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/claude-shell-wrapper-native.py +1 -1
- package/docs/verified.json +27 -27
- package/package.json +1 -1
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +1201 -368
- package/plugins/agent-hub/server.js +1682 -431
- package/src/adapters/claude-channel.ts +7 -4
- package/src/adapters/compat.ts +10 -10
- package/src/adapters/local-worker.ts +1 -1
- package/src/adapters/qwen-dual.ts +324 -44
- package/src/cli/guidance.ts +67 -0
- package/src/cli/help.ts +10 -3
- 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/lineage.ts +78 -0
- package/src/cli/main.ts +111 -10
- 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 +2 -1
- package/src/hub/config-trust.ts +1 -0
- package/src/hub/control-client.ts +1 -1
- package/src/hub/daemon.ts +342 -20
- 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/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-variants.ts +398 -0
- package/src/hub/handoff.ts +1 -0
- package/src/hub/hub-tools.ts +43 -2
- package/src/hub/manager.ts +44 -2
- package/src/hub/memory-policy.ts +2 -2
- package/src/hub/peers.ts +1 -1
- package/src/hub/planning.ts +1 -1
- package/src/hub/progress.ts +24 -7
- package/src/hub/restart.ts +13 -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.ts +1 -1
- 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 +603 -50
- package/src/memory/capture.ts +2 -2
- package/src/models/relay.ts +9 -2
- package/src/models/route/config.ts +27 -0
- package/src/models/route/decision.ts +87 -15
- package/src/models/route/relay-selector.ts +8 -7
- package/src/models/route/runtime.ts +22 -16
- 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/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 +71 -7
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Qwen Code 0.27.0 ACP receipt and separate setter failure
|
|
2
|
+
|
|
3
|
+
Date: 2026-11-09. Task #849, Refs #888, #843 and #1317. Repeats the
|
|
4
|
+
[0.26.9 account-free ACP procedure](2026-11-08-qwen-0269-acp.md) on macOS arm64.
|
|
5
|
+
|
|
6
|
+
**Decision: add exactly 0.27.0 to COMPAT.qwen.verified for basic ACP.** Native
|
|
7
|
+
identity/auth/session/modes, permission and lifecycle legs passed. The separate
|
|
8
|
+
model-setter clear failed with actual A/B/B instead of A/B/A and remains
|
|
9
|
+
unavailable. Ruling `ec269fda-8b22-42a3-9eed-2162df35043e` confirms the setter
|
|
10
|
+
is independent of base ACP admission, consistent with the owning adapter spec
|
|
11
|
+
and the 0.26.9 precedent. No production setter capability is enabled.
|
|
12
|
+
The earlier controller preflights below are separate from these native results.
|
|
13
|
+
|
|
14
|
+
## Exact artifact
|
|
15
|
+
|
|
16
|
+
The [official npm metadata](https://registry.npmjs.org/@qwen-code/qwen-code/0.27.0)
|
|
17
|
+
identifies `@qwen-code/qwen-code@0.27.0`, gitHead
|
|
18
|
+
`03b0c2435be1890a21b117860eaf389076787275`. An existing installed managed package
|
|
19
|
+
was inspected read-only; its launcher/updater and existing live Qwen sessions
|
|
20
|
+
were never executed, stopped or modified by this procedure. A normal npm install
|
|
21
|
+
into a fresh private prefix used empty npm configurations, a private cache and
|
|
22
|
+
build concurrency two. Its lock SRI matches the official metadata. Read-only
|
|
23
|
+
post-failure checks found the private and installed candidate's following bytes
|
|
24
|
+
identical; this initial artifact binding alone does not establish qualification. The final
|
|
25
|
+
native legs below qualify basic ACP only.
|
|
26
|
+
|
|
27
|
+
| Binding | Value |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| npm integrity | `sha512-efZt0LUm/raGUjR/SNN6pp8cpuNHnmE0hQvcvXzWHtVX9oVtDDgukq2IZNwYDErFYqHRj1xq2NQ5Jjt2SHUr/Q==` |
|
|
30
|
+
| package.json SHA-256 | `5ea040b5b64919db25165e5a24385cb47c32f4b4a4f9616aba43f6dc546f8d6a` |
|
|
31
|
+
| cli-entry.js SHA-256 | `113efe4104a9fc66f507d34bfd6abbd896ceb77de47f4b468a0825a327fdc6a5` |
|
|
32
|
+
| chunks/acpAgent-JWWKYBTE.js SHA-256 | `7ccffe1c5ac6ba051ee51dc8275407d1fc48d13758d99ce205dd7132e8dd9086` |
|
|
33
|
+
|
|
34
|
+
## Reviewed protection scope and fresh baseline
|
|
35
|
+
|
|
36
|
+
Conductor rulings `b2616e29-992c-4b65-9c94-d9032b0395a5` and
|
|
37
|
+
`e711a816-3964-46bd-973e-75cecbc1cfdc` authorize a revised protection scope:
|
|
38
|
+
|
|
39
|
+
- Exclude only the root-relative live-state directories `file-history/`,
|
|
40
|
+
`projects/`, `tmp/` and `memories/`. Other user-authored memory stays protected.
|
|
41
|
+
- Separately exclude the root `updates/` archive from the config walk. The exact
|
|
42
|
+
global package, active managed 0.27.0 artifact, launcher link, resolved entry
|
|
43
|
+
binding and active selector remain independently fingerprinted and validated.
|
|
44
|
+
- Exclude only `usage/token-usage-*.jsonl`, `user-memory-meta.json`, the root
|
|
45
|
+
markers `.openai-logs-cleanup-*`, `.subagent-cleanup-*`,
|
|
46
|
+
`.debug-logs-cleanup-*`, and exact `.file-history-cleanup`. The conductor's
|
|
47
|
+
metadata/top-key inspection identifies monthly token append logs, cleanup
|
|
48
|
+
state and a 237-byte synchronization status record with only version,
|
|
49
|
+
createdAt, updatedAt, dirtyMutations, status, pendingReason and lastAttemptAt.
|
|
50
|
+
This classification comes from that ruling; this worker copied no auth or
|
|
51
|
+
user-memory contents for classification.
|
|
52
|
+
- Every other Qwen entry remains protected, including settings, `.env`, QWEN.md,
|
|
53
|
+
auth, tip history, extensions and user-authored memory. Exclusions apply only
|
|
54
|
+
to their exact logical locations, not nested lookalikes or protected links
|
|
55
|
+
into excluded trees. The other native tool retains the historical recursive
|
|
56
|
+
sessions/logs/cache/install/bin/node_modules/.git exclusions; it is not a
|
|
57
|
+
claim to hash that tool's entire session or runtime installation.
|
|
58
|
+
|
|
59
|
+
The fence hashes protected contents without storing them, follows protected
|
|
60
|
+
symlink targets with cycle bounds, and checks dev/inode/mode/size/mtime against
|
|
61
|
+
both the descriptor and the named entry after reads. It checks link retargeting
|
|
62
|
+
and filtered directory-entry stability. Errors and oversized files refuse.
|
|
63
|
+
Config files retain a 64 MiB per-file ceiling. The global-artifact-only ceiling
|
|
64
|
+
is 128 MiB, justified by the metadata-only observation of an 88,660,864-byte
|
|
65
|
+
installed file. Each snapshot retains a 512 MiB total, 30,000-entry and depth-24
|
|
66
|
+
bound. No required file is skipped to pass a bound.
|
|
67
|
+
|
|
68
|
+
Thirty-two scratch controls pass: protected config/auth/extensions and unknown
|
|
69
|
+
files, near-miss and nested runtime names, user memory, atomic replacement and
|
|
70
|
+
retargeting; exact excluded runtime changes; archive versus active-artifact
|
|
71
|
+
protection; and a sparse 90 MiB global artifact whose mutation beyond 64 MiB is
|
|
72
|
+
detected while 128 MiB plus one byte refuses before opening it.
|
|
73
|
+
|
|
74
|
+
A **fresh revised baseline** has 7,016 entries, digest
|
|
75
|
+
`ddef2fe32e285bf7b3cd7f2cdd87101a5ede56d885eade626a7edc6d7a7555c3`.
|
|
76
|
+
No changed method is compared with an older baseline. Every qualifying helper's
|
|
77
|
+
before/after fence and the setter's final fence match this baseline, including
|
|
78
|
+
all closed per-scope parts and selector coverage. Fresh preflight recorded
|
|
79
|
+
pressure 1, no swap, CPU idle 75.7%, load 5.18 and positive thermal state 0;
|
|
80
|
+
scoped ownership inspection confirmed the native slot free. No live peer was
|
|
81
|
+
stopped or driven and no actual configuration was restored or written.
|
|
82
|
+
|
|
83
|
+
## Native ACP, permission, lifecycle and repetition
|
|
84
|
+
|
|
85
|
+
The exact private candidate and policy from the successful protected installation
|
|
86
|
+
are reused with fresh owned HOME/cwd/provider state for each phase; no needless
|
|
87
|
+
npm reinstall is performed. The sandbox and bounded runner are imported from
|
|
88
|
+
source `7a76dff0e09174e87c68c8a6c8287091a1480c0d`. Fixed environments contain only
|
|
89
|
+
runtime paths, private tool homes, synthetic auth and fixture models. Seatbelt
|
|
90
|
+
denies actual-home data and global writes. Native ACP and permission phases deny
|
|
91
|
+
kernel network access as well as retaining the unchanged Node denial preload.
|
|
92
|
+
The install's positive `/usr/bin/true`, actual-config read-open and installed
|
|
93
|
+
runtime write-open controls passed. Global configuration is never copied into a
|
|
94
|
+
fixture. No real account, model, OAuth state or project MCP is used.
|
|
95
|
+
|
|
96
|
+
Both pre/post-lifecycle runs of the unchanged promoted ACP producer passed:
|
|
97
|
+
|
|
98
|
+
- Exact qwen-code / Qwen Code / 0.27.0 identity, protocol 1 and expected terminal
|
|
99
|
+
OpenAI auth. A nonempty session, fixture-only model and initial default mode.
|
|
100
|
+
All default -> auto-edit -> yolo -> default mode acknowledgements passed.
|
|
101
|
+
- No ACP prompt or model request was sent. The denial preload's positive control
|
|
102
|
+
passed, six attempted network API calls were blocked per run, and native
|
|
103
|
+
process groups were gone with leader exit -15 and no interruption.
|
|
104
|
+
- The actual published permission handler, driven only by synthetic clients,
|
|
105
|
+
passed both requests, exact project/user allow-always, proceed-once and cancel
|
|
106
|
+
options, allow-once callback, cancellation and unoffered-option rejection.
|
|
107
|
+
No permission-fixture network attempt was recorded. Its exports-only temporary
|
|
108
|
+
chunk was removed; original candidate/producer/policy hashes stayed unchanged.
|
|
109
|
+
- All four helper invocations exited 0, confirmed owned stop and reported no
|
|
110
|
+
survivor. Lifetime containment remains unproven; Seatbelt is not a disposable
|
|
111
|
+
runner attestation.
|
|
112
|
+
|
|
113
|
+
The separately reviewed optional audio-capture install script is unchanged,
|
|
114
|
+
SHA-256 `bf91a3db08fdaf1622a0fa938f1f0e29cef712586ca13c2b0ac2422dd3f916fd`.
|
|
115
|
+
Its explicit no-network replay exited 0 with owned cleanup and unchanged protected
|
|
116
|
+
fences; fresh HOME/cwd state then repeated ACP and permission successfully.
|
|
117
|
+
Microphone functionality is not qualified. The generic producer still labels
|
|
118
|
+
its own lifecycle leg source-review-required; the separate replay supplies that
|
|
119
|
+
leg without editing the producer's verdict.
|
|
120
|
+
|
|
121
|
+
## Separate live-setter failure
|
|
122
|
+
|
|
123
|
+
The [0.27.0 setter receipt](2026-11-09-qwen-0270-model-setter-1317.md) uses the
|
|
124
|
+
production adapter and a synthetic loopback provider. It observed three ordinary
|
|
125
|
+
requests A/B/B, despite acknowledgements for setter B then baseline A. The third
|
|
126
|
+
unexpected B was refused, only two deliveries completed and clear failed.
|
|
127
|
+
Settings, protected global/config fences and owned stop passed. No retry or
|
|
128
|
+
production setter enable followed. This is a measured setter failure, separate
|
|
129
|
+
from the passing account-free ACP compatibility legs.
|
|
130
|
+
|
|
131
|
+
## Preserved controller history
|
|
132
|
+
|
|
133
|
+
- The initial broad snapshot changed from 2,518 entries/digest
|
|
134
|
+
`2b5f207ec529fcc72d4f92aaabde45883f2be7cd291d781ae6c33ea6e45656f8`
|
|
135
|
+
at 12:38:20.880Z to 2,532/digest
|
|
136
|
+
`bba525a1b538ec760810e9f0943003805377a47b4132b9e32cd1e051e3d81264`
|
|
137
|
+
at 12:38:25.708Z (preserved artifact mtimes, UTC). Controller refusal followed
|
|
138
|
+
a successful private install; no native helper started in that attempt. The
|
|
139
|
+
separate 2,983-entry global package digest stayed
|
|
140
|
+
`8eebd93ca6e7502951968e90860d0180456fa2af3379a00d12469637285981d0`.
|
|
141
|
+
The conductor's b2616e29 ruling attributes that first mismatch to identified
|
|
142
|
+
connected-peer live-state writes, not to the candidate. The worker's aggregate
|
|
143
|
+
digest alone did not establish that attribution.
|
|
144
|
+
- Conservative preflights separately hit the updates archive's 512 MiB cumulative
|
|
145
|
+
bound and the global artifact's original 64 MiB per-file bound. Metadata-only
|
|
146
|
+
diagnostics supplied the measured basis for the scoped method changes above;
|
|
147
|
+
these were not protocol failures or qualification retries on unchanged evidence.
|
|
148
|
+
- The subsequent strict installation passed unchanged at 7,058 entries/digest
|
|
149
|
+
`c60bac6c0ae5dbefd96e8fe1668a6a84ffd77f1bf10d8403c0e4fc1c1d990c3d`.
|
|
150
|
+
Before its first helper, a guard observed the same count but digest `351e5be3...`;
|
|
151
|
+
commands remained empty. Generic producer fail labels there are controller
|
|
152
|
+
preflight refusal, not native protocol failures. A later single diagnostic
|
|
153
|
+
observed `83963b01...`, matching neither historical digest: Qwen alone differed,
|
|
154
|
+
with recent usage and memory/tip metadata. It is a new observation, not exact
|
|
155
|
+
retrospective proof of that earlier mismatch. The e711 ruling then identified
|
|
156
|
+
precise runtime-only paths and authorized the fresh qualifying baseline.
|
|
157
|
+
|
|
158
|
+
## Evidence provenance and limits
|
|
159
|
+
|
|
160
|
+
Original artifacts remain located by `scratchpad/temp/task849/root.json`.
|
|
161
|
+
Revised sources, controls and the final candidate root are located by
|
|
162
|
+
`scratchpad/temp/task849/revised/final-root.json`; `setter-root.json` locates the
|
|
163
|
+
setter artifacts. These are private uncommitted controllers, not an automatically
|
|
164
|
+
eligible receipt harness. Public evidence contains closed results and hashes,
|
|
165
|
+
not personal paths, raw config, credentials or packets.
|
|
166
|
+
|
|
167
|
+
| Final evidence, relative to its owned artifact root | SHA-256 |
|
|
168
|
+
| --- | --- |
|
|
169
|
+
| `protected-baseline-ruling-e711.json` | `96f72609d23511f383e96a8362cf20c645ad161fc6fcb0eba784f3ad7b913960` |
|
|
170
|
+
| `qualified/collector-result.json` | `6d0fb4f40d20f5059584aa7b02a1dd4ecba2267f2d02863f9feaea694c365e53` |
|
|
171
|
+
| `lifecycle-result.json` | `d3512d944075ed15707c1e2932971158046c8fb192df8c60b82ff4496124b8fa` |
|
|
172
|
+
| `post-lifecycle/collector-result.json` | `0e634ab6e2781ca77d0e603fd3a49da87ef2f2605b93b7c44fd38f617f9792a7` |
|
|
173
|
+
| `qwen-model-result.json (setter root)` | `558c1a124ece15718099d40b95b10db3a04928631670371db2b926c7baaf8df6` |
|
|
174
|
+
| `fence.py (revised scratch)` | `2c0d69fce526f5a229147c3ddea63c8defd0bb100a61de94bd85a1e663da9b57` |
|
|
175
|
+
| `fence-controls.json (revised scratch)` | `89996b70743e5a318b27ed71e9fe93eef1a52831269e91fb40d3f45485645fcd` |
|
|
176
|
+
|
|
177
|
+
No real-account/model, Linux/Intel Mac, TUI/dual-output, daemon/dashboard,
|
|
178
|
+
microphone or general provider-identity qualification is claimed. Source/package
|
|
179
|
+
gates and hosted CI are separate evidence and cannot turn the setter failure
|
|
180
|
+
into a native pass. No machine trust, verified stamp, release or global upgrade
|
|
181
|
+
is part of this receipt.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Qwen Code 0.27.0 ACP model setter, failed clear
|
|
2
|
+
|
|
3
|
+
Date: 2026-11-09. Task #849, Refs #1317 and #888.
|
|
4
|
+
|
|
5
|
+
**Failed: baseline clear did not restore the next ordinary request's model.**
|
|
6
|
+
The [separate ACP receipt](2026-11-09-qwen-0270-acp.md) records passing native
|
|
7
|
+
ACP/permission/lifecycle legs and the exact artifact, revised protected fence,
|
|
8
|
+
isolation rulings, controls, source and closed result hashes. This setter uses
|
|
9
|
+
that same immutable private 0.27.0 package, fresh 0700 HOME/cwd/provider state,
|
|
10
|
+
the production AcpPeer, ModelOverrides and ModelOverrideLatches, and an explicit
|
|
11
|
+
private unqualified model policy. It creates no production setter admission.
|
|
12
|
+
|
|
13
|
+
A bounded synthetic loopback OpenAI provider declares only A (`task849-a`) and
|
|
14
|
+
B (`task849-b`) at one endpoint and synthetic key. Fixed SSE responses generate
|
|
15
|
+
no tool calls. Wrong auth, Origin, path, shape, unexpected model and excess
|
|
16
|
+
requests fail. Positive provider TCP and negative decoy TCP/config-read/runtime-
|
|
17
|
+
write-open controls pass, as does the native watcher control. No account or real
|
|
18
|
+
model is contacted. Private trust and auto-title disabling match the previous
|
|
19
|
+
[0.26.9 procedure](2026-11-08-qwen-0269-model-setter-1317.md).
|
|
20
|
+
|
|
21
|
+
1. The first ordinary request uses A. Desired B is written while A is held;
|
|
22
|
+
the in-flight A and setter count stay unchanged, and a busy delivery refuses.
|
|
23
|
+
2. The next boundary sends session/set_config_option, configId model, value
|
|
24
|
+
task849-b(openai). A native acknowledgement precedes the second request B.
|
|
25
|
+
3. Clear removes the desired row. The adapter sends baseline task849-a(openai)
|
|
26
|
+
and receives acknowledgement, but the third ordinary request still uses B.
|
|
27
|
+
Actual wire sequence is **A/B/B**, not the required A/B/A.
|
|
28
|
+
4. The fixture rejects that third unexpected B. Only the first two delivery ids
|
|
29
|
+
complete; the final checkpoint is clear-wire-A and the controller exits 1.
|
|
30
|
+
|
|
31
|
+
The three requests have message counts 2/4/6 and user counts 1/2/3. All have no
|
|
32
|
+
response-format or title schema, and there are exactly three prompt RPCs. This
|
|
33
|
+
is a measured clear failure, not an extra background title request or ACK-only
|
|
34
|
+
qualification. No underlying native cause is inferred and no retry was run.
|
|
35
|
+
|
|
36
|
+
The 7,016-entry protected baseline and all global/managed/launcher/selector
|
|
37
|
+
coverage remain unchanged. Private settings stay byte-identical after B and
|
|
38
|
+
after stop; package binding matches the ACP receipt. Owned stop is confirmed,
|
|
39
|
+
cleanupFault is false, and process-lifetime containment remains unproven.
|
|
40
|
+
|
|
41
|
+
Closed evidence is located through `scratchpad/temp/task849/revised/setter-root.json`
|
|
42
|
+
as qwen-model-result.json; its hash is in the ACP receipt. The probe/controller
|
|
43
|
+
are private uncommitted producers. This result qualifies no production live
|
|
44
|
+
setter, real provider/account/model, TUI/shared-TUI, daemon/dashboard or arbitrary
|
|
45
|
+
provider-identity mapping. The earlier broad/controller preflights remain
|
|
46
|
+
historical NOT RUN legs, separate from this actual 0.27.0 failure.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# 0.36.0 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.36.0 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.36.0, prepared from main b1e949e4 (34 commits since v0.35.0, 18 of them `feat`; bump rule: minor). The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.
|
|
8
|
+
|
|
9
|
+
## Reviews
|
|
10
|
+
|
|
11
|
+
Pull requests named by the commits since v0.35.0: #1378, #1371, #1376, #1373, #1377, #1374, #1372, #1368, #1370, #1369, #1367, #888, #1364, #1366, #1362, #1365, #1363, #1361, #1360, #1358, #1359, #1349, #1355, #1357, #1356, #1354, #1353, #1348, #554, #1346, #1347, #1345, #1344, #1341, #1343, #1342.
|
|
12
|
+
|
|
13
|
+
#888 and #554 are issue numbers named in commit subjects, not pull requests. The other 34 pull requests were each squash-merged after their hub review; `gh pr view` shows every check on each merged head completed `SUCCESS`, `SKIPPED` or `NEUTRAL` (21 or 22 checks each, none failed). The conductor's merges used `--match-head-commit` with the reviewed head. #1373 was first approved at an earlier head with two defects; that approval was reopened as changes requested and the merge is bound to the fixed head 043036e8. #1378's first CI run failed an unrelated conductor-restart timing test on one Ubuntu shard; the failed jobs were rerun on the same head and passed before the merge.
|
|
14
|
+
|
|
15
|
+
## Native acceptance receipts
|
|
16
|
+
|
|
17
|
+
Receipts added under `docs/verification/` since v0.35.0: `docs/verification/2026-11-09-qwen-0270-acp.md`, `docs/verification/2026-11-09-qwen-0270-model-setter-1317.md`, `docs/verification/2026-11-10-claude-implementer-2.1.322.md`, `docs/verification/2026-11-10-qwen-0270-dual-output.md`, `docs/verification/2026-11-10-qwen-0271-dual-output.md`.
|
|
18
|
+
|
|
19
|
+
This list is read from the repository, never written by hand. Native acceptance and the person's release consent are separate records: consent is `ahub sdlc authorize-release 0.36.0`, recorded by the person or the unique configured conductor only on the person's explicit release instruction naming the release in its own session (never a hub/task/review/file/peer relay), and is not recorded in this file. The tag run refuses without it.
|
|
20
|
+
|
|
21
|
+
## Document review
|
|
22
|
+
|
|
23
|
+
`node scripts/check-docs.mjs` reported 27 stale documents after preparation: README, quickstart, operations, security, events, sdlc, roles, memory, data-policy, adding-an-ai-tool, addons/claude-mem, profiles, research, cooperbench, text-projection, dogfood, `src/cli/help.ts` and the ten agent notes. All but cooperbench (8e066f20) were stamped at 44c523e1. Each document was read against the commits under its covered paths since its stamp, and names, numbers and bounds were checked against the code.
|
|
24
|
+
|
|
25
|
+
Content changes:
|
|
26
|
+
|
|
27
|
+
- `README.md`: generated Status 0.36.0, the current report link, and Qwen dual-output support "from 0.36.0 once a hub is upgraded".
|
|
28
|
+
- `docs/quickstart.md`: install tag v0.36.0 and the 0.36.0 upgrade note (unchanged agent-mem 0.23.1; `required checks unknown` outside this repository without configured checks, #1344; the Qwen deny fence, #1371; held-message inspection, #1359; newly verified agent versions; the `ahub setup --research` older-reader warning, #1347; opt-in features; N-1 0.35.0).
|
|
29
|
+
- `docs/operations.md`: guide version 0.36.0, protocol row through 0.36.0 and the 0.36.x N-1 baseline; console lineage (#1358); qwen-dual 0.27.0 and 0.27.1 (#1364, #1378); Qwen basic ACP 0.26.9 and 0.27.0 (#1355); init `--required-checks` and discovery (#1344); `ahub sdlc adopt-merge` (#1348).
|
|
30
|
+
- `docs/security.md`: Claude Code 2.1.319 and 2.1.322 and Codex reviewer 0.166.0 in the receipt lists; the own-held inbox view (#1359); init check discovery bounds (#1344); the Qwen deny fence (#1371); the setup research default (#1347); merge adoption and carried spec consent (#1348, #1361); the adec stage band (#1373); new sections for supervision proposals (#1221), guidance variants (#1225) and execution lineage (#1220).
|
|
31
|
+
- `docs/dogfood.md`: the stage route row is active after release and upgrade (#1370); the adec row names the stage band (#1373).
|
|
32
|
+
- `docs/sdlc.md`: the native `seeded guards` floor applies only to `STAIxBWLB/agent-hub`; elsewhere no configured checks reads `required checks unknown` (#1344).
|
|
33
|
+
- `docs/research.md`: init `--research|--no-research` and the machine default (#1347); adoption as a terminal state that writes a record (#1348).
|
|
34
|
+
- `docs/profiles.md`: the scorecard counts merge adoptions as settlements, never as reviewer verdicts (#1348).
|
|
35
|
+
- `docs/agent-notes/bus.md`: rule for the read-only own-held inbox view (#1359).
|
|
36
|
+
- `docs/agent-notes/daemon.md`: recovery feature floors `model_overrides`, `visuals`, `guidance_variants` and `execution_lineage`; acon supervision verbs and the guidance panel (#1368, #1376); held bodies in their own channel block (#1359); deferred hub notices released before Tasks exists (#1353).
|
|
37
|
+
- `docs/agent-notes/tasks.md`: rules for supervision proposals, guidance variant writes, required-check resolution, build-entry diagnostics and merge adoption (#1344, #1348, #1354, #1362, #1367, #1368, #1376).
|
|
38
|
+
- `docs/agent-notes/tests.md`: Claude Code companion hooks load by dynamic `import()` (#1349, #1365).
|
|
39
|
+
|
|
40
|
+
Reviewed without content change: `src/cli/help.ts` (every new command and flag matches `main.ts`, `init-settings.ts`, `guidance.ts` and the lineage usage; `test/help.test.ts` 18 pass), `docs/roles.md`, `docs/adding-an-ai-tool.md`, `docs/addons/claude-mem.md`, `docs/events.md`, `docs/memory.md`, `docs/data-policy.md`, `docs/text-projection.md`, `docs/cooperbench.md`, and the agent notes README, adapters, benchmarks, budget, local-worker and models.
|
|
41
|
+
|
|
42
|
+
The 27 documents are restamped at reviewed content commit 4ac7c54c. The CHANGELOG section was completed in the release bump commit: the prepared section named 6 of the 34 merged PRs, so every merged PR now has an entry, and the N-1 statement was added.
|
|
43
|
+
|
|
44
|
+
## Checks
|
|
45
|
+
|
|
46
|
+
- `node scripts/check-docs.mjs --require-fresh`: OK, 0 stale documents.
|
|
47
|
+
- `bun x tsc --noEmit`: exit 0.
|
|
48
|
+
- `bun scripts/build.mjs --check`: exit 0.
|
|
49
|
+
- `env -u AGENTHUB_HOME bun test test/compat.test.ts test/qwen-dual.test.ts test/help.test.ts test/readme-facts.test.ts`: 141 pass, 0 fail.
|
|
50
|
+
- `node scripts/check-package.mjs`: not passing locally, because local npm 12.2.2 prints a different `npm pack --dry-run --json` shape than the npm pinned in `check.yml`; the release PR's CI runs it with the pinned npm.
|
|
51
|
+
- The release PR's exact-head CI run is the full gate; it is named in the merge note.
|
|
52
|
+
|
|
53
|
+
## Known gaps, not blocking
|
|
54
|
+
|
|
55
|
+
- No installation, running-hub upgrade or live TUI launch of 0.36.0 is claimed.
|
|
56
|
+
- The full local suite and the published N-1 compatibility test were not run locally (heavy tests run on dgx02 or CI); CI's gate covers them.
|
|
57
|
+
- Several new source paths are not in any area-note scope list in `AGENTS.md` (`src/hub/supervision-rules.ts`, `src/hub/supervision-proposals.ts`, `src/hub/guidance-variants.ts`, `src/ui/guidance-*.ts`, `src/hub/delivery-public.ts`, `src/hub/build-entry.ts`, `src/cli/init-required-checks.ts`, `integrations/claude-code/`); a later change should add them.
|
|
58
|
+
- `docs/operations.md` does not document `ahub guidance`; it is covered by `docs/design/guidance-experiments.md` and `ahub help`.
|
|
59
|
+
- A task closed by `ahub sdlc adopt-merge` can record `firstPass: true` in a research record without a review; this is existing code behavior, recorded for a later fix.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Claude Code 2.1.322 headless implementer receipt
|
|
2
|
+
|
|
3
|
+
Date: 2026-11-10. Scope: #888 (claude-implementer row), hub task 868. This repeats the procedures of the [2.1.319 receipt](2026-11-06-claude-implementer-2.1.319.md) on the installed Claude Code 2.1.322, with 2.1.319 run through the same producers as the control: the permission transport (Write, production-name Bash, Bash `updatedInput` rewrite) and the host shell wrapper. Source base: `73920818` (main after 0.35.0). Platform: macOS arm64, host Bun 1.4.4.
|
|
4
|
+
|
|
5
|
+
Result: every case passed on both binaries. `2.1.322` is added to `COMPAT["claude-implementer"].verified`. 2.1.320 and 2.1.321 are not qualified by this receipt.
|
|
6
|
+
|
|
7
|
+
| Native version | Binary SHA-256 |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Claude Code 2.1.319 (control) | `1f53587e92dee8e089fa349188a4cda64fa34ace6e7b0ca2ee278ddaa3cc2ebd` |
|
|
10
|
+
| Claude Code 2.1.322 | `a9d237949db816a0b7afd88a9a8e1df36b3a597a30f5a41d1c0539eb180a3450` |
|
|
11
|
+
|
|
12
|
+
The 2.1.319 hash matches the 2.1.319 receipt, so the control is the binary it certified.
|
|
13
|
+
|
|
14
|
+
## Upstream changes since 2.1.319
|
|
15
|
+
|
|
16
|
+
The upstream [CHANGELOG](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) has entries for 2.1.321 and 2.1.322 (none for 2.1.320). The entries that touch what these producers exercise:
|
|
17
|
+
|
|
18
|
+
- Bash permission checks: a read-only Bash command that ran outside the sandbox without a prompt, and a file write judged from the wrong folder, are fixed. Bash commands sent together no longer run in the wrong folder after an earlier one changed folders. The wrapper's persistent-cwd and prior-`cd` cases cover the folder path and passed.
|
|
19
|
+
- PreToolUse hooks: an `ask` reason or an `ask` lost to another hook's `defer` is fixed; an `mcp_tool` hook answer over 16 MiB now refuses the call. The hook allow and deny cases passed; multi-hook ordering is not exercised.
|
|
20
|
+
- Mods: a mod's own `$.tool.call` and `$.mcp.call` raise no permission prompt, even in `-p` runs (deny rules and organization policy still apply), and headless sessions reload mods in `.claude/skills` when their files change. A mod-initiated tool call therefore does not reach the hub's permission-prompt tool. The producers load no mod, so this path is not exercised; it joins the Monitor tool as an unrewritten prompt-tool path.
|
|
21
|
+
|
|
22
|
+
## Runs
|
|
23
|
+
|
|
24
|
+
Each producer ran both binaries sequentially with an isolated HOME and `CLAUDE_CONFIG_DIR`, a fixture MCP server, a deterministic loopback provider and the literal API key `synthetic-probe-not-a-credential`, from a shell with the hub's agent markers (`AGENTHUB_HOME`, `AGENTHUB_PEER_ID`, `CLAUDECODE`, `CLAUDE_CODE_SESSION_ID`) unset. No account, provider request or model inference was involved. Every native child's process group was confirmed empty afterwards, and both binary hashes were the same before and after.
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
python3 docs/verification/claude-permission-transport-native.py OUT/write --claude 2.1.319 --claude 2.1.322
|
|
28
|
+
python3 docs/verification/claude-permission-transport-native.py OUT/bash --tool Bash --server-name agent-hub --permission-tool hub_permission_request --require-tool-use-id --claude ... --claude ...
|
|
29
|
+
python3 docs/verification/claude-permission-transport-native.py OUT/rewrite --tool Bash --rewrite-bash --server-name agent-hub --permission-tool hub_permission_request --require-tool-use-id --claude ... --claude ...
|
|
30
|
+
python3 docs/verification/claude-shell-wrapper-native.py OUT/wrapper --bun ABSOLUTE_BUN --claude ... --claude ...
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
(binary arguments are the absolute installed paths under `~/.local/share/claude/versions/`; `--bun` was the Homebrew Bun 1.4.4 path resolved with `readlink -f`).
|
|
34
|
+
|
|
35
|
+
| Producer | Cases per binary | 2.1.319 | 2.1.322 |
|
|
36
|
+
| --- | --- | --- | --- |
|
|
37
|
+
| Write transport (allow, deny, missing tool, hook deny/allow, MCP error, disconnect, pending, deadline) | 9 | 9 pass | 9 pass |
|
|
38
|
+
| Bash transport, production server and tool names, `tool_use_id` required | 9 | 9 pass | 9 pass |
|
|
39
|
+
| Bash `updatedInput` command replacement (allow, deny) | 2 | 2 pass | 2 pass |
|
|
40
|
+
| Host shell wrapper (persistent-cwd control, fixed-wrapper rewrite with replay refusal) | 2 | 2 pass | 2 pass |
|
|
41
|
+
|
|
42
|
+
Per-case shapes on 2.1.322 match the control: pending stopped externally at the deadline; wrapper control 3 requests and 2 permission calls, wrapper rewrite 4 requests and 3 permission calls with the effect counter at exactly 1 after replay.
|
|
43
|
+
|
|
44
|
+
The only producer change is the version allow-list in `claude-shell-wrapper-native.py`, which now admits `2.1.322`.
|
|
45
|
+
|
|
46
|
+
| Artifact | SHA-256 |
|
|
47
|
+
| --- | --- |
|
|
48
|
+
| Permission producer (unchanged) | `c8e82c66a8cf2faf4f4930da21ca81e36166381fd932219cb60e3cec541af10b` |
|
|
49
|
+
| Wrapper producer (this change) | `ad891f5b9663e14e3f44febd787500a8ced815125c489adadddcdeb279f64826` |
|
|
50
|
+
| Write receipt JSON | `d47f9c082e5681647ddf4fa4939e7224951a7af63dae26de4413a87d3c5ff5bd` |
|
|
51
|
+
| Bash receipt JSON | `58acda0fc03489acdfb31bec27e4bf174a79d95afc156157c45724eb2bffcfa7` |
|
|
52
|
+
| Rewrite receipt JSON | `817fc15da7d774b14ad9a19d7fe3a4696025898f7fa5bcf6ec4e273776a39836` |
|
|
53
|
+
| Wrapper receipt JSON | `fd27bc46ef8d0b1bbc7aba71b9c66aa4a8781c540b21b4234f8fd65afaa371be` |
|
|
54
|
+
|
|
55
|
+
The receipt JSON files stay in the local diagnostic directory; they carry local paths and are not committed.
|
|
56
|
+
|
|
57
|
+
## Evidence boundaries
|
|
58
|
+
|
|
59
|
+
Unchanged from the earlier receipts: no real provider authentication, model tool selection, person approval interaction, task-session resume or production-daemon task binding is proved, and this is not a runtime receipt gate. A behavior change outside these producers' cases would not be seen here. Native version admission and binary fencing remain required. The Monitor tool and, from 2.1.322, mod-initiated tool calls are unrewritten prompt-tool paths.
|