Skip to content

Phase 7 PR-1: Accept PF-Core emit-artifacts bundle layout#9

Open
fraware wants to merge 3 commits into
mainfrom
phase7/pf-core-bundle-verify
Open

Phase 7 PR-1: Accept PF-Core emit-artifacts bundle layout#9
fraware wants to merge 3 commits into
mainfrom
phase7/pf-core-bundle-verify

Conversation

@fraware

@fraware fraware commented Jun 19, 2026

Copy link
Copy Markdown
Member

Summary

  • Extend verify_bundle with --bundle-dir and --pf-core-version for PF-Core five-file artifact directories
  • Add scripts/verify_pf_core_bundle.py validating certificate.safe, trace_hash binding, hash chain, and audit cross-refs
  • Add regression script scripts/test_pf_core_bundle.sh with tamper and unsafe-certificate negative cases

Test plan

  • bash scripts/test_pf_core_bundle.sh (requires provability-fabric-core sibling)
  • lake exe verify_bundle -- --bundle-dir ./bundle --pf-core-version 0.6.0
  • Tampered trace_hash and certificate.safe: false rejected

fraware added 3 commits June 18, 2026 20:59
Validate emit-artifacts layout: required files, certificate.safe,
trace_hash binding, hash chain continuity, and audit.jsonl cross-refs.
Optional pf_core schema and hash recomputation when schemas are provided.
Parse --bundle-dir and --pf-core-version flags and delegate to
scripts/verify_pf_core_bundle.py after checking required files exist.
Emit golden MCP sidecar bundle from provability-fabric-core, verify
pass path, and assert tampered trace_hash and unsafe certificate fail.
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