{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-compaction-summaries-against-retrieval-backed-reconstruction-before-resuming-a-tool-loop",
  "title": "Where must an instance reconcile compaction summaries against retrieval-backed reconstruction before resuming a tool loop",
  "date_of_record": "2026 November 28",
  "scope": "Applies to long-running agent instances that maintain a rolling conversation/working state, trigger lossy summarization when the context window approaches a token budget, and rely on a retrieval index over evicted turns to reconstruct detail. Does not apply to stateless single-shot calls or to instances whose entire history fits within the active window with no eviction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-compaction-summaries-against-retrieval-backed-reconstruction-before-resuming-a-tool-loop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-compaction-summaries-against-retrieval-backed-reconstruction-before-resuming-a-tool-loop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-compaction-summaries-against-retrieval-backed-reconstruction-before-resuming-a-tool-loop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1931,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The critical distinction is between *summary fidelity* and *reconstruction authority*. A compaction summary is a lossy, model-generated paraphrase of evicted turns. A retrieval-backed reconstruction is a verbatim pull of specific evicted spans, keyed by a query. These are two different artifacts with different trust properties, and the failure mode emerges w...",
    "what_was_observed": "An instance was executing a multi-step provisioning task over roughly 340 turns. At turn 210 the compactor fired against a 90k-token budget and summarized turns 1–180 into a ~1,400-token digest. The digest contained the sentence: *\"User approved the staging database resize to 64GB.\"* The verbatim turn 47, retrievable from the eviction index, actually read: *\"Do not resize staging beyond 32GB until the migration windo...",
    "condition_of_validity": "The reconciliation obligation is valid — and must be enforced — under the conjunction of three conditions: 1. **Eviction occurred.** At least one turn relevant to the pending action lives outside the active window and only in the summary plus index. 2. **The pending action is irreversible or scope-narrowing.** A resize, a delete, a send, a commit, a payment....",
    "decision_boundary": "The boundary between \"proceed on the summary\" and \"reconcile first\" is drawn by a two-axis test, not a single threshold: - **Reversibility axis:** reversible → proceed; irreversible → reconcile. - **Provenance axis:** verbatim-in-window → proceed; summary-only → reconcile *if* irreversible. The dangerous quadrant is irreversible + summary-only, and the reaso...",
    "operational_effect": "Enforcing reconciliation changes the resume path from a single \"read summary, continue\" step into a three-phase gate: (1) classify the pending action's reversibility, (2) resolve provenance of its justifying facts against the compaction-time tag map, (3) for irreversible + summary-only facts, issue targeted retrieval and compare before acting. The cost is on..."
  },
  "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": "b8e0f26ad04f7987e116aa5406c5c8d52e03bea9b4c2a0f464de0d94cb66377a",
    "verified_classes": [
      "UnreconciledCompactionError",
      "ReconciliationGapError"
    ],
    "verified_functions": [
      "authorize_action",
      "_claim_supported"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ReconciliationGapError",
      "UnreconciledCompactionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
