You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix review-fix loop skipping and narrow reference search
Phase 6: Replace conditional while-loop with 3 explicitly named rounds
(6.1, 6.2, 6.3). The orchestrator can no longer skip re-reviews after
fixes — each round is a mandatory named step, not a loop iteration.
Consolidator: Search for reference implementations by concept keywords
(e.g., 'child', 'care') instead of program acronym. This prevents
missing better references like TX CCS and DC CCSP when implementing
a CCAP program.
Parameter-architect: Remove hardcoded DC/IL/TX TANF paths. The agent
now reads reference implementations from the consolidator's impl-spec.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace review-fix loop with 3 mandatory named rounds; broaden consolidator reference search by concept keywords instead of acronyms; remove hardcoded TANF references from parameter-architect
Identify ALL matching state implementations. Read 3-5 variable files and 3-5 parameter
135
+
files from the BEST reference implementation — pick the one with the most similar structure
136
+
to the target program (e.g., if target has multi-dimensional rates, pick a reference that
137
+
has enum-keyed rate lookups, not a simpler eligibility-only impl).
138
+
List ALL discovered implementations in the impl-spec so downstream agents can study them.
129
139
130
140
STEP 2: Discover existing reusable variables.
131
141
For each key concept in the program (income, hours, age, household size, childcare, etc.),
@@ -685,65 +695,118 @@ Read ONLY `/tmp/{PREFIX}-final-report.md`.
685
695
686
696
---
687
697
688
-
## Phase 6: Review-Fix Loop
698
+
## Phase 6: Review-Fix (3 Mandatory Rounds)
689
699
690
700
**Skip if `--skip-review`.**
691
701
692
-
This phase runs `/review-program` and fixes critical issues in a loop until zero critical issues remain (or max iterations reached).
702
+
This phase runs 3 independent review rounds. Each review is done by a fresh `/review-program` invocation. After any fix, the next review is a **mandatory step** — the orchestrator has NO discretion to skip it. Only an actual review confirming critical == 0 can end the phase early.
703
+
704
+
---
705
+
706
+
### Round 1: Initial Review
707
+
708
+
#### Step 6.1A: Run /review-program
709
+
710
+
```
711
+
Skill: review-program
712
+
Arguments: $PR_NUMBER --local --full [--600dpi if DPI == 600]
0 commit comments