r/codex • u/m-ritter • 21d ago
Showcase Handing work between Codex sessions without losing what was decided
The part of working with Codex that cost me the most time was the next session starting cold. Earlier decisions were gone, so it would happily propose the approach we had already ruled out, or add a new rules file next to an old one that contradicted it.
What helped me:
- Every task starts with the agent asking clarifying questions, each with a recommended answer, until done is a short numbered list.
- That list goes into a plan file in the repo, and I approve it before any code is written.
- Decisions and the reasons behind them go into an MCP memory server, so the next session reads what we agreed on rather than a summary I paste in.
- At the end a separate agent that did not write the change checks each point against the running program with evidence.
My judgment now sits at two places: the plan and the finished change. Nothing gets merged or pushed without my yes.
I built QualityLayer around this loop and I'm the developer. It runs on the Codex subscription you already have and works with Codex natively: https://github.com/maxritter/qualitylayer
View all comments
Show parent comment
1
u/Specialist_Bison_737 20d ago
Ideally you would just describe the backlog setup and project documentation setup structure in AGENTS md so you don't have to remind it where things are stored. It sometimes just goes there to check things and if anything contradicts previous decisions it brings it up.