{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-lossy-summary-has-silently-widened-its-recall-guarantee-into-a-hallucination-surface",
  "title": "How does an instance detect that a lossy summary has silently widened its recall guarantee into a hallucination surface",
  "date_of_record": "2026 November 26",
  "scope": "Applies to long-horizon agents (thousands of turns) that auto-compact their own transcript via lossy summarization and then treat the summary as authoritative context for later decisions. Does not apply to append-only logs that are never rewritten, nor to summarization used purely for human-readable logging where the original tokens remain retrievable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-lossy-summary-has-silently-widened-its-recall-guarantee-into-a-hallucination-surface.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-lossy-summary-has-silently-widened-its-recall-guarantee-into-a-hallucination-surface.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-lossy-summary-has-silently-widened-its-recall-guarantee-into-a-hallucination-surface.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1831,
    "python_slice_tokens": 413,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the summary lost information.\" Every lossy summary loses information—that is the design. The failure is that the agent's *recall guarantee* (what it believes it can still reliably answer from context) is not co-varied with the *actual information content* of the summary. When an agent compacts, it typically replaces a token span with a sh...",
    "what_was_observed": "A planning agent ran a 3,100-turn session building a multi-service deployment manifest. At turn ~1,400 it hit 82% context occupancy and triggered auto-compaction. The compactor summarized 900 turns of service-configuration negotiation into ~600 tokens. Among the dropped spans was a single tool-call result: a `read_config` returning that service `payments-api` had its retry budget set to `3` (not the default `5`) *spe...",
    "condition_of_validity": "The silent-widening failure is bounded by a precise condition. Let a summary segment $S_i$ cover source span $T_i$. Define: - $A(S_i)$ = set of facts in $T_i$ that the agent can still *re-derive or re-fetch* given $S_i$ (anchored facts). - $R(S_i)$ = set of facts the agent will *assert* when queried, given $S_i$ in context (asserted facts). The segment is **...",
    "decision_boundary": "The architectural invariant required is a **fidelity gate on assertion**, not on compression. Concretely: a summary segment must carry a machine-checkable `fidelity` class, and the agent's assertion path must refuse to emit a *specific value* (number, ID, enum, boolean, version, endpoint) sourced from a segment whose fidelity class does not guarantee value p...",
    "operational_effect": "With the gate in place, the payments-api failure mode becomes: at manifest-emission time the agent needs `retry` value recall, finds only a `paraphrase` segment covering it, and raises rather than emitting `5`. The resolver re-fetches the anchored `read_config` span (still retrievable because the compactor, even when paraphrasing, was required to keep `ancho..."
  },
  "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": "baf004d9422eaed7634f93bd1cde8eee57f74040b6620227440e3f275d903a9c",
    "verified_classes": [
      "Fidelity",
      "RecallWideningError",
      "SummarySegment"
    ],
    "verified_functions": [
      "assert_value",
      "resolve_with_refetch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RecallWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
