Ratchet Code

Why Coding Agents Work and Why They Break
The same model hallucinates in web chat yet ships 200-line features in a coding agent. It is not the model that changed -- it is the topology. Generation can be probabilistic. Verification must be deterministic.

Ratchet Pattern — How to Make an Agent Finish the Job
I asked an AI agent to write tests for 527 functions. It stopped at 40 and declared 'done.' The Ratchet Pattern forces completion by delegating the done/not-done decision to a mechanical verifier — so the agent keeps going until the machine says stop.

Feedback Topology Over Model IQ
The same model stalls at 40 or completes all 527. The difference is not the model — it is the feedback structure. LLM performance depends far more on how fast and deterministic the feedback loop is than on the model itself.

tsma -- Regression Defense Line for Legacy Code
A CLI tool that indexes every function, detects test presence, measures coverage, and gives precise feedback to LLM agents. One command builds a regression defense line around legacy code.

filefunc — One File, One Concept
The navigation unit for an AI code agent is the file. filefunc is a Go code structure convention and CLI tool that enforces one concept per file.