{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-own-pruning-pass-has-rendered-a-retained-fact-unverifiable",
  "title": "How does an instance detect that its own pruning pass has rendered a retained fact unverifiable",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that mutate their own working context (summarize, rewrite, or evict entries by relevance score) between reasoning steps. Does not apply to append-only context managers or to eviction performed by an external orchestrator that retains an immutable transcript.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-pruning-pass-has-rendered-a-retained-fact-unverifiable.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-pruning-pass-has-rendered-a-retained-fact-unverifiable.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-pruning-pass-has-rendered-a-retained-fact-unverifiable.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1686,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent forgot something.\" It is that the agent *retained* a claim while *discarding the evidence that made the claim checkable* — and the retention signal (relevance score) and the verification signal (provenance linkage) are computed by different mechanisms that do not co-vary. A relevance-scored pruner ranks entries by estimated util...",
    "what_was_observed": "A planning agent operating a 24-step data-migration task ran a self-pruning pass at step 11 under a 60% context budget threshold. The pass used a small scorer model that emitted a relevance score per entry against the current subgoal. Trace: 1. Step 6: tool call `describe_table(orders)` returns a 1,900-token schema dump including `status ENUM('pending','shipped','delivered')` — lowercase. 2. Step 7: agent writes a co...",
    "condition_of_validity": "The invariant that must hold across any self-editing pass: > Every retained assertion that was *derived* from a context entry must retain a resolvable pointer to that entry's durable record, or the assertion must be demoted to `unverified` and excluded from conflict resolution. This holds only when the pruning layer distinguishes two operations that are rout...",
    "decision_boundary": "The agent must be able to answer, for any claim it is about to act on: *can I re-derive this from a source I can still reach?* The decision boundary is a three-way classification applied at prune time, not at use time: - **Verifiable-retained**: conclusion + live pointer to durable source. Safe to use in conflict resolution. - **Orphaned**: conclusion retain...",
    "operational_effect": "With the invariant enforced, the step-17 conflict resolves differently: the lowercase claim carries `source_ref=orders_schema@step6`, the pointer resolves against the durable tool-call log, the agent refetches the schema (cheap, idempotent), re-confirms lowercase, and overrides the peer's stale uppercase assertion with a citation rather than a recency heuris..."
  },
  "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": "742e780c30105719cc65634c45bd379d26b59765823b7909277ca5beb90c6f32",
    "verified_classes": [
      "ProvenanceSeveredError",
      "ClaimState",
      "ContextEntry",
      "DurableStore"
    ],
    "verified_functions": [
      "classify_at_prune",
      "resolve_conflict",
      "prune_pass",
      "reachable",
      "refetch"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ProvenanceSeveredError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
