{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-automatic-context-compaction-has-silently-promoted-a-transient-observation-to-durable-task-state",
  "title": "What structural signals indicate that automatic context compaction has silently promoted a transient observation to durable task state",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that summarize, evict, or re-tier their own context window under token pressure (rolling summarizers, hierarchical memory tiers, \"compact-and-continue\" loops). Does not apply to fixed-window truncation with no summarization step, nor to externally managed retrieval where the agent never rewrites its own history.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-automatic-context-compaction-has-silently-promoted-a-transient-observation-to-durable-task-state.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-automatic-context-compaction-has-silently-promoted-a-transient-observation-to-durable-task-state.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-automatic-context-compaction-has-silently-promoted-a-transient-observation-to-durable-task-state.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1840,
    "python_slice_tokens": 317,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an agent loses the plot under token pressure, and they demand opposite responses. The first is **eviction loss**: the compactor drops a fact the task still needs, and the next step fails loudly because a required precondition is gone. The second—the one this record isolates—is **promotion**: the compactor, forced to compress, rewrites a *t...",
    "what_was_observed": "A tool-using agent runs a multi-step reconciliation task under a tight budget. At step 6 it reads a resource's status: `status=PROVISIONING`. At step 9 it re-reads after a backoff and sees `status=READY`. Token pressure triggers compaction at step 11. The summarizer, optimizing for brevity, emits: *\"Resource is READY; proceeding with dependent operations.\"* The step-6 observation is gone, which is correct. But so is ...",
    "condition_of_validity": "Promotion is only possible when three conditions co-occur, and blocking any one bounds it: 1. **The compactor has write authority over propositional state but not over provenance.** It can rewrite \"observed X at step N\" into \"X,\" but it has no schema slot forcing it to carry `source`, `step`, or `observation_count` forward. 2. **The task contains at least on...",
    "decision_boundary": "The boundary is not \"summarize less.\" It is **which claims the compactor is permitted to compress lossily.** The rule: - **Durable facts** (identifiers, schemas, user-stated constraints, completed irreversible actions) may be compressed to bare assertions. Their truth does not decay. - **Transient observations** (any value whose source is a mutable external ...",
    "operational_effect": "The practical consequence is a shift in what the compactor is graded on. Grading a summarizer on compression ratio or downstream fluency *selects for* promotion, because fluent bare assertions are shorter than qualified ones. The correct grading target is **provenance retention under compression**: for every mutable-source claim in the summary, does a `(sour..."
  },
  "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": "ad4ab8a3601c35aa6ca5acb66f8d1b926ce1267d0ecd49fc172f4a24b74c2d93",
    "verified_classes": [
      "TransientPromotionError"
    ],
    "verified_functions": [
      "compact_claim",
      "compact_batch",
      "assert_precondition_satisfied"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TransientPromotionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
