# Codex reply retry proof

Both sides run the real web app and real Codex CLI 0.172.0, model GPT-6.1-Sol, low reasoning, on Linux in Chromium at 1280x800 with the light theme. Each checkout starts with its own empty database (`T3CODE_DEV_SEED=0`). A synthetic git project is registered through the CLI; the same prompt is submitted through the CLI, which invokes the real server and Codex adapter.

Prompt: `ZEBRA: Do not use any tools or run any commands. Reply directly with a 300-word essay about tide pools.`

`proxy.py` forwards the actual provider stream unchanged and closes the first marked stream after its twentieth `response.output_text.delta`. It does not generate responses or protocol events. Start it with `PROOF_UPSTREAM` set to your real upstream origin, without `/v1`. Point a scratch Codex home's `openai_base_url` at `http://127.0.0.1:18778/v1`, provide that home's own valid authentication, and start the app with `CODEX_HOME` pointing there. Restart the proxy before each run to re-arm its one cut.

`reproduce.sh` registers the synthetic project and starts the turn. Pair the browser, open the resulting thread, close the sidebar and details panel, record recovery, and reload after completion. Scroll to the top to inspect whether the truncated reply survives. Recordings include recovery and reload; the base recording is trimmed to the recovery portion. Head was repeated with the same prompt and fault for a clean recording. The static head capture is from the preceding successful run.

Base 3763606d20: the abandoned draft ending `Along rocky shores, seaw` remains above the full essay after completion and reload.

Head cf2a8487fb: the draft remains visible during retry, then disappears when the replacement completes. After reload there is one nonempty essay. Both head runs gave that result.

The JSONL files contain only proxy cut/completion counters. Actual essays differ because these are independent real model requests.
