graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
ws steer: GPT-6 on the ChatGPT plan route steers too
justrach08c3f62490cb
diff --git a/src/agent_ws_steer.zig b/src/agent_ws_steer.zigindex 6224074f..ee2350cb 100644--- a/src/agent_ws_steer.zig+++ b/src/agent_ws_steer.zig@@ -47,11 +47,13 @@ pub fn modelSupports(model: []const u8) bool {/// supersedes the reply instead (steer_now), as for models without steering.pub var g_unsupported = false;-/// GPT-6 on the routes that implement steering (Platform OpenAI and Codex).-/// Other sockets serving GPT-6 names supersede the reply instead.+/// GPT-6 on the routes that implement steering (Platform OpenAI, Codex and+/// the ChatGPT plan route, ADR 0221). Other sockets serving GPT-6 names+/// supersede the reply instead.pub fn active(provider_id: []const u8, model: []const u8) bool {if (g_unsupported or !modelSupports(model)) return false;- return std.mem.eql(u8, provider_id, "codex") or std.mem.eql(u8, provider_id, "openai");+ return std.mem.eql(u8, provider_id, "codex") or std.mem.eql(u8, provider_id, "openai") or+ std.mem.eql(u8, provider_id, "chatgpt-new");}/// The root's own turn request on a steering route: the requests a typeddiff --git a/src/agent_ws_steer_tests.zig b/src/agent_ws_steer_tests.zigindex ef72b4d8..51ae9d39 100644--- a/src/agent_ws_steer_tests.zig+++ b/src/agent_ws_steer_tests.zig@@ -304,9 +304,10 @@ test "a stream that dies hands every steer back, in order, ahead of later followtry expectQueue(&.{ "first", "second", "typed later" });}-test "steering is Codex and Platform OpenAI GPT-6 only; everything else ends on the terminal event" {+test "steering is GPT-6 on Codex, Platform OpenAI and the ChatGPT plan route; everything else ends on the terminal event" {try expect(steer.active("codex", "gpt-6-sol"));try expect(steer.active("openai", "gpt-6-astra"));+ try expect(steer.active("chatgpt-new", "gpt-6.1-sol"));try expect(!steer.active("codegraff", "gpt-6-sol"));try expect(!steer.active("codex", "gpt-5.6-sol"));