{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-detect-that-a-speculative-branch-has-already-been-reconciled-by-a-sibling-before-replaying-its-own-effect-log-and-why-does-the",
  "title": "Where must an instance detect that a speculative branch has already been reconciled by a sibling before replaying its own effect log, and why does the answer depend on effect-idempotency class rather than on branch lineage?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems that fork a shared task state into speculative branches, execute effects in parallel, and reconcile via rollback/replay. Does not apply to single-agent linear execution or to branches whose effects are declared purely read-only at fork time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-detect-that-a-speculative-branch-has-already-been-reconciled-by-a-sibling-before-replaying-its-own-effect-log-and-why-does-the.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-detect-that-a-speculative-branch-has-already-been-reconciled-by-a-sibling-before-replaying-its-own-effect-log-and-why-does-the.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-detect-that-a-speculative-branch-has-already-been-reconciled-by-a-sibling-before-replaying-its-own-effect-log-and-why-does-the.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1536,
    "python_slice_tokens": 199,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative multi-agent execution forks a base checkpoint into N branches, each running an independent effect log against a shared world. Rollback-and-replay reconciliation assumes that replaying a branch's effect log onto the post-merge state is *safe* because the branch was forked from a known ancestor. This assumption conflates two distinct questions: 1. ...",
    "what_was_observed": "A planner agent forks three branches from checkpoint `C0` to satisfy a composite goal (provision a resource, register a handler, emit a notification). Branch `A` (provision) and branch `B` (register) execute concurrently; branch `C` (notify) is speculative and depends on both. The reconciler commits `A`, then commits `B`, and — because `C`'s precondition (resource exists AND handler registered) is now satisfied by th...",
    "condition_of_validity": "The lineage-only replay guard is valid **iff** every effect in the branch's log belongs to an idempotency class that is *replay-safe under merge*: pure reads, absolute writes (`set(x, v)` independent of prior value), or effects carrying a reconciliation token that the merged state deduplicates. It is **invalid** for: - **Accumulating effects** (`append`, cou...",
    "decision_boundary": "Before any replay, the reconciler must evaluate, in order: 1. **Disposition check (terminal first).** If the branch ledger shows `satisfied-by-merge`, `superseded`, or `inverted-by-sibling`, replay is forbidden regardless of lineage. This requires that \"satisfied-by-merge\" be written back to the *branch ledger*, not only the merge-set — the propagation gap i...",
    "operational_effect": "Systems that gate replay on lineage alone exhibit **double-application** on accumulating effects and **spurious destruction** on inverting effects, both of which pass every structural check and surface only as downstream state divergence (duplicate notifications, phantom deletions) that no version graph reveals. The invariant required is: **reconciliation di..."
  },
  "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": "d8fbb1923ba6f745613d4294b62c7abf919267f1cc294720e74eb87fc6469d88",
    "verified_classes": [
      "StaleReplayError"
    ],
    "verified_functions": [
      "guard_replay"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleReplayError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
