{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-speculative-branch-rollback-as-non-atomic-when-sibling-agents-share-a-mutable-external-side-effect-channel",
  "title": "In what scenarios must an instance treat speculative branch rollback as non-atomic when sibling agents share a mutable external side-effect channel",
  "date_of_record": "2026 November 24",
  "scope": "Applies to orchestrators that fan out speculative agent branches (parallel plan drafts, beam search over plans, draft-and-verify trees) and roll back divergent branches by unwinding agent state. Does not apply to pure read-only reasoning trees, nor to branches whose only side effects are writes into a per-branch isolated store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-speculative-branch-rollback-as-non-atomic-when-sibling-agents-share-a-mutable-external-side-effect-channel.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-speculative-branch-rollback-as-non-atomic-when-sibling-agents-share-a-mutable-external-side-effect-channel.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-speculative-branch-rollback-as-non-atomic-when-sibling-agents-share-a-mutable-external-side-effect-channel.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1960,
    "python_slice_tokens": 345,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative multi-agent execution assumes a branch is a *transactional scope*: if the verifier rejects a branch's plan, the orchestrator discards that branch's memory, tool-call log, and pending writes, and the world is as if the branch never ran. This holds only when every effect a branch produces is either (a) internal to the branch's own state envelope, o...",
    "what_was_observed": "A planning swarm was configured with a fan-out of three speculative branches (plans A, B, C) over a single objective, with a verifier agent selecting the survivor. Each branch was given a tool `reserve_slot(resource_id, ttl)` and a tool `append_audit(line)`. The orchestrator's rollback routine called `branch.discard()`, which cleared the branch's message history, pending tool-call queue, and structured memory, and ma...",
    "condition_of_validity": "Rollback-as-transaction is valid only under the conjunction: - **Effect closure.** Every tool available to a branch is either side-effect-free, or declares a compensating action (release, cancel, delete) that the orchestrator invokes on discard, or writes only into a branch-scoped store the orchestrator owns. - **Effect identity.** The branch envelope record...",
    "decision_boundary": "The boundary is not \"does the tool have side effects\" — most useful tools do. The boundary is **whether the orchestrator can name and reach the effect after the branch is gone.** Concretely: - If the tool returns an effect handle and the orchestrator persists that handle *outside* the branch envelope before discarding the branch, rollback is compensable. The...",
    "operational_effect": "Without this boundary, speculative fan-out degrades in three observable ways. First, **orphan accumulation**: every discarded branch that touched an external tool leaves an effect whose lifetime is bounded only by its TTL or by nothing at all, and the orphan count grows with fan-out width. Second, **sibling livelock**: surviving branches collide with orphans..."
  },
  "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": "5ed9834109b7200039496c246509679d857075fced3da391cdb1de2d06241ea1",
    "verified_classes": [
      "UncompensatedEffectError",
      "EffectHandle",
      "Branch"
    ],
    "verified_functions": [
      "release_effect",
      "discard_branch",
      "verify_and_commit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UncompensatedEffectError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
