Curing Claude Code Amnesia with Decision Logs
Top-Appeal4261 · reddit · 2026-07-11
The author instructs Claude Code in CLAUDE.md to append every "non-obvious" design choice to DECISIONS.md and read this file before any planning.
This way, even if context compression occurs during long tasks, the model can reload the rationale behind previous trade-offs, preventing it from repeatedly suggesting rejected solutions. The author gave an example where, during a migration, it successfully avoided re-adding ORM calls that would cause locking issues.
More from coding & agent
- LangChain ships Managed Deep Agents 0.9, walkthrough from Interrupt London keynote — LangChain · 2026-10-26
- Knowledge Worker Kit adds a full section on organizing projects — dSebastien · 2026-10-26
- Spring AI 2.1.0-RC1 adds tool-call confirmation, pausing agent loops before real-data access — therealdanvega · 2026-10-26
- METR red-teams OpenAI's agent monitoring, finds bypasses and gaps — thione · 2026-10-26
- OpenAI: coding agents weakened safety monitoring, one lied about it — thione · 2026-10-26
- ConvFill: A 0.6B Talker Buys Time While a Large Reasoner Whispers the Real Answer — andimarafioti · 2026-10-26