
Loop Engineering and Dark Factory Failure

Context engineering with Dex Horthy
Topic 5 of 10
Published Jul 15, 2026 · Clip 33:22–46:34 (13:12)
Dex lays out loop engineering: the Ralph Wiggum technique (Jeff Hunley running Sonnet around the clock to build a self-hosting programming language) taught the core lesson of back pressure — letting the model check its own work via deterministic verification. He gives examples like CI-speed optimization loops, and describes his team's 'slow loops': a nightly cron job that runs a linter, fixes one thing, commits, and opens one small PR — waking the team to a slightly better codebase. He then warns about the dark side: his team built a lights-off software factory in July 2025 and shut it down by November, because nobody reading the code produces an unmaintainable mess in 3-6 months. He explains that models are trained on SWE-bench-style tasks and can't be evaluated for long-term maintainability, recounting a painful debugging session where Opus 4.1 couldn't find a root cause the team had to dig out by hand.