From 7dc03596dfcfcf5c2914050a295fd1d7f0b05c02 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sat, 28 Mar 2026 08:10:58 -0700 Subject: [PATCH] fix: setup auto-selects default after 10s timeout to prevent CI hangs Add -t 10 to the read command in the skill-prefix prompt. In CI, Docker, and Conductor workspaces where a TTY exists but nobody is watching, the prompt now auto-selects short names after 10 seconds instead of blocking forever. Co-Authored-By: stedfn Co-Authored-By: Claude Opus 4.6 (1M context) --- setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup b/setup index e624ecf8..e66a6df0 100755 --- a/setup +++ b/setup @@ -62,8 +62,8 @@ if [ "$SKILL_PREFIX_FLAG" -eq 0 ]; then echo " 2) Namespaced: /gstack-qa, /gstack-ship, /gstack-review" echo " Use this if you run other skill packs alongside gstack to avoid conflicts." echo "" - printf "Choice [1/2] (default: 1): " - read -r _prefix_choice /dev/null || _prefix_choice="" + printf "Choice [1/2] (default: 1, auto-selects in 10s): " + read -t 10 -r _prefix_choice /dev/null || _prefix_choice="" case "$_prefix_choice" in 2) SKILL_PREFIX=1 ;; *) SKILL_PREFIX=0 ;;