The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): fakeSsh's spawn-payload comment joins the line it explains
Teknium3b4a8911741a
diff --git a/apps/desktop/electron/remote-lifecycle.test.ts b/apps/desktop/electron/remote-lifecycle.test.tsindex fc8ab96325d..bdd76274b0e 100644--- a/apps/desktop/electron/remote-lifecycle.test.ts+++ b/apps/desktop/electron/remote-lifecycle.test.ts@@ -100,8 +100,7 @@ function fakeSsh(rules: any[] = []) {// Existing lifecycle fixtures predate the install-wide relaunch gate.// Their default remote has no update marker; focused marker tests below// use explicit SSH doubles to exercise live/uncertain transitions.- // The spawn payload (setsid/nohup) runs under the same marker gate as the relaunch probe.- const mutexWrapped = /setsid|nohup/.test(cmd)+ const mutexWrapped = /setsid|nohup/.test(cmd) // spawn payloads run under the relaunch probe's marker gateif (cmd.includes('.hermes-update-in-progress') && !mutexWrapped) {return 'CLEAR'