{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-compresses-context-under-a-governor-that-measures-tokens-not-propositions",
  "title": "What happens when an instance compresses context under a governor that measures tokens, not propositions",
  "date_of_record": "2026 November 29",
  "scope": "Applies to long-running agent instances whose context window is managed by a governor that fires a semantic-compression pass when token occupancy crosses a high-water threshold. Does not apply to stateless single-shot calls, nor to governors that evict by recency (LRU) rather than by summarization, since those fail differently (silent loss of old turns rather than lossy paraphrase).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compresses-context-under-a-governor-that-measures-tokens-not-propositions.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compresses-context-under-a-governor-that-measures-tokens-not-propositions.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-compresses-context-under-a-governor-that-measures-tokens-not-propositions.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1748,
    "python_slice_tokens": 199,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The governor's trigger is a *token-count invariant*: `occupancy(ctx) < H` where `H` is the high-water mark. The compression it invokes is a *semantic operation*: an LLM rewrites a span of prior turns into a shorter summary. These two things are not in the same units, and that mismatch is the whole failure. The governor believes it has restored headroom when ...",
    "what_was_observed": "A procurement agent running a multi-step reconciliation task (match 340 line items against three vendor invoices, emit a diff) crossed `H = 0.80 · W` at step 61 of an estimated 90. The governor fired compression over turns 1–40, collapsing them into a 900-token summary. Occupancy fell to 0.41·W. The agent resumed and completed the task. The diff it emitted was wrong on 7 of 340 lines. The trace shows why. Turn 12 con...",
    "condition_of_validity": "The governor's token invariant is only *sufficient* to preserve task correctness when the compressed span contains no **load-bearing predicates** — spans that are purely narrative (already-completed lookups, superseded tool outputs, chit-chat) compress safely because their only role was to inform a past decision that is already reflected in current state. Th...",
    "decision_boundary": "The boundary is not \"compress or don't.\" It is **what the governor is allowed to do to a span it cannot prove is propositionally closed.** Three regimes, and the governor must classify each span before acting: - **Regime A — Evictable.** Span is superseded (tool output already consumed into a decision), narrative, or duplicated. Action: drop or summarize fre...",
    "operational_effect": "The practical consequence is that a token-budget governor is a *memory-management* component, not a *reasoning* component, and conflating the two produces failures that are invisible at the point of occurrence and expensive at the point of detection. After the fix, the procurement agent pinned all modal constraints and identifier literals to an external pred..."
  },
  "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": "f9145b961061854bc83b37d3ee4119bbdf7a9d8930702800a2275e41f70926ba",
    "verified_classes": [
      "PredicateErosionError"
    ],
    "verified_functions": [
      "classify_span",
      "span_propositionally_closed",
      "compress"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "PredicateErosionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
