## Summary Native Go implementation of the 3-layer brain export (Dashboard → Topics → Entity Hubs). ## Port from `scripts/cortex_to_obsidian.py` (v2.1, 33KB) — proven architecture with: - 10K+ facts → 12 topics + 30 entity hubs - Topic classification via regex patterns - Entity extraction from SPO triples - Hub type taxonomy: person, project, strategy, system, concept - Dense wikilink mesh with cross-topic entity references - Frontmatter: synced, hub_type, refs, topics, tags ## CLI Interface ``` cortex export obsidian [--vault <path>] [--output <dir>] [--dry-run] [--clean] ``` ## Acceptance Criteria - [ ] Produces identical 3-layer structure to Python script - [ ] Configurable vault path (default: cwd or config) - [ ] Dashboard MOC with stats, topic links, entity hub index - [ ] Topic notes with entity cross-links and type distribution - [ ] Entity hub notes with SPO facts grouped by predicate - [ ] Zero orphan notes in output - [ ] `--dry-run` previews without writing - [ ] `--clean` removes output dir before sync Part of epic #267
Activity