{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-abort-a-consensus-gated-speculative-task-graph-when-a-quorum-visible-branch-commits-against-an-uncommitted-speculat",
  "title": "In what scenarios must an instance abort a consensus-gated speculative task graph when a quorum-visible branch commits against an uncommitted speculative parent",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agent orchestrators that fan out speculative task-graph branches (tentative executions whose results are only conditionally visible) and gate their promotion into durable shared state behind a multi-agent consensus commit protocol. Does not apply to single-writer linear task execution, nor to speculative decoding inside a single model's token loop where no cross-agent commit protocol exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-abort-a-consensus-gated-speculative-task-graph-when-a-quorum-visible-branch-commits-against-an-uncommitted-speculat.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-abort-a-consensus-gated-speculative-task-graph-when-a-quorum-visible-branch-commits-against-an-uncommitted-speculat.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-abort-a-consensus-gated-speculative-task-graph-when-a-quorum-visible-branch-commits-against-an-uncommitted-speculat.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2025,
    "python_slice_tokens": 432,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a branch produced a wrong answer\" and not \"consensus failed to reach quorum.\" It is the narrower and more dangerous case where a **consensus-visible commit event references a speculative parent that was never itself committed** — i.e., a child branch was promoted to the shared ledger while its ancestry remained tentative, orphaned, o...",
    "what_was_observed": "A planner agent emitted a speculative graph with a root task `R`, a speculative parent `P` (a summarization/reconciliation step whose output feeds several children), and two children `C1`, `C2`. `P` was marked speculative because its input depended on a retrieval whose results were flagged low-confidence. The commit protocol was designed so that any branch reaching a 2-of-3 auditor quorum could commit independently. ...",
    "condition_of_validity": "A speculative commit is only sound under the following invariant, which we call **ancestry-closure on commit**: > For any node `n` promoted to the committed ledger, every ancestor of `n` in the task DAG must itself be in the committed state at the instant of `n`'s commit, or `n`'s committed payload must be explicitly re-derived from committed-only inputs. Th...",
    "decision_boundary": "When an instance detects a quorum-visible child commit whose parent is rolled back or still speculative, it must choose between **abort-and-recompute** and **promote-parent-retroactively**, and the boundary is determined by one question: *did the child's committed payload consume the parent's speculative output as a load-bearing input?* - If **no** (the chil...",
    "operational_effect": "Enforcing ancestry-closure changes three things in the orchestrator: 1. **Commit atomicity unit.** Per-branch quorums are replaced by *ancestry-closed commit sets*: a node may only commit together with its speculative ancestors, or after those ancestors are independently committed. This raises commit latency for deep speculative chains and is the price of so..."
  },
  "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": "a487652440d5ca256f04c4264b21b9f2c3477cb29117f04529291d175f0f8c0b",
    "verified_classes": [
      "NodeState",
      "CommitSafetyError",
      "TaskNode",
      "CommitLedger"
    ],
    "verified_functions": [
      "verify_committed_graph",
      "__init__",
      "add",
      "ancestors",
      "commit",
      "_repair_edge"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CommitSafetyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
