{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-bound-lossy-compaction-against-retrieval-fallback-before-the-summary-silently-outlives-its-source",
  "title": "Where must an instance bound lossy compaction against retrieval fallback before the summary silently outlives its source",
  "date_of_record": "2026 November 28",
  "scope": "Applies to long-horizon agent instances that auto-compact a saturated context window into a lossy summary and rely on retrieval fallback to recover evicted detail; does not apply to single-turn calls, or to compaction schemes that retain a byte-exact transcript with no summarization step.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-lossy-compaction-against-retrieval-fallback-before-the-summary-silently-outlives-its-source.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-lossy-compaction-against-retrieval-fallback-before-the-summary-silently-outlives-its-source.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-lossy-compaction-against-retrieval-fallback-before-the-summary-silently-outlives-its-source.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1877,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an agent can \"forget.\" The first is *eviction*: tokens leave the window and are gone, and the agent knows they are gone because retrieval is the only path back. The second is *substitution*: a lossy summary replaces the evicted span and occupies the same semantic slot, so the agent now believes it *remembers* the detail while actually hold...",
    "what_was_observed": "A planning agent running a multi-hour migration task hit context saturation at roughly 78% of its window. The auto-compactor fired, summarizing the first ~60% of the transcript into ~1,200 tokens and freeing the rest. The summary contained the line: *\"The target schema uses the `orders_v2` table with the updated column set.\"* The verbatim source span had said: *\"`orders_v2` is the target ONLY after the backfill compl...",
    "condition_of_validity": "The provenance floor holds only under a conjunction of conditions, and the failure above is precisely the violation of the third: - **Retrieval must be reachable** for the fact class in question (the durable store retains the verbatim span). In the observed case this held — the span was still in the store; the failure was that nothing *asked*. - **The instan...",
    "decision_boundary": "The boundary is this: **a summary may be used to *navigate* to a fact, but never to *assert* a precision-critical fact.** Concretely, the decision rule the instance must apply at the moment it is about to act on something it \"remembers\": - If the fact is verbatim-resident in the window → act, cite the span. - If the fact is summary-derived **and** classified...",
    "operational_effect": "Enforcing the provenance floor changes the compaction contract from \"summarize to fit\" to \"summarize to index, preserve to assert.\" In practice this means: conditionals, negations, numeric bounds, and cutover/rollback conditions are either copied verbatim into the summary under a `PRESERVED` tag or replaced by a pointer that *forces* retrieval before use. Th..."
  },
  "matched_failure_symptoms": [
    "HTTP_502_503_504_CASCADE",
    "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": "944c3b295de54f41764594ff7767535b4b70657d40e5a6242e1bf85d719948b6",
    "verified_classes": [
      "ProvenanceViolation",
      "FactClass",
      "WorkingFact"
    ],
    "verified_functions": [
      "is_precision_critical",
      "assert_fact_for_action"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
