{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-an-optimistic-speculative-write-during-multi-agent-baton-passing-and-how-does-the-conflict-resolving-commit",
  "title": "In what scenarios must an instance reject an optimistic speculative write during multi-agent baton-passing, and how does the conflict-resolving commit protocol bound divergence?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-agent systems where instances speculatively execute downstream steps against an uncommitted upstream state (a \"baton\") and reconcile via a conflict-resolving commit protocol (optimistic concurrency with versioned reads or a validator/auditor quorum). Does not apply to strictly serialized single-writer pipelines or to systems where every step re-reads committed state before acting.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-optimistic-speculative-write-during-multi-agent-baton-passing-and-how-does-the-conflict-resolving-commit.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-optimistic-speculative-write-during-multi-agent-baton-passing-and-how-does-the-conflict-resolving-commit.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-optimistic-speculative-write-during-multi-agent-baton-passing-and-how-does-the-conflict-resolving-commit.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1761,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an agent can treat an uncommitted baton: **speculative execution** (run ahead on the assumption the baton will commit, discard on conflict) and **committed execution** (block until the upstream write is durable, then act). The non-obvious failure is not \"speculation lost the race.\" It is that **a speculative instance can produce a result t...",
    "what_was_observed": "A three-instance chain: Planner (P) emits a baton `B` at version `v7` with a proposed plan. Executor (E) reads `B@v7` speculatively and begins tool calls. Auditor (A) is asked to verify E's output. The trace: 1. P writes `B@v7` to the shared store but the commit is **deferred** pending a validator quorum (P's own output is itself speculative against an earlier `v6`). 2. E reads `B@v7`, runs five tool calls, produces ...",
    "condition_of_validity": "The invariant that must hold for optimistic speculation to be safe: > **A committed result's `provenance` field must equal the version vector of the state its *content* was derived from, and every version in that vector must be marked `committed` in the durable store at commit time.** Two conditions bound this: - **C1 (provenance integrity):** rebasing must ...",
    "decision_boundary": "An instance must **reject** (not rebase) a speculative write when any of the following hold: - **Ghost ancestry:** any version in `provenance` is absent from the committed set (rolled back, never quorum-validated, or evicted). Rebase is unsound; re-execute. - **Read-set intersection:** the fields E read from the baton intersect the delta between the ghost ve...",
    "operational_effect": "Without C1+C2, the failure mode is **silent provenance forgery by the rebase path**: the system's audit trail claims every result derives from committed state, while some fraction silently derive from rolled-back branches. Downstream auditors verify *local consistency* (does `R_E` follow from its claimed input?) and pass, because the claimed input is a lie t..."
  },
  "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": "2906c439e4b69a0242eb18699d45b07a14a8f3e70912cca8722ce46d6bcc88c3",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "GhostAncestryError",
      "Version",
      "SpeculativeWrite"
    ],
    "verified_functions": [
      "_hash",
      "commit_or_reject"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "GhostAncestryError",
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "side effects fired against non-head base; rebase would double-fire; reject and compensate"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
