test(ssh): supply the command envelope to the dash fixture

The SSH regression added on master invokes the remote wrapper without its stdin command envelope. The wrapper exits 125 before it can source any profile. Pass stdinPrefix to the fixture process so it exercises profile handling through the real wrapper contract.

The focused dash regression fails without the input and passes with it. Adapter-utils typecheck and all 44 monitor/task-detail tests pass after the master merge.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Devin FoleyandPaperclip committed 2026-12-04 17:54:33 -08:00
1 parent a554662d5c
commit e9fced7867
1 file changed
+1
@@ -625,6 +625,7 @@ describe("ssh env-lab fixture", () => {
const remoteCommandLine = String(target.args.at(-1) ?? "");
const output = execFileSync(dashPath!, ["-c", remoteCommandLine], {
encoding: "utf8",
input: target.stdinPrefix,
env: { HOME: homeDir, PATH: `${binDir}:/usr/bin:/bin` },
});