Seen 2026-08-10 on andy-partner (repo with the local-runtime contract).
worktree-dev.sh up mobile-ux-cesar --surface app --mode human forwards --mode human to bun run qa:local, but andy-partner's scripts/qa-local.ts accepts only repeated --surface <s> and throws Invalid QA launcher option: --mode, so the detached server dies right after setup (SERVER_DIED).
Either strip --mode before invoking qa:local, or only forward it to runtimes that accept it. Workaround used: rerun bun run qa:local -- --surface app manually inside the worktree.
Also hit the same session: the first up failed because the repo's root .env.local was absent in the main checkout (dangling apps/web/.env.local symlink), and copy-env-local.sh copied only spikes envs — a clearer error naming the missing root env would have saved a diagnosis loop.
Seen 2026-08-10 on andy-partner (repo with the local-runtime contract).
worktree-dev.sh up mobile-ux-cesar --surface app --mode humanforwards--mode humantobun run qa:local, but andy-partner'sscripts/qa-local.tsaccepts only repeated--surface <s>and throwsInvalid QA launcher option: --mode, so the detached server dies right after setup (SERVER_DIED).Either strip
--modebefore invokingqa:local, or only forward it to runtimes that accept it. Workaround used: rerunbun run qa:local -- --surface appmanually inside the worktree.Also hit the same session: the first
upfailed because the repo's root.env.localwas absent in the main checkout (danglingapps/web/.env.localsymlink), and copy-env-local.sh copied only spikes envs — a clearer error naming the missing root env would have saved a diagnosis loop.