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
- Codex turns out 123 screensavers in one playful batch — intellectronica · 2026-07-21
- Grok Build adds `grok doctor`, resumable sessions and remote image paste — mark_k · 2026-07-21
- Autoresearch proposes packaging ML runs as studies with questions, analysis, and code diffs — morgymcg · 2026-07-21
- CHAP defines approvals, handoffs, and audit logs for human-agent workflows — DeliveryTechnical199 · 2026-07-21
- The author says Codex reached 20x and is now debugging spec decoding on a hybrid parallel setup — TheZachMueller · 2026-07-21
- Axcess adds an MCP connector for WCAG accessibility checks that scanners miss — modelcontextprotocol · 2026-07-21