From 1552feef31eb862467ed31704db5c6f52781de70 Mon Sep 17 00:00:00 2001 From: codex Date: Sun, 20 Sep 2026 21:48:37 +0900 Subject: [PATCH] fix(lab): record that the Chat conformance destination accepts the developer role #5334 folds the wire role unless a destination records acceptance. This vector is the one place that asserts the forwarded role, and it lives outside tests/, so the change missed it and dev went red with roles:value_mismatch. --- src/lab/conformance/fixture-provider.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lab/conformance/fixture-provider.ts b/src/lab/conformance/fixture-provider.ts index d389deb6733..9fe74178b3b 100644 --- a/src/lab/conformance/fixture-provider.ts +++ b/src/lab/conformance/fixture-provider.ts @@ -12,6 +12,11 @@ export function fixtureProviderConfig(adapter: string): OcxProviderConfig { models: ["fixture-model"], defaultModel: "fixture-model", liveModels: false, + // The wire role is no longer read from the hostname, and an undeclared destination folds + // `developer` to `system` because one that rejects the role answers 400 and the turn never + // starts. This fixture is the one place that asserts the forwarded role, so the destination + // it stands for records that it accepts it. Only the Chat adapter reaches that decision. + ...(adapter === "openai-chat" ? { foldDeveloperRoleToSystem: false } : {}), }; }