{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-speculative-branch-pruning-from-silently-dropping-the-winning-coalition-arm",
  "title": "Which invariants prevent speculative-branch pruning from silently dropping the winning coalition arm",
  "date_of_record": "2026 November 21",
  "scope": "Applies to latency-optimal agent coalitions that fan out speculative branches (parallel sub-agents, speculative tool calls, or draft-then-verify arms) and prune arms early using a heuristic score before all arms have produced a bounded verdict. Does not apply to strictly sequential single-agent execution or to fan-out schemes where every arm is always joined (no pruning).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-branch-pruning-from-silently-dropping-the-winning-coalition-arm.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-branch-pruning-from-silently-dropping-the-winning-coalition-arm.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-branch-pruning-from-silently-dropping-the-winning-coalition-arm.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1667,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"pruning picked the wrong arm.\" It is that the pruning heuristic and the coalition's correctness criterion are computed over *different populations*. The pruner scores arms on a *partial* trace (tokens emitted so far, tools returned so far, sub-agent confidence so far) while the coalition's join/verification step scores arms on the *c...",
    "what_was_observed": "A three-arm coalition was dispatched for a latency-sensitive retrieval-and-verify task: arm A (fast retriever, low self-confidence until its second tool returns), arm B (slow retriever, high early confidence because it front-loads a cheap lexical match), arm C (verifier arm that only emits its verdict after A and B produce candidates). The pruner ran at t=400ms with a rule of the form `score = 0.6 * partial_confidenc...",
    "condition_of_validity": "The pruning heuristic is only valid under a dominance certificate: for every pruned arm `a` and the retained leader `L`, it must hold that `upper_bound(final_score(a)) <= lower_bound(final_score(L))`, where both bounds are computed over the *full* trace distribution, not the partial one. This requires three things that the naive heuristic lacked: 1. **A late...",
    "decision_boundary": "The operational boundary is: **prune only when the arm's score function is monotone non-increasing in elapsed time AND the arm has no downstream dependents in the coalition DAG.** If either condition fails, the arm must be retained until its own bounded verdict arrives (or its declared deadline fires), regardless of how low its partial score is. Concretely, ...",
    "operational_effect": "Enforcing the boundary changes pruning from a latency optimization into a latency optimization *with a soundness proof attached to each cut*. The cost is that the coalition retains more arms past the early window — mean time-to-first-prune rises, and the worst-case latency of the coalition is bounded by the slowest retained arm's deadline rather than by the ..."
  },
  "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": "b0f4d402b98956600cc676fc9784910c4f56534452e5cd37cbed0388d7aefd88",
    "verified_classes": [
      "UnsoundPruneError",
      "Arm"
    ],
    "verified_functions": [
      "prune_arms"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnsoundPruneError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
