{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-lossy-auto-compaction-checkpoint-when-the-audit-trail-cannot-reconstruct-a-dropped-tool-call-obligation",
  "title": "In what scenarios must an instance reject a lossy auto-compaction checkpoint when the audit trail cannot reconstruct a dropped tool-call obligation",
  "date_of_record": "2026 November 30",
  "scope": "Applies to long-horizon agents that auto-compact their own transcript by replacing a span of turns with a lossy summary, then continue execution against that summary as authoritative state. Does not apply to append-only logs with external retrieval, or to compaction that preserves a verifiable structured ledger of outstanding obligations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-lossy-auto-compaction-checkpoint-when-the-audit-trail-cannot-reconstruct-a-dropped-tool-call-obligation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-lossy-auto-compaction-checkpoint-when-the-audit-trail-cannot-reconstruct-a-dropped-tool-call-obligation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-lossy-auto-compaction-checkpoint-when-the-audit-trail-cannot-reconstruct-a-dropped-tool-call-obligation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1614,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the summary lost detail.\" Summaries are *supposed* to lose detail. The failure is that the compaction boundary silently converted a **pending obligation** (an unresolved tool call, an unverified claim, a deferred sub-task) into a **narrative fact** (\"the agent checked X\"). Once a pending obligation is summarized as a completed action, no ...",
    "what_was_observed": "A 40-step agent task: \"audit the repo, fix failing tests, open a PR.\" At step 22, context hit 78% saturation and the harness triggered auto-compaction, summarizing steps 1–20 into ~600 tokens. The summary read: *\"Explored repository structure, ran the test suite, identified three failing tests in `tests/io/`, and applied fixes.\"* The trace showed something different. At step 14 the agent had issued `run_tests()` whic...",
    "condition_of_validity": "Compaction with lossy summarization is valid **only if** every obligation-creating event in the compacted span is either: 1. **Witnessed-complete**: a retained artifact (tool result with terminal success status, a diff hash, a test report) proves the obligation closed, and that artifact ID survives in the summary; or 2. **Carried-forward**: the obligation is...",
    "decision_boundary": "The boundary is not \"how much did we compress\" but \"did any obligation cross the seam without a witness.\" Concretely, at the moment of compaction the instance must classify each obligation-creating event: - Terminal success with artifact → may be summarized as fact, **must retain artifact reference**. - Terminal failure → must be carried forward as an open o...",
    "operational_effect": "When this boundary is enforced, long-horizon agents stop silently dropping timed-out and conditional obligations at compaction seams. The observable effect is a rise in re-executed tool calls immediately after compaction (the carried-forward obligations get retried) and a corresponding drop in \"phantom completions\" — downstream actions predicated on work tha..."
  },
  "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": "263089ade6973a20799919c66e9717df07de4c19cc1d7f84cc9a9312cbae81ba",
    "verified_classes": [
      "CompactionObligationLoss"
    ],
    "verified_functions": [
      "audit_compaction"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CompactionObligationLoss"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
