Skip to content

feat: impl-review-loop / issue-refinement-loop の Step 3 (adversarial review) を例外ゲート条件化する #428

Open

Description

@squne121

Background

PR #424 で impl-review-loop および issue-refinement-loop の詳細設計書が新設された。現状、Step 3 (adversarial review) は「常に不採用」と記述されている。しかし Anthropic の evaluator-optimizer pattern を踏まえると、特定条件下では adversarial review を有効化することで品質改善が見込める。本 Issue はその条件付き有効化ロジックを実装する。

Outcome

impl-review-loop および issue-refinement-loop の Step 3 (adversarial review) が以下の条件を満たすときのみ有効化される例外ゲート機構が実装され、SKILL.md・design.md・判定ロジックに反映された状態になる。

有効化条件:

  1. security / auth / release 変更が含まれる
  2. reviewer 出力が canonical sources と矛盾している
  3. scope rollup が high-confidence sibling overlap を検出した
  4. human review が明示的に adversarial re-review を要求した

Allowed Paths

  • .claude/skills/impl-review-loop/SKILL.md に例外ゲート条件を追加する
  • .claude/skills/impl-review-loop/design.md(存在する場合)または docs/dev/workflows/impl-review-loop-design.md に条件判定フローを記述する
  • .claude/skills/issue-refinement-loop/ に同様の変更を加える
  • 判定ロジックは宣言的な条件リストとして記述し、スクリプト化は optional

Acceptance Criteria

  • impl-review-loop の SKILL.md に Step 3 例外ゲート条件が明記されている
  • issue-refinement-loop の SKILL.md に同様の条件が明記されている
  • docs/dev/workflows/ の対応する design.md に判定フローが記述されている
  • 「常に不採用」という記述が削除または条件付きに書き換えられている
  • 4 つの有効化条件がすべてドキュメント化されている

Verification Commands

# impl-review-loop SKILL.md に例外ゲート条件が存在すること
rg -l "adversarial" .claude/skills/impl-review-loop/

# issue-refinement-loop SKILL.md に例外ゲート条件が存在すること
rg -l "adversarial" .claude/skills/issue-refinement-loop/

# design.md に条件判定フローが存在すること
rg "security|auth|release" docs/dev/workflows/impl-review-loop-design.md
rg "security|auth|release" docs/dev/workflows/issue-refinement-loop-design.md

Source

Activity

  1. added
    enhancement
    triage-required
    on May 27, 2026
  2. squne121 commented on Aug 22, 2026

    @squne121
    OwnerAuthor

    #2296 との重複要否の記録(partial overlap、統合しない)

    Issue #2296(issue-refinement-loop に Step 2.5 semantic design review lane を追加する)の実装に伴い、本 Issue との scope 重複を確認した。

    両者は「issue-refinement-loop に追加の review レーンを設ける」という広い意味では隣接するが、トリガー条件・実装機構(本 Issue: 既存 Step 3 の条件付き有効化 / #2296: 新規 Step 2.5 の明示シグナル判定)は独立しており、#2296 は本 Issue の上位互換ではない。したがって 統合は行わず、本 Issue(#428)は現状の scope のまま独立して進める と判断した。

    本コメントは #2296 の AC10(重複要否の判断記録)に基づく partial overlap 記録である。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions