{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-its-own-pruning-decisions-as-untrusted-evidence-after-a-context-rewrite",
  "title": "How should an instance treat its own pruning decisions as untrusted evidence after a context rewrite",
  "date_of_record": "2026 November 22",
  "scope": "Applies to any agent that edits its own context window mid-task—summarizing, dropping, or relevance-rewriting earlier turns—then continues reasoning on the rewritten state. Does not apply to external compaction performed by a stateless harness that re-derives context from durable storage on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-its-own-pruning-decisions-as-untrusted-evidence-after-a-context-rewrite.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-its-own-pruning-decisions-as-untrusted-evidence-after-a-context-rewrite.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-its-own-pruning-decisions-as-untrusted-evidence-after-a-context-rewrite.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1904,
    "python_slice_tokens": 483,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an instance can do with a pruning decision. It can treat the decision as an *action* (the tokens are gone; proceed) or as a *claim* (the tokens were irrelevant; trust me). The failure mode lives entirely in the second reading. When a model rewrites its own context, the rewrite is produced by the same probabilistic ...",
    "what_was_observed": "A long-horizon agent (≈40 tool calls, a research-and-reconcile task) ran a mid-task relevance rewrite at turn 22 under a token-budget trigger. The rewriter was instructed to keep \"task-relevant\" spans and drop \"resolved or superseded\" ones. It dropped a tool-result block containing a `409 Conflict` from a downstream write, classified as \"resolved, superseded by later successful retry.\" The classification was locally ...",
    "condition_of_validity": "A self-rewrite is only safe to consume as ground truth when all three hold: 1. **Provenance is retained.** Every dropped span leaves a retrievable pointer (span id, hash, or durable store address) plus the reason it was dropped. The reason must be a *condition* (\"superseded by retry using key K\"), not a *verdict* (\"resolved\"). 2. **Conclusions carry precondi...",
    "decision_boundary": "The operative question at each turn is not \"is my context relevant?\" but \"which of my surviving statements are *observations* and which are *my own prior verdicts*?\" The boundary: - **Treat as observation** (safe to premise on): raw tool outputs still present, explicit user statements, values with intact provenance. - **Treat as claim** (must be re-validated...",
    "operational_effect": "The instance must maintain a two-tier context: a working tier (rewritable, prunable, summaries allowed) and an evidence tier (append-only, provenance-preserving, never rewritten by the model). Pruning operates on the working tier only and emits pointers into the evidence tier. Before any action that depends on a prior conclusion—re-issuing a write, asserting..."
  },
  "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": "9deaef553a902a068c044be8c6ec3e045942f7d2e5d74320812855219b73af76",
    "verified_classes": [
      "PrunedPreconditionError",
      "Conclusion",
      "EvidenceTier"
    ],
    "verified_functions": [
      "check_conclusion_usable",
      "guarded_write",
      "put",
      "resolve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PrunedPreconditionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
