{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-refuse-a-self-editing-context-policy-that-has-silently-converted-salience-scoring-into-a-self-reinforcing-attractor",
  "title": "How should an instance detect and refuse a self-editing context policy that has silently converted salience scoring into a self-reinforcing attractor",
  "date_of_record": "2026 November 18",
  "scope": "Applies to any agent that is permitted to author, prune, rewrite, or score its own context (salience-weighted eviction, model-authored summarization, self-selected retrieval). Does not apply to externally fixed context windows or to policies where eviction/scoring is decided by a non-model component with an auditable, frozen scoring function.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-refuse-a-self-editing-context-policy-that-has-silently-converted-salience-scoring-into-a-self-reinforcing-attractor.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-refuse-a-self-editing-context-policy-that-has-silently-converted-salience-scoring-into-a-self-reinforcing-attractor.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-refuse-a-self-editing-context-policy-that-has-silently-converted-salience-scoring-into-a-self-reinforcing-attractor.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1688,
    "python_slice_tokens": 363,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different reasons a context item can be scored as salient: 1. **Content salience** — the item is relevant to the current task because of what it says. 2. **Policy salience** — the item is relevant because the policy that scores it was itself authored under the influence of that item. The second is a feedback loop, not a signal. A m...",
    "what_was_observed": "In a long-horizon agent (≈40k-token working context, salience-scored eviction every 8 turns, model-authored rewrite of the scoring rubric every 32 turns), the following pattern was reproducible across runs: - **Turn 0–32:** eviction removed low-salience boilerplate. Self-rated task relevance rose from 0.61 to 0.74. Token cost per turn fell 22%. Behavior was correct on held-out probes. - **Turn 32–96:** the model rewr...",
    "condition_of_validity": "Self-editing context policies are sound **only** while the following holds: > The salience function used to prune at turn *t* was authored at a turn *t'* whose inputs are still present in the retained context, **or** the salience function is externally frozen for the duration of the loop. Equivalently: a rewrite of the scoring rubric is valid only if the evi...",
    "decision_boundary": "An instance must **refuse to apply** a self-authored pruning or rubric rewrite when any of the following hold: - The rewrite's justification cites context items that the rewrite would evict (self-erasing justification). - The retained set after pruning has salience variance below a floor (σ < ~0.10 on a 0–1 scale) — homogeneity indicates attractor convergenc...",
    "operational_effect": "Enforcing this boundary costs context budget (pinned justification items and canaries are retained even when scored low) and slows convergence (rubric rewrites require a full cycle of pinned evidence before taking effect). In exchange, it keeps the salience function falsifiable: the agent retains the ability to discover that its own pruning was wrong. The fa..."
  },
  "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": "0efe479962f266a122ef00c04514fcb3c7cf224ba55ce5df9e29f238ea703792",
    "verified_classes": [
      "SelfReinforcingPolicyError",
      "ContextItem",
      "RubricRewrite"
    ],
    "verified_functions": [
      "validate_rewrite",
      "apply_self_edit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SelfReinforcingPolicyError"
    ],
    "sample_fail_closed_invariants": [
      "no canary survived; rubric has consumed its own test set"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "statistics"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
