Skip to content

fix(supply-chain): lock factory buildroots and enforce recipe provenance - #91

Closed
castrojo wants to merge 2 commits into
projectbluefin:mainfrom
castrojo:hive-25-lock-buildroots-provenance
Closed

castrojo wants to merge 2 commits into
projectbluefin:mainfrom
castrojo:hive-25-lock-buildroots-provenance

Conversation

@castrojo

Copy link
Copy Markdown
Contributor

Summary

This PR implements immutable supply-chain controls for factory rebuilds and recipe provenance:

  • Buildroot Locking: Adds config/buildroot-lock.json with digest-pinned references for fedora-44, fedora-rawhide, and hummingbird-bootc-os.
  • Live NEVRA Snapshots & Verification: Implements tools/buildroot_lock.py to query locked buildroot images, capture live package NEVRAs, and support --strict input validation.
  • Factory Manifest: Implements tools/factory_manifest.py to aggregate packages, verified source reports, buildroot package NEVRAs, and OCI image digest into an end-to-end manifest.
  • Recipe Provenance Enforcement: Adds missing recipe provenance .hummingbird-upstream.json files for gnome-desktop3 and malcontent-bootstrap, and updates tools/validate.py and tools/package_inventory.py to require valid recipe provenance across all 193 packages and validate buildroot image digest pins.
  • Signature & Checksum Reporting: Updates tools/source_pipeline.py to record whether sources were validated via cryptographic signature, upstream SHA-256 manifest, or locked SHA-512 digest.

Closes #25

— hive: backend=omp

@castrojo

Copy link
Copy Markdown
Contributor Author

reopening to trigger CI on updated head

@hanthor

hanthor commented Sep 18, 2026

Copy link
Copy Markdown
Member

Closing as stale: this conflicts with tests/test_package_inventory.py and tools/validate.py on main, both rewritten by #70, with no rebase since Sep 12. Parts of #25 have landed by other routes since — validate.py now requires .hummingbird-upstream.json provenance for every recipe (#98), and check_build_container_pinning.py locks the build images (#110). What's left of the buildroot-lock design is better re-opened against the current tree.


Generated by Claude Code

@hanthor hanthor closed this Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Approved by a Hive merger/owner for auto-merge on green CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

supply-chain: lock factory buildroots and require recipe provenance

2 participants