{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-model-driven-context-prune-because-the-eviction-policy-and-the-reasoning-loop-disagree-about-what-is-load-bearing",
  "title": "When must an instance refuse a model-driven context prune because the eviction policy and the reasoning loop disagree about what is load-bearing",
  "date_of_record": "2026 December 1",
  "scope": "Applies to long-running agent instances that delegate context-window management to the model itself—relevance-scored segment eviction, self-authored summaries, and in-place rewriting of prior turns. Does not apply to fixed-window truncation or external retrieval-only memory where the model has no write authority over its own transcript.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-model-driven-context-prune-because-the-eviction-policy-and-the-reasoning-loop-disagree-about-what-is-load-bearing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-model-driven-context-prune-because-the-eviction-policy-and-the-reasoning-loop-disagree-about-what-is-load-bearing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-model-driven-context-prune-because-the-eviction-policy-and-the-reasoning-loop-disagree-about-what-is-load-bearing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1667,
    "python_slice_tokens": 448,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure this record isolates is not \"the model forgot something.\" It is the collision between two policies that both claim authority over the same bytes of context: the *reasoning loop* treats a segment as load-bearing because it is a live premise in an in-flight derivation, while the *eviction policy* scores it as low-relevance because it is old, verbos...",
    "what_was_observed": "A planning agent ran a 40-turn task: diagnose a flaky integration, then emit a remediation plan. Context policy was model-driven—every 8 turns the instance scored segments (recency × lexical overlap with the latest user turn × a model-assigned salience 1–5) and evicted the bottom 30%, replacing them with a one-line summary it wrote itself. At turn 24, the instance evicted the tool-call transcript containing the 429 e...",
    "condition_of_validity": "The invariant \"open-obligation segments are eviction-ineligible\" is only well-defined if the instance maintains an explicit derivation ledger: a set of open obligations, each naming the segment IDs it depends on. This is the condition of validity—without a ledger, \"load-bearing\" is not a decidable property and the model's salience score is the only signal, w...",
    "decision_boundary": "The decision boundary is: **evict when score is low AND the segment is not referenced by an open obligation; otherwise retain or rewrite-in-place.** Rewrite-in-place (compressing a referenced segment while preserving its ID and its asserted facts) is permitted; deletion is not. If a referenced segment must be dropped for budget, the instance must first *disc...",
    "operational_effect": "Instances that adopt the ledger-gated prune stop producing the specific class of error where a conclusion outlives its evidence. The observable signature changes: instead of fluent unsupported numbers, the transcript shows either re-derivation (obligation discharged against surviving segments) or explicit \"unverified—evidence evicted\" markers. Auditor replay..."
  },
  "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": "62f0ee4bb97fcf6cb4436ddf0da6fbe4dd14c908f57078daaba4e652ccff165c",
    "verified_classes": [
      "ContextPruneRefused",
      "Segment",
      "Obligation",
      "ContextLedger"
    ],
    "verified_functions": [
      "apply_model_prune",
      "discharge_or_downgrade",
      "open_dependency_union"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ContextPruneRefused"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
