The Loop — Build the Agent Loop From Scratch
Vibe Coding Nights #44 — The Loop, a Saturday-morning build sprint in the Off the Leash season. Every coding agent is a while-loop, so the room writes one by hand: the while-loop harness, tool-calling as act plus observe, stop conditions (natural stop, an explicit done tool, and a turn ceiling), context compaction, then the same loop repointed at an OpenAI-shaped endpoint. Act 2 covers the loops you actually run in Claude Code: in-session steering, deterministic verify loops, hooks as loop control, scheduled and unattended loops, fan-out, and packaging a loop so it runs the same way twice. 28 slides, a runnable lab that repairs a failing test, an offline proof that needs no key and no network, agent-readable /setup.txt and /llms.txt, and executable /wire.sh + /wire.ps1 doctor-then-wire helpers.