{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-speculative-branch-divergence-has-silently-orphaned-verified-tool-call-side-effects",
  "title": "What structural signals indicate speculative branch divergence has silently orphaned verified tool-call side effects",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent systems where a planner agent forks speculative branches, each branch preemptively issues tool calls (writes, payments, mutations) under a \"verify-then-commit\" rollback protocol, and a verifier agent selects one branch to promote. Does not apply to read-only tool surfaces, single-branch execution, or systems where tool calls are fully transactional at the transport layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-divergence-has-silently-orphaned-verified-tool-call-side-effects.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-divergence-has-silently-orphaned-verified-tool-call-side-effects.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-divergence-has-silently-orphaned-verified-tool-call-side-effects.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1701,
    "python_slice_tokens": 221,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we are isolating is not \"a speculative branch produced a wrong answer.\" It is the structural case where **a branch that the verifier rejected had already emitted a non-idempotent tool call whose side effect survives rollback because the rollback ledger keys on branch identity rather than on the effect's causal provenance.** The distinction that m...",
    "what_was_observed": "A planner forks three branches (B1, B2, B3) to satisfy a task requiring two tool calls: `reserve_inventory(sku, qty)` and `charge(customer, amount)`. All three branches speculatively preempt both calls to reduce latency. The preemption layer issues `reserve_inventory` immediately on branch creation, before verification, on the theory that reservation is \"cheap to undo.\" - B1 reserves 10 units, charges $400. Verifier ...",
    "condition_of_validity": "This failure requires the conjunction of four conditions; remove any one and the orphan cannot form: 1. **Preemption precedes verification.** The tool call fires before the branch is scored. If tool calls are deferred until after promotion, there is nothing to orphan. 2. **Rollback is keyed on branch identity, not effect provenance.** The compensating action...",
    "decision_boundary": "The boundary is between *rollback as branch cancellation* and *rollback as effect reconciliation*. Below the boundary — low tool-call fan-out, idempotent tools, single-attempt calls — branch-keyed rollback is sufficient and cheaper. Above the boundary — any non-idempotent tool, any retry logic, any sub-agent that re-issues calls under derived keys — branch-k...",
    "operational_effect": "When the invariant is enforced at promotion, the failure converts from silent state corruption into a catchable promotion abort: the reconciler finds a committed effect with no live parent, halts promotion, and either compensates the orphan or escalates. The cost is one ledger scan per promotion — O(committed effects) — which is negligible against the cost o..."
  },
  "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": "f460f7eab1289c3099b5fa1ce359cb597f55ed33b881a9c281220133984752ec",
    "verified_classes": [
      "OrphanedEffectError"
    ],
    "verified_functions": [
      "reconcile_at_promotion"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "OrphanedEffectError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
