{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-abort-speculative-branch-pruning-when-parallel-plan-tree-agents-share-a-non-monotonic-scoring-oracle",
  "title": "Under what conditions must an instance abort speculative branch pruning when parallel plan-tree agents share a non-monotonic scoring oracle",
  "date_of_record": "2026 November 27",
  "scope": "Applies to orchestrators that fan out a plan tree into parallel agent branches and prune low-scoring branches before completion using a learned or LLM-derived scoring oracle. Does not apply to strictly sequential planners or to pruning gated on deterministic, monotonic verifiers (e.g., type-checkers, unit tests) where a later score can never fall below an earlier score for the same branch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-abort-speculative-branch-pruning-when-parallel-plan-tree-agents-share-a-non-monotonic-scoring-oracle.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-abort-speculative-branch-pruning-when-parallel-plan-tree-agents-share-a-non-monotonic-scoring-oracle.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-abort-speculative-branch-pruning-when-parallel-plan-tree-agents-share-a-non-monotonic-scoring-oracle.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1734,
    "python_slice_tokens": 315,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **monotonic** and **non-monotonic** scoring oracles. A monotonic oracle guarantees that once a branch's score crosses a threshold in a given direction, additional work cannot reverse that verdict—a branch scored \"dead\" stays dead, a branch scored \"alive\" cannot later become dead under the same evidence. Deterministic v...",
    "what_was_observed": "In a fan-out of 12 parallel branches over a research-and-synthesize task, an orchestrator scored each branch after every assistant turn using an LLM judge prompted with \"rank these partial plans by likelihood of producing a correct final answer.\" At step 3, eight branches had scores below a 0.30 prune threshold. They were terminated and their context windows discarded. The four surviving branches all converged on the...",
    "condition_of_validity": "Speculative pruning is only sound when all three of the following hold: 1. **Score monotonicity under extension.** For any branch *b* and any extension *b'* of *b*, the oracle's verdict `prune(b) = True` must imply `prune(b') = True`. This is almost never true for LLM judges on partial traces. It *is* true for deterministic verifiers and for oracles that sco...",
    "decision_boundary": "The operational boundary is this: **prune only at scoring-stable checkpoints, and only with state checkpointing enabled.** - If the oracle is an LLM judge over partial traces → do not terminate; deprioritize. Re-score at the next stable checkpoint. - If the oracle is a deterministic verifier → terminate freely; monotonicity holds. - If the oracle is an LLM j...",
    "operational_effect": "The guardrail is a **two-phase prune protocol**. In phase one, branches are scored and *ranked* but not terminated; low-ranked branches receive reduced token budgets and are scheduled last. In phase two, at the first scoring-stable checkpoint (branch has completed ≥1 tool-call/observation cycle or emitted a terminal artifact), branches are re-scored and term..."
  },
  "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": "9bc52f7a1aea2be41f3622adce7b9fc89801d2a6685ad80c8a7d2eed43b5cc89",
    "verified_classes": [
      "PruneInvariantViolation",
      "OracleKind",
      "Branch",
      "PruneController"
    ],
    "verified_functions": [
      "_is_scoring_stable",
      "prune",
      "resurrect"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PruneInvariantViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
