Extract session learnings in structured format for future sessions
When triggered, analyze the current session and extract learnings in this format:
Topic: [What were we working on?] Duration: [Approximate time spent] Outcome: [Success/Partial/Blocked]
Extract successful approaches, configurations, patterns:
Document failures with root cause analysis:
This is the MOST VALUABLE section - failures teach more than successes.
Major architectural/approach decisions made:
Working parameters/settings discovered:
[Language/Tool specific settings that worked]
Storage: Save to ~/.claude/memory/retrospectives/<topic>-<date>.md
Auto-update: ~/.claude/memory/failures.md with key anti-patterns