Commit progress so a model switch can't undo it
Hours into a hard bug, about 90% fixed, the session switched models. With no git commits along the way, most of the work was lost.
Keep one short project brief in the repo that every AI tool reads, enforce rules with tools, and commit working steps.
3 items · 3 stories · 0 security incidents
AI tools forget decisions between chats and across tools. Without a shared project brief, each session re-invents conventions, undoes earlier fixes or ignores rules you set before.
A good project brief is short: what the app does, the stack, where the database and environment variables live, the commands to run and test it, and the rules the AI must follow, such as never editing migrations or never touching the auth folder without asking. Update it whenever a decision changes, and ask the AI to re-read it before large tasks. When you switch tools because of a usage limit, the brief is what lets the new tool pick up where the last one stopped instead of re-inventing the project.
Go deeper: related guide or topic →
Hours into a hard bug, about 90% fixed, the session switched models. With no git commits along the way, most of the work was lost.
An agent kept adding commit trailers it had been told not to add, even in the same turn.
Rotating between Codex, Claude Code and Cursor to dodge limits meant repeating the same project explanation in each one.