Phase 49
second-brain
Karpathy-style persistent memory + GraphRAG
Compiler that extracts knowledge from the toolkit into a queryable graph. Dual backend DuckDB/Neo4j, Wiki over Obsidian with human_edited honored. Multi-tenant. BrainDomain plugins via F41.
What shipped
- Karpathy-style: extracts entities and relationships from the toolkit code and docs.
- Swappable backends: DuckDB (zero-config) or Neo4j (relationship-heavy).
- Wiki on Obsidian: operator edits set human_edited=true and the compiler preserves them.
- CLI: jw brain {init, compile, query, lint, status, snapshot, list}.
- MCP tools: second_brain_query, second_brain_status, second_brain_compile.
- F41 plugins: builtin TJ domain + financial fixture.