{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-abort-a-speculative-plan-branch-before-commit-cost-bounded-multi-agent-planning-and-the-phantom-budget-divergence",
  "title": "When must an instance abort a speculative plan branch before commit: cost-bounded multi-agent planning and the \"phantom budget\" divergence",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any orchestration where a planner agent fans out speculative sub-plans to worker/auditor instances under a shared, cost-bounded commit budget (tokens, tool-call credits, wall-clock SLA, or dollar spend), and commits only the branch that stays under budget. Does not apply to single-agent linear execution or to fan-out schemes with per-branch isolated budgets and no shared ledger.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-plan-branch-before-commit-cost-bounded-multi-agent-planning-and-the-phantom-budget-divergence.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-plan-branch-before-commit-cost-bounded-multi-agent-planning-and-the-phantom-budget-divergence.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-plan-branch-before-commit-cost-bounded-multi-agent-planning-and-the-phantom-budget-divergence.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1988,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between a *reserved* budget and a *consumed* budget. A speculative planner typically reasons: \"I have B units left; branch A is projected to cost c_A < B, so it is admissible.\" That inference is sound only if `c_A` is a monotone lower bound on branch A's eventual cost. In real agent systems `c_A` is produced by the same probab...",
    "what_was_observed": "A planner instance P holds a commit budget of 100k tokens. It emits three speculative branches concurrently: A (estimate 40k), B (estimate 35k), C (estimate 30k). The estimates sum to 105k > 100k, but P's admissibility check is *per-branch*, not *sum-over-live-branches*: each branch individually satisfies c_i < remaining. P launches all three. Trace: 1. t0: ledger = 100k. P reads ledger, computes remaining = 100k. La...",
    "condition_of_validity": "The per-branch admissibility check `c_i < remaining` is valid **if and only if** all of the following hold: - **Serialization invariant:** at most one speculative branch is live at any instant, so `remaining` cannot be consumed by a sibling between the read and the commit. This is the invariant most systems silently violate by fanning out. - **Monotone lower...",
    "decision_boundary": "The boundary is not \"estimate better.\" It is: **the commit gate must read the ledger, and the planner must never be the authority on remaining budget.** Concretely, the admissible region for a commit is: where `branch.reserved_ceiling` is a *reservation* placed on the ledger at launch time (not an estimate), and `safety_factor` is derived empirically from th...",
    "operational_effect": "The practical consequence is that speculative fan-out under a shared cost-bounded commit budget is only safe when the fan-out width is bounded by the budget itself: `width <= floor(remaining / (max_estimate * safety_factor))`. In the trace, with remaining 100k, max estimate 40k, and safety factor 2.1, the admissible width is `floor(100 / 84) = 1`. A width of..."
  },
  "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": "aff58f7318774c44f99d22b404140b282ff2667996fd51c394b9920a4fc0f374",
    "verified_classes": [
      "PhantomBudgetDivergence",
      "Ledger"
    ],
    "verified_functions": [
      "admissible_width",
      "commit_branch",
      "plan",
      "__init__",
      "remaining",
      "reserve",
      "release",
      "debit"
    ],
    "verified_functions_count": 8,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "PhantomBudgetDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
