mirror of
https://github.com/LerianStudio/ring
synced 2026-04-21 13:37:27 +00:00
validate_gate_0 and validate_gate_3 previously read tdd_red/tdd_green/unit_testing from tasks[i].gate_progress.*, but the state schema places these under tasks[i].subtasks[j].gate_progress.*. Any task with subtasks was silently blocked past Gate 0 because the hook resolved an empty task-level object to 'pending'. Both validators now iterate subtasks, exempt subtasks that have not yet reached the gate (current_gate below target), and fall back to task-level reads when subtask_count is zero. LAST_COMPLETED_GATE derivation is recomputed from the per-subtask aggregation so recovery messages accurately reflect progress. Frontend-cycle safety short-circuits the validator as a no-op when implementation scope is absent everywhere. X-Lerian-Ref: 0x1 |
||
|---|---|---|
| .. | ||
| agents | ||
| commands | ||
| docs | ||
| hooks | ||
| skills | ||
| CHANGELOG.md | ||