Enable instant interrupts by default (#51812)

## What changed

Enable `instant_interrupt` by default so new user input can preempt responses and yield foreground code-mode observations. Keep the feature marked as under development and update feature-policy tests to allow this exception.

Explicitly disable instant interrupts in core, TUI, and Python SDK tests that depend on responses completing before steering or processing subsequent input.

GitOrigin-RevId: a8cab2d6c445bfdbd10b0b2abcf7893d32ee8595
This commit is contained in:
pakrym-oai
2026-10-07 19:42:35 +00:00
committed by copyberry
parent b38942ce7c
commit 406b0c4446
7 changed files with 33 additions and 5 deletions
@@ -20,7 +20,7 @@ def test_turn_steer_adds_follow_up_input(tmp_path) -> None:
)
with Codex(config=harness.app_server_config()) as codex:
thread = codex.thread_start()
thread = codex.thread_start(config={"features.instant_interrupt": False})
turn = thread.turn("Start a steerable turn.")
harness.responses.wait_for_requests(1)
steer = turn.steer("Use this steering input.")