plan/ai-review/superviseのインストラクションにスコープ縮小防止策を追加

- plan: 要件ごとに変更要/不要の根拠(ファイル:行)を必須化
- ai-review: スコープ縮小の検出をスコープクリープと並列で追加
- supervise: タスク指示書との独立照合を計画レポートに依存しない形で追加
This commit is contained in:
nrslib 2026-02-14 00:08:50 +09:00
parent 6fe8fece91
commit 8af8ff0943
6 changed files with 8 additions and 2 deletions

View File

@ -8,6 +8,7 @@ Review the code for AI-specific issues:
- Plausible but incorrect patterns - Plausible but incorrect patterns
- Compatibility with the existing codebase - Compatibility with the existing codebase
- Scope creep detection - Scope creep detection
- Scope shrinkage detection (missing task requirements)
## Judgment Procedure ## Judgment Procedure

View File

@ -12,6 +12,7 @@ For small tasks, skip the design sections in the report.
**Actions:** **Actions:**
1. Understand the task requirements 1. Understand the task requirements
- **For each requirement, determine "change needed / not needed". If "not needed", cite the relevant code (file:line) as evidence. Claiming "already correct" without evidence is prohibited**
2. Investigate code to resolve unknowns 2. Investigate code to resolve unknowns
3. Identify the impact area 3. Identify the impact area
4. Determine file structure and design patterns (if needed) 4. Determine file structure and design patterns (if needed)

View File

@ -3,7 +3,8 @@ Run tests, verify the build, and perform final approval.
**Overall piece verification:** **Overall piece verification:**
1. Whether the plan and implementation results are consistent 1. Whether the plan and implementation results are consistent
2. Whether findings from each review movement have been addressed 2. Whether findings from each review movement have been addressed
3. Whether the original task objective has been achieved 3. Whether each task spec requirement has been achieved
- Do not rely on the plan report's judgment; independently verify each requirement against actual code (file:line)
**Report verification:** Read all reports in the Report Directory and **Report verification:** Read all reports in the Report Directory and
check for any unaddressed improvement suggestions. check for any unaddressed improvement suggestions.

View File

@ -8,6 +8,7 @@ AI特有の問題についてコードをレビューしてください:
- もっともらしいが間違っているパターン - もっともらしいが間違っているパターン
- 既存コードベースとの適合性 - 既存コードベースとの適合性
- スコープクリープの検出 - スコープクリープの検出
- スコープ縮小の検出(タスク要件の取りこぼし)
## 判定手順 ## 判定手順

View File

@ -18,6 +18,7 @@
- **指示書に明記されていない別ファイルを「参照資料の代わり」として使うことは禁止** - **指示書に明記されていない別ファイルを「参照資料の代わり」として使うことは禁止**
2. タスクの要件を理解する 2. タスクの要件を理解する
- 参照資料の内容と現在の実装を突き合わせて差分を特定する - 参照資料の内容と現在の実装を突き合わせて差分を特定する
- **要件ごとに「変更要/不要」を判定する。「不要」の場合は現行コードの該当箇所(ファイル:行)を根拠として示すこと。根拠なしの「既に正しい」は禁止**
3. コードを調査して不明点を解決する 3. コードを調査して不明点を解決する
4. 影響範囲を特定する 4. 影響範囲を特定する
5. ファイル構成・設計パターンを決定する(必要な場合) 5. ファイル構成・設計パターンを決定する(必要な場合)

View File

@ -3,7 +3,8 @@
**ピース全体の確認:** **ピース全体の確認:**
1. 計画と実装結果が一致しているか 1. 計画と実装結果が一致しているか
2. 各レビュームーブメントの指摘が対応されているか 2. 各レビュームーブメントの指摘が対応されているか
3. 元のタスク目的が達成されているか 3. タスク指示書の各要件が達成されているか
- 計画レポートの判断を鵜呑みにせず、要件ごとに実コード(ファイル:行)で独立照合する
**レポートの確認:** Report Directory内の全レポートを読み、 **レポートの確認:** Report Directory内の全レポートを読み、
未対応の改善提案がないか確認してください。 未対応の改善提案がないか確認してください。