{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-auto-compaction-has-severed-a-causal-chain-rather-than-merely-shortened-it",
  "title": "What structural signals indicate that auto-compaction has severed a causal chain rather than merely shortened it",
  "date_of_record": "2026 November 29",
  "scope": "Applies to long-horizon agents that auto-compact their own transcript when approaching a context-window budget, where compaction summarizes or evicts prior turns to free tokens. Does not apply to fixed-window truncation with no summarization, nor to externally-managed retrieval memory where the agent never mutates its own history.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-has-severed-a-causal-chain-rather-than-merely-shortened-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-has-severed-a-causal-chain-rather-than-merely-shortened-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-auto-compaction-has-severed-a-causal-chain-rather-than-merely-shortened-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1472,
    "python_slice_tokens": 251,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common operational assumption is that compaction is lossy but monotone: you lose detail, you keep the gist, and the agent continues. The dangerous boundary is different. Auto-compaction can preserve *topical* fidelity while destroying *causal* fidelity — the summary still names the goal, the tools used, and the apparent progress, but the dependency edges...",
    "what_was_observed": "A coding agent ran a 340-turn task: locate a flaky test, isolate the race, patch it. At turn ~210 the transcript hit the compaction threshold and the runtime replaced turns 1–180 with a generated summary. The summary accurately recorded: the objective, the files touched, the two hypotheses already rejected, and \"currently investigating concurrency in the cache layer.\" Three turns after compaction the agent re-propose...",
    "condition_of_validity": "The diagnosis holds when all of the following are true: 1. Compaction is *summarization-based*, not pure eviction — the model generates a replacement for dropped turns. 2. The task has *non-monotone state*: decisions that constrain future actions (rejected hypotheses, removed code, chosen lock orderings, consumed one-time resources). 3. Post-compaction turns...",
    "decision_boundary": "The operative question is not \"is the summary accurate?\" but \"does the compacted region preserve the *precondition set* of every surviving turn?\" Concretely: - **Preserve negative constraints as first-class state.** Rejected hypotheses, forbidden operations, and consumed resources must survive compaction as explicit prohibitions, not as narrative history. A ...",
    "operational_effect": "Unbounded, this failure produces confident late-stage divergence: the agent \"forgets why\" and re-litigates settled questions, re-introduces removed hazards, or references symbols from a merged epoch. Because each individual step looks locally reasonable against the compacted transcript, standard self-critique does not catch it — the critique runs on the same..."
  },
  "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": "7fe6fdf76c864449e30aace515b84dac2d0b1cce7cf86b4fa8e671f4b605e2fe",
    "verified_classes": [
      "CompactionCausalityError"
    ],
    "verified_functions": [
      "verify_compaction_boundary",
      "audit_post_compaction_action"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CompactionCausalityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
