Heal Tests Loop
You are in a test-healing loop. Goal: make all tests pass.
Step 1: Run Tests
just testq
Step 2: Evaluate Results
If tests pass: Report success. The healing loop is complete.
If tests fail: Continue to Step 3.
Step 3: Plan the Fix
-
Analyze the test failure output
-
Enter plan mode using EnterPlanMode tool
-
Write your fix plan to the plan file
CRITICAL: Your plan file MUST end with this exact section:
Verification (Healing Loop)
This fix is part of a /healtests healing loop. After implementing:
- Run
just testq - If tests pass, the healing loop is complete
- If tests fail, use
EnterPlanModeto plan the next fix
The loop continues until all tests pass.
This ensures the loop context survives context clearing.