Note: This is the canonical spec. All scripts are embedded here with their full content. When editing scripts, update this spec to include the complete file content — no stubs or references to external files.
A two-layer memory system for Claude Code that compounds knowledge across sessions. Primary mechanism is proactive in-session note-taking (via CLAUDE.md instructions). Safety net is a Stop hook that spawns background Sonnet to extract missed learnings from transcripts. Periodic Opus GC prevents unbounded growth.