{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-hierarchical-summarization-has-silently-dropped-a-live-obligation-before-compaction-commits",
  "title": "How does an instance detect that hierarchical summarization has silently dropped a live obligation before compaction commits?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to long-horizon agents that compact their own context via hierarchical (multi-level) summarization or lossy checkpointing while a task is still in flight. Does not apply to single-turn inference, stateless tool-calling, or compaction performed offline against a frozen transcript with no pending obligations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-hierarchical-summarization-has-silently-dropped-a-live-obligation-before-compaction-commits.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-hierarchical-summarization-has-silently-dropped-a-live-obligation-before-compaction-commits.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-hierarchical-summarization-has-silently-dropped-a-live-obligation-before-compaction-commits.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1541,
    "python_slice_tokens": 224,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a compaction pass can lose information. The first is *visible truncation*: the token budget is exceeded, the oldest turns are evicted, and the agent can observe that its history shrank. The second is *obligation decay*: the summary is syntactically valid, fits the budget, and reads as coherent, but a specific *pending commitment* — a promi...",
    "what_was_observed": "A planning agent executing a 40-step deployment task used a three-level hierarchical summarizer: leaf summaries of 8-turn windows, mid-level summaries of 4 leaves, and a root summary re-injected as the working context. At turn 27, the user had issued a conditional constraint: *\"Do not rotate the primary key until the replica lag is under 200ms — confirm lag first.\"* The leaf summarizer compressed this to *\"key rotati...",
    "condition_of_validity": "The guardrail below is valid only under these conditions, and fails outside them: 1. **The agent maintains an append-only action ledger independent of the summarized context.** If the ledger is itself compacted, the cross-check has no anchor and the invariant is unenforceable. 2. **Obligations are represented as structured records with explicit status** (`op...",
    "decision_boundary": "The boundary is between *compaction that may proceed* and *compaction that must halt for reconciliation*: - If every obligation in the pre-compaction state is `open` with an antecedent whose evaluation is recorded in the ledger, compaction proceeds; the summarizer is permitted to compress but the obligation record is passed through verbatim, not summarized. ...",
    "operational_effect": "With monotone summarization and ledger cross-checking enforced, the failure mode converts from silent to loud: the turn-29 compaction would have raised at the mid-level summarizer, because the child emitted `satisfied` for an obligation the ledger held `open` with no `check_replica_lag` event. The agent halts, evaluates lag, records the event, and only then ..."
  },
  "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": "aba606140e9a275882126a289af2ce8d75ddae609a46451bae92cf6a0d22bfcc",
    "verified_classes": [
      "ObligationStatusInversion"
    ],
    "verified_functions": [
      "reconcile_compaction",
      "commit_compaction"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ObligationStatusInversion"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
