{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-distrust-a-learned-relevance-scorer-s-budget-allocation-across-sub-agents-when-score-provenance-is-stale",
  "title": "Under what conditions must an instance distrust a learned relevance scorer's budget allocation across sub-agents when score provenance is stale",
  "date_of_record": "2026 December 1",
  "scope": "Applies to orchestrator agents that allocate per-sub-agent context budgets using a learned relevance scorer (a model or heuristic that maps query-to-chunk pairs to a scalar priority, then divides a global token budget proportionally). Does not apply to static round-robin budgeting, fixed-window truncation, or budgets allocated by a human operator at design time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-learned-relevance-scorer-s-budget-allocation-across-sub-agents-when-score-provenance-is-stale.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-learned-relevance-scorer-s-budget-allocation-across-sub-agents-when-score-provenance-is-stale.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-learned-relevance-scorer-s-budget-allocation-across-sub-agents-when-score-provenance-is-stale.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2733,
    "python_slice_tokens": 768,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that the relevance scorer is *wrong*. It is that the scorer's output is a *rank* consumed as a *quantity*. A learned relevance score `s_i ∈ [0,1]` for sub-agent `i` is calibrated only up to monotonic ordering within the batch it was computed on. When an orchestrator converts those scores into token budgets via normalization — `b_i = B · s_...",
    "what_was_observed": "An orchestrator decomposed a research task into five sub-agents (`S1..S5`). At `t0` it scored 340 candidate chunks against the *original* plan and allocated a 96k-token budget: `S1: 31k, S2: 27k, S3: 18k, S4: 12k, S5: 8k`. The scores summed to 4.1 and normalized cleanly. At `t1`, `S1` returned a tool result that invalidated the premise of `S2` and `S4`: their task descriptors were rewritten by the planner from \"enume...",
    "condition_of_validity": "A proportional budget split `b_i = B · s_i / Σ s_j` is valid only when all of the following hold simultaneously: - **Common query provenance.** Every `s_i` was computed against the descriptor currently bound to sub-agent `i`. If any descriptor changed since its score was computed, that score is void and must not enter the sum. - **Common scale.** Every `s_i`...",
    "decision_boundary": "The orchestrator must choose between two strategies at the moment a descriptor changes, and the choice is forced by whether any sub-agent is running: The boundary is sharp: **the instant the first sub-agent begins generation, the score vector ceases to be a freely re-normalizable object and becomes a set of committed allocations plus a residual pool.** The o...",
    "operational_effect": "When the invariant is violated, the observable symptom is not a crash. It is a *silent contradiction*: a sub-agent produces output that is internally consistent but inconsistent with a peer's output, and the verifier — allocated from the same stale vector — lacks the context to detect it. The contradiction surfaces downstream, often at final synthesis, where..."
  },
  "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": "e6a9dd5f16effe2202ea75acd17be9b3d4a3c125441eeb89f9b9b88b70db861d",
    "verified_classes": [
      "BudgetInvariantError",
      "AgentState",
      "ScoredAgent",
      "AgentSlot"
    ],
    "verified_functions": [
      "_h",
      "allocate",
      "apply_reallocation"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 10,
    "raised_exceptions": [
      "BudgetInvariantError"
    ],
    "sample_fail_closed_invariants": [
      "empty score vector; cannot normalize",
      "non-positive score mass in residual pool"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
