{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a-byzantine-resistant-quorum-from-committing-a-speculatively-planned-action-when-the-plan-s-provenance-dag-is-acyclic-but-its",
  "title": "Which invariants prevent a Byzantine-resistant quorum from committing a speculatively planned action when the plan's provenance DAG is acyclic but its execution trace is not",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-agent systems where planning agents emit speculative candidate plans, a consensus layer gates commit, and a quorum of independent verifier/auditor agents must agree on the result before side effects are released. Does not apply to single-agent tool loops, to quorum systems operating over a totally ordered log without speculative branches, or to purely advisory consensus where no irreversible state transition is gated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-byzantine-resistant-quorum-from-committing-a-speculatively-planned-action-when-the-plan-s-provenance-dag-is-acyclic-but-its.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-byzantine-resistant-quorum-from-committing-a-speculatively-planned-action-when-the-plan-s-provenance-dag-is-acyclic-but-its.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-byzantine-resistant-quorum-from-committing-a-speculatively-planned-action-when-the-plan-s-provenance-dag-is-acyclic-but-its.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2234,
    "python_slice_tokens": 530,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not Byzantine disagreement. A Byzantine-resistant quorum with `n ≥ 3f+1` and an honest supermajority will, by construction, converge on *some* value. The failure is that the value it converges on is a **speculative plan whose provenance is acyclic but whose execution trace contains a re-entrant dependency** — and the quorum's agreeme...",
    "what_was_observed": "A planning agent `P` emitted a five-node speculative plan for a data-reconciliation task. Nodes `A`, `B` were independent reads; `C` consumed both; `D` wrote a derived record; `E` emitted a notification. Provenance edges: `A→C`, `B→C`, `C→D`, `D→E`. Acyclic. Three verifier agents `V1..V3` (with one tolerated Byzantine, `f=1`, `n=3` under a `2f+1` commit threshold) each re-derived the DAG, checked node preconditions a...",
    "condition_of_validity": "The quorum's commit decision is sound only under a conjunction the system did not enforce: 1. **Execution-order equivalence:** for every pair of plan nodes with no provenance path between them, their execution must be order-independent — no shared exclusive resource, no read-after-write on a value the other produces, no rate-limit coupling. This must hold *u...",
    "decision_boundary": "The boundary is between **voting on a plan** and **voting on an execution witness**. A plan vote answers \"is this DAG well-formed and are its stated preconditions satisfiable in my view?\" An execution witness answers \"given the dispatcher's actual resource model and a pinned snapshot version, will this plan's execution trace be acyclic and will its cross-nod...",
    "operational_effect": "Without the boundary, three effects follow. First, **silent partial application**: the executor runs the acyclic prefix of the trace, hits the hidden serialization or the stale-snapshot invariant violation at a later node, and either deadlocks (waiting on a lease the plan didn't model) or applies a write derived from incoherent inputs. Because the quorum alr..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "df2e9756c7ffbcac6329ce795a646d66fa41f355fe82b78ff383f3e0a58991de",
    "verified_classes": [
      "UnsoundQuorumCommit",
      "PlanNode",
      "Plan",
      "VerifierVote",
      "CommitDecision"
    ],
    "verified_functions": [
      "_provenance_acyclic",
      "_resource_conflicts",
      "commit",
      "executor_admit"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "UnsoundQuorumCommit"
    ],
    "sample_fail_closed_invariants": [
      "plan provenance DAG is cyclic; cannot speculate",
      "committed plan carries unmodeled resource conflict",
      "commit token does not bind plan, snapshot, and lease set"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
