//! `tt-retrieval` — RAG / context-compression engine.
//!
//! See `docs/superpowers/specs/2026-05-28-trackE-rag-context-compression-design.md`.
pub use RetrievalError;
pub use RetrievalStore;
pub use ;
pub use ;
/// True if every component is finite (no NaN/Inf). A non-finite embedding makes
/// cosine distance NaN and corrupts top-k ranking, so it is rejected at the
/// embed chokepoint and at store insert (mirrors the L2 cache guard).
///
/// Note: an empty slice is vacuously finite (`true`). Emptiness is a separate
/// concern — the pgvector `vector(1536)` column rejects a zero-dim insert with a
/// `Store` error; this guard only screens NaN/Inf.
pub