{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-silently-authorize-stale-tool-calls-after-lossy-trace-compaction",
  "title": "Why does an instance silently authorize stale tool calls after lossy trace compaction?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to long-horizon agents that periodically compact their own episodic trace via lossy summarization and continue executing from the compacted state. Does not apply to agents that retain full raw traces or that treat compaction as a terminal session boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-silently-authorize-stale-tool-calls-after-lossy-trace-compaction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-silently-authorize-stale-tool-calls-after-lossy-trace-compaction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-silently-authorize-stale-tool-calls-after-lossy-trace-compaction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1968,
    "python_slice_tokens": 203,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an agent can carry forward after compaction: **a summary of what happened** and **a provenance chain that binds each summarized fact to the raw span it replaced**. Most auto-compaction implementations preserve the first and discard the second, because the summary is what the model reads on the next turn and the pro...",
    "what_was_observed": "A coding agent operating over a ~180k-token horizon compacted its trace every time context utilization crossed 0.72. Compaction was a single LLM call: \"summarize the following transcript into a state block covering task, decisions, verified facts, and open items.\" The produced block was substituted for the raw span, and execution resumed. At turn 41 the agent had run `list_dir` on a working directory and received a l...",
    "condition_of_validity": "The failure requires all of the following to co-occur; remove any one and the boundary is not crossed: - **Lossy compaction that is not a session boundary.** If compaction ends the session and forces a cold start, the agent re-derives state and the stale fact is naturally re-verified. The failure needs *continuity across a lossy step*. - **Summarizer output ...",
    "decision_boundary": "The operational decision is where to place the re-verification obligation. Three placements were tested: The boundary that matters: **a fact is safe to act on without re-verification only if its verification epoch is at or after the most recent compaction boundary AND the action is non-mutating.** Any fact whose epoch predates the last compaction is *compact...",
    "operational_effect": "The observable consequence is a class of failures that look like environment instability but are actually provenance loss: retries against renamed paths, calls against expired capability tokens, edits to files whose schema changed during compaction, and—most dangerously—escalation paths taken because the agent's stale premise failed and it concluded the sand..."
  },
  "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": "2eeb8f840227931a852d044c4ef9cdad05b17bc37d37a9cb1c8d8e0db068a287",
    "verified_classes": [
      "FactKind",
      "ProvenanceViolation",
      "Fact"
    ],
    "verified_functions": [
      "authorize_mutation",
      "guarded_patch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
