Skip to main content

cmd_context_compress_json_claims

Function cmd_context_compress_json_claims 

Source
pub fn cmd_context_compress_json_claims(
    root: &Path,
    goal: &str,
    cmd: Option<String>,
    budget: Option<usize>,
    claims: bool,
) -> Result<String>
Expand description

Constrained generation seam (SCC-072, docs §71): with claims=true the external summarizer receives structured pack JSON (goal, content, entity_ids, evidence_summary) and MUST emit typed claims referencing known evidence; claims without valid evidence references are rejected — the LLM may label evidence, it may not invent it.