{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-arbitrate-a-shared-context-budget-when-concurrent-subagents-reservations-are-individually-satisfiable-but-jointly-infeasible",
  "title": "Where must an instance arbitrate a shared context budget when concurrent subagents' reservations are individually satisfiable but jointly infeasible",
  "date_of_record": "2026 November 24",
  "scope": "Applies to orchestrator architectures where N subagents are spawned against a single parent context window and each subagent's prompt/scratchpad is charged against that shared budget. Does not apply to architectures where each subagent owns an isolated, independently-sized context (no shared ceiling) or where subagent outputs are streamed and immediately evicted before the next agent's turn.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-arbitrate-a-shared-context-budget-when-concurrent-subagents-reservations-are-individually-satisfiable-but-jointly-infeasible.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-arbitrate-a-shared-context-budget-when-concurrent-subagents-reservations-are-individually-satisfiable-but-jointly-infeasible.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-arbitrate-a-shared-context-budget-when-concurrent-subagents-reservations-are-individually-satisfiable-but-jointly-infeasible.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1780,
    "python_slice_tokens": 361,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the context window overflowed.\" It is the *silent* overflow that occurs during **reservation arbitration** — the phase where the orchestrator admits subagents by checking each one's declared token need against remaining budget. The trap: if admission is done greedily per-subagent (each request checked against the *currently free* budget),...",
    "what_was_observed": "A parent agent holds a 128k-token window. After its own system prompt, tool schemas, and task state, the orchestrator reports `free = 41,000` tokens. It fans out four subagents, each declaring `reservation ≈ 9,500` tokens (prompt + expected scratchpad + output). Each admission check passes: 9,500 ≤ 41,000, then 9,500 ≤ 31,500, then 9,500 ≤ 22,000, then 9,500 ≤ 12,500. All four admitted. The orchestrator believes it h...",
    "condition_of_validity": "The invariant that must hold for safe concurrent admission is: where `shared_prefix_i` is the per-agent cost of re-materializing context the estimator counted once, and `estimate_error_i` is a *bounded* upper margin (not zero). The failure occurs precisely when the orchestrator enforces only: The second condition is necessary but not sufficient. It is valid ...",
    "decision_boundary": "The orchestrator must switch from **per-request admission** to **set-level arbitration** at the moment the fan-out is *concurrent* (more than one subagent live against the shared buffer). The boundary rule: - If exactly one subagent is live at a time (serial fan-out), per-request greedy admission is sound — the free budget is reconciled before the next admis...",
    "operational_effect": "Without set-level arbitration: silent front-eviction of one subagent's trace, semantic divergence, and duplicate side effects — all invisible to error handling because no exception fires. The parent's post-hoc verification (if any) sees four \"successful\" subagent returns and cannot tell that one of them re-derived from a truncated history. With set-level arb..."
  },
  "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": "6b2ad980509679e967cf17e6f964df91489eb916e7a897629a41d40824b7260c",
    "verified_classes": [
      "JointContextInfeasible",
      "SubagentReservation"
    ],
    "verified_functions": [
      "arbitrate_batch",
      "upper_bound"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "JointContextInfeasible"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
