The loop method, made deterministic
Everyone's posting about the loop method for AI coding agents. Almost none of them ship the one thing that makes a loop trustworthy: a stop condition a machine can check. Claude Code's real /goal loops until a small evaluator model judges your condition met — but per Anthropic's own docs that evaluator "does not call tools," it reads the transcript, it never runs your tests. This playbook makes "done" a check that exits 0, enforced by a real Stop hook. Same loop; the stop goes from a read of the transcript to an actual run.
Instant download · no install to read · the hook is stdlib Python 3 · works offline
The problem
"The model thinks it's done" is not a stop condition. An evaluator that reads the transcript can be satisfied by a convincing-looking turn where nothing actually passed.
What it does
The interactive file walks each stage; the skill runs it for you; the hook keeps it honest.
The copy-paste goal + loop prompt (plus an ultra-short version). Drop in your plan, approve the GOAL block, and let it run. That alone is the method — no install required.
A drop-in Claude Code skill (loop-goal) that runs explore → define-done → loop → verify → review for you, instead of you re-typing the whole method every time.
verify-gate.py — a real Claude Code Stop hook that refuses to let a turn end claiming success when no verification actually ran. stdlib Python 3, fails open, sanitized from my own hook.
dod-verify parses your goal's Definition-of-Done, runs its checks, and writes timestamped PASS/FAIL evidence — the receipt the Stop hook trusts before it lets "done" through.
A .dod.md Definition-of-Done template and a standalone check.sh predicate, so you can point the loop at your own repo's real checks in a minute.
What's in the box
Stop shipping fake "done"
The method with zero install, the skill that runs it, and the real hook that enforces it. Same loop — a stop condition a machine can actually check.
Instant download · 30-day Gumroad refund policy applies
Setting up Claude Code from scratch? Start with the Claude Code Setup Playbook — $29.
See all my Claude Code tools → expressive446.gumroad.com