# Claude native rename proof

Environment for both sides: Linux web client, Chromium, 1280 x 800 CSS pixels
(2560 x 1600 captured pixels), light theme, Claude Code 2.1.325,
claude-haiku-5-5. Each commit ran from its own checkout with dependencies
installed by `vp i`, a fresh database, and `T3CODE_DEV_SEED=0 vp run dev`.
No copied production data, replay provider, mocked frames, or test assertions.

Base: 5d1352d48a892ac4b5cdee511f43c179f78d6cc5.
Head: e9533c7c790e0230d0d561f5ab41ddb2f4d3f34e.

## Seed commands (run from each checkout)

`PROJECT` is a synthetic empty git repository created with `mkdir` and `git init`.
Enable a Claude Code provider instance named `claude` using driver `claudeAgent`.

```sh
node apps/server/src/bin.ts project add --base-dir .t3 "$PROJECT"
node apps/server/src/bin.ts thread start --base-dir .t3 --provider claude --model claude-haiku-5-5 --wait --json "$PROJECT" 'Reply only OK for this synthetic thread title synchronization demonstration.'
```

The returned thread id is opened directly in the paired web client, using its
environment id and URL-encoded thread id. The initial title is the entire seed
prompt; the sidebar visually truncates it.

## Browser driver, identical on base and head

Driven with T3 preview tools. Both final recordings show real user messages.

1. Open the seeded thread directly and wait for the initial `OK` reply.
2. Start preview recording.
3. Type `/rename Native Renamed Title 7731` into
   `[role="textbox"][contenteditable="true"]`; click
   `button[aria-label="Submit message"]`.
4. Wait for `Session renamed to: Native Renamed Title 7731`.
5. Type `Reply only OK again.` into the same composer, submit, and wait for `OK`
   and the send button to return.
6. Stop recording. Hide thread details, then save two screenshots separated by
   at least 500 ms. ImageMagick `compare -metric AE` returned 0 for each pair.
7. Run `collect-evidence.py CHECKOUT THREAD_ID OUTPUT_JSON` to read only the
   synthetic thread and its native JSONL custom-title entries.

Run the two Claude servers sequentially: Claude reserves names held by live
sessions. The first concurrent attempt gave a suffix; the final captures reran
with the exact requested title after stopping the other server. Earlier
synthetic calibration threads remain visible in the sidebar; the selected top
row and header belong to the final reproduction thread.

The recordings have only the environment label blanked for privacy (a white
rectangle at captured x=2050, y=146, width=400, height=66). The chat, header,
sidebar and original interaction timings are otherwise unchanged. Each video
ends with a 3-second hold of its separately captured final still, showing the
completed follow-up without a spinner. Final stills need no redaction.

Observed on base: native title changes, while T3 keeps the seed title through
the follow-up. Observed on head: native, sidebar and header titles all change to
`Native Renamed Title 7731` and stay there after the follow-up.

The scenario runner was not used because its replay agent speaks generic ACP;
this reproduction depends on native Claude protocol behavior.
