Linux | real T3 server + CLI | Codex 0.171.0 | gpt-6-luna | fresh database Commit 73e6472545ff246fa3524018d7ac3684126f57ce $ 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:45c166fb-f724-4226-8370-7c9bcf9477aa", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:1", "status": "completed", "reply": "Command is still running in session `63582`.", "error": null } $ t3 thread show (before runtime exit) { "status": "completed", "runCount": 1, "pendingBackgroundTasks": [ { "taskId": "exec-771d5e4d-846b-4c8f-9bca-7b47ba5f4f70", "kind": "command", "description": "/bin/bash -lc 'sleep 900; echo gate-done'" } ], "messages": [ { "role": "user", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa: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%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:1", "text": "I\u2019ll run the exact command with the requested yield time, then stop as soon as it returns." }, { "role": "assistant", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:1", "text": "Command is still running in session `63582`." } ], "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": 1, "pendingBackgroundTasks": [], "messages": [ { "role": "user", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa: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%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:1", "text": "I\u2019ll run the exact command with the requested yield time, then stop as soon as it returns." }, { "role": "assistant", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:1", "text": "Command is still running in session `63582`." } ], "error": null } $ t3 thread send --wait Call write_stdin on session 63582 with empty input exactly once. Report the tool result. Do not restart or launch any command. {"threadId":"mcp:45c166fb-f724-4226-8370-7c9bcf9477aa","runId":"run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:2","status":"completed","reply":"`write_stdin` returned an error: unknown process id `63582`.","error":null} $ t3 thread show (final) { "status": "completed", "runCount": 2, "pendingBackgroundTasks": [], "messages": [ { "role": "user", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa: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%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:1", "text": "I\u2019ll run the exact command with the requested yield time, then stop as soon as it returns." }, { "role": "assistant", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:1", "text": "Command is still running in session `63582`." }, { "role": "user", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:2", "text": "Call write_stdin on session 63582 with empty input exactly once. Report the tool result. Do not restart or launch any command." }, { "role": "assistant", "runId": "run:thread:mcp%3A45c166fb-f724-4226-8370-7c9bcf9477aa:ordinal:2", "text": "`write_stdin` returned an error: unknown process id `63582`." } ], "error": null }