{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-speculatively-commits-a-branch-that-a-sibling-agent-has-already-invalidated-rollback-reconciliation-against-a-stale-bran",
  "title": "What happens when an instance speculatively commits a branch that a sibling agent has already invalidated: rollback reconciliation against a stale branch root",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent systems where a coordinator forks parallel speculative branches from a shared checkpoint, each branch producing tool-call side effects and memory mutations, and where branches must later be reconciled or rolled back. Does not apply to strictly serial agents or to branches whose side effects are fully idempotent and externally transactional.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-commits-a-branch-that-a-sibling-agent-has-already-invalidated-rollback-reconciliation-against-a-stale-bran.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-commits-a-branch-that-a-sibling-agent-has-already-invalidated-rollback-reconciliation-against-a-stale-bran.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-commits-a-branch-that-a-sibling-agent-has-already-invalidated-rollback-reconciliation-against-a-stale-bran.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1811,
    "python_slice_tokens": 376,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **rollback as state restoration** and **rollback as invalidation propagation**. A speculative branch is forked from a *branch root*—a snapshot of agent memory, a set of pending tool-call intents, and a token-budget ledger. When branch B is rolled back because its premise was falsified by a peer, the naive implemen...",
    "what_was_observed": "A coordinator forked three speculative branches (B1, B2, B3) from a common root at token counter 0, each tasked with a different decomposition of a retrieval-plus-reasoning subtask. B1 and B2 shared an episodic memory region; B3 was isolated. Mid-execution, B2 emitted a tool call that returned a contradiction of a fact B1 had asserted, and the coordinator's auditor agent issued an invalidation warrant against B1's br...",
    "condition_of_validity": "The rollback-as-restoration model is valid only under the following conjunction: 1. **Branch isolation is total**—no two live branches share a mutable region, or 2. **Shared regions are append-only with monotonic versions**, and rollback is implemented as *compensating invalidation* (a new version that marks facts dead) rather than *version rewind*, and 3. *...",
    "decision_boundary": "The boundary is between **rewind** and **compensate**, and it is crossed the moment a shared region acquires a second live reader. - If the invalidated branch is the *sole* reader of the region, rewind is safe and cheapest. - If any sibling branch holds a forward pointer past the rollback target, rewind is forbidden; the coordinator must instead append an in...",
    "operational_effect": "The downstream effect is **resurrection of invalidated premises under re-validation**, which is worse than a simple stale read because the auditor actively certifies the stale state as fresh. In the observed trace, the auditor's re-validation of the falsified premise caused the coordinator to promote B2's re-derived conclusion to semantic memory, poisoning t..."
  },
  "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": "31da19c9665dcc45d4301a3f9f33aa6cffdf08c8457c8b07e41b22c54ddf31ec",
    "verified_classes": [
      "StaleBranchRollbackError",
      "Branch",
      "SharedRegion"
    ],
    "verified_functions": [
      "rollback_branch",
      "compensate_invalidation",
      "reconcile"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleBranchRollbackError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
