8000 Fix publication attestation policy evaluation by Mnehmos · Pull Request #26 · Mnehmos/MathOS · GitHub
[go: up one dir, main page]

Skip to content

Fix publication attestation policy evaluation - #26

Merged
Mnehmos merged 1 commit into
mainfrom
fix/publication-attestation-policy
Jul 20, 2026
Merged

Mnehmos merged 1 commit into
mainfrom
fix/publication-attestation-policy

Conversation

@Mnehmos
@Mnehmos Mnehmos commented Jul 20, 2026
Copy link
Copy Markdown
Owner

Product outcome

Correct the publication attestation policy so every verified attestation object is checked for the required predicate and transparency timestamp before a constrained verification record can be emitted.

Changes

  • use jq object iteration with all(.[]; condition) for predicate and timestamp constraints
  • retain the exact subject-digest check
  • fail with stable message publication attestation policy rejected verified output and exit code 71
  • leave raw verifier JSON and stderr intact and do not create a constrained success record after policy rejection

Local evidence

  • artifact 8448611307 archive SHA-256 matched aeb3bd768cc56762e19308940a44684c65145342019b965e85b8191e0a3429d0
  • report SHA-256 matched 26c8ea85cb4ba20260f7ad16f5f4429d92472cdeb64505167e0cfe687ce1d112
  • retained raw verification passed the corrected query
  • independently mutated report digest, predicate type, empty timestamp list, and empty attestation array were rejected
  • bash -n scripts/publication-attestation-verify.sh passed
  • cargo fmt --check passed
  • warnings-denied Clippy passed
  • cargo test --workspace passed (89 tests)
  • git diff --check passed
  • mcl init, mcl health, and mcl doctor passed on Windows with Lean 4.32.0

Preserved workstation failures

The legacy Python suite currently has one environment-sensitive Lean assertion and two Windows SQLite cleanup locks. The opt-in real Lean worker reaches a host-specific launch_failed result. These pre-existing workstation observations are not hidden or mixed into this focused trust-boundary correction; hosted checks remain required.

Refs #21
Refs #25

@coderabbitai
coderabbitai Bot commented Jul 20, 2026 •
Copy link
Copy Markdown

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/publication-attestation-policy

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Mnehmos
Mnehmos marked this pull request as ready for review July 20, 2026 00:32
@Mnehmos
Mnehmos merged commit 6b4a0f2 into main Jul 20, 2026
6 checks passed
@Mnehmos
Mnehmos commented Jul 20, 2026
Copy link
Copy Markdown
Owner Author

Protected publica 95F1 tion evidence for the merged correction:

  • PR head: d10cb27a620bf0f3b5c4881a55aeee53179b4a90
  • PR tree: e5b0bcbf4eacf9cb402d87b04b5dc9b0431134f2
  • merge commit/source commit: 6b4a0f22d3498a4cb0c8dab744da7f9a09993fd8
  • source tree: e5b0bcbf4eacf9cb402d87b04b5dc9b0431134f2
  • CI run: 29709569292 (all five jobs passed on the PR head)
  • protected publication run: 29709634846, attempt 1
  • publication job: 88251709818
  • retained artifact: 8448739399, publication-boundary-6b4a0f22d3498a4cb0c8dab744da7f9a09993fd8
  • downloaded archive SHA-256: a379d01a60157f6ad22de4d933e662a044684bc471ec528de6017e34519498af
  • smoke report SHA-256: 15a7a938504f8c57a8693bf57efec7692c1c4270d3325304bae61234fb203021
  • canonical report content hash: c8cbeb76cc2092ed4b537a0686c00f2ce80a5ba8598a5d7d1d744f51eccd3904
  • Sigstore bundle SHA-256: 2aa75b909c67fe44f464f1b5d78f8f19c36bab0df1d41ffd4121ea5f445ab7a1
  • raw verifier JSON SHA-256: fc47407047615b97ff25a1790ead1dfe090636202ab8ae779216040018b6cab4
  • constrained verification record SHA-256: de1ecfaa304bc403c76752a7fecd0906fe1ea1bfefdc7a94ed54e286e651bc4a
  • Rekor transparency timestamp: 2026-07-20T00:33:02Z
  • predicate: https://slsa.dev/provenance/v1
  • verified attestations/timestamps: 1 / 1
  • constrained record authority: false

The retained subject digest exactly matches the report. The certificate binds Mnehmos/MathOS, .github/workflows/publication.yml, refs/heads/main, the exact merge commit, push trigger, and github-hosted runner. This is infrastructure evidence only; it does not create authoritative proof/refutation evidence or mathematical truth status.

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

0