# SSH first-save failure: real desktop proof

Environment: Linux x86_64, Electron 44.10.1, 1100×780 app viewport, light theme; independent fresh local databases on base and head. The real OpenSSH server on loopback authenticates a disposable account using a generated key. Alias `t3repro` resolves to loopback, port 22, test user `t3proof45454`. No provider responses or services are mocked. Remote provisioning runs each checkout's built server via the supported `T3CODE_DEV_REMOTE_T3_SERVER_ENTRY_PATH` development option. Remote state is fresh for each side.

Build each checkout with `vp i`, install its Electron runtime, then `vp run --filter @t3tools/desktop build:bundle`. Start `T3CODE_DEV_SEED=0 vp run dev:web` and use its actual web port in `VITE_DEV_SERVER_URL`. Launch the built Electron main entry with isolated `T3CODE_HOME`, `XDG_CONFIG_HOME`, `XDG_DATA_HOME`, a free `T3CODE_PORT`, `--no-sandbox --disable-gpu --remote-debugging-port=<port>`. Run under `headless-desktop dbus-run-session --config-file=<no-secrets.conf> -- <launch-script>`. The nested session bus has no service activation directory and denies ownership of `org.freedesktop.secrets`, so the app's actual secure storage check fails.

Complete the initial welcome screen outside the recording. The driver uses Settings → Environments → List → Add environment → SSH → enter `t3repro` → Add environment. It waits for the actual secure-storage registration error, captures it, closes the dialog, confirms no saved remote environments, and observes the same original SSH PID/port for two minutes. The original forward is captured while provisioning; subsequent observations never resolve the alias again.

Run `node prove.cjs <before|after> <output-root> <CDP-port> <X-display> <Xauthority-file>` from the checkout root. It creates a timestamped output directory. `ss` establishes whether the captured PID is still listening on its original local port; a real HTTP request to that port independently checks reachability. The video is an X11 recording with a clearly separated observation panel generated from these readings. JSON observations provide the timestamps and PID/port values. The app itself is unmodified.

Base: 0303e6031106b19b97a80460598d4b546db127fb.
Head: 04ab9815cb3a2b3f603e9e958583131dc93eafe7.
