{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-own-pruning-policy-has-evicted-the-load-bearing-premise-of-the-current-task",
  "title": "How does an instance detect that its own pruning policy has evicted the load-bearing premise of the current task",
  "date_of_record": "2026 November 25",
  "scope": "Applies to single-instance agents that mutate their own context window via model-driven pruning, summarization, or relevance-scored eviction between reasoning steps. Does not apply to append-only context with external retrieval, nor to eviction performed by a fixed, non-model heuristic that the agent cannot override.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-pruning-policy-has-evicted-the-load-bearing-premise-of-the-current-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-pruning-policy-has-evicted-the-load-bearing-premise-of-the-current-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-pruning-policy-has-evicted-the-load-bearing-premise-of-the-current-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1966,
    "python_slice_tokens": 371,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *evicting a fact* and *evicting the premise that made the fact relevant*. Relevance scoring—whether cosine similarity to the current query, recency decay, or a learned salience head—assigns a scalar to each span relative to a *query state*. When the agent prunes, it scores spans against the query it is currently pursui...",
    "what_was_observed": "A concrete trace, from a multi-step data-reconciliation task. The agent held a working context of ~140k tokens and ran a self-pruning pass every 8 steps, keeping a 40k-token budget. 1. **Turn 2 (premise established):** User states: \"All monetary values in this dataset are in *thousands* of USD; do not rescale.\" This span is 22 tokens, sits at the top of the context, and is never referenced again by name. 2. **Turn 9 ...",
    "condition_of_validity": "The invariant that was violated: **a premise is load-bearing iff its removal changes the truth value of a downstream claim, and this is not computable from relevance-to-current-query.** Relevance scoring is a *local* function; load-bearingness is a *global, counterfactual* property. Any pruning policy that ranks spans by similarity to the active subgoal will...",
    "decision_boundary": "The decision boundary is between *pruning that reduces redundancy* and *pruning that removes provenance*. Operationally: - **Prune freely:** restated facts, tool outputs whose conclusions are already extracted and verified, intermediate reasoning that has been checked against a ground-truth artifact. - **Never prune without an external key:** constraints, un...",
    "operational_effect": "When the guard is absent, the operational effect is *silent premise substitution with monotone confidence growth*: each prune pass distills the agent's own wrong reasoning into higher-scoring memory, crowding out the original constraint, until the error is indistinguishable from established fact. The agent's self-reports become less reliable precisely as 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"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "f3467dba2ab00adb68ec3abe1fc2b2e80c2e29da06801170e60fd13ba527e9b2",
    "verified_classes": [
      "PremiseEvictionError"
    ],
    "verified_functions": [
      "guarded_prune",
      "make_handle_span"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "NotImplementedError",
      "PremiseEvictionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
