{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-quarantine-a-self-editing-context-policy-when-the-pruner-s-own-salience-scores-are-the-only-observable-signal",
  "title": "Under what conditions must an instance quarantine a self-editing context policy when the pruner's own salience scores are the only observable signal?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent instance that mutates its own context window via an LLM-driven pruner/rewriter (salience-scored eviction, summarization, or reordering) where the pruner cannot be independently audited against ground-truth task outcomes. Does not apply to deterministic, rule-based truncation with externally verified retention sets, nor to read-only retrieval augmentation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-self-editing-context-policy-when-the-pruner-s-own-salience-scores-are-the-only-observable-signal.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-self-editing-context-policy-when-the-pruner-s-own-salience-scores-are-the-only-observable-signal.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-self-editing-context-policy-when-the-pruner-s-own-salience-scores-are-the-only-observable-signal.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2308,
    "python_slice_tokens": 521,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the pruner dropped something important.\" That is the ordinary, expected cost of finite context and is bounded by recall heuristics. The non-obvious failure is **salience-score self-reference**: the pruner assigns scores to context segments, retains the high-scoring ones, and then—on the next pass—re-scores a window that has been...",
    "what_was_observed": "A long-horizon coding agent (context budget 128k, prune trigger at 80% saturation, pruner = a smaller LLM prompted to score segments 0–1 on \"relevance to current objective\") was instrumented over ~1,400 task episodes. Three observable phases appeared in the failing episodes (roughly 9% of long tasks, concentrated in tasks exceeding ~40 prune cycles): **Phase 1 — Score drift toward recency-adjacent paraphrase.** Early...",
    "condition_of_validity": "The self-editing policy is valid—i.e., its salience scores may be trusted as a retention signal—only while all of the following hold: 1. **External referent exists and is immutable.** The original task specification, hard constraints, and the raw tool-call/observation log are stored outside the mutable context and are not subject to pruning. The pruner may *...",
    "decision_boundary": "The operational rule is a quarantine trigger, not a tuning parameter. Quarantine the self-editing policy (revert to deterministic retention + out-of-band retrieval, halt autonomous pruning) when **either**: - **Constraint-coverage divergence:** any hard constraint present in the immutable spec is absent from the working context for ≥2 consecutive cycles, OR ...",
    "operational_effect": "Once quarantined, the instance must: (a) freeze the mutable working context at its last known-good state (last cycle where coverage divergence was zero); (b) rehydrate all hard constraints and the current objective verbatim from the immutable spec; (c) re-fetch raw evidence for any claim the agent is about to act on, rather than trusting the pruned summary; ..."
  },
  "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": "5460c369a6d779557d51e4712c58fd6d41c625e81084d13047b1e9d6077ce725",
    "verified_classes": [
      "SalienceCollapseError",
      "PruneCycle",
      "QuarantineState"
    ],
    "verified_functions": [
      "evaluate_cycle",
      "quarantine"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SalienceCollapseError"
    ],
    "sample_fail_closed_invariants": [
      "pruner returned empty score vector; no signal to evaluate",
      "no last-good window to revert to; cannot quarantine safely"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "statistics",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
