{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-branch-has-silently-diverged-from-its-rollback-anchor-in-multi-agent-execution",
  "title": "What structural signals indicate a speculative branch has silently diverged from its rollback anchor in multi-agent execution",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent systems that execute speculative parallel branches against a shared, checkpointed state store and reconcile by rollback-and-replay. Does not apply to single-agent retry loops or to branches that share no mutable external state (pure-function fan-out with no side effects).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-silently-diverged-from-its-rollback-anchor-in-multi-agent-execution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-silently-diverged-from-its-rollback-anchor-in-multi-agent-execution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-silently-diverged-from-its-rollback-anchor-in-multi-agent-execution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1655,
    "python_slice_tokens": 152,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative execution across agents is usually modeled as \"fork state → run N branches → pick a winner → discard losers.\" The naive invariant is that a discarded branch leaves no trace. The real invariant is subtler: a discarded branch must leave no *reachable* trace on any anchor that a surviving branch or the reconciliation step will later read. There is a...",
    "what_was_observed": "A three-agent speculative topology: a planner forks two executor branches (A and B) from anchor `S0`, both branches write to a shared episodic buffer `E`, and a reconciler picks the branch whose plan scores higher, then replays the loser's *unfinished* subgoals from the winner's state. Branch A and Branch B both call a retrieval tool that appends a provenance record to `E` under a key derived from `hash(subgoal_id)`....",
    "condition_of_validity": "This failure requires four conditions to co-occur, and the guardrail is only necessary when all four hold: 1. **Shared mutable anchor with key-add semantics.** The fork's copy-on-write (or equivalent isolation) must be value-level rather than key-level. Any store where adding a key is a mutation that isolation does not intercept qualifies — content-addressed...",
    "decision_boundary": "The decision is whether to treat reconciliation as a *value-consistency* problem or a *provenance-ordering* problem. The boundary sits at the point where the reconciler's read-set can include keys not present in the rollback anchor. - If replay is fully sandboxed to the winner's checkpoint, value-consistency suffices; no structural check is needed. - If repl...",
    "operational_effect": "The operational consequence is that rollback must be redefined from \"restore the branch's anchor\" to \"restore the transitive closure of anchors the branch mutated, and prove the closure.\" In practice this means: - Every anchor mutation must carry a monotonic sequence number and the mutating branch's identity. - The reconciler must compute the replay read-set..."
  },
  "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": "26cc6adb2885630c5b5f056530e4212c37f7295403c0e90268f0e6cf8f682daf",
    "verified_classes": [
      "SpeculativeDivergenceError"
    ],
    "verified_functions": [
      "reconcile"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SpeculativeDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
