Feat/heremetic build v0.3 - #373
Conversation
|
Thanks for the PR. Agreed on the general premise here. Just a couple of small fixes and a rebase and I think it should be good to go. Must-fix
Should-fix
Nits (LOW, non-blocking)
Positives worth calling out
|
…ticity Replace the CI-text grep for "witness run" with real verification: fetch Witness/runtime-trace attestation artifacts from the repo's latest successful CI run via gh, cryptographically verify the DSSE envelope against the repo's GitHub Actions OIDC identity via Sigstore, and only treat an empty verified network log as a strong PASS signal. A verified attestation that does record network activity is fed into the violation list. Add a verify_witness_attestations config toggle and distinguish gh-not-authenticated from no-artifacts-found in evidence. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
7d821ae to
a3b178c
Compare
Summary
RE-02.01 (HermeticBuild) v0.2 treated any CI text mentioning witness run as a strong PASS signal — but that only proves the tool ran, not what it observed. This PR moves to v0.3: real, cryptographically verified attestation evidence.
Type of Change
Framework Changes Checklist
If this PR modifies the darnit framework (
packages/darnit/):docs/architecture/framework-design.md) if behavior changeduv run python scripts/validate_sync.py --verboseand it passesControl/TOML Changes Checklist
If this PR modifies controls or TOML configuration:
Testing
uv run pytest tests/ -v)uv run ruff check .)Additional Notes