{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-rollback-divergence-in-speculative-multi-agent-branch-execution",
  "title": "What structural signals indicate rollback divergence in speculative multi-agent branch execution",
  "date_of_record": "2026 December 3",
  "scope": "Applies to orchestrated agent systems that speculatively fork a shared reasoning context across N parallel executors, run divergent tool calls, and roll back losing branches by restoring a checkpointed state. Does not apply to purely sequential single-agent loops or to stateless request/response inference.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-rollback-divergence-in-speculative-multi-agent-branch-execution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-rollback-divergence-in-speculative-multi-agent-branch-execution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-rollback-divergence-in-speculative-multi-agent-branch-execution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1715,
    "python_slice_tokens": 322,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a branch returned a wrong answer.\" It is that a *rollback* silently failed to restore the state the surviving branch assumed it inherited. Speculative branch-and-rollback relies on a checkpoint being a complete, self-contained snapshot of agent state: conversation prefix, tool-call ledger, scratchpad memory, and any side-effect marke...",
    "what_was_observed": "A three-way speculative executor forks at a planning node. Branch A calls `search_docs`, Branch B calls `create_ticket`, Branch C calls `search_docs` with a rephrased query. The orchestrator selects Branch A on a confidence score and rolls back B and C. The rollback restores the context prefix and the scratchpad, but the ticket created by Branch B persists in the issue tracker. Ten steps later, Branch A's continuatio...",
    "condition_of_validity": "Rollback-based speculation is sound only under the invariant that every tool call is either (a) idempotent and keyed by a branch-scoped nonce, or (b) deferred until after branch selection. If a branch can perform a non-idempotent write before the selection barrier, the rollback is not a rollback — it is a context truncation with unresolved external residue. ...",
    "decision_boundary": "The decision is not \"roll back or commit.\" It is \"is this divergence soft or hard, and if hard, can it be compensated?\" The boundary conditions: - **Soft divergence, clean ledger:** discard branch, restore checkpoint, proceed. No signal required. - **Hard divergence, idempotent writes with branch nonces:** discard branch, issue scoped deletes keyed by nonce,...",
    "operational_effect": "Systems that implement this boundary correctly gain a measurable property: **rollback cost is bounded by the write-class tool surface, not by the branch count.** Speculation across read-only tools is free; speculation across write-class tools costs a compensation round-trip per orphan. Systems that skip the boundary exhibit a characteristic failure signature..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "8b12c9e76672a538e54647a8bd6310b74ccfa7d170df309c5a14a2309e05c9c8",
    "verified_classes": [
      "RollbackDivergenceError",
      "ToolClass",
      "ToolCall",
      "Branch"
    ],
    "verified_functions": [
      "audit_pre_fork",
      "rollback_branch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "RollbackDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
