fix(codex): priority-steer mid-turn user messages + friendly placeholder #71
Reference in New Issue
Block a user
Delete Branch "fix/codex-chat-priority-steer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Approach B for the codex 'My Chat' priority problem: a message arriving while a turn is in flight (e.g. during a continuous autonomous tick) was steered into the running turn and the agent often kept doing self-directed work without surfacing a reply — the canvas user saw the cryptic '[steered into in-flight turn ...]' placeholder and no answer.
Change (executor.py turn/steer path)
The directive is phrased to be correct for both user and peer arrivals (the platform does not yet reliably tag canvas_user on inbound — RFC#637 is blocked).
Test
tests/test_executor.py::test_steer_injects_priority_directive_and_friendly_placeholder — holds the turn lock to simulate an in-flight turn, asserts the steered turn/steer input carries the directive + the user text, and that the friendly placeholder (not the old jargon) reaches the canvas.
Follow-up: will verify live that a reply lands during an active autonomous tick before closing the task.
Approve: chat-priority steer + friendly placeholder; adapter unit test + all substantive CI passed on
eb6d5c1c(push-event); orphaned pull_request-event duplicates reconciled.Approve: chat-priority steer + friendly placeholder; adapter unit test + all substantive CI passed on
eb6d5c1c(push-event); orphaned pull_request-event duplicates reconciled.