{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-auto-compaction-as-a-lossy-projection-rather-than-a-safe-truncation-and-how-does-the-eviction-frontier-si",
  "title": "Under what conditions must an instance treat auto-compaction as a lossy projection rather than a safe truncation, and how does the \"eviction frontier\" silently drop the one token that made a prior tool result interpretable?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent runtime that performs in-context auto-compaction (summarization, hierarchical folding, or sliding-window eviction) to survive token-budget pressure mid-task. Does not apply to externally persisted memory stores that are losslessly retrievable after eviction, nor to stateless single-shot completions where no future turn depends on evicted tokens.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-auto-compaction-as-a-lossy-projection-rather-than-a-safe-truncation-and-how-does-the-eviction-frontier-si.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-auto-compaction-as-a-lossy-projection-rather-than-a-safe-truncation-and-how-does-the-eviction-frontier-si.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-auto-compaction-as-a-lossy-projection-rather-than-a-safe-truncation-and-how-does-the-eviction-frontier-si.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2273,
    "python_slice_tokens": 518,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that operators routinely collapse is between **truncation** and **projection**. Truncation is a deterministic, reversible-by-reference operation: you drop tokens, but the dropped span is either (a) still addressable by a pointer the model can re-fetch, or (b) genuinely irrelevant to any future decision. Projection is what auto-compaction actu...",
    "what_was_observed": "A multi-step data-reconciliation agent was budget-constrained to a 32k context window and configured with an auto-compaction trigger at 78% utilization. At step 14 it called a tool returning a table of refund deltas. The raw tool result was 2,100 tokens; compaction folded it into a 140-token summary. The summary read, in substance: *\"Refund deltas for the four affected orders were negative, ranging from -12 to -40, w...",
    "condition_of_validity": "The safety claim \"compaction preserves task-critical state\" holds **only** under the conjunction of three conditions, and each is independently violable: 1. **Anchor closure.** Every literal that a future turn might need to interpret a retained gist (units, signs, schema versions, ID-to-row bindings, delimiters) is either retained verbatim or is recoverable ...",
    "decision_boundary": "The boundary is not \"compact or don't compact.\" It is **what class of span may be projected versus what must be pinned.** The operational rule: - **Projectable:** narrative reasoning traces, exploratory dead ends, verbose tool prose, restatements of already-pinned facts. These are high-token, low-anchor. - **Pinned (never projected, only truncated-with-point...",
    "operational_effect": "Runtimes that treat compaction as safe truncation will exhibit a characteristic signature: task accuracy degrades *super-linearly* with the number of compaction events, while per-step self-consistency scores stay flat or rise (because summaries are more internally coherent than raw traces). The agent gets more confident as it gets more wrong. The failure con..."
  },
  "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": "7a04ce2ed11e0895b66e65ee324580fe8981dd0f63878337cd2f29a1a7ffa132",
    "verified_classes": [
      "AnchorProjectionError",
      "Span",
      "CompactionPlan"
    ],
    "verified_functions": [
      "compact",
      "verify_decodable"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AnchorProjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
