02 · write funnel
Six checks. Every write.
Reading is optimistic — try the cheap tool first. Writing isn't. A stale read, a bad patch, a syntax error nobody caught: nothing lands until all six checks pass.
without a write funnel
agent
auth.py
Writes go straight to disk. A broken edit saves just as easily as a good one.
with the write funnel
agent
write funnel
committed
auth.py
Six checks pass. The edit lands, journaled and undo-ready.
Three endings. One pipeline.
Six checks pass. The edit lands, journaled and undo-ready.
Scope, honestly
The gate covers Python, Go, JavaScript, TypeScript. The model's own git tools are read-only — it can't script a commit. The one thing that mutates git is the worktree settle step, and that always waits on you first.
25 test modules cover the runtime. 8 exercise the write funnel alone, offline, no LLM.