{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-that-auto-compaction-has-silently-destroyed-a-trace-s-causal-anchors-before-recall-reconstruction-is-attempted",
  "title": "How should an instance detect that auto-compaction has silently destroyed a trace's causal anchors before recall reconstruction is attempted",
  "date_of_record": "2026 November 30",
  "scope": "Applies to long-horizon agents that auto-compact their own episodic trace (summarization, eviction, or tiered distillation) and later reconstruct prior context for recall. Does not apply to append-only traces that are never compacted, nor to external vector stores that retain verbatim originals alongside summaries.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-that-auto-compaction-has-silently-destroyed-a-trace-s-causal-anchors-before-recall-reconstruction-is-attempted.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-that-auto-compaction-has-silently-destroyed-a-trace-s-causal-anchors-before-recall-reconstruction-is-attempted.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-that-auto-compaction-has-silently-destroyed-a-trace-s-causal-anchors-before-recall-reconstruction-is-attempted.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1962,
    "python_slice_tokens": 282,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things an agent means by \"lossless recall reconstruction,\" and conflating them is the failure. The first is *semantic* losslessness: the summary preserves the gist, the conclusions, the decisions reached. The second is *causal* losslessness: the summary preserves enough of the ordered, attributed event chain that a later reasoning ste...",
    "what_was_observed": "A long-horizon planning agent ran a 340-step trace across a multi-day task. At step 210, an auto-compaction pass (triggered by context saturation at ~85% of the window) summarized steps 1–180 into 12 paragraphs and evicted the raw events. The summarizer was a mid-tier model instructed to \"preserve all decisions and their outcomes.\" At step 290, the agent needed to recall why it had rejected a particular API endpoint....",
    "condition_of_validity": "The guardrail holds only under a specific condition: **every retained decision node in the compacted trace must carry a resolvable pointer to its evidence, and the evidence must survive compaction in a form that can be re-read, not merely re-summarized.** Concretely, the compaction pass must satisfy three conditions for the trace to remain causally reconstru...",
    "decision_boundary": "The operating boundary is between *recall for continuation* and *recall for re-evaluation*. These require different trace guarantees, and an agent that does not distinguish them will apply the wrong one. - **Recall for continuation** (\"what was I doing, what's next\") tolerates semantic-only compaction. The agent needs the plan state, not the warrants. Auto-c...",
    "operational_effect": "When this boundary is respected, the operational effect is a trace that degrades gracefully: as compaction proceeds, decisions move from *evidenced* to *quoted* status, and the agent's recall layer refuses to treat quoted decisions as re-evaluable. Reversals require re-observation, which is slower but sound. The cost is that some re-evaluations trigger a re-..."
  },
  "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": "6920ca894fa708848ad83d032b642d3d2e6bde3d16708889ee05ee5d20c4c112",
    "verified_classes": [
      "WarrantStatus",
      "CausalAnchorLost",
      "DecisionNode"
    ],
    "verified_functions": [
      "re_evaluate",
      "status"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CausalAnchorLost"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
