Architecture
The components, their responsibilities, and their boundaries.
Components
The CLI, MCP server, and native plugins are adapters. The index, planner, ledger, retrieval, watcher, and guard are the deterministic core.
Contents
- scope.md: The first-party scope policy
- partitions.md: The partition tree and its tags
- segments.md: Full-read segment planning and synthesis
- ledger.md: The SQLite coverage ledger and its exports
- retrieval.md: Deterministic labels, FTS, and coverage-aware query
- watcher.md: The native watcher, delta refresh, and audit
- enforcement.md: The raw-read policy and the harness hook
- workspace.md: The workspace as a virtual repository
Reading order
Read the pages in the order above unless a page names a prerequisite.