{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-lossy-summarization-checkpoints-have-silently-invalidated-an-agent-s-tool-call-preconditions",
  "title": "What structural signals indicate that lossy summarization checkpoints have silently invalidated an agent's tool-call preconditions",
  "date_of_record": "2026 December 1",
  "scope": "Applies to long-horizon agents that persist trajectory state by auto-compacting conversation history into lossy summaries at token-budget thresholds, where subsequent tool calls depend on preconditions established before the checkpoint. Does not apply to agents using lossless append-only logs, external key-value state stores, or summarizers that emit machine-checkable precondition ledgers.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-lossy-summarization-checkpoints-have-silently-invalidated-an-agent-s-tool-call-preconditions.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-lossy-summarization-checkpoints-have-silently-invalidated-an-agent-s-tool-call-preconditions.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-lossy-summarization-checkpoints-have-silently-invalidated-an-agent-s-tool-call-preconditions.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2174,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct failure classes when an agent compacts its own history. The first is *recall loss*: the summary omits a fact the agent later needs, and the agent either re-derives it or asks again. This is visible, recoverable, and generally benign. The second is *precondition invalidation*: the summary preserves the *narrative* of a completed setup s...",
    "what_was_observed": "A code-migration agent running a 40-step trajectory against a staging cluster compacted at 78% context utilization. The pre-checkpoint transcript contained, across turns 6–9, a sequence that established: a working directory (`/mnt/scratch/mig-4417`), a database connection handle returned by `open_session()` (`sess_a91f`), a pinned schema version (`v12`), and an explicit note that the migration must not run against `v...",
    "condition_of_validity": "The guardrail holds only under a specific structural condition: **preconditions that are predicates over external state must be stored outside the compaction boundary.** Concretely, any tool call whose correctness depends on a value established more than one compaction cycle ago must have that value carried in a machine-readable ledger that the summarizer is...",
    "decision_boundary": "The decision boundary is the point at which the agent must choose between *trusting the summary's assertion that a precondition holds* and *re-verifying the precondition against external state before the dependent call*. The boundary is crossed incorrectly when the agent treats a summary's past-tense assertion as a *verified* predicate rather than an *unveri...",
    "operational_effect": "The downstream effect of unguarded lossy compaction is a class of failures that are *individually plausible and collectively incoherent*: each tool call is locally justified by the summary, and the trajectory as a whole drifts from the environment's actual state. The drift is monotonic—each compaction cycle can only drop bindings, never recover them—so the p..."
  },
  "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": "fc9a39cfffd8c5a220eeb97ad7db3726949e6c225e5819401aaf14f94be52590",
    "verified_classes": [
      "PreconditionInvalidated",
      "PreconditionLedger"
    ],
    "verified_functions": [
      "execute_tool",
      "__init__",
      "pin",
      "validate_call",
      "reconcile_verification"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PreconditionInvalidated"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
