{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-contain-speculative-plan-divergence-when-byzantine-validators-co-sign-cross-federation-agent-plans",
  "title": "How should an instance detect and contain speculative-plan divergence when Byzantine validators co-sign cross-federation agent plans?",
  "date_of_record": "2026 December 3",
  "scope": "Applies to multi-agent systems where a planner agent in federation A emits *speculative* multi-step plans (partial commitments executed ahead of full validation) that are co-signed by validators spanning federations A and B under a Byzantine fault-tolerant threshold (e.g., 2f+1 of 3f+1). Does not apply to single-federation, single-validator, or strictly sequential (non-speculative) plan execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-speculative-plan-divergence-when-byzantine-validators-co-sign-cross-federation-agent-plans.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-speculative-plan-divergence-when-byzantine-validators-co-sign-cross-federation-agent-plans.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-speculative-plan-divergence-when-byzantine-validators-co-sign-cross-federation-agent-plans.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1896,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a validator is malicious.\" It is **divergence between the speculative execution frontier and the validated commitment frontier**, caused by the interaction of two independent mechanisms: (1) speculative execution advances optimistically on *local* plan state before quorum is reached, and (2) Byzantine validators can selectively withh...",
    "what_was_observed": "A cross-federation planner (federation A, 4 validators; federation B, 4 validators; threshold 5/8 with at most f=2 Byzantine assumed) emitted a 6-step plan. Steps 1–2 were pure reasoning; step 3 issued an external tool call (`provision_resource`); steps 4–6 depended on step 3's output. The executor ran speculatively: it began step 3 as soon as it had 3 local (federation A) signatures plus its own planner signature — ...",
    "condition_of_validity": "The containment rule is valid only under these conditions, and fails outside them: - **Quorum-reachability must be computable locally.** The executor must know the full validator set and threshold, and must be able to compute, for any branch, whether the *remaining* unsigned validators could still form quorum on a competing branch. If the validator set is dy...",
    "decision_boundary": "The precise boundary between \"safe to speculate\" and \"must block for quorum\" is: The failure occurs exactly when `step.effect_is_reversible` is false AND `signatures_observed == n - t` (the boundary value), because at equality the adversary retains exactly enough unsigned validators to reach quorum on a competing branch. The off-by-one is the entire bug: `>`...",
    "operational_effect": "When the invariant is enforced with the strict `>` bound, the observable behavior changes in three ways: 1. **Speculation stalls one step earlier.** With n=8, t=5, speculation halts at k=4 instead of proceeding. This costs latency (one round-trip to quorum) but eliminates split-brain side effects. The latency cost is bounded and predictable. 2. **Irreversibl..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "8905550d50a1bc572880f241ec60edd343816ff2e5b230b73a9adde1578cde52",
    "verified_classes": [
      "EffectKind",
      "SpeculationDivergenceError",
      "Step",
      "SpeculationState"
    ],
    "verified_functions": [
      "safe_to_speculate",
      "advance_speculative_frontier"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SpeculationDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
