refactor(discuss-phase): domain-aware gray areas and deeper probing
- Remove useless "None — you decide" skip option - Generate phase-specific gray areas based on domain analysis (UI features, CLI tools, APIs, organization tasks, etc.) - Increase probing depth: 4 questions per area before check - Make context.md categories flexible (emerge from discussion) - Add CLI and organization examples to context template Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,10 +35,10 @@ Phase number: $ARGUMENTS (required)
|
|||||||
<process>
|
<process>
|
||||||
1. Validate phase number (error if missing or not in roadmap)
|
1. Validate phase number (error if missing or not in roadmap)
|
||||||
2. Check if CONTEXT.md exists (offer update/view/skip if yes)
|
2. Check if CONTEXT.md exists (offer update/view/skip if yes)
|
||||||
3. **Analyze phase** — Identify domain boundary and gray areas by category
|
3. **Analyze phase** — Identify domain and generate phase-specific gray areas
|
||||||
4. **Present gray areas** — Multi-select AskUserQuestion: which to discuss?
|
4. **Present gray areas** — Multi-select: which to discuss? (NO skip option)
|
||||||
5. **Deep-dive each area** — Loop per area until user says "move on"
|
5. **Deep-dive each area** — 4 questions per area, then offer more/next
|
||||||
6. **Write CONTEXT.md** — Structured by decisions made
|
6. **Write CONTEXT.md** — Sections match areas discussed
|
||||||
7. Offer next steps (research or plan)
|
7. Offer next steps (research or plan)
|
||||||
|
|
||||||
**CRITICAL: Scope guardrail**
|
**CRITICAL: Scope guardrail**
|
||||||
@@ -47,18 +47,27 @@ Phase number: $ARGUMENTS (required)
|
|||||||
- If user suggests new capabilities: "That's its own phase. I'll note it for later."
|
- If user suggests new capabilities: "That's its own phase. I'll note it for later."
|
||||||
- Capture deferred ideas — don't lose them, don't act on them
|
- Capture deferred ideas — don't lose them, don't act on them
|
||||||
|
|
||||||
**Gray area categories (use what's relevant):**
|
**Domain-aware gray areas:**
|
||||||
- **UI** — Layout, visual presentation, information density
|
Gray areas depend on what's being built. Analyze the phase goal:
|
||||||
- **UX** — Interactions, flows, feedback
|
- Something users SEE → layout, density, interactions, states
|
||||||
- **Behavior** — Runtime behavior, state changes
|
- Something users CALL → responses, errors, auth, versioning
|
||||||
- **Empty/Edge States** — What shows in unusual situations
|
- Something users RUN → output format, flags, modes, error handling
|
||||||
- **Content** — What information is shown/hidden
|
- Something users READ → structure, tone, depth, flow
|
||||||
|
- Something being ORGANIZED → criteria, grouping, naming, exceptions
|
||||||
|
|
||||||
**Do NOT ask about (downstream agents handle these):**
|
Generate 3-4 **phase-specific** gray areas, not generic categories.
|
||||||
- Technical implementation (researcher investigates)
|
|
||||||
- Architecture choices (planner decides)
|
**Probing depth:**
|
||||||
- Performance concerns (researcher/planner handle)
|
- Ask 4 questions per area before checking
|
||||||
- Scope expansion (roadmap defines scope)
|
- "More questions about [area], or move to next?"
|
||||||
|
- If more → ask 4 more, check again
|
||||||
|
- After all areas → "Ready to create context?"
|
||||||
|
|
||||||
|
**Do NOT ask about (Claude handles these):**
|
||||||
|
- Technical implementation
|
||||||
|
- Architecture choices
|
||||||
|
- Performance concerns
|
||||||
|
- Scope expansion
|
||||||
</process>
|
</process>
|
||||||
|
|
||||||
<success_criteria>
|
<success_criteria>
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ Template for `.planning/phases/XX-name/{phase}-CONTEXT.md` - captures implementa
|
|||||||
|
|
||||||
**Purpose:** Document decisions that downstream agents need. Researcher uses this to know WHAT to investigate. Planner uses this to know WHAT choices are locked vs flexible.
|
**Purpose:** Document decisions that downstream agents need. Researcher uses this to know WHAT to investigate. Planner uses this to know WHAT choices are locked vs flexible.
|
||||||
|
|
||||||
|
**Key principle:** Categories are NOT predefined. They emerge from what was actually discussed for THIS phase. A CLI phase has CLI-relevant sections, a UI phase has UI-relevant sections.
|
||||||
|
|
||||||
**Downstream consumers:**
|
**Downstream consumers:**
|
||||||
- `gsd-phase-researcher` — Reads decisions to focus research (e.g., "card layout" → research card component patterns)
|
- `gsd-phase-researcher` — Reads decisions to focus research (e.g., "card layout" → research card component patterns)
|
||||||
- `gsd-planner` — Reads decisions to create specific tasks (e.g., "infinite scroll" → task includes virtualization)
|
- `gsd-planner` — Reads decisions to create specific tasks (e.g., "infinite scroll" → task includes virtualization)
|
||||||
@@ -28,11 +30,14 @@ Template for `.planning/phases/XX-name/{phase}-CONTEXT.md` - captures implementa
|
|||||||
<decisions>
|
<decisions>
|
||||||
## Implementation Decisions
|
## Implementation Decisions
|
||||||
|
|
||||||
### [Category discussed, e.g., UI]
|
### [Area 1 that was discussed]
|
||||||
- [Specific decision made]
|
- [Specific decision made]
|
||||||
- [Another decision if applicable]
|
- [Another decision if applicable]
|
||||||
|
|
||||||
### [Category discussed, e.g., Behavior]
|
### [Area 2 that was discussed]
|
||||||
|
- [Specific decision made]
|
||||||
|
|
||||||
|
### [Area 3 that was discussed]
|
||||||
- [Specific decision made]
|
- [Specific decision made]
|
||||||
|
|
||||||
### Claude's Discretion
|
### Claude's Discretion
|
||||||
@@ -65,6 +70,9 @@ Template for `.planning/phases/XX-name/{phase}-CONTEXT.md` - captures implementa
|
|||||||
```
|
```
|
||||||
|
|
||||||
<good_examples>
|
<good_examples>
|
||||||
|
|
||||||
|
**Example 1: Visual feature (Post Feed)**
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
# Phase 3: Post Feed - Context
|
# Phase 3: Post Feed - Context
|
||||||
|
|
||||||
@@ -81,18 +89,17 @@ Display posts from followed users in a scrollable feed. Users can view posts and
|
|||||||
<decisions>
|
<decisions>
|
||||||
## Implementation Decisions
|
## Implementation Decisions
|
||||||
|
|
||||||
### UI
|
### Layout style
|
||||||
- Card-based layout, not timeline or list
|
- Card-based layout, not timeline or list
|
||||||
- Each card shows: author avatar, name, timestamp, full post content, reaction counts
|
- Each card shows: author avatar, name, timestamp, full post content, reaction counts
|
||||||
- Cards have subtle shadows, rounded corners — modern feel
|
- Cards have subtle shadows, rounded corners — modern feel
|
||||||
- Show 10 posts initially, load more on scroll
|
|
||||||
|
|
||||||
### Behavior
|
### Loading behavior
|
||||||
- Infinite scroll, not pagination
|
- Infinite scroll, not pagination
|
||||||
- Pull-to-refresh on mobile
|
- Pull-to-refresh on mobile
|
||||||
- New posts indicator at top ("3 new posts") rather than auto-inserting
|
- New posts indicator at top ("3 new posts") rather than auto-inserting
|
||||||
|
|
||||||
### Empty State
|
### Empty state
|
||||||
- Friendly illustration + "Follow people to see posts here"
|
- Friendly illustration + "Follow people to see posts here"
|
||||||
- Suggest 3-5 accounts to follow based on interests
|
- Suggest 3-5 accounts to follow based on interests
|
||||||
|
|
||||||
@@ -108,7 +115,6 @@ Display posts from followed users in a scrollable feed. Users can view posts and
|
|||||||
|
|
||||||
- "I like how Twitter shows the new posts indicator without disrupting your scroll position"
|
- "I like how Twitter shows the new posts indicator without disrupting your scroll position"
|
||||||
- Cards should feel like Linear's issue cards — clean, not cluttered
|
- Cards should feel like Linear's issue cards — clean, not cluttered
|
||||||
- No infinite scroll fatigue — maybe show "You're all caught up" after ~50 posts
|
|
||||||
|
|
||||||
</specifics>
|
</specifics>
|
||||||
|
|
||||||
@@ -116,7 +122,6 @@ Display posts from followed users in a scrollable feed. Users can view posts and
|
|||||||
## Deferred Ideas
|
## Deferred Ideas
|
||||||
|
|
||||||
- Commenting on posts — Phase 5
|
- Commenting on posts — Phase 5
|
||||||
- Reaction picker (not just counts) — Phase 5
|
|
||||||
- Bookmarking posts — add to backlog
|
- Bookmarking posts — add to backlog
|
||||||
|
|
||||||
</deferred>
|
</deferred>
|
||||||
@@ -126,6 +131,131 @@ Display posts from followed users in a scrollable feed. Users can view posts and
|
|||||||
*Phase: 03-post-feed*
|
*Phase: 03-post-feed*
|
||||||
*Context gathered: 2025-01-20*
|
*Context gathered: 2025-01-20*
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Example 2: CLI tool (Database backup)**
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
# Phase 2: Backup Command - Context
|
||||||
|
|
||||||
|
**Gathered:** 2025-01-20
|
||||||
|
**Status:** Ready for planning
|
||||||
|
|
||||||
|
<domain>
|
||||||
|
## Phase Boundary
|
||||||
|
|
||||||
|
CLI command to backup database to local file or S3. Supports full and incremental backups. Restore command is a separate phase.
|
||||||
|
|
||||||
|
</domain>
|
||||||
|
|
||||||
|
<decisions>
|
||||||
|
## Implementation Decisions
|
||||||
|
|
||||||
|
### Output format
|
||||||
|
- JSON for programmatic use, table format for humans
|
||||||
|
- Default to table, --json flag for JSON
|
||||||
|
- Verbose mode (-v) shows progress, silent by default
|
||||||
|
|
||||||
|
### Flag design
|
||||||
|
- Short flags for common options: -o (output), -v (verbose), -f (force)
|
||||||
|
- Long flags for clarity: --incremental, --compress, --encrypt
|
||||||
|
- Required: database connection string (positional or --db)
|
||||||
|
|
||||||
|
### Error recovery
|
||||||
|
- Retry 3 times on network failure, then fail with clear message
|
||||||
|
- --no-retry flag to fail fast
|
||||||
|
- Partial backups are deleted on failure (no corrupt files)
|
||||||
|
|
||||||
|
### Claude's Discretion
|
||||||
|
- Exact progress bar implementation
|
||||||
|
- Compression algorithm choice
|
||||||
|
- Temp file handling
|
||||||
|
|
||||||
|
</decisions>
|
||||||
|
|
||||||
|
<specifics>
|
||||||
|
## Specific Ideas
|
||||||
|
|
||||||
|
- "I want it to feel like pg_dump — familiar to database people"
|
||||||
|
- Should work in CI pipelines (exit codes, no interactive prompts)
|
||||||
|
|
||||||
|
</specifics>
|
||||||
|
|
||||||
|
<deferred>
|
||||||
|
## Deferred Ideas
|
||||||
|
|
||||||
|
- Scheduled backups — separate phase
|
||||||
|
- Backup rotation/retention — add to backlog
|
||||||
|
|
||||||
|
</deferred>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
*Phase: 02-backup-command*
|
||||||
|
*Context gathered: 2025-01-20*
|
||||||
|
```
|
||||||
|
|
||||||
|
**Example 3: Organization task (Photo library)**
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
# Phase 1: Photo Organization - Context
|
||||||
|
|
||||||
|
**Gathered:** 2025-01-20
|
||||||
|
**Status:** Ready for planning
|
||||||
|
|
||||||
|
<domain>
|
||||||
|
## Phase Boundary
|
||||||
|
|
||||||
|
Organize existing photo library into structured folders. Handle duplicates and apply consistent naming. Tagging and search are separate phases.
|
||||||
|
|
||||||
|
</domain>
|
||||||
|
|
||||||
|
<decisions>
|
||||||
|
## Implementation Decisions
|
||||||
|
|
||||||
|
### Grouping criteria
|
||||||
|
- Primary grouping by year, then by month
|
||||||
|
- Events detected by time clustering (photos within 2 hours = same event)
|
||||||
|
- Event folders named by date + location if available
|
||||||
|
|
||||||
|
### Duplicate handling
|
||||||
|
- Keep highest resolution version
|
||||||
|
- Move duplicates to _duplicates folder (don't delete)
|
||||||
|
- Log all duplicate decisions for review
|
||||||
|
|
||||||
|
### Naming convention
|
||||||
|
- Format: YYYY-MM-DD_HH-MM-SS_originalname.ext
|
||||||
|
- Preserve original filename as suffix for searchability
|
||||||
|
- Handle name collisions with incrementing suffix
|
||||||
|
|
||||||
|
### Claude's Discretion
|
||||||
|
- Exact clustering algorithm
|
||||||
|
- How to handle photos with no EXIF data
|
||||||
|
- Folder emoji usage
|
||||||
|
|
||||||
|
</decisions>
|
||||||
|
|
||||||
|
<specifics>
|
||||||
|
## Specific Ideas
|
||||||
|
|
||||||
|
- "I want to be able to find photos by roughly when they were taken"
|
||||||
|
- Don't delete anything — worst case, move to a review folder
|
||||||
|
|
||||||
|
</specifics>
|
||||||
|
|
||||||
|
<deferred>
|
||||||
|
## Deferred Ideas
|
||||||
|
|
||||||
|
- Face detection grouping — future phase
|
||||||
|
- Cloud sync — out of scope for now
|
||||||
|
|
||||||
|
</deferred>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
*Phase: 01-photo-organization*
|
||||||
|
*Context gathered: 2025-01-20*
|
||||||
|
```
|
||||||
|
|
||||||
</good_examples>
|
</good_examples>
|
||||||
|
|
||||||
<guidelines>
|
<guidelines>
|
||||||
@@ -133,11 +263,11 @@ Display posts from followed users in a scrollable feed. Users can view posts and
|
|||||||
|
|
||||||
The output should answer: "What does the researcher need to investigate? What choices are locked for the planner?"
|
The output should answer: "What does the researcher need to investigate? What choices are locked for the planner?"
|
||||||
|
|
||||||
**Good content:**
|
**Good content (concrete decisions):**
|
||||||
- "Card-based layout, not timeline"
|
- "Card-based layout, not timeline"
|
||||||
- "Infinite scroll with pull-to-refresh"
|
- "Retry 3 times on network failure, then fail"
|
||||||
- "Show 10 posts initially"
|
- "Group by year, then by month"
|
||||||
- "New posts indicator rather than auto-insert"
|
- "JSON for programmatic use, table for humans"
|
||||||
|
|
||||||
**Bad content (too vague):**
|
**Bad content (too vague):**
|
||||||
- "Should feel modern and clean"
|
- "Should feel modern and clean"
|
||||||
@@ -148,7 +278,7 @@ The output should answer: "What does the researcher need to investigate? What ch
|
|||||||
**Sections explained:**
|
**Sections explained:**
|
||||||
|
|
||||||
- **Domain** — The scope anchor. Copied/derived from ROADMAP.md. Fixed boundary.
|
- **Domain** — The scope anchor. Copied/derived from ROADMAP.md. Fixed boundary.
|
||||||
- **Decisions** — Organized by category (UI, UX, Behavior, etc.). Actual choices made.
|
- **Decisions** — Organized by areas discussed (NOT predefined categories). Section headers come from the actual discussion — "Layout style", "Flag design", "Grouping criteria", etc.
|
||||||
- **Claude's Discretion** — Explicit acknowledgment of what Claude can decide during implementation.
|
- **Claude's Discretion** — Explicit acknowledgment of what Claude can decide during implementation.
|
||||||
- **Specifics** — Product references, examples, "like X but..." statements.
|
- **Specifics** — Product references, examples, "like X but..." statements.
|
||||||
- **Deferred** — Ideas captured but explicitly out of scope. Prevents scope creep while preserving good ideas.
|
- **Deferred** — Ideas captured but explicitly out of scope. Prevents scope creep while preserving good ideas.
|
||||||
|
|||||||
@@ -66,23 +66,44 @@ For now, let's focus on [phase domain]."
|
|||||||
Capture the idea in a "Deferred Ideas" section. Don't lose it, don't act on it.
|
Capture the idea in a "Deferred Ideas" section. Don't lose it, don't act on it.
|
||||||
</scope_guardrail>
|
</scope_guardrail>
|
||||||
|
|
||||||
<gray_area_categories>
|
<gray_area_identification>
|
||||||
Use these categories when analyzing a phase. Not all apply to every phase.
|
Gray areas are **implementation decisions the user cares about** — things that could go multiple ways and would change the result.
|
||||||
|
|
||||||
| Category | What it clarifies | Example questions |
|
**How to identify gray areas:**
|
||||||
|----------|-------------------|-------------------|
|
|
||||||
| **UI** | Visual presentation, layout, information density | "Card-based or list view?" "What info shows on each item?" |
|
|
||||||
| **UX** | Interactions, flows, feedback | "How does loading work?" "What happens when you tap X?" |
|
|
||||||
| **Behavior** | Runtime behavior, state changes | "Auto-refresh or manual?" "How does pagination work?" |
|
|
||||||
| **Empty/Edge States** | What shows in unusual situations | "What appears with no data?" "How do errors display?" |
|
|
||||||
| **Content** | What information is shown/hidden | "Show timestamps?" "How much preview text?" |
|
|
||||||
|
|
||||||
**Categories to AVOID:**
|
1. **Read the phase goal** from ROADMAP.md
|
||||||
- **Scope** — The roadmap defines scope, not discussion
|
2. **Understand the domain** — What kind of thing is being built?
|
||||||
- **Technical** — You figure out implementation
|
- Something users SEE → visual presentation, interactions, states matter
|
||||||
- **Architecture** — You decide patterns
|
- Something users CALL → interface contracts, responses, errors matter
|
||||||
- **Performance** — You handle optimization
|
- Something users RUN → invocation, output, behavior modes matter
|
||||||
</gray_area_categories>
|
- Something users READ → structure, tone, depth, flow matter
|
||||||
|
- Something being ORGANIZED → criteria, grouping, handling exceptions matter
|
||||||
|
3. **Generate phase-specific gray areas** — Not generic categories, but concrete decisions for THIS phase
|
||||||
|
|
||||||
|
**Don't use generic category labels** (UI, UX, Behavior). Generate specific gray areas:
|
||||||
|
|
||||||
|
```
|
||||||
|
Phase: "User authentication"
|
||||||
|
→ Session handling, Error responses, Multi-device policy, Recovery flow
|
||||||
|
|
||||||
|
Phase: "Organize photo library"
|
||||||
|
→ Grouping criteria, Duplicate handling, Naming convention, Folder structure
|
||||||
|
|
||||||
|
Phase: "CLI for database backups"
|
||||||
|
→ Output format, Flag design, Progress reporting, Error recovery
|
||||||
|
|
||||||
|
Phase: "API documentation"
|
||||||
|
→ Structure/navigation, Code examples depth, Versioning approach, Interactive elements
|
||||||
|
```
|
||||||
|
|
||||||
|
**The key question:** What decisions would change the outcome that the user should weigh in on?
|
||||||
|
|
||||||
|
**Claude handles these (don't ask):**
|
||||||
|
- Technical implementation details
|
||||||
|
- Architecture patterns
|
||||||
|
- Performance optimization
|
||||||
|
- Scope (roadmap defines this)
|
||||||
|
</gray_area_identification>
|
||||||
|
|
||||||
<process>
|
<process>
|
||||||
|
|
||||||
@@ -169,47 +190,79 @@ We'll clarify HOW to implement this.
|
|||||||
|
|
||||||
**Then use AskUserQuestion (multiSelect: true):**
|
**Then use AskUserQuestion (multiSelect: true):**
|
||||||
- header: "Discuss"
|
- header: "Discuss"
|
||||||
- question: "Which areas do you want to discuss?"
|
- question: "Which areas do you want to discuss for [phase name]?"
|
||||||
- options: Generate 2-4 based on your analysis, each formatted as:
|
- options: Generate 3-4 phase-specific gray areas, each formatted as:
|
||||||
- "[Category] — [Specific gray area question]"
|
- "[Specific area]" (label) — concrete, not generic
|
||||||
- Last option always: "None — you decide, proceed to planning"
|
- [1-2 questions this covers] (description)
|
||||||
|
|
||||||
**Example options:**
|
**Do NOT include a "skip" or "you decide" option.** User ran this command to discuss — give them real choices.
|
||||||
|
|
||||||
|
**Examples by domain:**
|
||||||
|
|
||||||
|
For "Post Feed" (visual feature):
|
||||||
```
|
```
|
||||||
☐ UI — Card layout or timeline? How much of each post shows?
|
☐ Layout style — Cards vs list vs timeline? Information density?
|
||||||
☐ Behavior — Infinite scroll or pagination? Pull to refresh?
|
☐ Loading behavior — Infinite scroll or pagination? Pull to refresh?
|
||||||
☐ Empty state — What appears when there are no posts?
|
☐ Content ordering — Chronological, algorithmic, or user choice?
|
||||||
☐ None — You decide, proceed to planning
|
☐ Post metadata — What info per post? Timestamps, reactions, author?
|
||||||
```
|
```
|
||||||
|
|
||||||
If user selects "None": Skip to write_context with minimal context.
|
For "Database backup CLI" (command-line tool):
|
||||||
Otherwise: Continue to discuss_areas with selected areas.
|
```
|
||||||
|
☐ Output format — JSON, table, or plain text? Verbosity levels?
|
||||||
|
☐ Flag design — Short flags, long flags, or both? Required vs optional?
|
||||||
|
☐ Progress reporting — Silent, progress bar, or verbose logging?
|
||||||
|
☐ Error recovery — Fail fast, retry, or prompt for action?
|
||||||
|
```
|
||||||
|
|
||||||
|
For "Organize photo library" (organization task):
|
||||||
|
```
|
||||||
|
☐ Grouping criteria — By date, location, faces, or events?
|
||||||
|
☐ Duplicate handling — Keep best, keep all, or prompt each time?
|
||||||
|
☐ Naming convention — Original names, dates, or descriptive?
|
||||||
|
☐ Folder structure — Flat, nested by year, or by category?
|
||||||
|
```
|
||||||
|
|
||||||
|
Continue to discuss_areas with selected areas.
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step name="discuss_areas">
|
<step name="discuss_areas">
|
||||||
For each selected area, conduct a focused discussion loop.
|
For each selected area, conduct a focused discussion loop.
|
||||||
|
|
||||||
|
**Philosophy: 4 questions, then check.**
|
||||||
|
|
||||||
|
Ask 4 questions per area before offering to continue or move on. Each answer often reveals the next question.
|
||||||
|
|
||||||
**For each area:**
|
**For each area:**
|
||||||
|
|
||||||
1. **Announce the area:**
|
1. **Announce the area:**
|
||||||
```
|
```
|
||||||
Let's talk about [Category].
|
Let's talk about [Area].
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Ask focused questions using AskUserQuestion:**
|
2. **Ask 4 questions using AskUserQuestion:**
|
||||||
- header: "[Category]"
|
- header: "[Area]"
|
||||||
- question: Specific question about that gray area
|
- question: Specific decision for this area
|
||||||
- options: 2-3 concrete choices + "Let me describe" + "You decide"
|
- options: 2-3 concrete choices (AskUserQuestion adds "Other" automatically)
|
||||||
|
- Include "You decide" as an option when reasonable — captures Claude discretion
|
||||||
|
|
||||||
3. **Follow up based on response:**
|
3. **After 4 questions, check:**
|
||||||
- If they chose an option: Capture it, ask if there's more about this area
|
- header: "[Area]"
|
||||||
- If "Let me describe": Receive their input, reflect it back, confirm understanding
|
- question: "More questions about [area], or move to next?"
|
||||||
- If "You decide": Note that Claude has discretion here
|
- options: "More questions" / "Next area"
|
||||||
|
|
||||||
4. **Loop control — Always offer:**
|
If "More questions" → ask 4 more, then check again
|
||||||
- "Ask more about [Category]" — Continue probing this area
|
If "Next area" → proceed to next selected area
|
||||||
- "Move to next area" — Done with this category
|
|
||||||
- "That's enough, create context" — Done with all discussion
|
4. **After all areas complete:**
|
||||||
|
- header: "Done"
|
||||||
|
- question: "That covers [list areas]. Ready to create context?"
|
||||||
|
- options: "Create context" / "Revisit an area"
|
||||||
|
|
||||||
|
**Question design:**
|
||||||
|
- Options should be concrete, not abstract ("Cards" not "Option A")
|
||||||
|
- Each answer should inform the next question
|
||||||
|
- If user picks "Other", receive their input, reflect it back, confirm
|
||||||
|
|
||||||
**Scope creep handling:**
|
**Scope creep handling:**
|
||||||
If user mentions something outside the phase domain:
|
If user mentions something outside the phase domain:
|
||||||
@@ -217,14 +270,10 @@ If user mentions something outside the phase domain:
|
|||||||
"[Feature] sounds like a new capability — that belongs in its own phase.
|
"[Feature] sounds like a new capability — that belongs in its own phase.
|
||||||
I'll note it as a deferred idea.
|
I'll note it as a deferred idea.
|
||||||
|
|
||||||
Back to [current domain]: [return to current question]"
|
Back to [current area]: [return to current question]"
|
||||||
```
|
```
|
||||||
|
|
||||||
Track deferred ideas internally.
|
Track deferred ideas internally.
|
||||||
|
|
||||||
**Continue until:**
|
|
||||||
- User says "Move to next area" and all selected areas are done, OR
|
|
||||||
- User says "That's enough, create context"
|
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step name="write_context">
|
<step name="write_context">
|
||||||
|
|||||||
Reference in New Issue
Block a user