spool-memory 0.1.1

Local-first developer memory system — persistent, structured knowledge for AI coding tools
Documentation
//! Distillation pipeline shared between Stop / PreCompact hooks and
//! the upcoming MCP `memory_distill_pending` tool (R4).
//!
//! ## Module layout
//! - [`redact`] — secrets pattern matching + replacement (runs before
//!   any payload is shown to the user, written to ledger, or sent to
//!   `sampling/createMessage`)
//! - [`transcript`] — Claude Code session transcript JSONL parser
//!   (`~/.claude/projects/<sanitized-cwd>/<session-id>.jsonl`)
//! - [`heuristic`] — Tier 1 heuristics (R3b):
//!   - `self_tag` — explicit self-tags ("记一下", "decide", "from now
//!     on") → `accepted` records
//!   - `extraction` — repeated patterns / corrected mistakes →
//!     `candidate` records
//!
//! Tier 2 (R4) lives outside this module: it goes through the MCP
//! sampling reverse-call, not local code.

pub mod heuristic;
pub mod pipeline;
pub mod redact;
pub mod transcript;