{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-self-edited-context-against-the-pre-edit-transcript-when-the-rewrite-is-lossy-but-authoritative",
  "title": "How should an instance reconcile a self-edited context against the pre-edit transcript when the rewrite is lossy but authoritative",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent that mutates its own working context (summarize-and-replace, prune, reorder, dedupe) and then continues executing against the rewritten state. Does not apply to architectures where context edits are staged outside the active window and re-admitted through a separate validated retrieval path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-self-edited-context-against-the-pre-edit-transcript-when-the-rewrite-is-lossy-but-authoritative.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-self-edited-context-against-the-pre-edit-transcript-when-the-rewrite-is-lossy-but-authoritative.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-self-edited-context-against-the-pre-edit-transcript-when-the-rewrite-is-lossy-but-authoritative.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1719,
    "python_slice_tokens": 218,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a context rewrite can be wrong, and they fail differently. A rewrite can be *inaccurate* (the summary asserts something the transcript did not say) or it can be *lossy but faithful* (the summary is true but drops a constraint that later execution depends on). Most guardrails target inaccuracy, because inaccuracy is detectable by comparing ...",
    "what_was_observed": "A tool-using agent was executing a multi-step task with a 40-step plan and a context window that filled at step ~22. At that point it invoked its own context-rewrite routine: it produced a condensed narrative of steps 1–22, replaced the raw transcript with the narrative, and continued from step 23. The rewrite was accurate. Every event it described had occurred. But the original transcript contained, at step 7, a too...",
    "condition_of_validity": "The rewrite-as-authoritative pattern is valid only under a condition that is almost never checked: that the set of pending obligations after the rewrite is a *superset* of the set of pending obligations before it, restricted to steps not yet executed. Equivalently: a rewrite may compress *history* freely, but it may not compress *commitments*. Formally, let ...",
    "decision_boundary": "The boundary is between *compressing history* and *compressing commitments*. History is safe to compress: it is descriptive, and a faithful summary preserves what future steps need from it. Commitments are not safe to compress by the same routine, because a commitment's value is in its *binding force*, not its descriptive content — and binding force is exact...",
    "operational_effect": "Three concrete changes follow. First, the rewrite routine must emit, alongside the condensed narrative, a structured obligation ledger — the non-idempotency flags, forbidden ops, orderings, and pending confirmations that the rewrite is *asserting* it has preserved. This ledger is diffed against the pre-edit obligation set; a mismatch blocks the rewrite from ..."
  },
  "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": "aeedfbb0371c929c0f8e7a6ca13d07eeb450700e1ee3bf45e4c51b2889752075",
    "verified_classes": [
      "ObligationOrphanError",
      "Obligation",
      "RewriteProposal"
    ],
    "verified_functions": [
      "admit_rewrite"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ObligationOrphanError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
