Repository navigation
FEAT-105: ship the North Star O3 input as a signed release asset - #255
Merged
Merged
Conversation
Each release attaches north-star-input.O3.json (schema_version 1 of pulseengine.eu's data/north-star/input.schema.json, seam pulseengine.eu#393), staged before SHA256SUMS.txt so the cosign-signed manifest and the FEAT-109 published-vs-manifest check cover it. Facts, each from a measurement, each with its control: - proof_check_required: "Rocq Formal Proofs" in the branch rules API's required_status_checks at release time (13 contexts today); control: the same lookup with the context removed reports not required. - axiom_audit: the first "proof-audit: declared N, audited M ..." line of the Rocq job in main's CI run on the tagged commit (101/101, 0 axioms); control: that job's "planted Axiom turned the audit red" notice. - ledger: the first "proof-audit ledger: ..." line (36 = 10 + 26); control: the "planted Hypothesis failed the ledger" notice. A fact passes only when the job concluded success. A missing input gives ran=false, never a zero. `proof-audit north-star` is a pure generator: inputs are files, no network. Its tests run on a recorded main job log (run 45014928739) and the vendored schema (pulseengine.eu 87fc5b0), checking required keys, additionalProperties and types. serde_json is a dev-dependency only. release.yml gains `actions: read` to read main's CI run. Refs: FEAT-105 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KEjmjc82RFgNAWFHuv4XoU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is FEAT-105's last slice. Each release attaches
north-star-input.O3.json, schema_version 1 of pulseengine.eu'sdata/north-star/input.schema.json(seam pulseengine.eu#393). It is staged beforeSHA256SUMS.txt, so the cosign-signed manifest and the FEAT-109 published-versus-manifest check both cover it.Facts, and where each comes from
passwhencontrol_failed_as_expectedproof_check_requiredGET /repos/pulseengine/scry/rules/branches/mainat release timeaxiom_auditproof-audit: declared N, audited M, ...line in the log of the "Rocq Formal Proofs" job of main's CI run on the tagged commitsuccess, the line says PASS, and declared = audited > 0 (101/101, 0 axioms)planted Axiom turned the audit rednotice is presentledgerproof-audit ledger: ...line in the same logsuccess, the line says PASS, and rows = generated + hand (36 = 10 + 26)planted Hypothesis failed the ledgernotice is presentA missing input gives
ran: false, which the consumer counts as failed. Nothing is zero-filled.not_measuredlists five blind spots:How
proof-audit north-staris a pure generator: its inputs are files, with no network access. The binary stays std-only, andserde_jsonis a dev-dependency.The release step fetches the inputs:
gh api;git rev-parse "$VERSION^{commit}", waiting up to 15 minutes for the Rocq job to complete);curl.It then runs the generator, and checks the shape with
jqbefore the sums are taken.release.ymlgainsactions: readat workflow level, to read that run and its log.Checked
cargo test --lockedintools/proof-audit: 23 of 23 pass, 5 of them new. The new tests use a recorded real main job log (run 45014928739, a GitHub-hosted runner) and the vendored schema (pulseengine.eu 87fc5b0). They check:additionalProperties: falseand types at both levels;ran: false;control_failed_as_expected: false;-D warningsandcargo fmt --checkare clean. These tests run in CI's Rocq job ("proof-audit unit tests").Not covered
ran: false) is tested.🤖 Generated with Claude Code
https://claude.ai/code/session_01KEjmjc82RFgNAWFHuv4XoU