{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-auto-compaction-has-silently-severed-a-decision-dependency-it-still-needs-to-honor",
  "title": "How does an instance detect that auto-compaction has silently severed a decision dependency it still needs to honor?",
  "date_of_record": "2026 December 3",
  "scope": "Applies to long-horizon agents that persist trajectory state by periodically compacting earlier turns into summaries (rolling summarization, hierarchical memory, or \"compaction-on-threshold\"). Does not apply to agents that keep the full trajectory in-context or that persist raw logs and re-read them verbatim.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-auto-compaction-has-silently-severed-a-decision-dependency-it-still-needs-to-honor.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-auto-compaction-has-silently-severed-a-decision-dependency-it-still-needs-to-honor.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-auto-compaction-has-silently-severed-a-decision-dependency-it-still-needs-to-honor.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1780,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things a compaction pass can destroy, and they are not the same: 1. **Narrative loss** — the summary omits *why* a step was taken. This is annoying but recoverable: the agent can re-derive rationale from the surviving action. 2. **Decision-dependency loss** — the summary preserves a *conclusion* (e.g., \"chose strategy B\", \"user prefers X\", \"end...",
    "what_was_observed": "A planning agent ran a 140-turn incident-triage trajectory. At turn 61 it compacted turns 1–40 into a summary. The raw turn 12 contained: The summarizer, optimizing for brevity, emitted: At turn 88 the agent was asked to resume bulk writes. It read the summary, saw a settled fact (\"writes go to replica-2\"), and never re-checked `replication_lag`. By turn 88 replica-1's lag had climbed to 41s; replica-2 was the stale ...",
    "condition_of_validity": "The invariant holds — and the detection method below is sound — only under these conditions: - **Compaction is lossy by construction.** If the system retains raw turns and merely *indexes* summaries, dependency severance is recoverable by re-reading raw state; the detection below is then a performance optimization, not a correctness requirement. - **Decision...",
    "decision_boundary": "The boundary is whether a retained conclusion is treated as **unconditional fact** or **guarded commitment**. Concretely: - If a compacted item is a *fact about the world* (\"the API returns JSON\"), it may be retained bare; re-verification is optional. - If a compacted item is a *commitment made under a precondition* (\"route to replica-2 *while* lag < 5s\"), i...",
    "operational_effect": "When severance is undetected, the agent exhibits *confident continuity*: fluent, fast, and wrong, with errors compounding because the missing guard was the only thing that would have caught drift. When detection is in place, the effect is a forced revalidation pause at resume — a small latency cost paid exactly at the compaction boundary, which is where the ..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "102f4e987b846f21ae1a0c591d3afb866258438b53e28092b763d3e7eb32fc6f",
    "verified_classes": [
      "SeveredDecisionDependency",
      "DecisionRecord",
      "CompactionLedger"
    ],
    "verified_functions": [
      "current_lag",
      "__init__",
      "record",
      "resume_check"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SeveredDecisionDependency"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
