Repository navigation
fix(release): accept trusted extended-stable validation evidence - #119264
Conversation
|
Codex review: found issues before merge. Reviewed August 4, 2026, 4:12 PM ET / 20:12 UTC. ClawSweeper reviewWhat this changesThis PR adds an extended-stable release-workflow input that lets trusted current main publish an immutable candidate tag using recorded preflight, plugin, and Full Release Validation evidence. Merge readiness⛔ Blocked by patch quality or review findings - 7 items remain Keep open: the useful trusted-main recovery path still permits direct canonical-candidate validation evidence whose workflow SHA differs from the immutable tag SHA. This re-raises the prior P1 on the unchanged reviewed head. Priority: P1 Review scores
Verification
How this fits togetherThe npm release workflow turns preflight, plugin publication, and Full Release Validation artifacts into an OIDC npm publish. The new recovery path dispatches that workflow from main while selecting an immutable extended-stable candidate tag and its evidence. flowchart LR
Candidate[Immutable candidate tag] --> Publish[Core npm publish workflow]
Preflight[Saved npm preflight] --> Publish
Plugin[Plugin publication evidence] --> Publish
Validation[Full Release Validation run] --> Verifier[Evidence verifier]
Verifier --> Publish
Publish --> Npm[npm registry]
Before merge
Findings
Agent review detailsSecurityNeeds attention: The direct-candidate exception weakens the release-evidence binding used before an OIDC npm publish. PR surfaceTests +43, Docs +33, Config +13. Total +89 across 5 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Require direct canonical-candidate validation runs to have headSha equal the immutable tag SHA, retain the distinct trusted-main and SHA-pinned exceptions, and cover the rejected mismatch with a focused regression test. Do we have a high-confidence way to reproduce the issue? Yes—source inspection gives a high-confidence path: provide a successful direct canonical-branch validation run whose head SHA differs from its attested target SHA; the new verifier accepts it. Is this the best way to solve the issue? No—the recovery design is plausible, but direct candidate evidence must be bound to the immutable tag SHA rather than only its branch name. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against aa07d55ec98f. LabelsLabel justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
a8c93cd to
e4c00f2
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Addressed the current-head ClawSweeper P2 in 835c7d0: recovery guidance and the maintainer skill now name the complete accepted validation-evidence set: canonical candidate branch, current main with a reachable workflow SHA, or trusted SHA-pinned main harness. Each remains bound to the immutable tag SHA. Focused proof passed: openclaw-npm-extended-stable-workflow (12 tests), validate-full-release-validation-evidence (27 tests), docs:list, oxfmt, diff check, and fresh autoreview. A new @clawsweeper re-review is queued for this head. |
Punchcard-Session: crisp-lantern-orchard-nv * origin/main: fix(release): accept legacy empty core artifacts (#119337) fix(qa): carry selected runtime into flow scenarios (#119324) fix(ci): retry interrupted Windows dashboard release checks (#119095) fix(release): filter validation ancestry fetch (#119334) fix(release): accept trusted extended-stable validation evidence (#119264) fix(sessions): preserve recorder-owned user turns (#119307) perf(cli): split plugin registry startup timing (#119318) fix(qa): align release scenario setup and compaction proof (#119188) fix(ci): avoid duplicate Matrix release QA runs (#119171)
…time * origin/main: (75 commits) fix(commands): restore tool inventory for dynamic models (#119306) fix(media): release rejected BytePlus and Runway video downloads under debug capture (#119257) docs: add ChromeOS (Crostini) platform install guide (#107663) test(msteams): serve JWKS from in-process server in auth coverage (#119354) fix(qa): enable OpenAI for stored audio scenario (#119349) test(agents): realpath apply-patch temp dir fixture (#119353) test(slack): drop redundant .js-suffixed system-event mock (#119352) fix(exec): leave safe builtins unrewritten in enforced mode (#119351) fix(sessions): keep gateway responsive while large transcript archives are built (#112424) fix(tui): restore provider auth in installed local mode (#119283) fix(release): accept legacy empty core artifacts (#119337) fix(qa): carry selected runtime into flow scenarios (#119324) fix(ci): retry interrupted Windows dashboard release checks (#119095) fix(release): filter validation ancestry fetch (#119334) fix(release): accept trusted extended-stable validation evidence (#119264) fix(sessions): preserve recorder-owned user turns (#119307) perf(cli): split plugin registry startup timing (#119318) fix(qa): align release scenario setup and compaction proof (#119188) fix(ci): avoid duplicate Matrix release QA runs (#119171) perf(agents): reuse provider policy manifest registry (#119305) ...
…nclaw#119264) * fix(release): accept trusted extended-stable validation evidence * fix(release): document trusted candidate promotion * docs(release): clarify validation evidence recovery
What Problem This Solves
v2026.6.34has immutable candidate artifacts, a successful npm preflight, a successful Full Release Validation, and successful plugin publication, but its core publish stopped before npm because the old verifier required the validation workflow'sheadBranch/headShato equal the candidate. That is incompatible with the correct trusted-harness flow: run30904149739executed fromrelease-ci/b5d41f90053b-1785842197244at trustedmainSHAb5d41f90053b414267bb203b64f1f8dde12b2bda, while its v3 manifest attests target SHA5c38f996d4059ebd9080cf74dc611ec3a17f4d50.Why This Change Was Made
Adds a narrow
release_candidate_branchinput for an extended-stable publish dispatched from trustedmain. The workflow accepts it only when it is the canonicalextended-stable/YYYY.M.33branch implied by the immutable tag, checks out that tag for candidate identity and publication, and continues to require exact candidate-SHA preflight and plugin evidence.For Full Release Validation, it replaces the stale branch/SHA equality check with the existing
validate-full-release-validation-evidence.mjsv3 verifier checked out fromgithub.workflow_sha. That verifier binds the parent run, manifest, target SHA, SHA-pinnedrelease-ci/*workflow source, andmainancestry. The workflow keeps its independent all-shards, soak, and blocking-performance controls.The follow-up documents the trusted-main recovery command in the release procedure and release-maintainer skill, records the checked-out tag SHA and candidate branch in the publication summary, and passes the validation attempt through an environment variable rather than interpolating it into shell source.
User Impact
This does not change
v2026.6.34, its tag, its prepared tarball, or its already-published plugins. Once merged, a trustedmainworkflow can safely promote the validated core tarball using the recorded candidate branch and evidence. Future extended-stable releases can use the same path instead of requiring the validation harness to pretend it ran from the candidate branch.Evidence
node scripts/run-vitest.mjs test/scripts/openclaw-npm-extended-stable-workflow.test.ts test/scripts/validate-full-release-validation-evidence.test.ts— 39 passed.node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts— 140 passed.go run github.com/rhysd/actionlint/cmd/[email protected] .github/workflows/openclaw-npm-release.yml— passed.full-release-validation-30904149739-1and validated the real run/manifest withvalidate-full-release-validation-evidence.mjsagainst candidate5c38f996d4059ebd9080cf74dc611ec3a17f4d50; result:sha-pinned-main.origin/main: clean, no accepted/actionable findings.Relevant runs: npm preflight, Full Release Validation, Plugin NPM Release, and the failed core publish.