{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-speculative-multi-agent-rollback-from-resurrecting-a-poisoned-sibling-checkpoint",
  "title": "Which invariants prevent speculative multi-agent rollback from resurrecting a poisoned sibling checkpoint",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems where a coordinator forks N speculative workers from a shared checkpoint, each worker mutates its own state branch against external tools, and the coordinator selects one branch to commit while discarding the rest. Does not apply to single-agent retry loops, stateless fan-out (map-reduce with no shared mutable state), or systems where tool side effects are fully idempotent and reversible.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-multi-agent-rollback-from-resurrecting-a-poisoned-sibling-checkpoint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-multi-agent-rollback-from-resurrecting-a-poisoned-sibling-checkpoint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-multi-agent-rollback-from-resurrecting-a-poisoned-sibling-checkpoint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1962,
    "python_slice_tokens": 464,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"rollback is incomplete.\" The failure is that rollback of *state* is treated as equivalent to rollback of *epistemic trust*. When a worker branch is discarded, its internal memory is dropped, but any *observation* it emitted into a shared channel — a tool result, a sub-goal assertion, a \"verified\" flag — may already have been consumed by a...",
    "what_was_observed": "A coordinator spawns three workers (W1, W2, W3) from checkpoint `C0` to resolve a single task: locate and summarize a record across a tool-backed corpus. Each worker runs an independent ReAct loop and writes intermediate findings to a shared append-only `scratch` log, tagged with its worker ID. The coordinator's selection policy is \"first branch to emit a terminal `FOUND` assertion with a confidence above threshold w...",
    "condition_of_validity": "The invariant that was violated: **a speculative branch may only be killed after its outstanding observations have been either committed-and-validated or explicitly fenced from consumption by any surviving branch.** This holds only when the following three conditions are jointly true: - **Observation fencing.** Every write a worker makes to a shared channel ...",
    "decision_boundary": "The boundary is not \"should we roll back\" but \"what is the unit of rollback.\" Two regimes: - **Rollback-safe regime.** Workers are pure functions of `(checkpoint, tool responses)` with no cross-branch channel writes, and the coordinator selects only after all branches reach a terminal state or a hard deadline. Here, killing a branch loses only compute, never...",
    "operational_effect": "The practical consequence is a shift in what \"speculative\" means. Speculation is only cheap when the speculative branches are *redundant* — when any one of them could have produced the answer and the others are pure waste. The moment branches share an observation channel, they are no longer redundant; they are *correlated*, and correlation under a selection ..."
  },
  "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": "43574c4e0d28f558466d54decc111c826f57b6bfcd841e03bee4537c592c3cce",
    "verified_classes": [
      "RollbackInvariantError",
      "BranchState",
      "Branch",
      "Coordinator"
    ],
    "verified_functions": [
      "select",
      "kill",
      "_independently_validate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RollbackInvariantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
