You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Modo CAG — Cache-Augmented Generation (épica KJR-PCS-0017): query --answer --mode cag carga el corpus COMPLETO como contexto del
modelo en vez de recuperar top-k chunks. Contexto determinista y
estable (orden por ruta, contextHash) para amortizar el prompt-cache
del proveedor; sensibilidad efectiva = máximo global del manifest (el
gate y redactPII aplican por el mismo camino guardado que RAG);
presupuesto --max-context-chars (default 400K chars) con fallo
explícito — nunca truncado silencioso. No requiere vector store para
responder. API: buildCagContext, DEFAULT_CAG_MAX_CHARS.