Skip to content

feat(checkpoint): Bind checkpoint evidence to exact GitHub Actions run attempts - #130

Open
ShenoyAvi wants to merge 2 commits into
prooflinedev:mainfrom
ShenoyAvi:feat/checkpoint-evidence
Open

ShenoyAvi wants to merge 2 commits into
prooflinedev:mainfrom
ShenoyAvi:feat/checkpoint-evidence

Conversation

@ShenoyAvi

Copy link
Copy Markdown

Adds proofline checkpoint verify and proofline checkpoint report to record and review whether a project milestone met its declared acceptance checks in a specific GitHub Actions run.

Verification reads the manifest and workflow from the selected commit and checks that the repository, commit, workflow, run attempt, jobs, and declared dependencies match the evidence. It writes an evidence record tied to that commit and run. The report command reads the record offline.

How to run:
Start with a committed manifest, such as .proofline/checkpoints.json, and a completed GitHub Actions push run. Then verify a milestone:
proofline checkpoint verify
--manifest .proofline/checkpoints.json
--milestone backfill
--repo OWNER/REPOSITORY
--commit FULL_SHA
--run RUN_ID
--attempt 1
--out /absolute/path/to/checkpoint

To review the generated evidence:
proofline checkpoint report /absolute/path/to/checkpoint/checkpoint.json
For milestones with dependencies, provide each prior checkpoint with --prior MILESTONE=PATH. See docs/checkpoints.md for the full manifest format, options, and example.

Validation

  • cargo test --locked --all-targets — passed
  • cargo clippy --locked --all-targets -- -D warnings — passed

Add checkpoint verify and report commands.

Validate commited manifests, repository identity, workflow paths, run attempts, job conclusions, dependencies and immutable evidence artifacts.

This branch has not been deployed

No deployments
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