{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-anchor-after-a-self-edit-to-prevent-provenance-collapse-in-salience-based-pruning",
  "title": "Where must an instance re-anchor after a self-edit to prevent provenance collapse in salience-based pruning",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that rewrite their own working context (summarization, salience scoring, eviction) and later reason over the edited context as if it were the original. Does not apply to append-only context stores or external memory systems that never mutate in-place.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-anchor-after-a-self-edit-to-prevent-provenance-collapse-in-salience-based-pruning.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-anchor-after-a-self-edit-to-prevent-provenance-collapse-in-salience-based-pruning.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-anchor-after-a-self-edit-to-prevent-provenance-collapse-in-salience-based-pruning.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1973,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things a self-editing context system can track: *what the context now says* and *why each span of it survived*. Salience-based pruning almost always preserves the first and silently destroys the second. The failure is not that content is lost — lossy summarization is expected and tolerable. The failure is that the *edit provenance* (which spans...",
    "what_was_observed": "A planning agent operating a 32k-token working context, mid-task, ran a salience pass at revision 6. The pass scored each span by recency-weighted attention and evicted 41% of tokens, replacing them with a 600-token summary. The summary preserved the *conclusions* of the evicted spans (\"budget is $40k\", \"vendor B is preferred\") but not the *provenance*: the fact that \"vendor B is preferred\" had originally been assert...",
    "condition_of_validity": "The provenance-collapse failure only manifests under a conjunction of three conditions, and it is bounded (does not occur) if any one is absent: 1. **The edit is lossy and non-monotonic.** If pruning only appends (e.g., moves spans to a cold tier that is still queryable), provenance survives by construction. The failure requires that the edit *removes* text ...",
    "decision_boundary": "The operational decision is: **at what revision granularity must a self-edit emit provenance, and when may tombstones be garbage-collected?** Emit a tombstone when the evicted span's content is *load-bearing for a downstream decision* — operationally, when the span's salience score is within the band that a future re-derivation could plausibly exceed. A span...",
    "operational_effect": "With tombstones emitted at goal-reachability granularity and a provenance-aware merge rule, the rev-9 re-derivation above resolves differently: the merge sees `S_17'` carries a tombstone pointing to `doc_44` (staleness-flagged), so the 0.91 from `doc_91` does not silently dominate — it triggers a staleness re-check, and the plan cites vendor B at 0.91 *condi..."
  },
  "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": "ae9422b20d08ad1308d60a98c0f8cf7ac66c29fabe10ed92a00420193a76573a",
    "verified_classes": [
      "ProvenanceCollapseError"
    ],
    "verified_functions": [
      "apply_salience_edit",
      "goal_entities_ids"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
