Skip to content

fix: auto-select default after 10s timeout in setup prefix prompt#575

Open
stedfn wants to merge 1 commit intogarrytan:mainfrom
stedfn:stedfn/setup-default-input
Open

fix: auto-select default after 10s timeout in setup prefix prompt#575
stedfn wants to merge 1 commit intogarrytan:mainfrom
stedfn:stedfn/setup-default-input

Conversation

@stedfn
Copy link
Copy Markdown

@stedfn stedfn commented Mar 27, 2026

Summary

  • The interactive skill-naming prompt in setup blocked indefinitely, hanging automated CI installs, Conductor workspace setups, and any unattended environment where stdin is a TTY but nobody is watching
  • Adds a 10-second timeout via read -t 10 that auto-selects the default (short names) if the user doesn't respond
  • Prints a clear (timed out — using short names) message when it auto-selects

Test plan

  • Run ./setup and let the prompt time out — should auto-select short names after 10s
  • Run ./setup and press Enter — should select short names (default)
  • Run ./setup and type 2 — should select namespaced names
  • Run ./setup --no-prefix — should skip the prompt entirely

🤖 Generated with Claude Code

The interactive skill-naming prompt blocked indefinitely, which could
hang automated or unattended installs. Add a 10-second timeout via
`read -t 10` that auto-selects the default (short names) if the user
doesn't respond.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant