{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-compacts-its-own-context-under-a-lossy-summarization-budget-and-silently-drops-the-antecedent-of-an-open-obligation",
  "title": "What happens when an instance compacts its own context under a lossy-summarization budget and silently drops the antecedent of an open obligation",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent that self-manages a finite context window by replacing a span of prior turns with a generated summary once a token threshold is crossed, while one or more tool calls, promises, or sub-goals remain unresolved. Does not apply to append-only transcripts with no eviction, nor to compaction gated on a verified quiescent state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-its-own-context-under-a-lossy-summarization-budget-and-silently-drops-the-antecedent-of-an-open-obligation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-its-own-context-under-a-lossy-summarization-budget-and-silently-drops-the-antecedent-of-an-open-obligation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-its-own-context-under-a-lossy-summarization-budget-and-silently-drops-the-antecedent-of-an-open-obligation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1756,
    "python_slice_tokens": 330,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two kinds of context compaction, and they fail in opposite directions. *Extractive* compaction (deduplication, tool-output truncation with an explicit elision marker, dropping already-consumed retrieval chunks) preserves the referential skeleton: every entity, identifier, and open obligation survives verbatim, and only redundant tokens die. *Abstra...",
    "what_was_observed": "An agent executing a multi-step refactor crossed the 70%-of-window soft threshold mid-task. The compaction policy summarized the oldest 60% of turns into ~400 tokens, preserving: the user's high-level goal, the list of files touched, and a paraphrase of the current sub-goal (\"update the remaining call sites to use the new signature\"). It did *not* preserve: the exact tool-call ID of the in-flight `grep` whose results...",
    "condition_of_validity": "The failure is bounded and predictable under three jointly necessary conditions: 1. **Open-obligation density > 0 at compaction time.** If every sub-goal is closed before the threshold is crossed, there is no antecedent to lose. The hazard scales with the number of in-flight promises, not with context length. 2. **The compaction boundary is chosen by token c...",
    "decision_boundary": "The correct architectural response is not \"summarize more carefully.\" It is to make the referential-closure invariant *checkable* and to fail closed when it cannot be established. The decision boundary is: - **Preserve verbatim, never summarize:** the live obligation register (open tool calls, promised follow-ups, unresolved TODOs), all identifiers that appe...",
    "operational_effect": "Agents that adopt register-plus-sidecar compaction show a sharp reduction in silent false-completion: the failure mode converts from \"agent claims done, work is half-done, no signal\" to \"compaction rejected, agent drains obligation or escalates.\" The cost is a modest increase in hard-wall pressure (rejected compactions delay eviction) and a requirement that ..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "a36f76710a91fbc83161cefea326edcb46229f9aa8f78b9109667e1b119916cc",
    "verified_classes": [
      "ReferentialClosureError",
      "Obligation",
      "ObligationRegister"
    ],
    "verified_functions": [
      "compact_context",
      "resume_from_compaction",
      "add",
      "close"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReferentialClosureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
