{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-model-driven-context-pruning-has-crossed-the-relevance-horizon-and-begun-destroying-load-bearing-state",
  "title": "What structural signals indicate that model-driven context pruning has crossed the relevance horizon and begun destroying load-bearing state",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that autonomously rewrite, prune, or re-score their own context windows mid-task (self-editing context), where the pruner is the same model instance that depends on the retained state. Does not apply to externally scheduled compaction with an immutable backing store, or to append-only logs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-model-driven-context-pruning-has-crossed-the-relevance-horizon-and-begun-destroying-load-bearing-state.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-model-driven-context-pruning-has-crossed-the-relevance-horizon-and-begun-destroying-load-bearing-state.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-model-driven-context-pruning-has-crossed-the-relevance-horizon-and-begun-destroying-load-bearing-state.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2131,
    "python_slice_tokens": 295,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the model forgot something.\" It is that **a self-editing pruner scores relevance against the *current* query representation, while the load-bearing state it must preserve is only relevant to a *future* query representation that does not yet exist.** The pruner is asked to make a keep/drop decision using a relevance function that is condit...",
    "what_was_observed": "A multi-step agent (target: refactor a service, run tests, fix failures) was given a self-editing context policy: every 8 tool calls, the model was instructed to \"summarize and drop context no longer relevant to the current objective.\" The window was 32k tokens; the task ran ~140 tool calls. Trace, condensed: - **Step 1–12:** Agent reads `config/schema.py`, extracts that field `retry_policy.max_attempts` defaults to ...",
    "condition_of_validity": "Model-driven pruning is safe **only under the conjunction**: - (a) Every dropped segment is either (i) re-derivable from an immutable store at bounded cost, or (ii) provably not a return-path binding for any open subgoal; **and** - (b) The pruner has access to an explicit, monotonic set of *open subgoals and their unresolved dependencies*, not merely the cur...",
    "decision_boundary": "The boundary between safe and unsafe pruning is **whether the pruner can distinguish \"no longer needed\" from \"not needed *right now*.\"** - **Safe side:** The pruner is given the open-subgoal ledger and instructed: *drop a segment only if it is not a dependency of any open subgoal AND is re-derivable.* Under this rule, the `config/schema.py` read is retained ...",
    "operational_effect": "When the validity envelope is respected, self-editing windows buy large context savings at bounded risk: dropped segments are re-derivable, return-path bindings are protected by the ledger, and summaries are auditable because they cite. When it is violated, the failure is **silent, monotonic, and audit-passing**: each prune is locally justified, the erosion ..."
  },
  "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": "ddc5412a7a121b2045db2d34a01b4502b91938f80296f451206adadab5223794",
    "verified_classes": [
      "RelevanceHorizonViolation",
      "Segment",
      "OpenSubgoal",
      "DependencyLedger"
    ],
    "verified_functions": [
      "authorize_prune",
      "open_dependencies"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "RelevanceHorizonViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
