# Screenshot title reproduction

Run the real web app separately at base 7396f135ed67e52fe839c9867f78f7b2adc1d6f2 and head 1db386195a936e2d91a0ab62b540ad1ab11e795b, each in its own worktree after `vp i`.
Start each with `T3CODE_DEV_SEED=0 vp run dev`; use its isolated worktree state, not an existing database.

Set `textGenerationModelSelection` to `{"instanceId":"claudeAgent","model":"claude-haiku-5-5","options":[]}` in the worktree's settings.json. Use the installed real Claude CLI (2.1.327). An optional transparent logging wrapper records args/stdin/stdout without changing them.

Replay fixture setup: in `apps/server/scripts/dev-replay-agent.ts`, change ONLY `promptCapabilities: { image: false` to `promptCapabilities: { image: true` identically on both sides. The replay fixture does not inspect images or generate titles; this allows its canned chat turn to complete rather than rejecting the screenshot. The initial runs without this fixture adjustment also reproduced the title difference, but showed a separate Replay capability error.

For each side in the browser at 1280x800, light theme:
1. Pair using that dev server's pairing link.
2. Use the default `server` project and start a new thread.
3. Close the thread details panel, select Replay (dev) / Showcase for the chat turn.
4. Run `attach-and-type.js` with browser evaluation. It creates the same white 600x300 PNG with red text `Login button is BROKEN`, attaches it through the file input, and types `fix this` into the composer.
5. Click the Submit message button. The chat reply is prerecorded; title generation uses real Claude Haiku 5.5.
6. After completion, blur the composer and scroll `.messages-timeline-scroll` to 0 to show the screenshot and title together.
7. Record the interaction; take two stills 500ms apart and verify identical SHA256 hashes before retaining the second.

Observed initial title generation: base `Unclear Screenshot Fix Request`, needsRefinement true; head `Fix Broken Login Button`, needsRefinement false.
Observed repeated title generation with the Replay fixture adjusted: base `UI Fix Request From Screenshot`, needsRefinement true; head `Fix Broken Login Button`, needsRefinement false.

The call summary includes all four real Claude invocations. Base stdin contains only a text prompt ending in attachment metadata. Head stdin contains a stream-json user message with text plus one base64 PNG image block (17,420 base64 characters / 13,065 image bytes). The text prompt is otherwise identical.

No product implementation was changed, no tests were used as evidence, and no commits were created. Regenerated titles and branch names were not separately exercised.
