# Grok update proof driver

Surface: Linux x86_64 web client in Chromium, 1280x800 CSS pixels, DPR 2, light theme.
Both worktrees were installed with vp i and served with T3CODE_DEV_SEED=0 vp run dev.
Both had independently created databases and the same provider list: Codex, Claude, Grok, Replay (dev).
The real Grok 1.0.77 binary came from the official npm platform package; no updater was mocked.

Seed each side as seed-grok.mjs describes, using separate fixture directories and worktree settings files.
The initial download was extracted and decompressed with tar and Node's Brotli support, then copied
independently into each side's .grok/bin/grok-1.0.77 with a relative grok symlink.

## Primary interaction, repeated on base and head

Drive through T3's preview tools:
1. Pair with that server's startup link; open /settings/providers.
2. Select Grok via button[aria-label="Select Grok"].
3. Click Refresh provider status and wait for v1.0.77 and Update available.
4. Start a browser recording.
5. Open the second button[aria-label="Update available, view details"] (the detail-card header).
6. Click Update now. This invokes the actual Grok updater through the real server.
7. Close Settings using button[aria-label="Close"].
8. Observe [data-provider-update-main] until it changes from Updating Grok to the outcome.
9. Click that sidebar notice to reopen Settings, then select Grok.
10. On base, open the still-present update indicator to inspect the error; head has no indicator.
11. Move the pointer outside the modal, allow it to settle, take two screenshots 500 ms apart,
    verify they are byte-identical, and stop recording.

Observed base: Grok still needs an update; v1.0.77; outdated-version error in the popover.
Observed head: Grok updated: v1.0.88; v1.0.88; update indicator gone.

## Supplementary notification interaction, repeated on base and head

This app revision emits the success toast from Update all. Update now uses the sidebar notice above.
Reset the configured symlink to the real grok-1.0.77, refresh provider status, select Grok,
start recording, and click Update all with Grok as the only outdated provider.
Move the pointer outside the modal and observe the toast. After its entrance settles, take two
screenshots 500 ms apart and require identical bytes. Stop recording.

Observed base: Provider update failed, with the same outdated-version explanation.
Observed head: Provider updated; New sessions will use the updated provider.

All uploaded stills passed the exact-byte stability check. All stills and video contact sheets
were opened and visually inspected. Solid masks cover only machine labels; the fixture paths
are synthetic. No tests were used as proof.
