スキル一覧に戻る
barracoder

circuit-breaker

by barracoder

0🍴 0📅 2026年1月17日
GitHubで見るManusで実行

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:

  1. Review the progress.txt entry for context
  2. Check the thread URL from previous iterations
  3. Fix the underlying issue
  4. Remove blocked and blockReason from prd.json
  5. Resume Ralph loop

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です