[package] name = "jouleclaw-cag" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true authors.workspace = true description = "Cache-Augmented Generation (CAG) primitive for JouleClaw. Preloaded KV cache as a typed first-class object: the knowledge corpus is encoded ONCE into the model's KV cache; every subsequent query reuses the cached prefix without any retrieval step. The 2026 alternative to RAG for fixed-corpus knowledge tasks (Don't Do RAG, arxiv 2412.15605). Trait-based backend so vLLM's Automatic Prefix Caching / SGLang RadixAttention / FusionRAG / CacheBlend can each implement the same surface." [dependencies] serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } blake3 = { workspace = true }