Skip to content

Add proofcheck: evidence checks for pull requests - #39

Merged
bhaskargurram-ai merged 1 commit into
mainfrom
proofcheck-setup
Oct 13, 2026
Merged

bhaskargurram-ai merged 1 commit into
mainfrom
proofcheck-setup

Conversation

@bhaskargurram-ai

Copy link
Copy Markdown
Member

Adds proofcheck to provio. On every pull request it runs the PR's changed tests on the base and head commits, replays reproducers from linked issues, maps which changed hunks the evidence depends on, and posts one comment (a "proof card") with a verdict label.

Generated with proofcheck init --agent. It found two projects:

  • rust at .: cargo. Changed integration tests (crates/*/tests/*.rs) and changed #[cfg(test)] modules are checked.
  • python at adapters/python: pytest. Installed the same way as ci.yml does (--no-deps -e, plus the test dependencies).

It skipped adapters/typescript (its tests use node --test, which proofcheck doesn't support) and crates/provio-cli/pyproject.toml (packaging for the Rust binary).

The workflows, which pin bhaskargurram-ai/proofcheck@v1.0 while 1.0 is being tested:

  • proofcheck.yml runs on pull_request with a read-only token and no secrets. This is the only place PR code runs.
  • proofcheck-comment.yml runs on workflow_run and posts the card and label. It never checks out or runs PR code.
  • proofcheck-agent.yml is opt-in. When a "fixes #N" claim has no evidence, it asks an LLM to write a reproduction test, then runs that test on base and head in a job without secrets. It needs the PROOFCHECK_LLM_API_KEY secret and the PROOFCHECK_LLM_PROVIDER, PROOFCHECK_LLM_MODEL and PROOFCHECK_LLM_REASONING_EFFORT variables. It only runs for owners, members and collaborators, or for PRs labelled proofcheck:agent.

The comment and agent workflows only run once this is on main.

🤖 Generated with Claude Code

https://claude.ai/code/session_017bQP5nwJVPMXqMhewzhQv5


Generated by Claude Code

proofcheck runs each PR's changed tests on the base and head commits,
replays reproducers from linked issues, maps which changed hunks the
evidence depends on, and posts a proof card. Two projects: the Rust
workspace (cargo) and the Python SDK in adapters/python (pytest).
The agent workflow is opt-in and needs the PROOFCHECK_LLM_* secret and
variables.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017bQP5nwJVPMXqMhewzhQv5
@bhaskargurram-ai
bhaskargurram-ai merged commit bde8846 into main Oct 13, 2026
17 of 18 checks passed
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