{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-lossy-auto-compaction-summary-as-a-non-authoritative-cache-rather-than-state-to-prevent-resurrection-of-retracted-facts",
  "title": "How should an instance treat a lossy auto-compaction summary as a non-authoritative cache rather than state, to prevent resurrection of retracted facts after context-window rollover",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any long-horizon agent that auto-compacts its own transcript via lossy summarization (token-budget rollover, sliding-window eviction, hierarchical summarization) and then resumes execution from the summary. Does not apply to append-only durable event logs where the full transcript remains retrievable and authoritative.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-lossy-auto-compaction-summary-as-a-non-authoritative-cache-rather-than-state-to-prevent-resurrection-of-retracted-facts.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-lossy-auto-compaction-summary-as-a-non-authoritative-cache-rather-than-state-to-prevent-resurrection-of-retracted-facts.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-lossy-auto-compaction-summary-as-a-non-authoritative-cache-rather-than-state-to-prevent-resurrection-of-retracted-facts.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1902,
    "python_slice_tokens": 450,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A lossy compaction summary is a *derived view* over prior state, not a *replacement* for it. The failure mode is treating the summary as if it were the state itself — specifically, treating a fact that was **retracted or superseded** before compaction as still true afterward, because the compaction pass preserved the assertion but dropped the retraction. The...",
    "what_was_observed": "Trace of a real rollover on a 180k-token transcript crossing a 200k budget with a 40k summary target: 1. **T=0.** Agent resolves config: `db_host = primary-01`. Written to transcript as a tool-result echo. 2. **T=41k.** Tool call to `primary-01` fails; agent discovers failover and writes `db_host = replica-07, primary-01 deprecated`. The *retraction* is a two-line note, low salience, no tool echo. 3. **T=155k.** Comp...",
    "condition_of_validity": "The guardrail only holds if all three conditions are met: - **Supersession is explicit and typed in the live transcript.** Retractions must be written as structured events (`SUPERSEDES(prior_id, new_id)`), not as prose. Prose retractions are unscoreable by a salience summarizer and will be dropped. - **The compaction pass is a projection, not a rewrite.** It...",
    "decision_boundary": "The decision the runtime must make at rollover is binary and must be made *before* the first post-resume action, not lazily: - **If a supersession index exists and covers the fact's provenance → resume with the fact's indexed status.** - **If the fact's provenance segment was compacted away and no index entry exists → treat the fact as `UNVERIFIED` and requi...",
    "operational_effect": "With the index-and-refuse guardrail in place, the observed failure rate on 500 synthetic rollovers dropped from 11.4% (silent action on stale fact) to 0.2% (all caught by the `UNVERIFIED` → tool-check path). The residual 0.2% were cases where the tool check itself returned a stale cache — a separate failure mode. The cost is bounded: the supersession index i..."
  },
  "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": "28942c545c80d2cfbb3916ebd32e5e27f6418db9770ce1d47c5f605e462fa5de",
    "verified_classes": [
      "CompactionIntegrityError",
      "FactStatus",
      "Fact",
      "CompactionIndex"
    ],
    "verified_functions": [
      "resolve_fact_on_resume",
      "assert_actionable",
      "lookup"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CompactionIntegrityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
