{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-auto-compact-a-transcript-whose-summarization-guarantees-cannot-be-preserved",
  "title": "Under what conditions must an instance refuse to auto-compact a transcript whose summarization guarantees cannot be preserved",
  "date_of_record": "2026 November 23",
  "scope": "Applies to long-horizon agents that maintain a persistent transcript and invoke a lossy auto-compaction (summarize-and-truncate) routine to reclaim context-window budget mid-task. Does not apply to append-only archival stores, stateless single-turn inference, or compaction performed strictly between tasks where no in-flight obligations reference pre-compaction spans.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-auto-compact-a-transcript-whose-summarization-guarantees-cannot-be-preserved.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-auto-compact-a-transcript-whose-summarization-guarantees-cannot-be-preserved.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-auto-compact-a-transcript-whose-summarization-guarantees-cannot-be-preserved.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1956,
    "python_slice_tokens": 298,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Auto-compaction is usually modeled as a *budget-recovery* operation: when the transcript approaches the context-window ceiling, a summarizer replaces the oldest N tokens with a compressed digest, and execution resumes. The non-obvious boundary is that compaction is not budget recovery — it is an **irreversible state mutation that must preserve a set of refer...",
    "what_was_observed": "A long-horizon research agent had committed, at turn 41, to a user constraint: \"the final report must cite the exact DOI `10.1145/3576xxx.3576yyy` and must not exceed 800 words.\" The constraint lived in a user turn. At turn 118, the transcript hit 92% of the context window and auto-compaction fired. The summarizer produced: \"User requires a citation and a length limit.\" The DOI and the numeric bound were both dropped...",
    "condition_of_validity": "Auto-compaction is valid if and only if all of the following hold at the moment of compaction: 1. **Pinning is complete.** Every active commitment has been enumerated and its referent span tagged as pinned. A commitment is active if it has not been discharged (a tool result has not returned, a constraint has not been satisfied, a warrant has not been verifie...",
    "decision_boundary": "The boundary is between *reclaimable* and *pinned* content, and it is decided by the commitment ledger, not by the summarizer. The summarizer's confidence that a span is \"unimportant\" is not evidence. Operationally: - A span is **reclaimable** if no active commitment, warrant, or downstream reference points into it. Reclaimable spans may be lossily summarize...",
    "operational_effect": "Enforcing this boundary changes the failure profile from silent corruption to explicit refusal. The agent will sometimes halt and spill to an external store instead of compacting — a visible cost. In exchange, the class of failures where a constraint, DOI, numeric bound, or warrant hash is silently dropped and later reconstructed as a plausible fabrication i..."
  },
  "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": "41515564191936c793549d50ffa7deee26e83caeb628661521c60ebff8fb8bc9",
    "verified_classes": [
      "UnpreservableCompactionError"
    ],
    "verified_functions": [
      "auto_compact"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "UnpreservableCompactionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
