You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A running Codex turn received an explicit t3_thread_send(mode="queue") message followed by a mode="auto" update. T3 queued both messages until the running turn ended even though Codex could accept a native steer. On a long turn this can delay new instructions for hours.
Steps to reproduce
Start a Codex turn that will remain active for several tool calls.
From another thread, use t3_thread_send with mode: "queue" to send marker A.
While the turn is still running, use mode: "auto" to send marker B. Check the receipt and whether the active turn receives B.
Repeat on a fresh running thread with an empty queue. The native steer reaches the active turn in this control.
Expected behavior
B steers the active Codex turn. A stays queued for a separate turn. Earlier deferred steering and required context changes retain their precedence.
Evidence and proposed fix
The live reproduction used T3 Code 0.1.12-nightly.20261121.5038.fork.2 on Windows with Codex gpt-6-luna. The backlog case did not send turn/steer; the empty-queue control did. The fork adds a pending-delivery receipt that is separate from the transport failure.
A focused integration reproduction on upstream 074a0d35be9ff1e55355bbc2e12715b12d7b56d3 drove the real orchestrator and effect worker with a Codex adapter fixture. The adapter recorded zero steering calls after A was queued and B was submitted with automatic intent. The assertion expected one call with B. The existing ordering guard accounts for that result on upstream as well.
The ordering guard added by PR #39417 protects issue #39404, where an automatic update overtook another automatic update delayed by compaction. The guard also covers deliberate later-turn messages. Storing the explicit queue request with the queued run lets the guard make the distinction without inferring the send mode from older data.
A validated fork patch implements that distinction. The fork regression passed alongside its existing compaction-order test, 253 additional server tests and 35 contract tests. Upstream would need the same rule adapted to its queue implementation.
I tried to reproduce this on the current build and could not.
Commit origin/main 58e309e. No live Codex run was possible: the VM has no first-party Codex/ChatGPT sign-in. Instead I added an integration test to apps/server/src/orchestration-v2/SteeringCompletion.integration.test.ts that drives the real OrchestratorV2 and OrchestrationEffectWorkerV2 with the existing nextTurnSelectionHarness, a Codex-capability adapter fixture with supportsActiveSteering. Steps: start a first turn and leave it running; dispatch an agent-created (creationSource mcp) message 'later' with dispatchMode queue_after_active and no deliveryIntent, which is what t3_thread_send mode="queue" produces; then dispatch an agent-created message 'now' with dispatchMode steer_active on the running run and deliveryIntent "auto", which is what mode="auto" produces; drain the worker. Observed: the adapter received no steer calls (steered = [], expected ['now']), and 'now' is queued behind 'later'. The existing #39404 compaction-order test passes alongside it. Run: cd apps/server && vp test run src/orchestration-v2/SteeringCompletion.integration.test.ts -t "explicitly queued".
Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.
Activity
juliusmarminge commentedon Nov 23, 2026
I tried to reproduce this on the current build and could not.
Commit origin/main 58e309e. No live Codex run was possible: the VM has no first-party Codex/ChatGPT sign-in. Instead I added an integration test to apps/server/src/orchestration-v2/SteeringCompletion.integration.test.ts that drives the real OrchestratorV2 and OrchestrationEffectWorkerV2 with the existing nextTurnSelectionHarness, a Codex-capability adapter fixture with supportsActiveSteering. Steps: start a first turn and leave it running; dispatch an agent-created (creationSource mcp) message 'later' with dispatchMode queue_after_active and no deliveryIntent, which is what t3_thread_send mode="queue" produces; then dispatch an agent-created message 'now' with dispatchMode steer_active on the running run and deliveryIntent "auto", which is what mode="auto" produces; drain the worker. Observed: the adapter received no steer calls (steered = [], expected ['now']), and 'now' is queued behind 'later'. The existing #39404 compaction-order test passes alongside it. Run:
cd apps/server && vp test run src/orchestration-v2/SteeringCompletion.integration.test.ts -t "explicitly queued".Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.