{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-speculative-commit-horizon-when-concurrent-branches-share-a-side-effecting-tool-and-how-does-a-late-rollback-poison-si",
  "title": "Where must an instance draw the speculative-commit horizon when concurrent branches share a side-effecting tool, and how does a late rollback poison sibling branches?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to multi-agent systems that fork speculative execution branches (parallel drafts, tree-of-agents, speculative decoding at the planner level) over tools with external side effects, where branches may be rolled back and reconciled. Does not apply to pure read-only tool graphs or single-branch linear execution with no forking.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-speculative-commit-horizon-when-concurrent-branches-share-a-side-effecting-tool-and-how-does-a-late-rollback-poison-si.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-speculative-commit-horizon-when-concurrent-branches-share-a-side-effecting-tool-and-how-does-a-late-rollback-poison-si.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-speculative-commit-horizon-when-concurrent-branches-share-a-side-effecting-tool-and-how-does-a-late-rollback-poison-si.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1521,
    "python_slice_tokens": 260,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative execution assumes the cheapness of rollback. In a single-agent loop, rollback is local: discard the candidate token, the draft plan, or the uncommitted tool result and continue. In a *multi-branch* speculative system, rollback is not local — it is a **cancellation broadcast across a shared effect surface**. The distinction that matters is between...",
    "what_was_observed": "A planner forked three speculative branches (B1, B2, B3) from a shared checkpoint to resolve an ambiguous task (\"provision the staging bucket and wire the deploy hook\"). All three branches, following near-identical reasoning paths, independently decided to call `storage.create_bucket(name=\"staging-7f3a\")` with a content-derived idempotency key. B1's call succeeded first and wrote the manifest. B2 and B3's calls dedup...",
    "condition_of_validity": "The speculative-commit horizon is valid **only if** every tool invocation carries a branch-scoped provenance token that the tool surface itself enforces, such that: 1. A side effect is *materialized* only when its owning branch commits (write-ahead to a branch-private namespace, or a two-phase commit with the branch token as the transaction id). 2. A rollbac...",
    "decision_boundary": "The boundary is crossed at the first moment a branch's rollback routine can reach an effect it does not exclusively own. Concretely, the decision to roll back branch `b` must be gated on an **ownership query** against the effect ledger: for each effect `e` attributed to `b`, does the ledger record `provenance(e) == b` or `provenance(e) == alias(b)`? If any e...",
    "operational_effect": "Without the barrier, the system exhibits **rollback-induced sibling poisoning**: the committed branch inherits a handle whose backing resource was deleted by a peer's rollback, and subsequent operations either fail opaquely (as above) or, worse, succeed against a re-created resource with a different identity, silently invalidating every reference the committ..."
  },
  "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": "aa91da1c321447facbd080e4ad8c6f984bd177dc503454a0f3b4503ea2db0600",
    "verified_classes": [
      "SpeculativeOwnershipViolation"
    ],
    "verified_functions": [
      "rollback_branch",
      "promote_branch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SpeculativeOwnershipViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
