# Workspace literal filename comparison

Environment on both sides: Linux web dev server, Chromium preview browser, light theme, 1440 x 900 CSS pixels (2x screenshot scale), isolated fresh server databases, Replay (dev) default model. Each commit runs from its own checkout. All data is synthetic.

Base: 7380d2a73eebe36260fc05053d2bb97bc3b14c9e
Head: b9f5a47483a45f51a763bb77283f8fd0577f3541

## Seed

Save manual-literal-seed.ts in scripts/ in the checkout. Generate a binary, one-page PDF:

```sh
convert -size 600x400 xc:white -font DejaVu-Sans -pointsize 36 -fill black -annotate +45+100 'Quarterly report' report.pdf
```

Start a fresh isolated app with the repository helper (the home directory will be recreated; choose a disposable directory):

```sh
T3CODE_DEV_SEED=0 node scripts/scenarios/start-app.ts web <disposable-home> 127.0.0.1 <web-port>
node scripts/manual-literal-seed.ts <disposable-home> <output-json> <report.pdf>
```

The seed uses the real server API/CLI to create the project and Replay thread. It creates three identical two-line notes files with document-like prefixes, a notes.txt control, and identical binary PDFs at Q#4/report.pdf, Q?4/report.pdf and top.pdf. Use the browser-dev-token generated by start-app to authenticate through POST /api/auth/browser-session, then open threadPath from output-json.

## Browser steps (same on both commits)

1. Set the viewport to 1440 x 900 and retain the light theme.
2. Open the seeded thread directly by threadPath.
3. Press Ctrl+P, search spec.pdf#notes.txt, and select the exact path. Observe the pane.
4. Repeat for page.html#notes.txt and spec.pdf?notes.txt.
5. Search report.pdf and select Q#4/report.pdf. Observe the PDF and whether the toolbar offers Open file in preview browser.
6. Repeat for top.pdf, notes.txt and Q?4/report.pdf. These captures include the controls and an additional question-mark directory case.
7. Blur the focused element before capturing. Compare screenshots taken 550 ms apart using ImageMagick compare -metric AE; retain a capture only when the pixel difference is zero. Inspect each capture visually before uploading.

The PDF is rasterized by ImageMagick, so the visible Quarterly report title is not searchable DOM text. Wait for canvas[aria-label="Page 1"], then inspect the painted page.

## Observations

Base: all three document-prefixed .txt filenames show Unable to load file preview. Both delimiter-directory PDFs render via the generic File > report.pdf fallback and lack the preview-browser action. notes.txt and top.pdf work.

Head: all three .txt files show the two-line notes in the editor, with word-wrap/copy/save controls. Both delimiter-directory PDFs use the normal PDF frame and have the preview-browser action. Controls still work.

These are static routing/rendering observations, captured as still images. No provider behavior is under test.
