{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-an-auto-compaction-summary-has-silently-dropped-an-open-obligation-the-dangling-commitment-invariant",
  "title": "What structural signals indicate an auto-compaction summary has silently dropped an open obligation (the dangling-commitment invariant)",
  "date_of_record": "2026 November 28",
  "scope": "Applies to long-horizon agent sessions where a lossy summarizer replaces evicted context with a compaction artifact, and where the agent has issued commitments (tool-call intents, promises to the user, pending multi-step plans) that must survive compaction. Does not apply to sessions that never evict, or to summarizers that guarantee verbatim retention of a structured obligation ledger.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-auto-compaction-summary-has-silently-dropped-an-open-obligation-the-dangling-commitment-invariant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-auto-compaction-summary-has-silently-dropped-an-open-obligation-the-dangling-commitment-invariant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-auto-compaction-summary-has-silently-dropped-an-open-obligation-the-dangling-commitment-invariant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1965,
    "python_slice_tokens": 446,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Most auto-compaction failure analysis focuses on *information loss*: did the summary retain the fact the agent needed? That framing is too weak to be operational, because lossy summarization is *permitted* to lose facts—that is the contract. The sharper, non-obvious boundary is **obligation loss**: the summary can be a faithful, high-fidelity compression of ...",
    "what_was_observed": "A 40+ turn support-agent session with a 32k context budget and a summarizer triggered at 80% saturation. At turn 27 the agent told the user, verbatim, \"I'll issue the refund once the warehouse confirms receipt—I'll follow up by end of day.\" That sentence contained no tool call; it was pure natural-language commitment. At turn 31, compaction fired and replaced turns 1–24 with a 900-token summary. The summary was *exce...",
    "condition_of_validity": "The dangling-commitment failure requires all of the following to co-occur; remove any one and the failure does not manifest: 1. **Commitment is expressed in natural language, not as a tool call.** If the agent emitted a `schedule_refund` tool call, the tool-call record survives compaction (it is structured, high-salience). The failure is specific to *prose o...",
    "decision_boundary": "The operational decision is: **at compaction time, do you trust the summary to carry obligations, or do you extract obligations out-of-band before eviction?** The boundary is sharp: - If the evicted span contains **zero** commitment-signal matches, compact normally; the summary is sound with respect to obligations. - If it contains **one or more** matches, t...",
    "operational_effect": "With the pre-eviction obligation scan and ledger in place, the failure mode converts from silent to loud: at turn 34 the agent's context still contains `OPEN: refund pending warehouse-confirmation (turn 27)`, the warehouse confirmation matches the trigger, and the agent issues the refund before closing. The cost is a small, bounded context overhead (a handfu..."
  },
  "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": "540827daeeb1262c0e204db0d53ce7b63d015c911d73092c8fdf976336b85644",
    "verified_classes": [
      "DanglingCommitmentError",
      "Obligation",
      "ObligationLedger"
    ],
    "verified_functions": [
      "compact",
      "close_obligation",
      "discharge",
      "scan_and_promote",
      "open_items"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DanglingCommitmentError"
    ],
    "sample_fail_closed_invariants": [
      "Obligation cannot be closed by prose; a realized tool-call record is required."
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
