[copilot-harness] sdk-mode: custom provider resolved from awf-reflect (provider=copilot type=anthropic baseUrl=(apiproxy/redacted) model=claude-sonnet-4.6)
[copilot-harness] copilot-sdk driver mode: BYOK provider resolved (baseUrl=(apiproxy/redacted) type=anthropic model=claude-sonnet-4.6)
[copilot-sdk-driver] [sdk-driver] sending prompt...
[copilot-sdk-driver] [sdk-driver] error: 400 400 400 stream_options: Extra inputs are not permitted
[copilot-harness] attempt 1..4 failed: exitCode=1 failureClass=partial_execution ... permissionDeniedCount=0 hasNumerousPermissionDenied=false
Executive summary
Fix the Copilot BYOK request builder — it is injecting the OpenAI-only
stream_optionsfield intotype=anthropicprovider calls, which return HTTP 400 and kill the agent before it emits anything. This is a deterministic P0 that already reds at least two production scheduled workflows and is untracked. Smoke CI startup EACCES (#42398) and Codex invalid-model (#41787) also recurred in this window but are already tracked and still open.Failure cluster table
stream_options400[sdk-driver] error: 400 stream_options: Extra inputs are not permitted(all 4 retries, 0 turns, empty output)EACCES mkdir /tmp/gh-aw/sandbox/firewall/logs, agent never invokedisInvalidModelError=true— invalid/unsupported model configuration, not retriedEvidence — C1 (audit of representative runs)
Copilot SDK BYOK
stream_options400 — audited 28614701337 & 28613537448Both runs resolve the same custom provider and fail identically on every retry:
agent_output.json={"items":[],"errors":[]}— 0 turns, 0 tool calls, 0 safe outputs.isRateLimitError=false,isAuthError=false,isModelNotSupportedError=false).stream_optionsis an OpenAI streaming-API field (stream_options.include_usage); it is not valid in the Anthropic Messages API, so thetype=anthropicupstream rejects the request with 400.chroot-home/ firewall-logsEACCEScleanup warnings in the raw tail are post-run cleanup noise, unrelated to the 400 that actually failed the run.Existing-issue correlation
EACCES mkdir /tmp/gh-aw/sandbox/firewall/logs, agent never invoked (rootless left [Content truncated due to length] #42398 (Smoke CI hard-red,EACCES mkdir firewall/logs): reproduced again at 18:31 UTC today (§28612922406). Not fixed — kept open.agentic-workflowsissue matches C1'sstream_options400 signature (distinct from [aw-failures] Smoke Copilot Sub Agents 100% red — Copilot SDK returns "No model available (policy enablement)" for gpt-5.3-codex [Content truncated due to length] #42824 model-policy, [aw-failures] Copilot CLI false-red — runs marked failure (exit 1) after safe-outputs succeed, via "numerous permission denied" [Content truncated due to length] #41636 permission-denied false-red, [aw-failures] Copilot CLI 15-min hard timeout — agents thrash without emitting safe-outputs (Test Quality Sentinel, Impeccable S [Content truncated due to length] #42974 15-min timeout).Fix roadmap
stream_optionsin the Copilot SDK BYOK request path when providertype=anthropic. Tracked in the sub-issue below.EACCES mkdir /tmp/gh-aw/sandbox/firewall/logs, agent never invoked (rootless left [Content truncated due to length] #42398 (rootless mkdir offirewall/logs). No new action.Sub-issues created
stream_optionsstripping fortype=anthropic(see linked sub-issue).References: