Modules§
- app
- cli
- config
- contradiction
- Heuristic contradiction detection for lifecycle memories.
- daemon
- daemon_
client - desktop
- 桌面 facade 层(Tauri / GUI / 桌面 smoke 入口)。
- desktop_
status - distill
- Distillation pipeline shared between Stop / PreCompact hooks and
the upcoming MCP
memory_distill_pendingtool (R4). - distill_
queue - Distill-pending queue — append-only JSONL log under
<cwd>/.spool/distill-pending.queuethat Stop / PreCompact hooks drain into candidate / accepted memory records. - domain
- engine
- enhancement_
trace - enrich
- Heuristic enrichment for lifecycle records.
- git_
importer - Git activity importer — extracts decision and pattern signals from recent commit messages in the current repository.
- hook_
runtime - Hook runtime —
spool hook <subcommand>entry points. - installers
- Multi-platform installer registry for spool hook runtime.
- knowledge
- lifecycle_
format - lifecycle_
service - lifecycle_
store - Lifecycle ledger store: append-only JSONL + 投影缓存的统一入口。
- lifecycle_
summary - mcp
- memory_
gateway - memory_
importer - Transcript → candidate memory extractor.
- output
- reference_
tracker - Reference tracker — lightweight side-channel that records when each
lifecycle memory record was last retrieved (referenced). Lives
outside the append-only ledger as a mutable JSON file at
<lifecycle_root>/reference-tracker.json. - rules
- User-defined rules that influence memory extraction, injection,
and classification behavior. Stored at
~/.spool/rules.toml. - sampling
- Shared sampling client trait for MCP
sampling/createMessagereverse-calls. - session_
sources - support
- vault
- vault_
writer - Lifecycle → Vault canonical note 回写。
- wakeup
- wiki_
index - Wiki INDEX.md 自动生成。
- wiki_
lint - Wiki lint — 周期化知识库一致性检查。