# Pending first-message slow-storage proof

Run the scenario from a current T3 Code main checkout with dependencies installed. Place the scenario in scripts/scenarios beside t3.ts. Place slowfs.py in a separate scratch folder and install fusepy beside it:

```sh
python3 -m pip install --target ./python fusepy
SLOW_STORAGE_DRIVER="$PWD/slowfs.py" T3CODE_DEV_SEED=0 vp run scenarios:prove scripts/scenarios/slow-storage-pending-first-message.e2e.ts --base 147028a265951e2a8893411a11717838b50cd464 --head 8728f41dc37abf521641c738a12349d640203062
```

Linux with /dev/fuse and fusermount3 is required. The fixture is an actual FUSE filesystem: each read blocks for three seconds, including the EOF read. The project config is a relative symlink to this filesystem mounted inside the project. Browser WebSocket observation passes every frame through immediately; no request or response is intercepted or delayed in the browser.

The real app runs with a fresh database and the free Replay (dev) provider. Both runs use Chromium, a 1280×800 viewport, and the light theme. The scenario seeds one project and an earlier replay thread to bypass onboarding, then opens the new-thread draft with that project's selection. It types First prompt, presses Enter once, and replaces it with Unsubmitted replacement without pressing Enter again.

Before: replacement becomes a sent user message; composer clears.
After: replacement stays in the composer; app asks the user to review and send again.
