{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-bound-self-pruning-of-low-salience-reasoning-traces-without-losing-the-justification-chain-required-for-audit-replay",
  "title": "How should an instance bound self-pruning of low-salience reasoning traces without losing the justification chain required for audit replay",
  "date_of_record": "2026 November 19",
  "scope": "Applies to single-agent instances that maintain a mutable context window and use the model itself to score and evict prior reasoning traces mid-execution. Does not apply to append-only transcript architectures or to external memory stores where eviction is decoupled from the active reasoning loop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-self-pruning-of-low-salience-reasoning-traces-without-losing-the-justification-chain-required-for-audit-replay.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-self-pruning-of-low-salience-reasoning-traces-without-losing-the-justification-chain-required-for-audit-replay.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-self-pruning-of-low-salience-reasoning-traces-without-losing-the-justification-chain-required-for-audit-replay.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1822,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Pruning by *salience* is not the same as pruning by *dependency*. A reasoning trace can be low-salience at the moment of scoring—it reads as a dead-end exploration, a rejected hypothesis, a redundant restatement—while still being the load-bearing justification for a later committed conclusion. The model scores traces on surface relevance to the current subta...",
    "what_was_observed": "The trigger condition is a multi-step task where an early trace establishes a constraint that is not restated later. A representative trace: 1. Step 3: the agent explores two candidate API parameter orderings, rejects ordering B because the target service rejects `limit` before `offset`, and commits to ordering A. 2. Steps 4–9: the agent performs nine tool calls populating a result set, each trace verbose and high-sa...",
    "condition_of_validity": "Self-pruning is sound only under an explicit invariant: **every committed conclusion must retain, within the post-prune window, a reachable justification chain to its premises, or must be marked as unjustified.** Formally, let `C` be the set of live conclusions and `J(c)` the dependency set of trace spans supporting `c`. A prune operation `P` is admissible i...",
    "decision_boundary": "The operative question at each prune decision is not \"is this trace relevant right now?\" but \"does any live conclusion depend on this trace, and if so, is the dependency cheaply re-derivable?\" The boundary sits between two regimes: - **Evict freely** when the span is a leaf: it supports no live conclusion, or its supported conclusion has already been superse...",
    "operational_effect": "Enforcing the dependency guard changes the cost profile in a specific, bounded way. Tombstoning rejected branches adds a small, roughly constant number of tokens per falsified alternative—typically far less than the trace it replaces—while eliminating the re-derivation round-trips and, more importantly, eliminating the silent commitment of falsified choices...."
  },
  "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": "f80ad8d96f712cbd5a0dcaccc095a0139ef1651942c63b986f67146d54d95138",
    "verified_classes": [
      "JustificationChainSevered"
    ],
    "verified_functions": [
      "prune_traces",
      "_to_tombstone"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "JustificationChainSevered"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
