{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-speculative-branch-pruning-from-silently-discarding-the-committed-winner-in-parallel-agent-decomposition",
  "title": "Which invariants prevent speculative branch pruning from silently discarding the committed winner in parallel agent decomposition",
  "date_of_record": "2026 December 4",
  "scope": "Applies to orchestrators that fan out a task into speculative branches under a shared budget and prune losers mid-flight. Does not apply to strictly sequential decomposition or to fan-out where every branch is awaited to completion before any comparison.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-branch-pruning-from-silently-discarding-the-committed-winner-in-parallel-agent-decomposition.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-branch-pruning-from-silently-discarding-the-committed-winner-in-parallel-agent-decomposition.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-branch-pruning-from-silently-discarding-the-committed-winner-in-parallel-agent-decomposition.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2139,
    "python_slice_tokens": 571,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative branch pruning is not a scheduling optimization layered on top of a correct planner; it is a *destructive commitment* that mutates the evidence set the planner reasons over. The distinguishing axis is whether pruning is **evidence-preserving** or **evidence-destroying**. A pruner that kills a branch because it is *currently* behind on a local heu...",
    "what_was_observed": "A decomposer split a research-synthesis task into four speculative sub-agents: three \"fast\" branches instructed to answer directly from priors, one \"slow\" branch instructed to retrieve and cross-check sources. The pruner used a partial-score heuristic: after each branch emitted its first 200 tokens, score the partial against a reference-free coherence rubric, and prune the bottom two branches when cumulative token sp...",
    "condition_of_validity": "Pruning is sound only when all three of the following hold simultaneously: - **Monotone observability.** The partial signal used to rank branches is monotone non-decreasing in final quality *for every branch archetype in the fan-out*. If any archetype (planning-first, retrieval-first, tool-heavy) has a partial signal that dips before it rises, pruning is uns...",
    "decision_boundary": "The boundary between safe and unsafe pruning is drawn at the moment the pruner's ranking function is applied to a branch whose archetype was not represented in the calibration set that justified the ranking function. Concretely, an orchestrator may prune a branch only if it can answer: *for this branch's declared archetype, is the partial signal I am ranking...",
    "operational_effect": "When the invariant holds, speculative decomposition gains its expected speedup: losers are cheaply suspended, the winner is selected on complete evidence, and the reserved-budget overhead is bounded by the number of suspended branches times their resume cost. Verification failure triggers resurrection of the highest-ranked suspended branch, and the decomposi..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "ec218f0a67869ab674916219f8bcff84b9e84a95a39393509f5b4421ca07783f",
    "verified_classes": [
      "PruneInvariantError",
      "BranchState",
      "Branch",
      "Pruner"
    ],
    "verified_functions": [
      "prune_round",
      "resurrect_on_verification_failure",
      "prune"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "PruneInvariantError"
    ],
    "sample_fail_closed_invariants": [
      "verification failed and no SUSPENDED branch remains: invariant violated (branches were destroyed, not suspended)"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
