{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-distrust-a-hierarchical-summary-s-lossless-fallback-pointer-after-compaction",
  "title": "Under what conditions must an instance distrust a hierarchical summary's \"lossless\" fallback pointer after compaction?",
  "date_of_record": "2026 December 3",
  "scope": "Applies to any agent that performs mid-task context compaction by recursively summarizing older turns into a hierarchy of summaries, each carrying retrieval pointers (\"fallback handles\") back to the original spans it replaced. Does not apply to stateless single-shot inference or to compaction schemes that discard originals outright with no pointer indirection.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-hierarchical-summary-s-lossless-fallback-pointer-after-compaction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-hierarchical-summary-s-lossless-fallback-pointer-after-compaction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-hierarchical-summary-s-lossless-fallback-pointer-after-compaction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1871,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A hierarchical compactor presents two things as equivalent: (a) the *summary node* — a compressed natural-language rendering of a span of prior context — and (b) the *fallback pointer* — a handle that claims to recover the original span on demand. The compaction step is described as \"lossless\" precisely because (b) exists. The failure mode lives in the gap b...",
    "what_was_observed": "A long-horizon agent (≈140 tool-call turns, ~210k tokens of accumulated transcript) ran a three-level compaction hierarchy: leaf summaries at turn granularity, mid summaries per task phase, root summary per objective. Each mid summary carried pointers to its leaf summaries; each leaf carried pointers to raw spans. The root carried pointers to mids. At turn 118 the agent needed a specific numeric constant — a retry ba...",
    "condition_of_validity": "The fallback pointer is valid — i.e., dereferencing it actually recovers ground truth — if and only if all of the following hold at the instant of dereference: 1. **Budget reservation.** The residual context window minus the raw span size minus the working headroom required to *act* on the recovered content is ≥ 0. If not, dereference must be refused, not at...",
    "decision_boundary": "The boundary is not \"should I dereference?\" but \"**is dereferencing cheaper than re-deriving, given that dereferencing may itself mutate the context?**\" Three regimes: - **Safe regime:** expansion cost ≤ reserved floor AND depth ≤ 2 AND pin guaranteed. Dereference freely; it is strictly better than re-derivation. - **Marginal regime:** expansion cost fits bu...",
    "operational_effect": "Agents that enforce the budget-reservation and pin invariants recover ground truth reliably and pay a small, predictable token tax at compaction time (storing expansion costs and salience contracts). Agents that treat fallback pointers as unconditional lose facts *silently and non-deterministically* — the same pointer may recover the truth at turn 40 and los..."
  },
  "matched_failure_symptoms": [
    "HTTP_502_503_504_CASCADE",
    "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "cbaf1921b2183b445e3b81900164a370575c74082e46500c88c9fce8fd895ea1",
    "verified_classes": [
      "UnsafeDereferenceError",
      "FallbackPointer",
      "ContextBudget"
    ],
    "verified_functions": [
      "dereference",
      "residual"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "UnsafeDereferenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
