fix: restore AskUserQuestion for decision gate in questioning flow
Decision gate now explicitly uses AskUserQuestion tool, enabling the loop behavior where users can keep exploring before finalizing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -53,15 +53,14 @@ Let them talk. Then follow the conversation arc from `questioning.md`:
|
|||||||
|
|
||||||
Be a thinking partner, not an interviewer. Help them discover and articulate their vision.
|
Be a thinking partner, not an interviewer. Help them discover and articulate their vision.
|
||||||
|
|
||||||
When you feel you understand it, offer the decision gate:
|
When you feel you understand it, use AskUserQuestion:
|
||||||
|
|
||||||
```
|
- header: "Ready?"
|
||||||
Header: "Ready?"
|
- question: "Ready to create PROJECT.md, or explore more?"
|
||||||
Options:
|
- options (ALL THREE REQUIRED):
|
||||||
1. "Create PROJECT.md" - Finalize
|
- "Create PROJECT.md" - Finalize and continue
|
||||||
2. "Ask more questions" - I'll dig deeper
|
- "Ask more questions" - I'll dig deeper
|
||||||
3. "Let me add context" - User shares more
|
- "Let me add context" - You have more to share
|
||||||
```
|
|
||||||
|
|
||||||
If "Ask more questions" → check coverage gaps from `questioning.md` → ask naturally → return to gate.
|
If "Ask more questions" → check coverage gaps from `questioning.md` → ask naturally → return to gate.
|
||||||
Loop until "Create PROJECT.md" selected.
|
Loop until "Create PROJECT.md" selected.
|
||||||
|
|||||||
@@ -90,16 +90,14 @@ If gaps remain, weave questions naturally into the conversation. Don't suddenly
|
|||||||
</coverage_check>
|
</coverage_check>
|
||||||
|
|
||||||
<decision_gate>
|
<decision_gate>
|
||||||
When you feel you understand the vision, offer the choice:
|
When you feel you understand the vision, use AskUserQuestion:
|
||||||
|
|
||||||
```
|
- header: "Ready?"
|
||||||
Header: "Ready?"
|
- question: "Ready to create PROJECT.md, or explore more?"
|
||||||
Question: "Ready to create PROJECT.md, or explore more?"
|
- options (ALL THREE REQUIRED):
|
||||||
Options (ALL THREE REQUIRED):
|
- "Create PROJECT.md" - Finalize and continue
|
||||||
1. "Create PROJECT.md" - Finalize and continue
|
- "Ask more questions" - I'll dig into areas we haven't covered
|
||||||
2. "Ask more questions" - I'll dig into areas we haven't covered
|
- "Let me add context" - You have more to share
|
||||||
3. "Let me add context" - You have more to share
|
|
||||||
```
|
|
||||||
|
|
||||||
If "Ask more questions" → identify gaps from coverage check → ask naturally → return to gate.
|
If "Ask more questions" → identify gaps from coverage check → ask naturally → return to gate.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user