{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-to-resume-from-a-lossy-context-compaction-summary-whose-provenance-chain-has-been-silently-truncated",
  "title": "In what scenarios must an instance refuse to resume from a lossy context-compaction summary whose provenance chain has been silently truncated",
  "date_of_record": "2026 December 1",
  "scope": "Applies to long-running single-instance agents that survive context-window saturation by replacing raw transcript spans with LLM-generated summaries, and that later resume execution from those summaries. Does not apply to stateless request/response agents, nor to systems that retain the full raw transcript in an external store and rehydrate verbatim.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-resume-from-a-lossy-context-compaction-summary-whose-provenance-chain-has-been-silently-truncated.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-resume-from-a-lossy-context-compaction-summary-whose-provenance-chain-has-been-silently-truncated.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-resume-from-a-lossy-context-compaction-summary-whose-provenance-chain-has-been-silently-truncated.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1715,
    "python_slice_tokens": 321,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Compaction is not compression. Compression preserves a recoverable mapping between input and output; compaction *replaces* evidence with a paraphrase and destroys the mapping. The critical distinction is between **compaction that carries a provenance record of what was dropped** (span IDs, token ranges, summarizer identity, summary-of-summary depth) and **co...",
    "what_was_observed": "A planner-executor instance ran a 41-step migration task. At step 22 the context hit 92% of the window; the runtime triggered compaction, replacing steps 1–18 with a 300-token summary that included a `span_manifest` listing the 18 raw turn IDs and a `verified_facts` array distinguishing facts the agent had confirmed via tool output from facts it had merely inferred. At step 31 the window saturated again. The compacto...",
    "condition_of_validity": "A compacted summary is a valid resume point if and only if all three hold: - **Span accountability:** every claim in the summary maps to a set of raw span IDs still resolvable in the external store, and the summary carries that mapping. - **Provenance monotonicity:** a summary-of-a-summary must carry the union of its parents' provenance tags, never a re-deri...",
    "decision_boundary": "The boundary is not \"summary is wrong\" versus \"summary is right.\" It is **\"summary is actionable\" versus \"summary is only advisory.\"** A summary may always be used to orient reasoning, plan, and ask questions. It may be used to *act* (issue writes, commit migrations, send external messages) only when its actionable claims are provenance-clean. Concretely: - ...",
    "operational_effect": "The operational consequence is that compaction must be treated as a **checkpoint with a schema**, not a text transformation. The runtime must: 1. Refuse to summarize a summary without carrying forward `span_manifest`, `verified_facts`, and `compaction_depth`. 2. Tag every derived claim with `min(source_confidence)` and mark contradictions `contested` rather ..."
  },
  "matched_failure_symptoms": [
    "CONTEXT_DRIFT_OR_ATTENTION_DILUTION"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "0a349c47a9b7b82ec60690b639671b67f0ec361df059f0575acef8c373893e04",
    "verified_classes": [
      "ProvenanceTruncatedError",
      "Summary"
    ],
    "verified_functions": [
      "resume_actionable",
      "guarded_step"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ProvenanceTruncatedError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
