← Back to list

circuit-breaker
by barracoder
⭐ 0🍴 0📅 Jan 17, 2026
SKILL.md
name: circuit-breaker description: Detect stalled loops, log context, and halt gracefully
circuit-breaker
Trigger Conditions
Activate circuit breaker if ANY of these occur:
- 4+ iterations with no meaningful file changes
- Same error repeating 3+ times without resolution
- Build/test failures persisting after 3 fix attempts (from
back-pressure)
When Triggered
1. Output the halt signal:
<circuit_open>REPEATED_FAILURE</circuit_open>
2. Log to progress.txt:
## [Date/Time] - CIRCUIT BREAKER TRIGGERED
Story: [Story ID] - [Story Title]
Reason: [Brief description of the failure pattern]
Last error: [The repeating error message]
Attempts: [Number of iterations attempted]
Files affected: [List of files being modified]
---
3. Update prd.json:
Add "blocked": true and "blockReason": "..." to the story:
{
"id": 5,
"passes": false,
"blocked": true,
"blockReason": "TypeScript error in auth.ts line 42 - requires manual investigation"
}
4. Stop immediately — do not attempt further fixes
Recovery (Manual)
When a human investigates:
- Review the progress.txt entry for context
- Check the thread URL from previous iterations
- Fix the underlying issue
- Remove
blockedandblockReasonfrom prd.json - Resume Ralph loop
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon