Repository navigation
fix(release): authorize focused beta evidence - #128371
vincentkoc merged 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
401b508 to
a441e68
Compare
|
Codex review: needs real behavior proof before merge. Reviewed August 23, 2026, 6:11 PM ET / 22:11 UTC. ClawSweeper reviewWhat this changesAdds an attested, beta.3-only focused-validation evidence mode to the release and npm publication workflows while retaining the normal full-release-validation mode. Merge readiness⛔ Blocked until stronger real behavior proof is added - 6 items remain Keep open for release-owner security review: the exact-head code narrows the exception well, but its allowed and nearest-forbidden publication effects remain unproven before merge. Priority: P1 Review scores
Verification
How this fits togetherRelease workflows collect validation evidence before authorizing package publication. The new focused-validation workflow attests a fixed beta candidate, then both the parent release workflow and the npm publisher verify it before publication steps. flowchart LR
A[Frozen beta candidate] --> B[Focused validation workflow]
B --> C[Attested evidence artifact]
C --> D[Release publisher verification]
C --> E[npm publisher verification]
D --> F[Publication authorization]
E --> F
Decision needed
Why: The patch changes which evidence can authorize registry publication, and the supplied discussion explicitly defers the decisive authorization trace; only release owners can accept that residual boundary risk. Before merge
Findings
Agent review detailsSecurityNeeds attention: The patch has layered attestation checks, but its new publication authority lacks final-effect permitted-and-denied evidence. PR surfaceTests +386, Config +370, Other +1071. Total +1827 across 8 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the normal validation mode as default, authorize this fixed beta exception only with a protected-tag allowed/denied pre-write trace, then remove the one-time mode after the beta is published. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a privileged release-workflow authorization path, not a user-facing bug; the required proof is a protected-tag, no-write publication-boundary trace. Is this the best way to solve the issue? Unclear: the fixed attested credential is safer than weakening the normal manifest, but the final publication effect and nearest-forbidden rejection still need direct proof. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 977bbe266772. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
a441e68 to
ef71d04
Compare
|
@clawsweeper re-review Exact signed head: |
|
🦞👀 |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
ef71d04 to
577718e
Compare
|
@clawsweeper re-review Exact signed head: Verify mode now executes dependency-free in both publication consumer layouts; release-plan and plugin-trust modules are dynamically loaded only by the attested create path. The staged-layout regression tests cover the downloaded parent verifier and npm sparse |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Release-owner decision and rank-up disposition for exact head
This handles the owner-approval rank-up move now and intentionally defers the live final-effect trace to the mandatory post-land, pre-write gate. No publication workflow or tag is being dispatched or created by this merge. |
577718e to
e9a46d2
Compare
|
The release-owner approval and rank-up disposition recorded above applies unchanged to exact signed head The head change is limited to a behavior-equivalent consolidation of the same focused/full evidence tuple comparison plus a regression guard for actionlint's 64 KiB embedded-script boundary. No authorization policy, candidate binding, attestation check, publication behavior, tag, or registry state changed. |
|
@clawsweeper re-review Exact signed head: This head only refactors duplicated focused/full evidence tuple validation and local names to keep the embedded publish script below actionlint's 64 KiB ShellCheck boundary. The exact run/attempt/target-SHA checks are preserved, full local |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Release-owner rank-up disposition for exact head
This is the authorized proof order for the one-time beta.3 route; it does not authorize a tag, workflow dispatch, or registry mutation here. |
55a36ba
into
validation/target-eed27fdb-focused-1787519272
What Problem This Solves
Resolves a beta.3 release blocker where the canonical publisher only accepts a successful all-group Full Release Validation manifest, even though the frozen candidate changed only reviewed Slack tests and the two failed historical leaves were rerun successfully.
Related: #128290
Why This Change Was Made
Adds a release-specific, fail-closed
authorized-beta-focused-v1credential instead of weakening or synthesizing the normal Full Release Validation manifest.The fixed declaration binds:
3fbe94065c2b94f4c08acb6742a69938bf408d94, its sole parent, tree, four test-only paths, exact numstat, and unchanged published-byte projectionThe new producer emits an attested artifact from an exact protected tooling tag. The parent publisher and core npm publisher independently verify its attestation, protected-tag identity, live GitHub evidence, candidate ancestry/tree/diff, and fixed inventory policy. The eligibility digest is recomputed by the exact frozen release-plan producer, checked against the fixed policy, and only the computed digest is emitted. The existing successful-FRV validator and publication route remain intact under the default
full-release-validationmode.User Impact
Maintainers can complete this one frozen beta.3 publication without another all-group FRV or accepting caller-supplied allowlists. No product bytes, candidate refs, registry state, or normal release policy are changed by this PR.
Evidence
e9a46d2185043c2d86e6b06943ed6fc9725141a7(sole parenteed27fdb88c0c60cb79c5b159a0284bd519271c2, signed)test/scripts/authorized-beta-focused-evidence.test.ts: 8/8 passedtest/scripts/package-acceptance-workflow.test.tscases passed individuallynode_modulesclosure is requiredactionlintpassed after keeping the embedded publish script below its 64 KiB ShellCheck boundary; a focused size regression assertion now guards that limitsha256:e05226cfd77716b262882b3e2525037a506cd8b6af2affa0a876499074b1671bpnpm check:script-erasabilitypassedoxfmt --checkandgit diff --checkpassedcheck-test-typeserrors at the optional changed path and workflow input were fixed; exact-head hosted proof is pendingrun_idandhead_shaThe exact-head audit fixes also bind both target-log jobs before reading logs, pin attestation source and signer digests to the protected tooling SHA in all three consumers, and render the focused validation run in release proof instead of an empty FRV URL.
Production/tooling delta is intentionally positive: this adds a distinct attested security credential, fixed release policy, and two independent publication enforcement boundaries. Product runtime delta is zero.