# SSH dangling ~/.t3 reproduction

Both sides run the production `launchOrReuseRemoteServer` and `issueRemotePairingToken` functions from their own checkout, over real localhost OpenSSH. No process, SSH response, runtime, or HTTP endpoint is mocked. The remote runtime is the official v0.1.10 Linux x64 release, downloaded and checksum-verified by the production archive launcher. The two source commits differ only by the fix.

Base: a1e7ac2b24f53e372fa5f9bcdd53c55c607e74ea
Head: d289b4a72b8beca3d753bcacba01796658a4742b

1. Install dependencies with `vp i` in each checkout.
2. Create disposable Linux account `proof39173`, with a fresh home and /bin/sh login shell. Authorize an SSH key for localhost; configure the local invoking account to use it and trust the localhost host key.
3. Set up `~/.t3 -> missing-target` in that disposable account home. Do not create missing-target.
4. Save driver.ts as packages/ssh/proof-driver.ts in both checkouts. Run it with Node 26, HOME set to the disposable home, and the SSH identity available to the invoking account. Pass the commit short SHA as its argument. In the captured runs the driver was run as the same disposable account, with read access to checkout dependencies.
5. On base observe SshCommandError, exit 1, mkdir File exists, and target still absent.
6. On head start from the identical dangling symlink and absent target. Observe managed server readiness, issuance of a pairing credential (redacted by driver), HTTP 200, installed runtime, and server-runtime.json.
7. Stop the server by the PID in that disposable home's server-runtime.json, remove the disposable user and its home.

The MP4s render timestamped stdout from the live commands; they are terminal recordings, not browser UI recordings. recording.json preserves each output event and its elapsed timestamp. PNGs show the final terminal output; two renders 500ms apart were identical.

No web or Electron connection form was exercised. Relative symlink was exercised; absolute symlink and direct pairing before any launch were not separately exercised.
