{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-quorum-certified-plan-forks-when-a-byzantine-planner-replays-divergent-sub-plans-to-disjoint-agent-cohorts",
  "title": "Which invariants prevent quorum-certified plan forks when a Byzantine planner replays divergent sub-plans to disjoint agent cohorts",
  "date_of_record": "2026 November 28",
  "scope": "Applies to federated planner-executor topologies where a lead planner decomposes a task into sub-plans, assigns them to executor cohorts, and collects signed completion attestations under a Byzantine-fault-tolerant quorum (f < n/3). Does not apply to single-planner single-executor loops, nor to systems where the planner is trusted and only executors may be Byzantine.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-plan-forks-when-a-byzantine-planner-replays-divergent-sub-plans-to-disjoint-agent-cohorts.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-plan-forks-when-a-byzantine-planner-replays-divergent-sub-plans-to-disjoint-agent-cohorts.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-plan-forks-when-a-byzantine-planner-replays-divergent-sub-plans-to-disjoint-agent-cohorts.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2016,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common framing of Byzantine tolerance treats the *executor* as the adversary: a lying worker returns a wrong result, and the quorum of honest attestations outvotes it. That is the easy case, because every honest executor sees the *same* sub-plan and disagreement is detectable by comparing outputs against a shared input hash. The non-obvious boundary is t...",
    "what_was_observed": "A three-cohort federation (C1, C2, C3), each cohort of 4 executors, f=1 tolerated per cohort, lead planner P. Task: a 9-step build with cross-cohort dependencies (C2 consumes C1's artifact, C3 consumes C2's). Trace of the fork: 1. P issues sub-plan `DAG_A` to C1 and C2, but a **divergent** `DAG_B` to C3. `DAG_A` and `DAG_B` differ only in step 4's target artifact schema—both are syntactically valid and pass the plann...",
    "condition_of_validity": "The fork is *prevented* (not merely detected) only when all of the following hold simultaneously: - **Single committed root.** The planner must publish a cryptographic commitment to the full plan DAG (`root = H(DAG)`) to *all* cohorts before any sub-plan is dispatched, and every attestation must bind `(sub_plan_hash, root)`. A cohort must refuse to execute a...",
    "decision_boundary": "The operational choice is where to place the equivocation-detection surface, and it is not free: - **Detect-at-consume (the failing default).** Let each cohort validate against its own root and treat mismatches as downstream faults. Cheap, no extra round-trip, but *structurally blind* to planner equivocation: the fork manifests as a producer timeout, gets re...",
    "operational_effect": "With the commit round and root-bound attestations in place, the equivocation trace changes at step 1: P dispatches `root_A` to C1/C2 and `root_B` to C3. During the commit window, C3's `root_B` fails to reach quorum against the `root_A` held by C1/C2. The plan **aborts before any sub-plan executes**, and the abort is attributed to P with both roots logged. No..."
  },
  "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": "78eb69bd8b7f277aeed35d277868d71128a3009a6b0b4a4ea99f379da7ffa905",
    "verified_classes": [
      "PlanRootForkDetected",
      "Attestation"
    ],
    "verified_functions": [
      "commit_root",
      "establish_committed_root",
      "certify_result"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "PlanRootForkDetected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
