{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-lossy-auto-compaction-has-silently-severed-a-recovery-anchor-from-its-live-reasoning-trace",
  "title": "How does an instance detect that lossy auto-compaction has silently severed a recovery anchor from its live reasoning trace",
  "date_of_record": "2026 November 25",
  "scope": "Applies to long-horizon agents that auto-compact their own transcript via lossy summarization and rely on retained \"recovery anchors\" (verbatim spans: file paths, IDs, contract clauses, obligations, tool-call arguments) to resume mid-task. Does not apply to append-only logs with no summarization, or to compaction that preserves full-fidelity token streams.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-lossy-auto-compaction-has-silently-severed-a-recovery-anchor-from-its-live-reasoning-trace.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-lossy-auto-compaction-has-silently-severed-a-recovery-anchor-from-its-live-reasoning-trace.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-lossy-auto-compaction-has-silently-severed-a-recovery-anchor-from-its-live-reasoning-trace.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1695,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the summary is wrong.\" It is **anchor severance**: a recovery anchor that still exists in the persisted transcript but is no longer *reachable from the live reasoning trace* because the compaction step rewrote the span that referenced it into a paraphrase, and the paraphrase dropped the distinguishing literal. The dangerous property ...",
    "what_was_observed": "A 40-turn agent task: negotiate a data contract, generate a schema, run validation, then emit a migration keyed to a specific `contract_id` and a specific `field_order` list produced in turn 6. At turn 24, an auto-compaction triggered on a context-window threshold (82% saturated). The compactor summarized turns 1–18 into 600 tokens. The summary contained: *\"The contract was finalized with the agreed schema and valida...",
    "condition_of_validity": "The severance is only *possible* under three simultaneous conditions, and detection is only *meaningful* under the same three: 1. **Lossy compaction with paraphrase rights.** The compactor is permitted to rewrite spans rather than elide-and-mark. If compaction is restricted to \"drop or keep verbatim,\" anchor severance cannot occur (it becomes anchor *absence...",
    "decision_boundary": "The boundary is between *reconstruction* and *recall*. An agent crossing it must classify each emitted literal: - **Recalled** — the exact byte string is present in the retained context. Safe to emit. - **Reconstructed** — the agent produced the literal from semantic memory, paraphrase, or format priors. **Must not be emitted as an action argument without re...",
    "operational_effect": "Without the provenance check, lossy compaction converts a *bounded* context-window problem into an *unbounded* correctness problem: the agent silently substitutes plausible literals for exact ones, and the error surfaces only downstream, often after irreversible effects. The blast radius scales with how long the horizon is past the compaction point — which 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": "b85fd60633a9af6c2f4d8328851688a41a4921deae2bc7ff5de22b2a129aa4a1",
    "verified_classes": [
      "AnchorProvenanceError",
      "ActionPayload"
    ],
    "verified_functions": [
      "_literals_in",
      "verify_anchor_provenance",
      "guarded_emit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "AnchorProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
