Skip to content

feat: add trusted provenance and release dry runs - #26

Closed
kiranmagic7 wants to merge 1 commit into
agent/allowlist-acquisition-egressfrom
agent/trusted-provenance-release-dry-run
Closed

feat: add trusted provenance and release dry runs#26
kiranmagic7 wants to merge 1 commit into
agent/allowlist-acquisition-egressfrom
agent/trusted-provenance-release-dry-run

Conversation

@kiranmagic7

Copy link
Copy Markdown
Owner

Outcome

Adds the complete no-publish provenance and release foundation on top of #25.

  • injects safe release versions and validates explicit non-latest runner references before Docker
  • resolves and executes the runner by immutable content ID, while comparing both reference and ID
  • adds a strict 14-proof release gate that rejects missing, skipped, failed, duplicated, stale, wrong-commit, and untrusted evidence
  • adds a reviewed-fixture trusted-profile workflow with deterministic bundling and GitHub artifact attestation verification
  • adds pinned GoReleaser and Syft archive/SBOM generation for Linux and macOS on AMD64 and ARM64
  • adds a manual, protected, disabled-by-default draft release workflow with keyless signing, provenance, runner SBOM, digest signing, and no automatic trigger

Verification

  • make check
  • linker-injected version smoke test
  • GoReleaser v2.17.1 config validation
  • real local release --snapshot --clean with verified Syft v1.50.0
  • all four archives, four SPDX SBOMs, and GoReleaser checksums verified

Safety and release state

This PR creates no tag, release, GHCR image, Marketplace listing, or launch state. The authorized workflow is workflow_dispatch only, requires protected main, the release environment, an exact confirmation phrase, BEHAVIORLOCK_RELEASE_ENABLED=true, and all 14 fresh proof checks. It creates a draft only after those gates. Gate 14 remains open until the trusted workflow succeeds from protected main and its bundle is independently verified.

Design issue: #18

Signed-off-by: Kiran <262980978+kiranmagic7@users.noreply.github.com>
@kiranmagic7

Copy link
Copy Markdown
Owner Author

Superseded by the consolidated PR #31. This branch is fully contained in the PR #31 history. Closing it to keep one active upgrade review branch. No merge, release, or launch occurred.

@kiranmagic7
kiranmagic7 deleted the agent/trusted-provenance-release-dry-run branch August 10, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant