Repository navigation
fix(release): seal exact plugin artifacts in FRV - #164464
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed October 3, 2026, 5:47 PM ET / 21:47 UTC (Revision 6). ClawSweeper reviewWhat this changesFull Release Validation now qualifies and records the exact plugin npm tarballs that Release Prepare adopts for publication. Merge readiness✅ Ready for maintainer review The prior blockers are resolved, and no additional actionable defect was found. Current main still rebuilds plugin artifacts after validation, so this member-authored PR remains useful. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation checks a selected release source and produces publication evidence. Release Prepare consumes that evidence and hands qualified plugin artifacts to the existing publication workflow. flowchart LR
A[Release source and plugin selection] --> B[Full Release Validation]
B --> C[Plugin packaging and runtime checks]
C --> D[Exact tarball security scan]
D --> E[Immutable artifact descriptor]
E --> F[Release Prepare]
F --> G[Approved publication]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -1780, Docs +20, Config +31, Other -1757. Total -3486 across 30 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep one packaging owner and carry its authenticated, qualified tarball identities through preparation and approved publication. Do we have a high-confidence way to reproduce the issue? Yes, source inspection establishes that current main validates supplemental packs and then separately rebuilds plugin publication artifacts; no runtime reproduction was executed in this read-only review. Is this the best way to solve the issue? Yes, qualifying the existing packaging owner's final bytes and reusing its immutable descriptors directly addresses the handoff defect without introducing another packaging implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f40a007daffa. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (5 earlier review cycles)
|
8864bdb to
6556b41
Compare
* fix(release): retire brittle plugin source scanner * fix(release): seal plugin artifacts in FRV * test(release): preserve publication identity boundary * fix(release): bind plugin qualification inputs * fix(release): admit extended-stable preflight tooling
Related: #164440
What Problem This Solves
Full Release Validation repeatedly blocked releases because Plugin Prerelease scanned raw repository packs and mistook source-only tests and fixtures for publication risk. Release Prepare then rebuilt plugin npm artifacts after FRV, so passing FRV did not seal the bytes that publication would consume.
User Impact
FRV now packs, qualifies, and security-scans the exact selected plugin npm tarballs. Its terminal manifest records their immutable producer/artifact descriptor, and Release Prepare adopts those bytes rather than repacking them. Source-only fixtures no longer affect release qualification; package-owned fixture leakage and new critical runtime findings still block.
Why This Change Was Made
directories.binexecutables, and vendored dependency runtime. Dependency tests, declarations, docs, examples, and benchmarks are outside the plugin-runtime policy boundary.Evidence
pnpm test test/scripts/plugin-npm-security-scan.test.ts test/scripts/verify-plugin-npm-published-runtime.test.ts --maxWorkers=1— 45 passed.plugin_npm_preflight.required=truewith the exact selected roster.release-ci/*transport test executes the embedded admission policy and verifies exact tooling ancestry argument order.pnpm check:workflows— passed with the supported isolated Python 3.11 runtime.pnpm check:changed— passed after the final extended-stable admission repair.git diff --check— passed.is_ancestor(ref, source)helper contract, then the behavioral shim was tightened to prove the exact Git call.publication_request.outputs.publication_selection_json; ordinary files under fixture/test-support directories are rejected; recovery preservesnpmArtifactand adopts only the ClawHub run ID; extended-stable FRV admits only an immutablerelease-ci/*ref whose SHA prefix matches the exact workflow revision and whose tooling revision remains reachable from currentmain.Scope
Net diff: 993 additions, 4,479 deletions. No release was dispatched or published by this PR.