# Direct reconnect with a publish-only route

Compared base 346c58c03d79dff5a1b870b68fbf252fb92d4c9c and head d5cbcbc65f6718ace2b6cb143295fd7efb3aa8dc.

Environment: Linux, real web development client, 1280x800 CSS pixels at 2x pixel density, light theme. Each side had its own checkout, server and fresh database. T3 Connect used the test stage. No production account or database was used. The direct transport was loopback HTTP to a second real T3 server, rather than Tailscale HTTPS. Host shutdown and startup were controlled through retained shell sessions, rather than systemd.

1. Install dependencies with vp i. Start the client checkout using T3CODE_DEV_SEED=0 and the stage public configuration. Use its generated pairing token to authenticate the browser.
2. Authenticate a fresh host data directory with the stage CLI account. Run connect link --publish-only --headless, then serve with label Remote demo and --dev-url pointing to the client. reproduce.sh records these host commands, parameterized for either checkout.
3. In the client, sign into the same stage account. Dismiss both onboarding steps (Not now, then Done).
4. In Settings > Environments, add the host by its direct address and one-time pairing code. Switch to List. In discovery, click Add route for that same environment's publish-only route.
5. Confirm the saved entry has a BearerConnectionTarget and an alternate RelayConnectionTarget. The UI displays Connected and 2 routes.
6. Start a recording. Stop only the host's retained shell process with Ctrl+C. Leave the browser untouched. Keep the host down for about 40 seconds, then start the identical serve command again with the same data directory and port. Do not click Reconnect, navigate, reload or focus another tab.
7. Observe for at least 35 seconds after the host's health endpoint returns HTTP 200. On base, the UI remains at attempt 2 with 'T3 Connect is not turned on for Remote demo'. On head, it advances through retry attempts (attempt 5 observed) and automatically returns to Connected.

Captures are cropped to the tested environment row to exclude unrelated shared test-stage entries. A blank privacy band covers space below the row in connected frames; connection text is preserved. Videos run at original speed. Final stills were taken twice more than 500 ms apart; the cropped pixels were identical on both sides.

The scenario attempt preceded this manual run and stopped in onboarding before the restart assertion. It is not evidence for either verdict.
