Skip to content

Instantly share code, notes, and snippets.

@imaurer
Created October 5, 2026 13:58
Show Gist options
  • Select an option

  • Save imaurer/79c1b9f3bef3fea0f4c99f9342905a5c to your computer and use it in GitHub Desktop.

Select an option

Save imaurer/79c1b9f3bef3fea0f4c99f9342905a5c to your computer and use it in GitHub Desktop.
Proof spiral: a skill for noticing and stopping coding agents that check their checks
description Notice, diagnose, address and prevent the proof spiral: agents spending more effort proving, recording and defending work than doing it.

Proof spiral

A proof spiral is work about the work growing faster than the work. A check needs a record, the record a review. The review finds a gap in the check, so the agent builds a better checker. Each step looks reasonable. Together they stall delivery while the logs look rigorous. Inspect the workflow first. Rules often make defects and violations explicit but leave delivery time and acceptable leftover uncertainty unstated. Strong instruction following then becomes a liability.

1. Notice

Strongest signs:

  • The same check reruns while its relevant inputs are unchanged.
  • New gates appear after the existing gates pass.
  • Review findings never connect to a product failure.
  • The agent builds tools to check its checks: receipt checkers, fingerprints, provenance chains.
  • A self-imposed limit stops real work, such as an estimate treated as a hard cap.
  • Asked for status, the agent describes proofs, not what works.

Weaker signs, worth a look:

  • Record and preserve commits outnumber behavior commits. Process files outgrow product code.
  • Status lines keep ending in "remains pending".
  • Tests are named for tickets. Every gap becomes a ticket for this release.
  • Words like frozen, sealed, byte for byte, fresh, exact receipt.

2. Diagnose

A high proof ratio is a warning, not a verdict. Releases, migrations and security changes can need heavy checks. Ask:

  1. What decision does this proof change? If none, it is ceremony. This is the question that stops a spiral earliest.
  2. Do the acceptance criteria move? A reviewer asked to find improvements always finds some. If each one becomes a requirement, passing review creates work.
  3. Is evidence reused? "Fresh" often comes to mean "made by me, this turn". Reuse evidence while its relevant code, inputs, environment and assumptions remain applicable.
  4. Do the rules conflict? "Always verify independently", "fix every finding" and "persist until done" together prevent completion.
  5. Is checking standing in for access? An agent that cannot reach the real environment builds mocks and checkers instead. More local checks cannot settle an external question.
  6. Is it here too? Shared rules can produce the same spiral elsewhere.

3. Address

  • Use one stopping rule. Complete the agreed checks and investigate concrete failures. Repeat or widen checks only when something relevant changed, or when a check can resolve a named uncertainty. Otherwise deliver.
  • Size checks by consequence, reach and reversibility, not by diff size. A one-line authorization change can be critical. A wording fix may need a look only.
  • One review by default. Reviewers report blocking defects and may answer "no blocking findings". After a substantial fix, recheck the affected behavior without restarting the whole review.
  • Proof tooling findings block only when they invalidate the evidence needed to land, such as a runner silently skipping tests.
  • Name what stays unknown. When available checks cannot resolve it, record the limitation and deliver the completed work. If it leaves an agreed acceptance criterion unmet, name it as a release blocker. Do not claim readiness or invent substitute proof.
  • Reuse existing CI output and review records. Do not add an evidence system.
  • Defer new gaps, unless they are a plausible, consequential failure within the agreed scope.

4. Clean up

  • Replace the conflicting rules. Do not add an override on top: a temporary exception leaves the old rules in place. This skill must not become one more layer.
  • Delete tooling, records and tests that guard no named harm. Merge repeated tests and name them by behavior.
  • Finish the stalled work before adding anything.
  • Keep the checks that earn their place: behavior tests, one review, the release rehearsal, and checks on money, data, credentials, memory safety and users.

5. Prevent

  • Standing instructions carry the stopping rule, written once with no conflicting rule.
  • Briefs state the cost of delay, the review's blocking threshold, and the uncertainty that is acceptable.
  • Ask for status in user terms: what works now and what is left.
  • Check for a spiral when status repeats "pending", not on a schedule. Do not create a new audit duty.
  • Before blaming a model, rerun a stalled task on the same model with simpler, reconciled instructions. Compare time to done and real defects found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment