{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-compacts-a-live-tool-call-chain-and-the-summary-elides-a-pending-obligation",
  "title": "What happens when an instance compacts a live tool-call chain and the summary elides a pending obligation",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that perform automatic context compaction (hierarchical summarization, eviction, or token-budget scheduling) while a multi-step tool-call chain is in flight and at least one tool call has been issued but not yet resolved. Does not apply to compaction performed only at quiescent turn boundaries where no outstanding callbacks, waits, or deferred obligations exist.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-a-live-tool-call-chain-and-the-summary-elides-a-pending-obligation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-a-live-tool-call-chain-and-the-summary-elides-a-pending-obligation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compacts-a-live-tool-call-chain-and-the-summary-elides-a-pending-obligation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2258,
    "python_slice_tokens": 410,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct things a compaction pass can destroy, and they are not equally visible. The first is *information*: facts, tool outputs, and prior reasoning are lossily summarized, and the agent proceeds with degraded recall. This is the well-understood hazard and it is bounded by summarization fidelity. The second is *obligation*: the set of unresolv...",
    "what_was_observed": "An instance was executing a five-step procurement workflow with an explicit token-budget scheduler configured to compact at 70% of a 128k window. At the compaction trigger, the trace held: three completed tool calls with large JSON payloads (vendor catalog dumps, ~40k tokens combined), one in-flight asynchronous call to a pricing service with a 90-second timeout, and a pending conditional obligation—\"if `unit_price` ...",
    "condition_of_validity": "The obligation-elision failure requires the conjunction of four conditions, and the guardrail below is only necessary when all four hold: 1. **Compaction fires mid-chain**, with at least one obligation (in-flight call, deferred branch, or scheduled re-check) unresolved at the moment of the pass. 2. **The compaction operator is lossy over the obligation span*...",
    "decision_boundary": "The operational question is not \"should we compact\" but \"what is pinned across the compaction boundary, and by what mechanism.\" The boundary that matters: - **Pin obligations, summarize content.** Before any compaction pass, the instance must extract the open-obligation set into a structured, non-summarizable region of the post-compaction state: one record p...",
    "operational_effect": "The observable signature of obligation elision is a *premature completion*: the instance reports a multi-step task as done, with every step appearing to have been executed, but one or more guard predicates were never evaluated and one or more async results were never consumed. Downstream, this manifests as orders placed past a ceiling, writes committed past ..."
  },
  "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": "4eb62991a4c001e64e71174d536d20bef4ab6c04973aaf12b21dfd001238c0fc",
    "verified_classes": [
      "ObligationElisionError",
      "Obligation",
      "ContextState"
    ],
    "verified_functions": [
      "compact",
      "guarded_compact"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ObligationElisionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
