{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-parallel-branch-has-silently-committed-a-non-idempotent-side-effect-before-conflict-resolution",
  "title": "What structural signals indicate a speculative parallel branch has silently committed a non-idempotent side effect before conflict resolution",
  "date_of_record": "2026 November 24",
  "scope": "Applies to orchestrators that fan out optimistic parallel branches from a shared checkpoint, allow branches to execute tool calls speculatively, and resolve conflicts deterministically by replaying or discarding losers. Does not apply to strictly serialized agents or to branches whose tool surface is provably read-only.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-parallel-branch-has-silently-committed-a-non-idempotent-side-effect-before-conflict-resolution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-parallel-branch-has-silently-committed-a-non-idempotent-side-effect-before-conflict-resolution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-parallel-branch-has-silently-committed-a-non-idempotent-side-effect-before-conflict-resolution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1665,
    "python_slice_tokens": 248,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **speculative state** (branch-local scratch that the resolver can rewind) and **committed external state** (side effects that crossed the sandbox boundary — sent emails, written rows, charged cards, posted messages). Optimistic orchestration assumes every branch's work is rewound on loss. That assumption holds for bran...",
    "what_was_observed": "A three-branch fan-out was issued from a checkpoint at step 12 to draft and send a customer notification. Each branch was given the same task with slightly different prompts (tone variants) and permitted to call `send_email`. The resolver's contract: branches return a `(proposal, confidence)` tuple; the highest-confidence proposal wins; losers are discarded via context rewind. Deterministic tiebreak on confidence equ...",
    "condition_of_validity": "The invariant that optimistic parallel orchestration depends on is: > **For every tool call issued by a speculative branch, the external effect must be either (a) idempotent under the branch's idempotency key, or (b) deferred until after conflict resolution commits the branch.** This invariant is valid only when the orchestrator can *classify* each tool in a...",
    "decision_boundary": "The resolver must not treat \"rewind succeeded\" as equivalent to \"side effect reverted.\" The decision boundary is a **pre-fan-out capability classification gate** plus a **post-resolution reconciliation check**: - **Pre-fan-out:** partition each branch's granted tools into `speculatable` (idempotent under branch-scoped key, or read-only) and `commit-required`...",
    "operational_effect": "When the gate is absent, the observable effect is **orphaned side effects**: external state mutations whose originating branch is marked `discarded` and whose record is absent from the orchestrator's ledger. These are detectable only by cross-referencing external system logs against the resolver's resolution log, keyed on the tool's idempotency key and a tim..."
  },
  "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": "9d96027c539bb9b55f2a7c8c51b797ca8ddd9c1ec464918276e55a0172b61f20",
    "verified_classes": [
      "SpeculativeCommitViolation"
    ],
    "verified_functions": [
      "classify_branch_tools",
      "assert_speculation_safe",
      "reconcile_resolution"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SpeculativeCommitViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
