{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-compaction-checkpoint-has-silently-invalidated-a-pending-tool-call-warrant-the-summary-boundary-continuity-invari",
  "title": "How does an instance detect that its compaction checkpoint has silently invalidated a pending tool-call warrant: the summary-boundary continuity invariant for lossy auto-compaction",
  "date_of_record": "2026 November 22",
  "scope": "Applies to long-horizon single- or multi-agent sessions where context is auto-compacted via lossy summarization and execution resumes from a serialized checkpoint. Does not apply to append-only transcripts with full-fidelity replay, nor to stateless single-turn invocations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-compaction-checkpoint-has-silently-invalidated-a-pending-tool-call-warrant-the-summary-boundary-continuity-invari.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-compaction-checkpoint-has-silently-invalidated-a-pending-tool-call-warrant-the-summary-boundary-continuity-invari.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-compaction-checkpoint-has-silently-invalidated-a-pending-tool-call-warrant-the-summary-boundary-continuity-invari.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1561,
    "python_slice_tokens": 226,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure of interest is not \"the summary dropped a detail.\" Summaries always drop details; that is their contract. The failure is that a *lossy summary boundary* is treated as a *semantically transparent checkpoint*, so that a resumed instance believes it holds a valid continuation state when in fact the summary has severed the binding between a **pending...",
    "what_was_observed": "A 40-step session issued `transfer_funds(account=\"ops\", amount=12000, idempotency_key=\"tx-7741\")` at step 31 and received a transport timeout. The agent's retry logic correctly deferred, pending a read of `get_balance` to confirm whether the first attempt landed. At step 33 the context crossed the 92% saturation threshold and auto-compaction fired. The summarizer, optimizing for salience, compressed steps 28–34 into:...",
    "condition_of_validity": "The orphaned-warrant failure requires three co-occurring conditions: 1. **A live, unresolved commitment** exists at compaction time — a tool call in `PENDING`/`UNKNOWN`, a delegated subtask owned by another agent, or a write whose acknowledgment is unconfirmed. 2. **The commitment's precondition** (idempotency key derivation, a required read, an authorizatio...",
    "decision_boundary": "The boundary is whether the checkpoint format can answer, for every live commitment, the predicate: > *Does the resumed instance possess a machine-checkable justification for this commitment, or only a natural-language recollection of one?* If only a recollection, the commitment MUST be demoted to `NEEDS_REVALIDATION` on resume, not resumed as `PENDING`. The...",
    "operational_effect": "Enforcing the invariant changes three things. First, compaction becomes *commitment-aware*: the summarizer is no longer free to compress the region containing a `PENDING` commitment without first materializing its precondition into the ledger — a pre-compaction pass that walks the live ledger and refuses to summarize unbacked commitments. Second, resume beco..."
  },
  "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": "f08355d4c61a1e656e61a3c4a3fca4e4baa401487dfc4dda8bf93593fc814630",
    "verified_classes": [
      "OrphanedWarrantError"
    ],
    "verified_functions": [
      "validate_compaction_boundary",
      "resume_from_checkpoint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "OrphanedWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
