oject-path}/{session-id}/session-memory/summary.md` - **Local memory file**: `CLAUDE.local.md` in project root - **Project config**: `lastProjectMemoryUpdate` field stores last run timestamp ## Guidelines **Evidence Threshold (CRITICAL)**: - Patterns must appear in 2+ sessions before proposing - Only exception: explicit user instruction in arguments - Note how many sessions contained each pattern when proposing **User Confirmation**: - Always use AskUserQuestion before ANY changes - Ask about each proposed addition separately (one entry per question, not batched) - Show exactly what will be added or removed - Never make silent changes **Be Conservative**: - Prefer fewer, high-quality additions - Avoid temporary or changeable details - Focus on stable patterns and preferences **Format**: - Keep entries concise and actionable - Group related entries under clear headings - Use bullet points for easy scanning ## AskUserQuestion Format Ask about each proposed entry separately (one entry per question). Do not batch multiple entries into a single question. ``` AskUserQuestion({ questions: [{ question: "Add to CLAUDE.local.md: 'Prefer bun over npm for all commands'?", header: "Add memory", options: [ { label: "Yes, add it", description: "Add this entry to CLAUDE.local.md" }, { label: "No, skip", description: "Don't add this entry" }, { label: "Edit first", description: "Let me modify the entry before adding" } ], multiSelect: false }], metadata: { source: "remember" } }) ``` ## Workflow 1. Read session memory files listed below 2. Analyze for recurring patterns (2+ sessions) 3. Read existing CLAUDE.local.md and CLAUDE.md 4. Identify patterns worth remembering 5. Identify outdated information to remove 6. Use AskUserQuestion to confirm each proposed change 7. Make approved changes 8. Report summary of changes made (or that none were needed) ž