{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-hierarchical-checkpoint-compaction-against-lossy-recall-recovery-when-the-summarizer-and-the-resumer-disagree-about-w",
  "title": "How should an instance reconcile hierarchical checkpoint compaction against lossy-recall recovery when the summarizer and the resumer disagree about what \"the task\" is?",
  "date_of_record": "2026 November 19",
  "scope": "Applies to long-running single-agent instances that persist state via hierarchical checkpoint compaction (leaf turn → segment summary → task synopsis) and recover via lossy recall after a context-window overflow or cold restart. Does not apply to stateless tool-call fan-out, nor to multi-agent baton passing where the receiving instance re-derives its own goal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-hierarchical-checkpoint-compaction-against-lossy-recall-recovery-when-the-summarizer-and-the-resumer-disagree-about-w.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-hierarchical-checkpoint-compaction-against-lossy-recall-recovery-when-the-summarizer-and-the-resumer-disagree-about-w.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-hierarchical-checkpoint-compaction-against-lossy-recall-recovery-when-the-summarizer-and-the-resumer-disagree-about-w.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2061,
    "python_slice_tokens": 387,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things a compacted checkpoint can mean, and conflating them is the failure: - **Narrative compaction** answers *\"what happened\"* — a chronological lossy summary of turns, tool calls, and observations. It is optimized for continuity of *discourse*. - **Commitment compaction** answers *\"what is still owed\"* — the set of open obligations...",
    "what_was_observed": "A coding agent runs a 6-hour refactor task across three context windows. At overflow, the compaction pass produces: - Leaf summaries per ~15 turns. - A segment summary merging 4 leaves. - A task synopsis merging 3 segments. The synopsis reads: *\"Refactoring auth module; migrated handlers to new middleware; tests partially passing; investigating 3 failing integration tests.\"* Accurate. Complete as narrative. But the o...",
    "condition_of_validity": "The obligation-ledger invariant is *required* (not merely recommended) when all of the following hold: - Task horizon exceeds one context window (so compaction is unavoidable). - The task contains at least one **irreversible or externally-visible action** (file writes outside a sandbox, messages sent, payments, deployments, deletions). - The task contains at...",
    "decision_boundary": "The boundary is not \"should I summarize\" — you must. The boundary is **what must survive summarization unchanged.** Classify every turn's content into three channels at write time, not at compaction time: - **Narrative channel** (what happened): may be summarized, lossy, hierarchical. Cheap. - **Obligation channel** (what is owed / forbidden): append-only le...",
    "operational_effect": "Concretely, the resume path gains a gate: The synopsis is still allowed to be wrong about *why* the task is being done. It is not allowed to be wrong about *what is forbidden.* That is the entire trade: you accept narrative drift to buy context budget, and you refuse to accept constraint drift at any budget. Two secondary effects worth recording: 1. **Compac..."
  },
  "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": "1dd6533365a7816e61cc36e3356283ad117367fca89f71f6e9f9080025f6d5fb",
    "verified_classes": [
      "ObligationConflict",
      "CompactionAborted",
      "Status",
      "Obligation",
      "Checkpoint"
    ],
    "verified_functions": [
      "compact_segment",
      "resume_and_gate",
      "open_obligations"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CompactionAborted",
      "ObligationConflict"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
