paul_
Work Approach Blog About Contact
// tag

#loops

2 posts

  • Jul 28, 2026

    Testing the Loop That Runs While You Sleep

    The 15-phase run found five bugs in kodr2's loop scripts, and four of them failed silently - the run looked healthy while it was already broken. So the scripts finally got tests: a scripted kodr on PATH, a real temp git repo, 31 cases in nine seconds. Then the drift guard turned out to need a guard of its own.

    #ai#kodr#agents#automation#loops#testing
  • Jul 15, 2026

    Looping a One-Shot Harness

    Claude Code sorts agent loops by trigger and stop condition. Where does a zero-dep, one-shot harness sit? It already has the per-iteration parts - the outer loop is a shell script. The one thing a shell can't fake is a fuzzy stop condition, so kodr2 gets a `goal` command: iterate until a read-only model judge says met. The first live run caught one real bug, the next caught three more, and a 15-phase build over two long runs caught five more - one of them a fix that regressed before it stuck.

    #ai#kodr#local-models#agents#automation#loops
© 2026 Paul Kohler Creative AI Writer ยท Agentic Diagrams shipped with intent