feat(piece): add ai-fix loop monitor and extract judge instruction
This commit is contained in:
parent
6e14cd3c38
commit
8e5bc3c912
12
builtins/en/instructions/loop-monitor-ai-fix.md
Normal file
12
builtins/en/instructions/loop-monitor-ai-fix.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
The ai_review ↔ ai_fix loop has repeated {cycle_count} times.
|
||||||
|
|
||||||
|
Review the reports from each cycle and determine whether this loop
|
||||||
|
is healthy (making progress) or unproductive (repeating the same issues).
|
||||||
|
|
||||||
|
**Reports to reference:**
|
||||||
|
- AI Review results: {report:03-ai-review.md}
|
||||||
|
|
||||||
|
**Judgment criteria:**
|
||||||
|
- Are new issues being found/fixed in each cycle?
|
||||||
|
- Are the same findings being repeated?
|
||||||
|
- Are fixes actually being applied?
|
||||||
@ -9,6 +9,19 @@ piece_config:
|
|||||||
|
|
||||||
max_movements: 30
|
max_movements: 30
|
||||||
initial_movement: plan
|
initial_movement: plan
|
||||||
|
loop_monitors:
|
||||||
|
- cycle:
|
||||||
|
- ai_review
|
||||||
|
- ai_fix
|
||||||
|
threshold: 3
|
||||||
|
judge:
|
||||||
|
persona: supervisor
|
||||||
|
instruction_template: loop-monitor-ai-fix
|
||||||
|
rules:
|
||||||
|
- condition: Healthy (making progress)
|
||||||
|
next: ai_review
|
||||||
|
- condition: Unproductive (same findings repeated or fixes not reflected)
|
||||||
|
next: ai_no_fix
|
||||||
movements:
|
movements:
|
||||||
- name: plan
|
- name: plan
|
||||||
edit: false
|
edit: false
|
||||||
|
|||||||
@ -9,6 +9,19 @@ piece_config:
|
|||||||
|
|
||||||
max_movements: 30
|
max_movements: 30
|
||||||
initial_movement: plan
|
initial_movement: plan
|
||||||
|
loop_monitors:
|
||||||
|
- cycle:
|
||||||
|
- ai_review
|
||||||
|
- ai_fix
|
||||||
|
threshold: 3
|
||||||
|
judge:
|
||||||
|
persona: supervisor
|
||||||
|
instruction_template: loop-monitor-ai-fix
|
||||||
|
rules:
|
||||||
|
- condition: Healthy (making progress)
|
||||||
|
next: ai_review
|
||||||
|
- condition: Unproductive (same findings repeated or fixes not reflected)
|
||||||
|
next: ai_no_fix
|
||||||
movements:
|
movements:
|
||||||
- name: plan
|
- name: plan
|
||||||
edit: false
|
edit: false
|
||||||
|
|||||||
12
builtins/ja/instructions/loop-monitor-ai-fix.md
Normal file
12
builtins/ja/instructions/loop-monitor-ai-fix.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
ai_review と ai_fix のループが {cycle_count} 回繰り返されました。
|
||||||
|
|
||||||
|
各サイクルのレポートを確認し、このループが健全(進捗がある)か、
|
||||||
|
非生産的(同じ問題を繰り返している)かを判断してください。
|
||||||
|
|
||||||
|
**参照するレポート:**
|
||||||
|
- AIレビュー結果: {report:03-ai-review.md}
|
||||||
|
|
||||||
|
**判断基準:**
|
||||||
|
- 各サイクルで新しい問題が発見・修正されているか
|
||||||
|
- 同じ指摘が繰り返されていないか
|
||||||
|
- 修正が実際に反映されているか
|
||||||
@ -9,6 +9,19 @@ piece_config:
|
|||||||
|
|
||||||
max_movements: 30
|
max_movements: 30
|
||||||
initial_movement: plan
|
initial_movement: plan
|
||||||
|
loop_monitors:
|
||||||
|
- cycle:
|
||||||
|
- ai_review
|
||||||
|
- ai_fix
|
||||||
|
threshold: 3
|
||||||
|
judge:
|
||||||
|
persona: supervisor
|
||||||
|
instruction_template: loop-monitor-ai-fix
|
||||||
|
rules:
|
||||||
|
- condition: 健全(進捗あり)
|
||||||
|
next: ai_review
|
||||||
|
- condition: 非生産的(同じ指摘の反復・修正未反映)
|
||||||
|
next: ai_no_fix
|
||||||
movements:
|
movements:
|
||||||
- name: plan
|
- name: plan
|
||||||
edit: false
|
edit: false
|
||||||
|
|||||||
@ -9,6 +9,19 @@ piece_config:
|
|||||||
|
|
||||||
max_movements: 30
|
max_movements: 30
|
||||||
initial_movement: plan
|
initial_movement: plan
|
||||||
|
loop_monitors:
|
||||||
|
- cycle:
|
||||||
|
- ai_review
|
||||||
|
- ai_fix
|
||||||
|
threshold: 3
|
||||||
|
judge:
|
||||||
|
persona: supervisor
|
||||||
|
instruction_template: loop-monitor-ai-fix
|
||||||
|
rules:
|
||||||
|
- condition: 健全(進捗あり)
|
||||||
|
next: ai_review
|
||||||
|
- condition: 非生産的(同じ指摘の反復・修正未反映)
|
||||||
|
next: ai_no_fix
|
||||||
movements:
|
movements:
|
||||||
- name: plan
|
- name: plan
|
||||||
edit: false
|
edit: false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user