Repository navigation
fix(release): bind release evidence toolchain - #152
seonghobae wants to merge 15 commits into
Conversation
|
Warning Review limit reached
Next review available in: 49 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Closes #151 and advances the stronger isolation boundary in #155.
Purpose
Test-first hardening of the signed release-evidence execution plane. Dependency installation and repository quality verification run without OIDC/attestation/publication authority. Exact release materialization is performed in a separate read-only job and handed to the credentialed attestation job only through a bounded identity- and digest-bound artifact.
RCA -> materially distinct remedies -> selected architecture
Protected
release-evidence.ymloriginally installed lockfile dependencies inside the same job that ownedid-token: write,attestations: write, and artifact-metadata authority. A clean tracked worktree afternpm cican detect some source changes, but cannot revoke lifecycle code's already-exposed job/network/credential authority or account for ignored/non-worktree side effects.Distinct remedies considered were tracked/untracked worktree checks only,
npm ci --ignore-scripts, one privileged job with the reviewed lifecycle allowlist, and job-plane separation. The selected architecture is:The handoff binds repository, semantic tag/ref, full commit SHA, package version, workflow path/ref, run ID/attempt, positive payload bytes, GitHub artifact ID/digest/size/head SHA, and exact retained file hashes. Symlinks, missing/extra files, digest drift, wrong run/head identity, malformed metadata, or source mismatch fail closed. The attestation job performs no dependency installation or repository code execution before authenticating that handoff.
Exact current source
f1b5a5626b4779b7a554aee76ba600e19ad53cc7;fix/release-evidence-exact-toolchain;e906a382fa84aa5eb1f3d39f024bdd41a11a2ecb;.github/workflows/release-evidence.yml439d59851bf84651edde2b2bfb76f48be8df3e14;test/release-evidence-install-integrity.test.tsf17902fdb3116f296bc488f8240137c4ba23d8a0;test/release-evidence-toolchain-integrity.test.ts551574038b3f37b253ed989fc658767b19859ca2.No predecessor checks, reviews, scanner/model output, or release evidence transfer after the refresh.
Current exact-head state
For exact head
e906a382fa84aa5eb1f3d39f024bdd41a11a2ecb:ci31593460396: queued/non-passing;31593460384: queued/non-passing;Security Scan31593460422: queued/non-passing;The PR remains Draft until the unchanged exact head has terminal-success application/reviewer/security evidence and current findings remain clean. Current live ruleset requirements must be re-read immediately before merge; no approval rule is invented when absent.
Authority boundary
This workflow architecture reduces release-attestation authority exposure. It does not publish a release by itself, prove immutable publication, deploy production, establish KPI/revenue/owner-legal/IP-transfer evidence, choose an outbound license, or create acquisition readiness. Actual tag-bound protected execution, publication verification, rollback/recovery, NOTICE/licensing consistency, and buyer acceptance remain separate release gates.
Related: #27, #29, #77, #79, #91, #112, #114, #151, #155