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:
Lex Christopherson
2025-12-16 07:26:27 -06:00
parent 2aa1325435
commit 3d7b9657ca
2 changed files with 14 additions and 17 deletions

View File

@@ -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.
When you feel you understand it, offer the decision gate:
When you feel you understand it, use AskUserQuestion:
```
Header: "Ready?"
Options:
1. "Create PROJECT.md" - Finalize
2. "Ask more questions" - I'll dig deeper
3. "Let me add context" - User shares more
```
- header: "Ready?"
- question: "Ready to create PROJECT.md, or explore more?"
- options (ALL THREE REQUIRED):
- "Create PROJECT.md" - Finalize and continue
- "Ask more questions" - I'll dig deeper
- "Let me add context" - You have more to share
If "Ask more questions" → check coverage gaps from `questioning.md` → ask naturally → return to gate.
Loop until "Create PROJECT.md" selected.

View File

@@ -90,16 +90,14 @@ If gaps remain, weave questions naturally into the conversation. Don't suddenly
</coverage_check>
<decision_gate>
When you feel you understand the vision, offer the choice:
When you feel you understand the vision, use AskUserQuestion:
```
Header: "Ready?"
Question: "Ready to create PROJECT.md, or explore more?"
Options (ALL THREE REQUIRED):
1. "Create PROJECT.md" - Finalize and continue
2. "Ask more questions" - I'll dig into areas we haven't covered
3. "Let me add context" - You have more to share
```
- header: "Ready?"
- question: "Ready to create PROJECT.md, or explore more?"
- options (ALL THREE REQUIRED):
- "Create PROJECT.md" - Finalize and continue
- "Ask more questions" - I'll dig into areas we haven't covered
- "Let me add context" - You have more to share
If "Ask more questions" → identify gaps from coverage check → ask naturally → return to gate.