Linux | real T3 server + CLI | Codex 0.171.0 | gpt-6-luna | fresh database Commit 49db4c34055aa71abab35fab02c1874a0a42cf17 $ t3 thread start --provider codex --model gpt-6-luna --wait Use exec_command to run exactly: sleep 900; echo gate-done . Set yield_time_ms to 2000. After the tool returns a running session id, end this turn immediately and report that id. Do not poll, wait, kill, or launch any other work. If a later system notification says this command was cancelled or lost, acknowledge it and stop: do not restart the command. { "threadId": "mcp:d865dd2e-64ea-4ba1-b5ba-fa0e3198482f", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "status": "completed", "reply": "The command is still running. Session ID: `39649`.", "error": null } $ t3 thread show (before runtime exit) { "status": "completed", "runCount": 1, "pendingBackgroundTasks": [ { "taskId": "exec-7bfb2fcc-7ac2-4200-8965-fc5b1e86a45f", "kind": "command", "description": "/bin/bash -lc 'sleep 900; echo gate-done'" } ], "messages": [ { "role": "user", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "Use exec_command to run exactly: sleep 900; echo gate-done . Set yield_time_ms to 2000. After the tool returns a running session id, end this turn immediately and report that id. Do not poll, wait, kill, or launch any other work. If a later system notification says this command was cancelled or lost, acknowledge it and stop: do not restart the command." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "I\u2019ll run the exact command with the requested yield time, then stop as soon as it returns a running session ID." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "The command is still running. Session ID: `39649`." } ], "error": null } Verified: sleep 900 is running under this server’s direct Codex app-server child. $ kill -TERM (T3 server stays alive) T3 server alive: True; original sleep alive: False $ t3 thread show (15 seconds after runtime exit) { "status": "completed", "runCount": 2, "pendingBackgroundTasks": [], "messages": [ { "role": "user", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "Use exec_command to run exactly: sleep 900; echo gate-done . Set yield_time_ms to 2000. After the tool returns a running session id, end this turn immediately and report that id. Do not poll, wait, kill, or launch any other work. If a later system notification says this command was cancelled or lost, acknowledge it and stop: do not restart the command." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "I\u2019ll run the exact command with the requested yield time, then stop as soon as it returns a running session ID." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "The command is still running. Session ID: `39649`." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:2", "text": "The shell command was cancelled before it finished, so there\u2019s no result to report. I\u2019ll stop here as requested." } ], "error": null } $ t3 thread send --wait Call write_stdin on session 39649 with empty input exactly once. Report the tool result. Do not restart or launch any command. {"threadId":"mcp:d865dd2e-64ea-4ba1-b5ba-fa0e3198482f","runId":"run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:3","status":"completed","reply":"`write_stdin` failed: unknown process ID `39649`.","error":null} $ t3 thread show (final) { "status": "completed", "runCount": 3, "pendingBackgroundTasks": [], "messages": [ { "role": "user", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "Use exec_command to run exactly: sleep 900; echo gate-done . Set yield_time_ms to 2000. After the tool returns a running session id, end this turn immediately and report that id. Do not poll, wait, kill, or launch any other work. If a later system notification says this command was cancelled or lost, acknowledge it and stop: do not restart the command." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "I\u2019ll run the exact command with the requested yield time, then stop as soon as it returns a running session ID." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:1", "text": "The command is still running. Session ID: `39649`." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:2", "text": "The shell command was cancelled before it finished, so there\u2019s no result to report. I\u2019ll stop here as requested." }, { "role": "user", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:3", "text": "Call write_stdin on session 39649 with empty input exactly once. Report the tool result. Do not restart or launch any command." }, { "role": "assistant", "runId": "run:thread:mcp%3Ad865dd2e-64ea-4ba1-b5ba-fa0e3198482f:ordinal:3", "text": "`write_stdin` failed: unknown process ID `39649`." } ], "error": null }