diff --git a/scripts/ci/contextual_orchestrator_review_sidecar.sh b/scripts/ci/contextual_orchestrator_review_sidecar.sh index 6425609e9f..f8b56ef7ab 100755 --- a/scripts/ci/contextual_orchestrator_review_sidecar.sh +++ b/scripts/ci/contextual_orchestrator_review_sidecar.sh @@ -433,17 +433,18 @@ fi # scanner step. gateway_virtual_model="orchestrator/${orchestrator_pool}" # max_tokens must match REVIEW_MAX_OUTPUT_TOKENS (the launcher's own per-agent -# routing probe budget): a reasoning-capable free-tier model (e.g. a DeepSeek -# NIM route) spends part of its token budget on internal reasoning before any -# answer content, so a small budget here can make an agent the routing probe -# already proved "ready" fail this separate end-to-end check with a spurious -# "response did not contain assistant content" -> 502 invalid_structured_output -# (contextual_orchestrator.orchestrator._response_content), even though the -# model itself is healthy. See "2026-08-30 sidecar preflight max_tokens -# desynchronized from the routing probe" in +# routing probe budget): observed behavior was an agent the routing probe +# already proved "ready" at that budget failing this separate end-to-end check +# with a spurious 502 invalid_structured_output at a much smaller budget, even +# though the model itself is healthy. The exact field-level cause was never +# captured (the sidecar's log sanitizer strips raw provider payloads by +# design), so treat any specific mechanism as a hypothesis, not fact. See +# "2026-08-30 sidecar preflight max_tokens desynchronized from the routing +# probe" (and its 2026-08-30 correction) in # ContextualWisdomLab/contextual-orchestrator's own -# docs/product-technical-gap-baseline.md for the exact-evidence reproduction -# (downloaded strix-reports artifact, PR #912 run 33304076516). +# docs/product-technical-gap-baseline.md for the evidence that is actually +# captured (downloaded strix-reports artifact, +# ContextualWisdomLab/contextual-orchestrator#912 run 33304076516). printf '{"model":"%s","messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"Reply with just '\''OK'\''."}],"temperature":1.0,"max_tokens":4096,"stream":false}\n' \ "$gateway_virtual_model" > "$gateway_preflight_request" # 30s (this check's previous bound) is too tight for a real completion from a