# Onboarding installer comparison

Run each commit in its own checkout and with a new state directory. Run prepare-manual.py with that directory as its only argument. Start the real web app with:

```sh
SHELL=/bin/sh T3CODE_DEV_SEED=0 T3CODE_ENVIRONMENT_LABEL=Demo T3CODE_ENVIRONMENT_MACHINE_KIND=laptop vp run dev --home-dir <state-directory>/t3
```

The seed enables only Claude among the real providers. Its HOME, PATH, and Claude configuration are isolated; PATH contains the new HOME's .local/bin plus /usr/bin and /bin. This makes the host's preinstalled Claude unavailable while letting the official installer put the real executable at its normal location. No CLI is mocked, and no database is copied. The dev runner also registers Replay (dev); no model turn is started.

Drive the real app through T3 Code's preview browser, using a 1280x900 viewport, light appearance, and the same controls on both commits:

1. Open the app's pairing link, wait for sign-in to finish, then navigate to /welcome.
2. Start a tab recording. Click Add more agents, then Install: Claude.
3. Wait for the review-command message and verify the focused element is Terminal input. The command is curl -fsSL https://claude.ai/install.sh | bash. Install is disabled while the terminal is open and the command runs.
4. Press Enter. Wait for the real installer to print Claude Code successfully installed, version 2.1.330, Installation complete, and return to the demo shell prompt.
5. Leave the install terminal open. Read button[aria-label="Sign in: Claude"].disabled and confirm the row says Not authenticated.
6. Capture the page. For the final still, click the page heading to defocus the blinking terminal cursor, then require two PNGs at least 500 ms apart to match byte-for-byte.
7. On the fix, click Sign in: Claude and verify the old install output is replaced by a fresh terminal containing claude auth login. The sign-in action is disabled again. Do not press Enter on that login command; OAuth completion is outside this reproduction.
8. On the base, a pointer click on Sign in is ignored. As a separate diagnostic, close the installation terminal: Sign in becomes enabled.

The compared stills and videos use the same crop and scaling. They retain the full installation output and provider row. Original browser viewport is 1280x900 at device scale 2; shared evidence is 1280x860 after removing the bottom 40 CSS pixels. No application state, status, or terminal text is edited.

Observed DOM states are in observations.json. The manual comparison is the proof; the unsuccessful scenario attempts are not counted as a verdict.
