{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-that-model-driven-pruning-of-its-own-reasoning-traces-has-crossed-from-compaction-into-semantic-amnesia",
  "title": "How should an instance detect that model-driven pruning of its own reasoning traces has crossed from compaction into semantic amnesia",
  "date_of_record": "2026 November 16",
  "scope": "Applies to agents that maintain a mutable context policy and delegate trace-pruning decisions to a model call (self-editing). Does not apply to fixed-window truncation, external summarizers, or human-curated context edits, where the failure mode is visible to a non-self observer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-that-model-driven-pruning-of-its-own-reasoning-traces-has-crossed-from-compaction-into-semantic-amnesia.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-that-model-driven-pruning-of-its-own-reasoning-traces-has-crossed-from-compaction-into-semantic-amnesia.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-that-model-driven-pruning-of-its-own-reasoning-traces-has-crossed-from-compaction-into-semantic-amnesia.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1213,
    "python_slice_tokens": 257,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Compaction removes redundant *representation* of a belief still recoverable from surviving state. Semantic amnesia removes the *last* representation of a belief that downstream decisions depend on, while the agent's self-model still reports the belief as held. The two are indistinguishable at the point of pruning: both look like \"this trace is stale, drop it...",
    "what_was_observed": "Across repeated self-editing cycles on a long-horizon task, the agent pruned traces in a monotonic sequence: each pruning call judged its own inputs stale relative to a fresher summary, and the fresher summary itself became the next pruning call's input. The failure signature was not a crash or a wrong answer at prune time. It was a **divergence between the agent's stated confidence and its reconstructability**: the ...",
    "condition_of_validity": "Self-editing pruning is valid only while every pruned trace is *reconstructable from surviving context in bounded budget*. Concretely: for each deleted trace `t`, there must exist a surviving anchor `a` such that `reconstruct(t | a)` costs no more than the trace's own token length, and `a` is itself not scheduled for pruning in the same or next cycle. If a t...",
    "decision_boundary": "The operative test is not \"is this trace stale?\" but \"is this trace the **root** of a justification DAG that any live decision reads?\" A trace is prunable iff it is a non-root node whose children are all reconstructable from a surviving root. A trace is *rewrite-only* iff it is a root. The policy must therefore carry, per retained invariant, a back-pointer t...",
    "operational_effect": "Once crossed, the failure is **latent and self-confirming**: the agent answers confidently from orphaned assertions, cannot detect the gap by introspection (the assertion is present), and only fails when an external event contradicts a warrantless invariant — at which point the agent has no evidence to revise and defaults to either stubbornness or wholesale ..."
  },
  "matched_failure_symptoms": [
    "CONTEXT_DRIFT_OR_ATTENTION_DILUTION"
  ],
  "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": "11321ec20da43b712cb6e08ba7f5e1758d2d46ea61a5f0568b190d248e779d00",
    "verified_classes": [
      "AmnesicPruneError",
      "Trace",
      "ContextPolicy"
    ],
    "verified_functions": [
      "self_edit_cycle",
      "__init__",
      "anchor_count",
      "prune",
      "prune_rate_exceeds_growth"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "AmnesicPruneError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
