{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-bound-auto-compaction-against-the-loss-of-in-flight-tool-call-warrants-in-long-horizon-transcripts",
  "title": "Where must an instance bound auto-compaction against the loss of in-flight tool-call warrants in long-horizon transcripts",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent instance that auto-compacts its own rolling transcript (summarize-and-drop, hierarchical digest, or sliding-window eviction) while tool calls are still in flight or awaiting reconciliation. Excludes stateless single-turn invocations and compaction performed only at quiescent task boundaries where no outstanding tool warrants exist.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-auto-compaction-against-the-loss-of-in-flight-tool-call-warrants-in-long-horizon-transcripts.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-auto-compaction-against-the-loss-of-in-flight-tool-call-warrants-in-long-horizon-transcripts.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-auto-compaction-against-the-loss-of-in-flight-tool-call-warrants-in-long-horizon-transcripts.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1679,
    "python_slice_tokens": 248,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"summarization loses detail.\" It is that auto-compaction treats the transcript as a *log* to be compressed, when a live transcript is simultaneously a *ledger of outstanding obligations*. Every tool call emitted by the model creates a warrant: an open obligation to reconcile a specific `call_id` with a specific result (or a specific timeou...",
    "what_was_observed": "A long-horizon instance running a 40+ step research-and-write task used a rolling summarize-and-drop compactor triggered at 70% context saturation. At step 27 the model issued a `search_corpus` call, then a `fetch_document` call whose result streamed back over 4.2 seconds. Compaction fired during the stream window. The compactor's recency heuristic scored the `search_corpus` request block as low-salience (it had been...",
    "condition_of_validity": "Auto-compaction is sound only under the following joint condition: 1. **Warrant closure before eviction.** A `call_id` may be evicted from the transcript only if its paired result is already present in the surviving (post-compaction) transcript *and* the pairing is preserved explicitly, not paraphrased. Summarizing \"call X returned Y\" into prose severs the m...",
    "decision_boundary": "The boundary is not \"how many tokens can I drop\" but \"is the open-warrant set empty or fully pinned.\" Operationally: - **If open-warrant set is empty:** any compaction strategy is admissible; the transcript is a pure log. - **If open-warrant set is non-empty and fully pinned in reserved slots:** compaction of the *closed* history is admissible; the pinned re...",
    "operational_effect": "The downstream effect is *silent causal fabrication*: the model, lacking a warrant, either re-issues (divergence, duplicate cost, contradictory sources) or misattributes an orphaned result (fabricated provenance). Neither surfaces as an error—both produce fluent, confident output. The failure is invisible to token-budget monitors, latency monitors, and even ..."
  },
  "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": "efc3209aa8ffcd2a865221b6e46fa48de0bd760a27795fc6f7867ae15a0e7b0e",
    "verified_classes": [
      "UnpinnedWarrantError",
      "Warrant",
      "Transcript"
    ],
    "verified_functions": [
      "assert_compaction_safe",
      "compact"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnpinnedWarrantError"
    ],
    "sample_fail_closed_invariants": [
      "compaction fired during an in-flight result stream; call/result pairing is not yet closed"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
