Repository navigation
Prepare canonical publication requests - #30
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughThis change adds canonical publication-request preparation with typed claim polarity, strict evidence validation, head-bound idempotent artifact registration, CLI/MCP actions, and integration coverage for dry runs, retries, invalid evidence, corruption, and stale subjects. ChangesPublication request preparation
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related issues
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
Post-merge evidence for the exact merged tree:
The downloaded record binds one attestation and one transparency timestamp to the exact protected workflow, commit, ref, and report subject. Both the smoke report and constrained verification record still state |
What changed
publication_request/1from one current formalization and exact diagnostic, proof-closure, and axiom-audit evidenceWhy
Issue #21 needs a trustworthy handoff from canonical application state to the protected publication workflow. This slice creates that handoff without allowing a caller, local worker, diagnostic, or request artifact to manufacture authoritative mathematical evidence.
Impact
Operators can now use
mcl verify prepare-publicationor MCPprepare_publicationto create or dry-run an exact private CAS request artifact. The artifact remains explicitly non-authoritative. Protected candidate execution, attestation ingestion, authoritative evidence creation, and derived truth status remain separate future slices.Validation
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --workspace --all-targets(92 default Rust tests)PYTHONPATH=src PYTHONWARNINGS=error::ResourceWarning python -m unittest discover -s tests -v(39 tests)git diff --checkAdvances #21.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Tests