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
Implement CI-gating spec compliance for Ralph loop with persisted ciStatus state, prompt gating context, CI fix tracking, lint warning aggregation, and CI blocked notifications.\n\nAlso add CI status summaries to GitHub evaluation comments, apply required tracking issue labels, add unit tests for CI-gating helpers, and update IMPLEMENTATION_PLAN.md with completed task notes and validation outcomes.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: IMPLEMENTATION_PLAN.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,3 +212,18 @@ This plan lists prioritized tasks required to bring the implementation into full
212
212
- Added a shared helper to clamp evaluation timeout to a safe 180s–600s window, using loop timeout config as the source of truth.
213
213
- Evaluation now retries once when the SDK reports a `session.idle` timeout, reducing transient fallback-score failures.
214
214
- Validation run after this change: `typecheck`, `lint` (warnings only), `test`, and `npm audit --production` all pass; audit reports 0 vulnerabilities.
215
+
216
+
## 17. Ralph Loop CI Gating and Reporting Compliance
217
+
-**Task:** Implement CI status persistence, prompt gating, and CI visibility/reporting in the Ralph loop. **[COMPLETE]**
218
+
-**Spec:** CI-gating/spec.md (CI Status Tracking, CI Gating Logic, CI Fix Tracking, GitHub Reporting, Lint Warning Accumulation), Ralph-loop/spec.md (GitHub issue labels)
- Targets low-scoring checklist areas around spec compliance/code quality by implementing missing `ciStatus` state fields and CI gating behavior required by `ci-gating/spec.md`.
224
+
- Added full CI check execution per iteration (`build`, `test`, `lint`), persisted result fields (`passed`, status breakdown, errors, timestamps), and CI-broken fix tracking (`ciBrokenSince`, `ciFixAttempts`, `ciLastFixAttempt`).
225
+
- Added build-prompt CI context injection (`✅ pass`, `⚠️ lint warnings`, `❌ blocking failures`) so red CI explicitly blocks feature work and partial CI is highlighted.
226
+
- Added CI status summaries to GitHub fitness comments and CI-blocked issue notifications (`🚨 CI BLOCKED at Iteration N`) with failure details.
227
+
- Added lint warning aggregation (top rules/files) and threshold warning log when warnings exceed 20.
228
+
- Tracking issue creation now includes required labels: `ralph-loop`, `automated`.
229
+
- Validation run after this change: `npm run typecheck`, `npm run lint`, `npm test`, and `npm audit --production` all pass; audit reports 0 vulnerabilities.
0 commit comments