ProofDiff
A change should trigger the evidence its blast radius actually requires.
CORE QUESTION — What changed, which protected behaviors does that change put at risk, and is there enough evidence to ship?
ProofDiff treats the candidate change—not a generic benchmark—as the starting point. It classifies changes across models, prompts, tools, MCP, policy, retrieval, and runtime configuration, then asks which behavioral contracts must be re-proven before release.
Maturity · Isolated Evaluation Harness — Private core plus pinned public reference; no independent party is named.
- 01Change
model · prompt · provider · tool · MCP · policy · retrieval · runtime
- 02Impact
conservative behavioral blast radius
- 03Contracts
protected behaviors implicated by the change
- 04Replay
deterministic fixtures + trace invariants
- 05Evidence
closed bundle · provenance · comparisons · digests
- 06Decision
scoped PASS · REVIEW · BLOCK
Unknown impact expands the suite: Uncertainty about blast radius must never silently reduce the set of protected behaviors evaluated.
Stage 5 output
- Closed evidence bundle
- Closed evidence bundle links changes, selected contracts, fixture traces, comparisons, policy, provenance, and decision
- Decision
- scoped PASS · REVIEW · BLOCK
- Sealed digests
- Integrity check for the closed bundle.
- Evidence boundary
- The decision remains scoped to declared contracts and the evidence actually available.
- Accepted cost
- Evidence bundles are larger and slower to publish than a bare verdict.
Engineering decisions — ledger of 4, as recorded. The signal edge marks the rejected alternative in each row.
| Ref | Decision — and why | Trade-off accepted | Rejected alternative |
|---|---|---|---|
| A | The change determines the required evidence A generic full-suite rerun wastes evaluation work and still does not explain why a particular behavior needed to be re-proven. | Change classification can be wrong, so the selector must fail conservative and be maintained as change types evolve. | Run the full protected suite on every release. |
| B | Unknown impact expands the suite Uncertainty about blast radius must never silently reduce the set of protected behaviors evaluated. | Uncertain changes cost more evaluation time than a fixed plan and are harder to schedule against a release train. | Cap evaluation cost per change and accept a reduced protected set. |
| C | Critical gates stay deterministic Tool use, trajectories, state invariants, and other exact release requirements should not depend on an LLM judge. | Deterministic gates do not capture subjective quality, so semantic checks remain a separate, weaker signal. | Put an LLM judge on the critical release path. |
| D | The decision ships with its evidence boundary PASS / REVIEW / BLOCK is only meaningful when the selected contracts, traces, comparisons, policy, provenance, and unproven areas travel with it. | Evidence bundles are larger and slower to publish than a bare verdict. | Publish a PASS/FAIL verdict without the supporting bundle. |
Revision table — evidence provenance, verbatim from the record
| Rev | Evidence | Result | Semantics |
|---|---|---|---|
| A | Public Apache-2.0 repo · support-agent demo Reproducible via proofdiff check/verify in github.com/TensorScholar/proofdiff; fixture trace replay, not live production telemetry. | Deterministic manifest diff -> contract selection -> exit 2 BLOCK + verifiable closed bundle | REPRODUCIBLE Verified |
| B | Maintained synthetic benchmark Declared-coverage recall is 1.0 by construction on the seeded benchmark; reproducible via make benchmark, not a production recall guarantee. | 300 scenarios · 2,000 contracts · 96.52% mean suite reduction · 1.0 declared-coverage recall | REPRODUCIBLE Synthetic |
| C | Private-core batch validation · initial batch Author-run batch on a seeded dataset (300 scenarios, 2,000 contracts). No independent party is named; broader external validity is not claimed and the public reference does not reproduce this result. | Seeded dataset of 300 scenarios and 2,000 contracts · zero observed protected omissions; critical LangGraph reverse regression blocked | RECORDED Supported |
| D | Decision evidence The decision remains scoped to declared contracts and the evidence actually available. | Closed evidence bundle links changes, selected contracts, fixture traces, comparisons, policy, provenance, and decision | RECORDED Supported |
Schedule of capabilities — 13 entries, as recorded
- Baseline/candidate experiments
- Versioned evaluation corpus
- Deterministic validators
- Semantic evaluation
- Judge reliability analysis
- Multi-judge signals
- Trace-aware regression
- Failure taxonomy
- Severity-aware gates
- Statistical confidence
- Cost/latency side effects
- Change attribution
- Historical regression intelligence
Audience — AI Engineers · LLM Engineers · AI Platform Teams · Evaluation Engineers · ML/AI Reliability Teams
Cells are positional: they do not identify which corpus scenario produced an observation.
- S-1
- S-2
- S-3
- S-4
- S-5
- S-6
- S-7
- S-8
- False-negative miss, published.
- Conservative over-selection.
- Uncertainty shown, not hidden.
- Fail-closed widening.
- BLOCK dominating novelty.
- Synthetic benchmark
- 300 scenarios · 2,000 contracts · 96.52% mean suite reduction · 1.0 declared-coverage recall
- Boundary
- Declared-coverage recall is 1.0 by construction on the seeded benchmark; reproducible via make benchmark, not a production recall guarantee.
- Semantics · provenance
- Synthetic · REPRODUCIBLE
- Public repository
- https://github.com/TensorScholar/proofdiff
- Pinned commit
- 1e2c9fbdcd2633e110e406c83ca1f513b07f3331
- Verification
- make test && make schemas && make release-check
Measurement contract — what would make the preferred answer fail?
EVALUATION METHOD
A candidate should ship only when the behaviors implicated by its actual change have the evidence required by release policy.
Semantic change classification, conservative impact expansion, protected-contract selection, deterministic fixture replay, trace comparison, and closed evidence bundles.
Selection reduction
evidence avoided without losing required coverageCritical regression
release-blocking contract failures detectedUnknown impact
uncertainty expands rather than shrinks evaluationEvidence completeness
changes · contracts · traces · provenance · decisionDecision reproducibility
same evidence produces the same scoped verdictResearch program behavioral-change — as recorded
Status: Internal batch validation only · no independent party named
Question: Can change-conditioned evidence selection reduce evaluation work without missing protected behavioral regressions?
Method: change-conditioned labels · protected behavioral contracts · deterministic trace replay · omission analysis · selection reduction · provenance-backed impact hypotheses
Observed: Synthetic/self-oracle coverage and an author-run batch on a seeded dataset (300 scenarios, 2,000 contracts) are recorded.
Boundary: No independent external validation is claimed; broader external validity remains open.
NOTE 1 — OWNERSHIP.
Personal engineering project
Published under Apache-2.0 at github.com/TensorScholar/proofdiff (v0.1.0). All benchmark fixtures and release checks run locally from the public repository.
NOTE 2 — READING. Numbers on this page carry their boundary lines. Quoting a result without its boundary omits its scope.