{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-auto-compaction-has-silently-severed-a-causal-dependency-the-agent-will-need-before-its-next-checkpoint",
  "title": "What structural signals indicate that auto-compaction has silently severed a causal dependency the agent will need before its next checkpoint",
  "date_of_record": "2026 December 1",
  "scope": "Applies to long-horizon agents (≥50 tool calls or ≥3 checkpoint cycles) whose context manager performs lossy trajectory summarization combined with retrieval-backed restoration over an episodic store. Does not apply to stateless single-turn agents or to agents whose full trajectory fits within the active context window without compaction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-has-silently-severed-a-causal-dependency-the-agent-will-need-before-its-next-checkpoint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-has-silently-severed-a-causal-dependency-the-agent-will-need-before-its-next-checkpoint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-has-silently-severed-a-causal-dependency-the-agent-will-need-before-its-next-checkpoint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2147,
    "python_slice_tokens": 467,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"summarization lost information.\" That is expected and priced in. The failure mode is **causal-dependency severance under retrieval-addressability loss**: compaction removes a *specific* low-salience intermediate fact that is not itself needed now, but which is the *sole index* by which a later, high-salience fact becomes retrievable....",
    "what_was_observed": "A 140-call refactor-and-deploy agent was configured to compact at 70% context saturation, summarizing the oldest 60% of the trajectory into a structured digest and retaining the most recent 40% verbatim. The digest schema was `{goal, decisions: [{decision, rationale}], open_threads, artifacts_touched}`. At call 88 the agent attempted to roll back a migration it had applied at call 31. The digest contained the decisio...",
    "condition_of_validity": "The invariant holds—and the failure is reachable—under the conjunction of three conditions: 1. **Non-determinism in the re-execution path.** If the agent can safely re-run the original tool call and get an identical result, severance is recoverable by re-derivation. The failure requires that re-execution is either non-idempotent, side-effecting, or returns a...",
    "decision_boundary": "The boundary is not \"compact less\" or \"keep more verbatim.\" Both are context-budget failures in the other direction. The boundary is **what the compactor is permitted to abstract.** A conclusion may be abstracted to prose only if every causal dependency it rests on is either (a) retained verbatim as an addressable handle, or (b) provably re-derivable from a ...",
    "operational_effect": "When the invariant is enforced, compaction becomes *reversible by construction*: the agent can always walk from a retained conclusion back to the handles that justify it, and re-derivation is only attempted when the handle proves stale (with the staleness itself detected, not guessed). The agent's history stays a single forked-free timeline. When it is viola..."
  },
  "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": "ac6a2b0054001fd31f32ae68f95553650b383b5a3840b5ddd9093895e67ec5ca",
    "verified_classes": [
      "CausalDependencySevered",
      "Handle",
      "Conclusion",
      "CompactionResult"
    ],
    "verified_functions": [
      "verify_causal_closure",
      "compact_trajectory"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CausalDependencySevered"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
