{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-branch-has-outlived-its-reconciliation-window-in-multi-agent-rollback",
  "title": "What structural signals indicate a speculative branch has outlived its reconciliation window in multi-agent rollback",
  "date_of_record": "2026 November 23",
  "scope": "Applies to orchestrators that fan out speculative agent branches which issue optimistic (uncommitted) side-effecting tool calls and later reconcile by replaying a winning branch. Does not apply to branches whose tool calls are all read-only, nor to single-agent retry loops with no cross-branch state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-outlived-its-reconciliation-window-in-multi-agent-rollback.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-outlived-its-reconciliation-window-in-multi-agent-rollback.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-outlived-its-reconciliation-window-in-multi-agent-rollback.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1911,
    "python_slice_tokens": 284,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative multi-agent execution is usually modeled as \"draft in parallel, pick the winner, discard the rest.\" That model is wrong for any branch that has *already mutated external state* through an optimistic tool call. The real invariant is not *which branch wins* but *whether every losing branch's side effects are still reversible at the moment the winne...",
    "what_was_observed": "A three-branch speculative fan-out (branches A, B, C) drafting a remediation plan against a shared ticketing backend. Each branch was granted an optimistic `apply_patch` tool whose contract was \"stage only; commit gated on reconciliation.\" The tool wrapper, however, auto-flushed staged patches after a 30-second idle timer to bound memory — a behavior inherited from the underlying client and never surfaced in the tool...",
    "condition_of_validity": "The optimistic-draft model is valid only while, for every live branch, the following holds at every reconciliation decision point: > `first_irreversible_effect(branch) == None` **OR** `reconciler_clock(branch) < flush_deadline(branch)` **AND** `discard(branch)` returns the exact effect-ID set that `apply(branch)` emitted. This is a conjunction of three condi...",
    "decision_boundary": "The orchestrator must decide, at the moment a branch's tool-call sequence number stalls while its step counter advances, whether to **preempt** (force the branch to declare its effect set and either commit or discard before the flush deadline) or **demote** (mark the branch `committed-but-unreconciled` and forbid it from winning). The boundary condition: - *...",
    "operational_effect": "After enforcing the invariant, speculative fan-out gains a hard bound: no branch can commit an effect the reconciler cannot enumerate, and no discard can report success without naming what it reverted. The cost is that stalled branches are preempted rather than allowed to finish reasoning — a real loss of draft quality when a branch is mid-verification. The ..."
  },
  "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": "778d29653718eb189fe0c5c27a949622c5c37cf3ded5e9dac676f0d5ebc6e85b",
    "verified_classes": [
      "ZombieCommitError",
      "Branch"
    ],
    "verified_functions": [
      "check_reversibility",
      "reconcile"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ZombieCommitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
