Works with: Graphify, on GitHub. Time: about 10 minutes to set up, then a few minutes per pull request.
What you’ll build
- Refactor pull requests that carry one verification result per changed function.
- A rule your agent follows: read the result, and turn any differing input into a regression test.
- A merge habit based on evidence instead of a skim of the diff.
Before you start
- A Graphify workspace with a GitHub repository indexed.
- Code in a language the verifier supports:
Set it up
1
Check the switch
On Repositories, open the repository’s … options menu. Formal verification is on unless someone turned it off.
2
Keep refactors small
Ask the agent for one refactor per pull request, with no behavior change mixed in. Each run checks a limited number of functions within a time limit, and functions over the limit come back as not verified. Smaller pull requests get more functions checked.
3
Add the rule to AGENTS.md
Commit this block, so every agent handles the result the same way:
AGENTS.md
4
Open the pull request
Formal verification runs on every push to the pull request, separately from the review. It posts a check run named Graphify Formal Verification. The check is advisory:
success only when every changed function is Proven same, otherwise neutral, never failure.5
Read the result
The check title tells you the outcome before you open it:
Every title is decoded in Read a verification check.
6
Follow the evidence
The check’s View evidence link opens the run on Formal Verification in Graphify. Expand it for the per-function results. A behavior change can include the input and the old and new values. Technical details shows the raw verdict. Use Re-run check once a run has finished if one result says Couldn’t run.
What a pass means
A pass means every changed function is Proven same within the bounds the proof covers. “Same as before” isn’t “correct”. If the old version had a bug, an equivalent new version has the same bug. Keep your tests and your usual review. Unchanged functions checked alongside the change are listed as context functions. They never count toward X/Y, but a behavior change in one still keeps the checkneutral.
Troubleshooting
Next steps
Formal verification
How the check works, its languages and its limits.
Fix review findings
Have the agent fix what the review found, then ask for a fresh review.