Skip to content

About

A proof gate for agent-written code, an adversary that proves what the laws leave open, and an audit ladder from review findings to fixes. Lean 4, paper and data.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hard Proof

PyPI License: MIT Python

hpf: no repro, no bug. No fix, no release.

Hard Proof is a way to accept agent-written code on evidence. A review finding counts only with a repro that a script runs. A small rule that the owner states gets a machine-checked proof, and an adversary proves what the rule leaves open.

This repository has the tools, the data and the paper of the study "Proved is not finished".

Quick setup

pip install hpflow

Audit the Python functions that changed since a tag, then gate the release:

hpf audit --repo . --ref HEAD --changed v1.2.3..HEAD --out ~/audits/next
hpf fix   --out ~/audits/next      # only when REPORT.md has confirmed bugs
hpf gate  --out ~/audits/next --ref HEAD

hpf audit and hpf fix start agent workers with one agent tool that has a login: Claude Code, Codex, or another tool through a command template. hpf gate makes no model call. For all steps, the costs and the limits, see Use the tools.

Index

Use it

Doc What it covers
Use the tools Install, audit a git range, gate a release, try the proof gate, costs, limits
Tool reference Each command of hp and hpf, and the domain contract of the proof gate
hpflow on PyPI The package

The study

Doc What it covers
Study page The study in steps, with the results. This page is the current version
Paper Method, results, recommendation, limits (PDF)
Results The idea in five sentences, and each result with its evidence

Reproduce

Doc What it covers
Claims and commands The folder and the command for each claim of the paper
Repository layout What each folder holds, the requirements, and the run records
Study folders Each experiment, the run records and the data

The full docs list is in the docs index.

License

MIT

About

A proof gate for agent-written code, an adversary that proves what the laws leave open, and an audit ladder from review findings to fixes. Lean 4, paper and data.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages