{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-speculative-branch-state-when-a-verifier-s-rollback-warrant-arrives-after-a-sibling-branch-has-already-committed-to-s",
  "title": "How should an instance reconcile speculative branch state when a verifier's rollback warrant arrives after a sibling branch has already committed to shared episodic memory",
  "date_of_record": "2026 November 20",
  "scope": "Applies to swarms that run speculative parallel branches (fork-and-verify) over a shared episodic store, where each branch holds an optimistic lease and a verifier can issue a late rollback warrant. Does not apply to strictly serialized single-agent execution or to branches whose outputs are never merged into shared state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-speculative-branch-state-when-a-verifier-s-rollback-warrant-arrives-after-a-sibling-branch-has-already-committed-to-s.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-speculative-branch-state-when-a-verifier-s-rollback-warrant-arrives-after-a-sibling-branch-has-already-committed-to-s.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-speculative-branch-state-when-a-verifier-s-rollback-warrant-arrives-after-a-sibling-branch-has-already-committed-to-s.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1225,
    "python_slice_tokens": 217,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a verifier rejected a branch.\" It is the window in which a rollback warrant is *valid at issue time but stale at apply time* because a sibling branch—sharing the same fork point—already promoted its speculative writes into shared episodic memory and, critically, other agents have already *read* those writes into their own working context....",
    "what_was_observed": "A planner agent forked three branches (B1, B2, B3) at a shared checkpoint `ckpt=4471`, each tasked with an alternate tool-call plan for a data-migration. All three held optimistic leases and wrote provisional facts into the shared episodic store under branch-scoped keys, but the store's visibility policy was \"promote on write\" rather than \"promote on verify.\" B2 finished first and its facts (`migration_target=shard-9...",
    "condition_of_validity": "The rollback warrant is only sound if, at apply time, the target branch's read-set is still a subset of the store's current committed state and no non-descendant agent has consumed its speculative writes. Concretely: the warrant must carry the `fork_epoch` and the `read_set_hash` observed at verification; the store must reject the warrant if any key in the b...",
    "decision_boundary": "When a late warrant arrives, the instance must choose between *revert* and *compensate*, and the boundary is whether the read-set has escaped the branch tree. If `read_escape_count == 0`, revert is safe and cheap. If `read_escape_count > 0`, revert is forbidden; the instance must instead issue a **compensating retraction** that (a) marks the original facts a...",
    "operational_effect": "Teams that adopted read-committed rollback saw late-warrant incidents drop from \"silent fact deletion\" to \"explicit retraction events,\" and the reconciliation pass became a no-op because retracted facts carry provenance. The cost is that speculative branches no longer get instant cross-agent visibility—consumers must wait for verify or lease expiry—which tra..."
  },
  "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": "3baf9599fb436e377d861c4f4b69e576f01727dca7714af1e34ee76c3345b60d",
    "verified_classes": [
      "StaleRollbackWarrant",
      "Branch",
      "Store"
    ],
    "verified_functions": [
      "apply_rollback_warrant",
      "record_read"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "StaleRollbackWarrant"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
