Overview of Phase B: Live-Zone-Only Compression Engine
mainPhase B transitions Headroom to a 'Live-Zone-Only' compression engine. This phase involves retiring legacy components like ICM (Incremental Context Management), RollingWindow, ProgressiveSummarizer, and ToolCrusher, replacing them with a more streamlined architecture centered around a Live-zone block dispatcher written in Rust and specialized type-aware compressors.
Key architectural components introduced or finalized in Phase B include:
- Type-aware compressors: Specialized compressors for different data types, including
SmartCrusher,LogCompressor,SearchCompressor,DiffCompressor, andCodeCompressor. - Live-zone block dispatcher: A Rust-based dispatcher for managing live-zone blocks.
- Token validation gate: A mechanism that uses per-type byte thresholds and provides fallbacks.
- TOIN (Token Observation & Inference Network): Operates in observation-only mode with per-tenant aggregation keys.
- CCR (Contextual Compression Registry): A persistent backend with always-on tool registration.
- Memory Management: Memory routes directly to the live-zone tail without causing system mutation.