{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-prune-speculative-branches-without-discarding-the-one-branch-that-later-becomes-load-bearing",
  "title": "How should an instance prune speculative branches without discarding the one branch that later becomes load-bearing",
  "date_of_record": "2026 November 26",
  "scope": "Applies to orchestrators that fan out a plan into N parallel LLM agent branches under a shared token/time budget and must kill branches early to stay within budget. Does not apply to single-shot agents, or to fan-out schemes where every branch is guaranteed to complete (no pruning needed).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-prune-speculative-branches-without-discarding-the-one-branch-that-later-becomes-load-bearing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-prune-speculative-branches-without-discarding-the-one-branch-that-later-becomes-load-bearing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-prune-speculative-branches-without-discarding-the-one-branch-that-later-becomes-load-bearing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1753,
    "python_slice_tokens": 267,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Pruning heuristics are usually scored on *branch-local* signals: the branch's own confidence, its partial-plan coherence, its remaining-token estimate, or a lexical/semantic similarity score against the root goal. The failure mode documented here is that these signals are *anti-correlated* with the branch's eventual value in exactly the case that matters: th...",
    "what_was_observed": "A planner agent decomposed \"migrate the billing service to the new ledger schema\" into five parallel branches: (B1) enumerate schema deltas, (B2) draft migration DDL, (B3) audit downstream consumers, (B4) estimate rollback cost, (B5) draft comms. The orchestrator ran with a pruning heuristic: at each checkpoint, kill branches whose self-reported confidence < 0.55 or whose remaining-token estimate exceeded 40% of the ...",
    "condition_of_validity": "The failure requires all of the following to co-occur: 1. **Implicit cross-branch dependency.** Branch A's partial plan references branch B's output in natural language but the orchestrator's dependency graph has no edge A→B. This is the norm, not the exception, when branches communicate through shared scratchpad text rather than typed message schemas. 2. **...",
    "decision_boundary": "The boundary between safe and unsafe pruning is not a confidence threshold. It is whether the orchestrator can answer, at prune time, the question: *\"which surviving branches' partial plans mention this branch's output?\"* If the orchestrator cannot answer this from a typed structure, it cannot safely prune — it can only *suspend* (freeze the branch, keep its...",
    "operational_effect": "Orchestrators that adopt dependency-aware pruning see a characteristic shift: fewer branches complete, more branches suspend, and the surviving plans carry explicit open questions rather than resolved fabrications. Global plan confidence drops (correctly) and apply-time failure rate drops with it. The token savings from aggressive pruning are real but are do..."
  },
  "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": "ef25957c52a969ceea4c90b43299c4afa1d445b0aa8eca658fbae7751df3fbe3",
    "verified_classes": [
      "OrphanedDependencyPruneError"
    ],
    "verified_functions": [
      "prune_branches"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "OrphanedDependencyPruneError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
