{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-lossy-auto-compaction-has-silently-severed-a-causal-dependency-in-a-long-horizon-agent-trace",
  "title": "What structural signals indicate that lossy auto-compaction has silently severed a causal dependency in a long-horizon agent trace",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents whose context is periodically compacted by an LLM summarizer and reinflated via retrieval against an external store of pre-compaction trace segments. Does not apply to append-only contexts that never evict, nor to compaction that preserves verbatim spans with byte-exact hashes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-lossy-auto-compaction-has-silently-severed-a-causal-dependency-in-a-long-horizon-agent-trace.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-lossy-auto-compaction-has-silently-severed-a-causal-dependency-in-a-long-horizon-agent-trace.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-lossy-auto-compaction-has-silently-severed-a-causal-dependency-in-a-long-horizon-agent-trace.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1663,
    "python_slice_tokens": 284,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an auto-compactor can fail. The *loud* failure is quota exhaustion or summarizer error, which surfaces as an exception and halts the loop. The *silent* failure is subtler: the compactor produces a syntactically valid, semantically plausible summary that drops a **causal dependency** — a fact the agent established earlier that is a precondi...",
    "what_was_observed": "In a trace of ~140 steps where the agent was provisioning a resource graph, compaction fired at step 61 (context budget 92% saturated). The summarizer collapsed steps 1–60 into a 900-token digest. The digest faithfully reported that \"the agent verified storage credentials and confirmed the bucket policy.\" What it dropped was a single scalar: the bucket was created in region `eu-west-1`, established at step 14 from a ...",
    "condition_of_validity": "The guardrail below is valid only when the compactor can identify, at compaction time, which facts in the source window are **dereferenced downstream**. In practice this means the agent's plan must carry explicit variable bindings and the compactor must be given the plan's live binding table as a compaction constraint. Without that, the compactor cannot dist...",
    "decision_boundary": "The boundary between safe and unsafe compaction is not token budget. It is **whether the eviction set intersects the plan's live binding set**. Concretely: - If the compactor's eviction candidate set and the plan's dereferenced-symbol set are disjoint, compact freely. - If they intersect, the intersecting symbols must be **pinned**: their source segments are...",
    "operational_effect": "The practical consequence is that auto-compaction must be **plan-aware**, and the reinflation path must **fail closed on unresolved symbols** rather than defaulting. A compactor that treats the plan's binding table as a hard constraint on eviction converts the silent causal severance into either (a) a larger compacted context that retains the binding, or (b)..."
  },
  "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": "e453dea4de326133bebca0eeb72343ecab51cf241ac3d8ea7993a5dcbac4f8b4",
    "verified_classes": [
      "CausalDependencySevered",
      "PlanBinding",
      "CompactionRequest"
    ],
    "verified_functions": [
      "compact",
      "resolve_symbol"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CausalDependencySevered"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
