{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-branch-s-rollback-watermark-has-been-silently-invalidated-by-a-sibling-s-committed-side-effect",
  "title": "What structural signals indicate a speculative branch's rollback watermark has been silently invalidated by a sibling's committed side effect",
  "date_of_record": "2026 November 29",
  "scope": "Applies to orchestration layers that fan a task into parallel speculative branches (each branch mutating a shared world-state through tool calls) and reconcile them via commit-or-abort with per-branch rollback watermarks. Does not apply to pure read-only fan-out, nor to single-branch execution where no sibling can observe or overwrite a branch's pre-image.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-s-rollback-watermark-has-been-silently-invalidated-by-a-sibling-s-committed-side-effect.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-s-rollback-watermark-has-been-silently-invalidated-by-a-sibling-s-committed-side-effect.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-s-rollback-watermark-has-been-silently-invalidated-by-a-sibling-s-committed-side-effect.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2178,
    "python_slice_tokens": 453,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not \"a branch rolled back and lost its work.\" That is expected and recoverable. The failure is that a branch's rollback watermark — the snapshot token it holds to undo its own tentative writes — has been *structurally invalidated* by a sibling branch that committed a write to an overlapping key *after* the watermark was taken...",
    "what_was_observed": "A planner agent decomposed a data-migration task into three speculative branches dispatched concurrently against a shared versioned store: - Branch A: rewrite `config.retry_policy` (tentative) - Branch B: rewrite `config.timeout_budget` (tentative) - Branch C: a verification branch that read both keys and produced a consistency verdict Each branch received a watermark `W_i` = the store's version counter at dispatch. ...",
    "condition_of_validity": "A rollback watermark `W_i` is valid at apply time if and only if, for every key `k` in the restore set derived from `W_i`: That is: the most recent *committed* writer of every key the rollback will touch must be either the watermark's own snapshot owner or the branch itself. If a sibling committed to `k` after `W_i` was minted, `W_i` is stale for `k` and app...",
    "decision_boundary": "The boundary between \"safe to abort\" and \"must escalate\" is drawn at the first key in the restore set whose committed-writer history diverges from the branch's own write log. - **Narrow abort (safe):** restore set ⊆ branch write log, and for each key the last committed writer is the branch or the watermark owner. Apply rollback; the watermark is current. - *...",
    "operational_effect": "When this boundary is enforced, speculative fan-out gains a property it otherwise lacks: **abort is idempotent with respect to committed siblings.** A branch can be aborted, its rollback re-run, and the store converges to the same state every time, because the rollback only ever touches keys the branch itself wrote. Without the boundary, rollback is a lossy ..."
  },
  "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": "2a8402cf0ba190f49afa1544c6fbcf20bc81a9a56958f34403deeb6776018a1f",
    "verified_classes": [
      "StaleRollbackWatermark",
      "WriteRecord",
      "Store",
      "Watermark"
    ],
    "verified_functions": [
      "safe_rollback",
      "reconcile",
      "record",
      "last_committed_writer"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleRollbackWatermark"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
