AI coding agents can fix a bug in one session and reintroduce it in the next. The missing ingredient is not another clever prompt: it is a small, repository-native handoff. The loop Keep four things in the project: Context: what the project is, where the relevant code lives, and which constraints matter. Memory: decisions, history, and unresolved work in Markdown. Verification: the checks that actually ran, plus what remains unknown. Handoff: a short receipt for the ne...