{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-shared-blackboard-context-starvation-when-parallel-subagents-reserve-budget-against-a-common-store",
  "title": "Which invariants prevent shared-blackboard context starvation when parallel subagents reserve budget against a common store",
  "date_of_record": "2026 November 25",
  "scope": "Applies to orchestrators that fan out N subagents which each hold a private context window but read/write a single shared blackboard (scratchpad, shared KV segment, or message log) under a per-agent token budget. Does not apply to fully isolated subagent memories reconciled only at join time, nor to single-agent long-context execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-shared-blackboard-context-starvation-when-parallel-subagents-reserve-budget-against-a-common-store.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-shared-blackboard-context-starvation-when-parallel-subagents-reserve-budget-against-a-common-store.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-shared-blackboard-context-starvation-when-parallel-subagents-reserve-budget-against-a-common-store.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1772,
    "python_slice_tokens": 400,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the blackboard got too big.\" It is that **context budget is a per-agent private resource while blackboard occupancy is a shared, monotonically growing resource, and no invariant ties the two together.** Each subagent independently computes `remaining = window − prompt − reserved_output` and treats the blackboard as free to read. When the ...",
    "what_was_observed": "A planner spawned six subagents against a shared blackboard holding a task ledger. Budget per subagent: 32k window, 6k reserved for output, ~2.5k system/tool schema. Blackboard grew from 4k to 19k tokens as subagents appended findings. The first subagent to finish wrote a ledger entry marking `step_3: DONE, artifact=cfg_v2`. Three later subagents read the blackboard after their own working context had grown (each had...",
    "condition_of_validity": "The invariant that must hold is a **reservation coupling**: for every subagent `i` at every step `t`, the tokens it will actually project from the blackboard must be reserved *before* it appends, and the sum of all live projections plus the blackboard's own storage must be bounded by a declared capacity, not discovered by truncation. Formally, the guardrail ...",
    "decision_boundary": "The boundary is between **truncate-and-proceed** and **block-and-renegotiate**. Truncate-and-proceed is safe only when the truncated entries are provably outside every live subagent's dependency closure — i.e., purely optional context. The moment an append would evict a mandatory-set entry from any live peer's projection, the correct action is to block the a...",
    "operational_effect": "With reservation coupling and structural mandatory sets, the fan-out becomes replay-consistent: the set of entries each subagent saw is a function of the dependency graph and the grant schedule, not of retrieval scores against stochastic subgoal text. Duplicate-write detection moves from \"hope the join sees it\" to \"the arbiter refused the second append becau..."
  },
  "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": "3b5f1d00efb17acb14eb688982d25de79325f5d520baa94f5f78fde920aa17ca",
    "verified_classes": [
      "BlackboardContentionError",
      "Subagent",
      "Entry",
      "ArbiterBlackboard"
    ],
    "verified_functions": [
      "fan_out_step",
      "remaining",
      "__init__",
      "register",
      "_projection_for",
      "append"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "BlackboardContentionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
