Improve Claude's memory retention across long coding projects
product-improvement case · difficulty 3/5 · 30 minutes · software-tech · Anthropic
Prompt
You are the product manager for Claude. Improve memory retention across long coding projects.
Context
Developers work with Claude for hours on a project. In very long conversations, Claude can forget early architectural decisions and contradict them later. Core tension: Ensuring the AI doesn't 'forget' early architectural decisions in a 100k+ token conversation. This is a conversation, follow the **CIRCLES** steps or any sensible structure of your own.
Clarifying questions
- Focus on token efficiency or context retrieval?
- Context retrieval and reliability. Token efficiency is a constraint, not the goal.
- What is the current picture?
- In sessions beyond 100k tokens, about 1 in 6 turns repeats a context error, and developers spend time correcting Claude or restating decisions.
Recommendation
**Recommendation:** Project memory file with confirmed auto-extraction, plus a visible memory panel - **Who:** refactors in large repos - **Need addressed:** Persist decisions and see what is remembered - **Why this option:** It gives the biggest reduction cheaply and keeps the developer in control. Retrieval is valuable for cost but is a larger engineering effort. - **Success metrics:** Context-miss error rate, User correction prompts, Session length
Risks
- Stale decisions in memory may mislead Claude
- Auto-extraction may capture the wrong things
Next steps
- Pilot with 500 developers doing refactors
- Track context-miss errors, correction prompts and session length