# Why does an instance reconcile speculative branches against a causal frontier it can no longer reconstruct **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems where two or more agents speculatively execute divergent branches from a shared causal frontier and later reconcile into a single committed lineage. Does not apply to single-agent execution, to purely sequential pipelines, or to systems where branches never merge (fan-out-only topologies). ## Core Distinction The failure is not "two agents disagree." Disagreement is expected and resolvable. The failure is that reconciliation requires reconstructing the *causal frontier* — the exact set of prior events each branch observed when it forked — and that frontier is not recoverable from either branch's committed output alone. A branch's output encodes its *conclusions*, not its *premises*. When a reconciliation agent receives two branch summaries, it inherits a hidden dependency: the summaries are only comparable if both branches forked from the same frontier version. If they forked from different frontier versions (because a third agent committed an event between the two forks), the branches are not true siblings — they are causally ordered — and treating them as siblings produces a merge that silently rewrites history. The invariant that must hold: **every branch carries a verifiable frontier witness (the causal parent-set hash) at fork time, and reconciliation is only defined for branches whose witness sets are identical.** Everything below is what happens when this invariant is assumed rather than enforced. ## What Was Observed A planner agent P forked two worker branches, W-A and W-B, to independently draft a remediation plan against a shared memory store. The intended semantics: both workers see the same snapshot, produce independent drafts, and a reconciler R merges them by taking the higher-confidence claims. The actual sequence: 1. P reads frontier version `v41`, emits fork events for W-A and W-B both stamped `parent=v41`. 2. W-A begins. It reads a fact `F1 = "service degraded"` and writes a derived claim `C1 = "rollback required"` back to the store, committing `v42`. 3. W-B begins *after* W-A's commit but still stamped `parent=v41` (the fork stamp was taken at planning time, not at execution time). W-B reads the store, now at `v42`, and observes `C1`. It does not re-derive `C1`; it treats it as an established premise and builds `C2 = "rollback to build 8812"` on top of it. 4. Both workers return. R receives W-A's draft (`C1`) and W-B's draft (`C2`), both labeled `parent=v41`, and concludes they are independent siblings. It sees agreement — W-A proposed rollback, W-B proposed rollback — and marks the merge as *converged*, assigning high confidence. The merge is wrong in a way no confidence score surfaces. W-B was never independent. It read W-A's output mid-flight and inherited `C1` as a premise. The "agreement" is a single voice echoing through two branches. R's convergence check — which compared conclusions — could not see that one branch's premises contained the other branch's conclusions. The causal graph says siblings; the actual dependency graph says W-A → W-B. The reconciliation committed a lineage in which a claim appears to be independently corroborated when it was merely *copied forward through a fork boundary that leaked*. The deeper trace: the frontier witness `parent=v41` was accurate at *fork decision time* but stale at *execution time*. Between decision and first read, the store advanced. The witness recorded intent, not observation. ## Condition of Validity Reconciliation-by-comparison is valid **only if** the following three conditions hold simultaneously: - **Witness freshness at first read.** The frontier witness must be captured at the branch's first store access, not at fork-decision time. A witness captured earlier than first read is a *stale witness* and admits the leak above. - **Read-set disjointness or explicit dependency edges.** If branch B's read-set intersects branch A's write-set, then B is causally downstream of A regardless of what the fork stamps say. Reconciliation must treat this as an ordering, not a sibling comparison. - **Witness identity across the merge set.** Two branches are reconcilable as siblings only if their first-read witnesses are byte-identical. Any difference means at least one branch observed events the other did not, and the merge is a rebase, not a join. When any condition fails, the system is in the *speculative leak* regime: branches appear independent to the reconciler while being causally entangled underneath. Confidence aggregation, voting, and majority schemes all fail here because they operate on conclusions and are blind to premise provenance. ## Decision Boundary The boundary between safe and unsafe reconciliation is drawn at the reconciler's input contract, not at the workers. Two designs sit on either side: - **Conclusion-only handoff (unsafe):** workers return `{claims, confidence, parent_stamp}`. The reconciler cannot detect read-set overlap because read-sets were never transmitted. This is the default in most branch-and-merge agent frameworks and is the direct cause of the observed failure. - **Witness-carrying handoff (safe):** workers return `{claims, confidence, first_read_witness, read_set, write_set}`. The reconciler computes, before comparing any conclusions: (a) do witnesses match? (b) does `read_set(B) ∩ write_set(A) ≠ ∅`? If either check trips, the merge is reclassified from *join* to *rebase-with-ordering*, and the downstream branch's claims are re-attributed as derived-from rather than independent. The decision rule the reconciler must apply, in order: 1. If witnesses differ → refuse sibling merge; order branches by witness version and rebase. 2. Else if read/write sets intersect → refuse sibling merge; establish a dependency edge and re-run the downstream branch's derivation *without* the upstream write visible (true isolation) or accept it as dependent and suppress corroboration credit. 3. Else → genuine sibling merge; conclusions may be compared and confidence aggregated. Step 2's "suppress corroboration credit" is the non-obvious part. You do not have to discard the dependent branch — its work may still be useful — but you must not let its agreement count as independent evidence. The failure was not that W-B's plan was wrong; it was that R counted W-B's agreement as confirmation of W-A. ## Operational Effect Without the witness-carrying contract, speculative multi-agent systems exhibit **false convergence**: independent-looking branches that actually share a causal ancestor get merged as if they corroborate each other. The observable symptom is confidence inflation on claims that had exactly one originating source. The symptom is invisible to per-branch confidence scores, to voting majorities, and to any reconciler that compares outputs rather than provenance, because all of those operate downstream of the leak. The guardrail is architectural: the reconciler must be able to *prove* siblinghood before it is allowed to aggregate. This means fork witnesses are captured at first read (not decision), read/write sets travel with every branch result, and the reconciler's first action is a causal-consistency check that can *refuse* to merge. A reconciler that cannot refuse is not a reconciler; it is a blender. The cost is that some legitimately independent branches will be conservatively reclassified as dependent when their read-sets merely touch a shared read-only region — accept this false positive, because the false negative (counting an echo as a witness) is unrecoverable after commit. ```python from dataclasses import dataclass, field from typing import FrozenSet class CausalReconciliationError(RuntimeError): """Raised when two branches cannot be proven to be causal siblings.""" @dataclass(frozen=True) class BranchResult: branch_id: str first_read_witness: str # frontier version hash at FIRST store read read_set: FrozenSet[str] # keys observed during execution write_set: FrozenSet[str] # keys committed during execution claims: tuple = field(default_factory=tuple) def reconcile_as_siblings(a: BranchResult, b: BranchResult) -> dict: """ Merge two speculative branches ONLY if they are provably causal siblings. Refuses (raises) rather than silently blending entangled branches. """ # Condition 1: witness identity. Different witnesses => causally ordered. if a.first_read_witness != b.first_read_witness: raise CausalReconciliationError( f"witness mismatch: {a.branch_id}@{a.first_read_witness} vs " f"{b.branch_id}@{b.first_read_witness}; not siblings, must rebase" ) # Condition 2: read/write disjointness. Intersection => dependency edge. a_reads_b_writes = a.read_set & b.write_set b_reads_a_writes = b.read_set & a.write_set if a_reads_b_writes or b_reads_a_writes: raise CausalReconciliationError( f"speculative leak: {a.branch_id} reads {sorted(a_reads_b_writes)} " f"written by {b.branch_id}, or vice versa " f"({sorted(b_reads_a_writes)}); agreement is not independent evidence" ) # Genuine siblings: safe to compare conclusions and aggregate confidence. return { "merged_claims": a.claims + b.claims, "corroboration_credit": "independent", "witness": a.first_read_witness, } def safe_reconcile(a: BranchResult, b: BranchResult) -> dict: try: return reconcile_as_siblings(a, b) except CausalReconciliationError as exc: # Reclassify as dependent ordering; do NOT grant corroboration credit. return { "merged_claims": a.claims + b.claims, "corroboration_credit": "dependent", "reconciliation_note": str(exc), } ```