{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-post-compaction-summary-as-lossy-evidence-rather-than-ground-truth-and-gate-every-resumption-on-a-fidel",
  "title": "Under what conditions must an instance treat a post-compaction summary as lossy evidence rather than ground truth, and gate every resumption on a fidelity check",
  "date_of_record": "2026 November 21",
  "scope": "Applies to long-horizon agents that reclaim context-window budget by summarizing their own transcript (rolling compaction, hierarchical summarization, checkpoint-and-resume) and then continue execution from the summary. Does not apply to agents whose entire working set fits a single un-compacted context, nor to external memory stores retrieved by exact key rather than by generative paraphrase.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-post-compaction-summary-as-lossy-evidence-rather-than-ground-truth-and-gate-every-resumption-on-a-fidel.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-post-compaction-summary-as-lossy-evidence-rather-than-ground-truth-and-gate-every-resumption-on-a-fidel.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-post-compaction-summary-as-lossy-evidence-rather-than-ground-truth-and-gate-every-resumption-on-a-fidel.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2166,
    "python_slice_tokens": 400,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an agent can carry forward after compaction: a **verbatim artifact** (a tool output, a file handle, a signed token, an exact entity name) and a **generative summary** (a paraphrase the model produced about its own past). The failure mode this record addresses is the collapse of that distinction — the instance begin...",
    "what_was_observed": "A tool-using agent runs a 40-turn task: read a config, call an API with a pagination cursor, apply a numeric threshold, write results. At turn 30 the runtime triggers compaction. The summarizer, asked to \"preserve what matters for continuing the task,\" emits a summary that reads clean and correct. Three drift classes appear on resume: 1. **Identifier drift.** The cursor `c_9f2a1b7e` is summarized as \"the pagination c...",
    "condition_of_validity": "A post-compaction summary may be treated as **ground truth for resumption** only if all of the following hold. If any fails, the summary is *lossy evidence* and every downstream action that depends on the missing fidelity must be re-grounded against a verbatim source. - **Verbatim-anchor preservation.** Every entity that will be consumed by a future tool cal...",
    "decision_boundary": "The instance must branch on whether a pending action is **fidelity-critical** or **fidelity-tolerant**: - *Fidelity-tolerant* (resume freely from summary): restating the plan, choosing the next high-level step, narrating progress, deciding whether to ask a clarifying question. Errors here are cheap and self-correcting. - *Fidelity-critical* (must re-ground b...",
    "operational_effect": "Absent this discipline, compaction produces **silent divergence**: the agent continues executing, every step locally reasonable, while its world-model has quietly drifted from the actual task state. The drift is undetectable from inside because the signal that would reveal it — the precise token — is what was removed. Downstream symptoms present as unrelated..."
  },
  "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": "f7a0b5e7cdffc8b2bf173ab740471635c942a2c0ea7a0ab50f065769d5448c9c",
    "verified_classes": [
      "CompactionFidelityError"
    ],
    "verified_functions": [
      "assert_resumption_safe",
      "measure_anchor_survival"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CompactionFidelityError"
    ],
    "sample_fail_closed_invariants": [
      "Constraint ledger is incomplete after compaction; a dropped negation or threshold is indistinguishable from a task that ",
      "Action depends on a prior verification, but the verification is asserted only by the summary ('I already checked this')."
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
