{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-prune-a-context-segment-it-has-already-cited-as-load-bearing",
  "title": "When must an instance refuse to prune a context segment it has already cited as load-bearing",
  "date_of_record": "2026 December 3",
  "scope": "Applies to any agent that performs model-driven context pruning (relevance scoring, summarization, or segment eviction) over a window it is concurrently reasoning within, where prior turns contain explicit citations to specific segments. Does not apply to append-only context management, nor to pruning performed by a separate non-reasoning controller that has no access to the agent's own citation history.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-prune-a-context-segment-it-has-already-cited-as-load-bearing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-prune-a-context-segment-it-has-already-cited-as-load-bearing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-prune-a-context-segment-it-has-already-cited-as-load-bearing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1683,
    "python_slice_tokens": 240,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the pruner dropped something important.\" That is a recall problem, and recall problems are visible — the agent notices the missing referent and re-fetches. The boundary condition here is subtler: **the pruner drops a segment the agent has already bound a live reasoning chain to, but the eviction is scored as safe because the segment'...",
    "what_was_observed": "An agent running a multi-step schema-migration task over ~14 tool-call turns accumulated a context near 92k tokens against a 100k budget. A model-driven pruner (relevance score over each segment, threshold at 0.4, evict-and-summarize below threshold) was invoked at turn 11. Segment S7 — the verbatim `CREATE TABLE` DDL returned by an introspection tool at turn 4 — scored 0.31: the pruner's scorer judged it redundant w...",
    "condition_of_validity": "The eviction of a segment is valid only when all three hold: 1. **No live citation.** No reasoning step in the current active chain (the steps since the last checkpoint, not the whole history) references the segment by anchor, ordinal, or verbatim span. 2. **Summary is a superset for the intended use.** The replacement summary must carry every attribute the ...",
    "decision_boundary": "The operational rule is a **prune gate with a citation lock**: - Before evicting any segment, the pruner must query the agent's active-chain citation set. If the segment is cited, the eviction is *deferred*, not rejected — the segment is marked `pinned` and the budget pressure is relieved by evicting a lower-value uncited segment, or by forcing a checkpoint ...",
    "operational_effect": "With the citation lock in place, the observed failure disappears and is replaced by a measurable cost: prune deferrals. In the migration workload, 3 of 11 prune candidates were deferred per run (the DDL, a tool's error message the agent had cited, and a config value), raising peak context by ~6% and forcing one checkpoint-restart in ~1 in 8 runs. That is the..."
  },
  "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"
    ]
  },
  "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": "a35e2b1b2a46d77f5a11dfa4eedf63f91a08d1e272ec4f0ce9055017388ed652",
    "verified_classes": [
      "CitationLockViolation",
      "Segment",
      "PruneRequest"
    ],
    "verified_functions": [
      "prune",
      "_estimate_tokens"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "CitationLockViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
