/** * @fileoverview Tests for remote (SSH) file access (`src/remote-files.ts`). * * Two layers are covered: * * 1. PURE builders/parsers — command construction, escaping and probe parsing, no * connection involved. * 2. The probe SCRIPT itself, executed by a real `/bin/sh` against a real temp * directory. The remote shell is the one place where a quoting mistake becomes an * injection, and it cannot be exercised by an ssh-less unit test any other way: the * script IS the remote command, so `sh -c