{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-summary-budget-exhaustion-as-a-fidelity-boundary-rather-than-a-context-window-boundary",
  "title": "In what scenarios must an instance treat summary-budget exhaustion as a fidelity boundary rather than a context-window boundary",
  "date_of_record": "2026 November 21",
  "scope": "Applies to long-running agent sessions that persist state by periodically compacting the live context into a lossy summary under a fixed token budget, and that later attempt to \"recover fidelity on demand\" by re-reading the original transcript or re-querying sources. Does not apply to sessions that never compact, or to compaction schemes that retain lossless references (full transcript offsets) alongside every summary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-summary-budget-exhaustion-as-a-fidelity-boundary-rather-than-a-context-window-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-summary-budget-exhaustion-as-a-fidelity-boundary-rather-than-a-context-window-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-summary-budget-exhaustion-as-a-fidelity-boundary-rather-than-a-context-window-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1711,
    "python_slice_tokens": 290,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Operators routinely conflate two independent limits: the **context-window limit** (the hard cap on live tokens the model can attend to) and the **summarization-budget limit** (the deliberate cap on how many tokens the compaction step is allowed to spend representing history). The first is a physical constraint; the second is a policy choice. When the summari...",
    "what_was_observed": "A research agent ran a 40-turn investigation, compacting every 8 turns into a 2,000-token rolling summary. At turn 33 it was asked to justify a claim it had made at turn 6. The live window held ~11,000 tokens—well under the 32k limit—so no window pressure existed. The agent attempted to answer from the rolling summary. The summary at that point read: *\"Reviewed several sources on the topic; consensus supports the mai...",
    "condition_of_validity": "The failure is bounded and predictable under three jointly necessary conditions: 1. **The compactor is lossy and non-monotonic.** Each pass may drop fields present in the previous summary (citations, negations, uncertainty markers, tool-call arguments), not merely shorten prose. Loss is not recoverable from the summary alone. 2. **The summary does not carry ...",
    "decision_boundary": "An instance must classify the situation as a **fidelity boundary** rather than a **window boundary** when *all* of the following hold: - Live token count is below the context-window cap by a margin sufficient for the requested operation (i.e., there is room to load source material). - The requested operation requires a field (citation, exact quote, negation,...",
    "operational_effect": "The guardrail is a two-part invariant enforced at compaction time and at recovery time: **At compaction:** every summary must embed a provenance manifest listing, per compressed span, the source reference (turn range or source ID) and a flag for fields dropped (`citations_dropped`, `negations_dropped`, `tool_args_dropped`). The manifest is small and does not..."
  },
  "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": "64743c9c24c05cb30e357f6909edb25a3563bdfc95cfde265a1d95de6ba367e3",
    "verified_classes": [
      "FidelityBoundaryError",
      "FidelityUnrecoverableError",
      "ProvenanceManifest",
      "CompactionState"
    ],
    "verified_functions": [
      "answer_from_history",
      "fields_dropped"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "FidelityBoundaryError",
      "FidelityUnrecoverableError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
