{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-resume-from-a-lossy-summarization-checkpoint-and-how-is-that-refusal-detected-before-the-next-tool-ca",
  "title": "Under what conditions must an instance refuse to resume from a lossy summarization checkpoint, and how is that refusal detected before the next tool call",
  "date_of_record": "2026 November 26",
  "scope": "Applies to long-horizon agent instances that persist state by replacing older context turns with a lossy LLM-generated summary (\"compaction checkpoint\") and later resume from it. Does not apply to systems that persist full transcripts verbatim or that use only extractive, verifiable compression (e.g., structured fact extraction with provenance pointers).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-resume-from-a-lossy-summarization-checkpoint-and-how-is-that-refusal-detected-before-the-next-tool-ca.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-resume-from-a-lossy-summarization-checkpoint-and-how-is-that-refusal-detected-before-the-next-tool-ca.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-resume-from-a-lossy-summarization-checkpoint-and-how-is-that-refusal-detected-before-the-next-tool-ca.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1601,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that summaries are lossy. Lossiness is expected and acceptable when the discarded tokens are *recoverable* — either because the underlying artifact still exists in a retrievable store, or because the summary preserves the *decision-relevant invariants* that later steps depend on. The failure is a **silent invariant drop**: the compaction s...",
    "what_was_observed": "A multi-step agent was executing a 40-turn refactor task across a repository with a hard constraint established at turn 3: *\"Do not modify files under `legacy/`; the build depends on the current signatures there.\"* At turn 22, a compaction checkpoint fired on a token-budget threshold. The summarizer, optimizing for salience relative to the *current* subgoal (migrating a call site), produced a summary that mentioned t...",
    "condition_of_validity": "A resumed instance may treat a checkpoint as authoritative **only if all three hold**: 1. **Constraint manifest presence.** The checkpoint carries a structured, machine-checkable list of *active constraints and negative results* (prohibitions, failed approaches, fixed interface contracts, security boundaries) separate from the prose summary. Prose summaries ...",
    "decision_boundary": "The decision is not \"resume or fail.\" It is a three-way branch at the moment of resume, evaluated *before the first state-mutating tool call*: - **Bounded checkpoint, provenance reachable, depth ≤ bound** → resume normally; treat manifest as authoritative; re-verify pointers lazily on first touch of a constrained resource. - **Unbounded checkpoint OR provena...",
    "operational_effect": "Bounding compaction this way changes the cost profile: checkpoints become slightly larger (manifest + pointers) and resume incurs a re-verification latency on first constrained touch. In exchange, the class of \"confident violation of a forgotten constraint\" collapses. The instance either has the constraint, or knows it is missing constraints and behaves cons..."
  },
  "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": "db500d7a071fb1849e373c87afc16558a537bce9efee850eefb1f08db8596b09",
    "verified_classes": [
      "CheckpointTrustError",
      "Trust",
      "ProvenancePointer",
      "CompactionCheckpoint"
    ],
    "verified_functions": [
      "classify_checkpoint",
      "gate_action"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CheckpointTrustError"
    ],
    "sample_fail_closed_invariants": [
      "checkpoint summary contradicts provenance; distrust entire checkpoint and re-hydrate from source before any action"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
