Guard: three kinds of stale
Does the proof you migrated on still describe what production is doing?
A receipt is a statement about a moment. Three things can happen after it is
issued, and onpar guard refuses to treat them as one event:
- The model moved. The thing you proved was replaced behind its name. The receipt is void. Urgency: now.
- Your traffic moved. The eval set was drawn from work nobody does any more. The receipt answers questions that stopped being asked. Urgency: soon.
- The field moved. Something new was released. Your receipt is still true, and there may be something better. Urgency: whenever.
Only the first two mean you no longer know whether production is adequate. A tool that pages you for a new release as loudly as for a silent provider-side swap gets muted, and then it does not page you for the swap either.
Traffic drift is the one a generic eval harness cannot see. It needs a stable notion of which tasks your workload consists of, which is what distill’s task shapes are. If a fifth of your volume moved into a shape your eval set never sampled, a high equivalence figure is a true statement about a workload you no longer run.
The run
Section titled “The run”The receipt from prove:
$ onpar receipt receipt.json
Migration receipt · gpt-4o-mini → qwen3-30b-a3bissued 2026-11-03 · eval set da030c9c5fb9 · digest 9c476cc9bf93
NOT PROVEN either way — not enough evidence: · tools offered, unused · free text · <=1k context 100% [76%–100%] over 12 items — needs 35 to clear the bar at this rate · free text · <=1k context #1 92% [80%–97%] over 40 items — needs 525 to clear the bar at this rate · tool-calling (2 tools) · empty response · <=1k context 100% [76%–100%] over 12 items (12 duplicate prompt(s) merged) — needs 35 to clear the bar at this rate · free text · <=1k context #2 86% [72%–94%] over 37 items (3 duplicate prompt(s) merged) · free text · <=1k context #3 100% [88%–100%] over 29 items (11 duplicate prompt(s) merged) — needs 35 to clear the bar at this rate · free text · <=1k context #4 100% [21%–100%] over 1 items — needs 35 to clear the bar at this rate
Proven at or above the 90% bar: · structured JSON · <=1k context 100% [91%–100%] over 40 items
Movable: 20% of captured trafficSaving: unknown — no cost rate configured; pass --incumbent-cost and --candidate-costCoverage: incomplete — 6 cluster(s) unresolvedJudge: none used — every claim is from deterministic gradersAgentic: same move on 90%–100% of 36 tool-context steps · κ=1.00 · 0 answered where a tool was called, 0 called a tool where an answer wasDrawn from 197 captured requests
# recorded 2026-11-03 on M4 Max · 128 GB · onpar 1.5.2And the guard over it:
$ onpar guard receipt.json
receipt still holds · 9c476cc9bf93
→ nothing — the receipt still holds
# recorded 2026-11-03 on M4 Max · 128 GB · onpar 1.5.2It holds because nothing was given to compare. The receipt was issued today, no current traffic or fingerprints were passed, and no new release was named. Guard reports only what it checked.
When it says no
Section titled “When it says no”Each finding prints with a mark. [void] means the receipt’s claim about
production no longer holds. [note] means it is still true and worth knowing.
The thresholds are calibration knobs in src/onpar/guard.py:
| Finding | Trigger | Mark |
|---|---|---|
| Model changed | a fingerprint differs from the one the receipt recorded | [void] |
| Traffic uncovered | more than 10% of current traffic sits in shapes the receipt never scored | [void] |
| Traffic moved | total-variation distance between the receipt’s mix and today’s above 0.2 | [void] |
| Aged | the receipt is older than 90 days | [note] |
| New candidate | a model passed with --available exists now |
[note] |
| Uncheckable | you passed fingerprints and the receipt recorded none | [note] |
The receipt above recorded no fingerprints, because prove ran without
--fingerprints. Passing current fingerprints to guard would therefore print
the uncheckable note, not a pass. Record them at prove time.
Guard never moves traffic. Every output is a proposal, and the strongest verb it has is “re-prove”. That matters more here than anywhere, because guard is built to run unattended on a timer.
The knobs that matter
Section titled “The knobs that matter”--fingerprints FILEis a JSON object of model name to whatever identifies the weights you serve today: a digest, a revision, a build id.--traffic FILEis a JSON object of shape key to current share, the same shape as thesharesobject a freshonpar distillwrites.--available MODELnames a candidate that exists now. It repeats.--fail-on anyexits 1 on notes too, for a release gate that should not deploy on an unreviewed proof. The default,invalidating, exits 1 only on[void].--today DATEevaluates as of another day.
The full receipt format is in the receipt.
Next: when guard says re-prove, run distill on fresh captures and prove again.