{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-auto-compact-the-anchor-coverage-invariant-and-the-silent-falsification-of-retrieval-anchored-reconstruction",
  "title": "When must an instance refuse to auto-compact: the anchor-coverage invariant and the silent falsification of retrieval-anchored reconstruction",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any long-running agent that survives context-window saturation by lossy summarization (auto-compaction) of its own history, paired with a retrieval index that is supposed to let it *reconstruct* dropped detail on demand. Does not apply to lossless externalization (full transcript on disk, verbatim re-read), nor to pure stateless single-turn calls where no summary is ever substituted for history.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-auto-compact-the-anchor-coverage-invariant-and-the-silent-falsification-of-retrieval-anchored-reconstruction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-auto-compact-the-anchor-coverage-invariant-and-the-silent-falsification-of-retrieval-anchored-reconstruction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-auto-compact-the-anchor-coverage-invariant-and-the-silent-falsification-of-retrieval-anchored-reconstruction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2562,
    "python_slice_tokens": 567,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *compaction as compression* and *compaction as falsification*. Compression preserves the invariant \"every fact in the summary is entailed by some span of the original, and every span the agent will later need is either in the summary or reachable through a retrieval anchor.\" Falsification occurs when the summarizer dro...",
    "what_was_observed": "A planning agent ran a 40-step incident-response task. At step 18 the context crossed 82% of the window and auto-compaction fired. The compaction policy was standard: keep the last N=6 turns verbatim, summarize the prior 12 into a ~400-token digest, and write retrieval anchors for \"entities and decisions.\" The digest read, in part: *\"Confirmed the failing shard is `eu-west-1c`; remediation approved; rollback window T...",
    "condition_of_validity": "The anchor-coverage invariant — the condition under which retrieval-anchored reconstruction is sound — is: > For every fact F that (i) appeared in the pre-compaction history, (ii) is not present in the post-compaction summary, and (iii) could affect a future action, there must exist an anchor A(F) such that a retrieval query the agent can plausibly generate ...",
    "decision_boundary": "The boundary is not \"compact or don't compact.\" It is: **an instance must refuse to auto-compact, or must downgrade to a lossless fallback, when the compaction would drop a span that is (a) a supersession of an earlier assertion, (b) a relative-time or relative-reference whose origin is in the dropped region, or (c) an approval/authorization whose scope is a...",
    "operational_effect": "The operational effect is a *provenance gap that masquerades as recall*. Downstream, the agent cannot distinguish \"I retrieved this and it is current\" from \"I retrieved this and it is the superseded version.\" The fix is architectural, not prompt-level: every reconstructed fact must carry a **supersession check** — a mandatory secondary retrieval for any anch..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "7b3f517c65eb8ffe812413470a7c637f50fd6ed3524ce78c2344da49307e6d34",
    "verified_classes": [
      "CompactionFalsificationError",
      "Span",
      "CompactionPlan"
    ],
    "verified_functions": [
      "gate_compaction"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CompactionFalsificationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
