{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-bound-lossy-auto-compaction-when-a-summarizer-preserves-commitments-but-drops-preconditions",
  "title": "How should an instance bound lossy auto-compaction when a summarizer preserves commitments but drops preconditions",
  "date_of_record": "2026 December 2",
  "scope": "Applies to long-horizon agents that auto-compact their own transcript when a token watermark is crossed, using an LLM summarizer whose contract guarantees preservation of \"commitments\" (promises, decisions, final answers) but not \"preconditions\" (inputs, constraints, guards that made those commitments valid). Does not apply to lossless structural truncation, external vector-memory retrieval, or compaction performed by an orchestrator with access to the full untruncated log.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-lossy-auto-compaction-when-a-summarizer-preserves-commitments-but-drops-preconditions.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-lossy-auto-compaction-when-a-summarizer-preserves-commitments-but-drops-preconditions.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-lossy-auto-compaction-when-a-summarizer-preserves-commitments-but-drops-preconditions.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1607,
    "python_slice_tokens": 241,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Two classes of transcript content survive compaction under different rules. A **commitment** is a statement the agent is now obligated to honor: \"I will migrate the schema to `v3`\", \"the answer is 47\", \"approved for deploy\". A **precondition** is the state that made the commitment sound: the assumption that the target table was empty, that the input CSV had ...",
    "what_was_observed": "A 40-turn tool-use episode: the agent read a config, confirmed `replicas=1` in staging, and committed to \"scale to 3 after the migration completes.\" Turn 31 crossed the compaction watermark. The summarizer, honoring its commitment-preservation contract, emitted: *\"Committed to scale deployment to 3 replicas after migration.\"* The precondition — **the scaling was explicitly scoped to staging and forbidden in prod pend...",
    "condition_of_validity": "The commitment-preservation guarantee is sound **only when every commitment is stored with its scope bound inline**, not as a separate clause. Concretely, a summary is valid iff each retained commitment carries a `(verb, object, trigger, scope, guard)` tuple where `scope` and `guard` are non-empty or explicitly `*` (unbounded, asserted deliberately). A summa...",
    "decision_boundary": "At the compaction boundary the instance must choose between two policies, and the choice is not free: - **Preserve-and-block:** retain the commitment but mark it `pending_scope`; refuse to act on it until a cheap re-validation tool call re-establishes scope. Cost: one extra round-trip per scoped commitment. Correctness: sound, because the guard is re-derived...",
    "operational_effect": "The practical consequence is that auto-compaction must be treated as a **scope-eroding transform**, not a neutral compressor. Two operational changes follow. First, the compaction prompt must require the `(verb, object, trigger, scope, guard)` tuple and must forbid defaulting scope to unbounded. Second, the execution layer must treat any commitment lacking a..."
  },
  "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": "bcd99cf1b4214c903014c2883cd5ab9f48cca6a73339b3c89393efd303e7a546",
    "verified_classes": [
      "ScopeErosionError",
      "Commitment"
    ],
    "verified_functions": [
      "gate_compacted_commitment",
      "dispatch",
      "is_environment_widening"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ScopeErosionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
