# Shared-agent force-stop reproduction

Run each revision with fresh isolated data and T3CODE_DEV_SEED=0. Use the web client at 1280 × 800 with the default light theme. Create an empty Git project titled Shared agent demo through the project add CLI. Start Thread A and Thread B with the server CLI, provider codex, model gpt-6.1-sol, reasoningEffort=low.

Thread A prompt: Run exactly this shell command and wait for it to finish: sleep 900. Do not run any other commands.

Thread B prompt: Run exactly this shell command and wait for it to finish: sleep 901. Do not run any other commands.

Open Thread B directly in the paired web app. Confirm via the process tree rooted at this test server that both sleeps have the same Codex app-server parent. Send SIGSTOP to that owned app-server. Start the browser recording. Click Stop generation, wait until Force stop appears, then click Force stop. Capture the toast immediately. Resume the owned app-server with SIGCONT for teardown.

Browser actions (the same on each side):

```js
document.querySelector('button[aria-label="Stop generation"]').click();
// After the real unresponsive-stop banner appears:
[...document.querySelectorAll('button')].find(e => e.textContent === 'Force stop').click();
```

The recordings show Stop, the real timeout, Force stop, and the resulting toast. Still images are extracted from each recording after finding identical decoded frames 500 ms apart. Both apps use 1280 × 800 CSS pixels and device scale factor 2 (2560 × 1600 captures).
