@@ -171,37 +171,93 @@ After consolidator completes, read ONLY:
171171
172172## Phase 2: Scope Review (USER CHECKPOINT)
173173
174- Present to user:
174+ This phase walks the user through scope decisions one at a time using ` AskUserQuestion ` with structured options. Do NOT dump all requirements at once.
175+
176+ ### Step 2A: Show Summary
177+
178+ Display a brief overview (from scope-summary.md):
175179
176180```
177181## {STATE} {PROGRAM} — Scope Review
178182
179183**Complexity**: {Simple/Complex} ({N} requirements)
180184**Reference impl**: {path}
185+ ```
181186
187+ Then list requirements grouped by tag. Example:
188+
189+ ```
182190### Requirements Found ({N} total):
183- REQ-001: [ELIGIBILITY] Income <= 261% FPL (entry) — OAR 461-155-0180
184- REQ-002: [ELIGIBILITY] Income <= 300% FPL (transitional) — OAR 461-155-0180
185- REQ-003: [RESOURCE] Assets <= $1M — OAR 461-160-0015
186- REQ-004: [DEMOGRAPHIC] Child under 13 (under 19 if disabled) — OAR 461-120-0510
187- REQ-005: [IMMIGRATION] Child must be US citizen or qualified immigrant — 8 USC 1612
188- REQ-006: [BENEFIT] Co-payment 0%/2%/5%/7% by FPL tier — OAR 461-155-0150
189- REQ-007: [BENEFIT] Co-payment capped at 7% of income (federal) — 45 CFR 98.45
190- REQ-008: [EXEMPTION] RI Works families get $0 co-payment — DHS Policy Manual
191- REQ-009: [NOT-MODELED] 20 hrs/week work activity requirement — OAR 461-135-0400
192- ...
193191
194- Implement all? Or exclude any? (e.g., "Skip REQ-009, REQ-010")
192+ **Eligibility** ({X})
193+ REQ-001: Income <= 261% FPL (entry) — OAR 461-155-0180
194+ REQ-002: Income <= 300% FPL (transitional) — OAR 461-155-0180
195+
196+ **Benefit Calculation** ({X})
197+ REQ-006: Co-payment 0%/2%/5%/7% by FPL tier — OAR 461-155-0150
198+ REQ-007: Co-payment capped at 7% of income — 45 CFR 98.45
199+
200+ **Not Modeled** ({X})
201+ REQ-009: 20 hrs/week work activity requirement — OAR 461-135-0400
195202```
196203
197- Wait for user response via AskUserQuestion.
204+ ### Step 2B: Key Decisions (One at a Time)
205+
206+ For each key decision point identified in the scope summary, ask the user ONE question at a time using ` AskUserQuestion ` .
198207
199- User can say:
200- - "All" — implement everything (except NOT-MODELED)
201- - "Skip REQ-009, REQ-010" — orchestrator records exclusions
202- - Any other guidance
208+ ** Decision 1: Overall scope**
209+
210+ ```
211+ AskUserQuestion:
212+ Question: "Implement all {N} simulatable requirements? ({M} NOT-MODELED items will be excluded automatically)"
213+ Options:
214+ - "Yes, implement all" (default/recommended)
215+ - "Let me pick which to skip"
216+ ```
203217
204- Write the decision to ` /tmp/{PREFIX}-scope-decision.md ` :
218+ If user picks "Let me pick which to skip", present each questionable requirement group:
219+
220+ ```
221+ AskUserQuestion:
222+ Question: "Include {TAG} requirements?"
223+ Description: |
224+ REQ-XXX: {description}
225+ REQ-YYY: {description}
226+ Options:
227+ - "Yes, include all" (default)
228+ - "Skip these"
229+ - "Let me pick individually"
230+ ```
231+
232+ ** Decision 2+: Program-specific complexity decisions**
233+
234+ If the scope summary identifies key decision points (e.g., provider rates, simplified vs full approach), ask each as a separate question:
235+
236+ ```
237+ AskUserQuestion:
238+ Question: "{Decision description}"
239+ Description: "{Brief context — e.g., 'Provider rates have ~240 rate cells. Implementing now adds complexity.'}"
240+ Options:
241+ - "{Option A}" (recommended if applicable)
242+ - "{Option B}"
243+ - "{Option C if needed}"
244+ ```
245+
246+ Examples of program-specific decisions:
247+ - "Provider rates have ~ 240 rate cells — implement now or defer?"
248+ - "Defer to follow-up PR" (recommended)
249+ - "Implement now"
250+ - "TANF approach — simplified or full?"
251+ - "Simplified (eligibility + benefit amount)" (recommended)
252+ - "Full (all components)"
253+ - "13 income types have no PE equivalent — how to handle?"
254+ - "Map to closest existing variables" (recommended)
255+ - "Create new variables for each"
256+ - "Skip unmappable income types"
257+
258+ ### Step 2C: Write Scope Decision
259+
260+ After all questions are answered, write the decision to ` /tmp/{PREFIX}-scope-decision.md ` :
205261
206262``` markdown
207263## Scope Decision for {STATE} {PROGRAM}
@@ -213,7 +269,11 @@ REQ-002: [ELIGIBILITY] Income <= 300% FPL (transitional)
213269
214270### Excluded
215271REQ-009: [ NOT-MODELED] 20 hrs/week work activity — Reason: not simulatable
216- REQ-010: [ BENEFIT] Provider payment rates — Reason: user excluded
272+ REQ-010: [ BENEFIT] Provider payment rates — Reason: user deferred
273+
274+ ### Key Decisions
275+ - Provider rates: deferred to follow-up PR
276+ - Income variable gaps: map to closest existing variables
217277
218278### User Notes
219279{any additional guidance from user}
0 commit comments