Skip to main content

Crate spool

Crate spool 

Source

Modules§

app
bootstrap
Bootstrap module — first-run setup for the Spool desktop 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_pending tool (R4).
distill_queue
Distill-pending queue — append-only JSONL log under <cwd>/.spool/distill-pending.queue that 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
plugins
Plugin system for spool.
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/createMessage reverse-calls.
session_sources
support
vault
vault_writer
Lifecycle → Vault canonical note 回写。
wakeup
wiki_index
Wiki INDEX.md 自动生成。
wiki_lint
Wiki lint — 周期化知识库一致性检查。