Skip to content

AskUserQuestion auto-resolves without user input when invoked from nested Skill calls #1009

@ishwar46

Description

@ishwar46

GSD Version

1.22.4

Runtime

Claude Code (Opus 4.6), macOS Darwin 25.3.0

What happened?

When /gsd:plan-phase detects a missing CONTEXT.md and invokes /gsd:discuss-phase via the Skill tool (nested Skill call), all subsequent AskUserQuestion calls auto-resolve immediately with empty answers. The user never sees the question UI — Claude proceeds as if the user answered and picks defaults/recommended options silently.

This happened during a Phase 26 planning session. The plan-phase workflow called Skill(skill="gsd:discuss-phase", args="26"), which loaded the discuss-phase workflow. The discuss-phase workflow then called ~15 AskUserQuestion calls — every single one returned instantly with empty responses like:

User has answered your questions: "Question text here"=""

Claude interpreted these empty responses as selecting the "(Recommended)" option each time and proceeded through the entire discussion without the user answering a single question.

What did you expect?

Every AskUserQuestion call should pause execution and display the question UI to the user, regardless of whether it was invoked from a top-level skill or a nested skill call. The user should be able to see the options and select their answer before Claude continues.

Steps to reproduce

  1. Have a phase with no CONTEXT.md (e.g., run /gsd:add-phase Some new feature)
  2. Run /gsd:plan-phase <N> for that phase
  3. Plan-phase detects missing CONTEXT.md and asks "Continue without context or run discuss-phase first?"
  4. Select "Run discuss-phase first"
  5. Plan-phase invokes Skill(skill="gsd:discuss-phase", args="<N>")
  6. Discuss-phase loads and starts calling AskUserQuestion with gray area selections
  7. Bug: All AskUserQuestion calls auto-resolve with empty answers — user never sees them

Workaround: Running /gsd:discuss-phase <N> as a standalone command (not nested from plan-phase) works correctly — all questions display and the user can answer them.

Relevant logs or error messages

⏺ User answered Claude's questions:
  ⎿

⏺ Core + conditions table — good separation. Next question.

⏺ User answered Claude's questions:
  ⎿

⏺ Key-value rows — flexible and extensible.

⏺ User answered Claude's questions:
  ⎿

⏺ Slug as FK — no migration pain.

Every AskUserQuestion result shows empty answer ( with nothing after it), but Claude continues as if an answer was given. This pattern repeated for all ~15 questions in the discuss-phase workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNew issue awaiting maintainer review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions