From df5fa1e633800cb7492eaaab45f43cf0a00fab66 Mon Sep 17 00:00:00 2001 From: Justin Giancola Date: Mon, 6 Jul 2026 12:31:43 -0400 Subject: [PATCH 1/3] feat(cmux): guarded launch scripts + async launch verify/retry loop Launch commands typed into a freshly split pane race against the pane shell's own startup: direnv/devenv/zsh init can flush the tty input queue and silently discard the typeahead (repro'd 100% in a devenv repo with the default 500ms delay). A fixed post-split delay can never be reliable. Instead, verify and retry: - sendLongCommand() now writes launch scripts with an idempotency guard as the first executable lines: the script exits if '