## 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 ```bash # 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 - kind: post_merge_cleanup - url: https://github.com/squne121/loop-protocol/pull/424 - note_id: iteration_3_deferred_2 - dedupe_key: `follow-up:squne121/loop-protocol:pr/424:step3-exception-gate`
Activity
fix: Option D(materiality-triggered+advisory-by-default)採用に基づきADR 000…
実装: Deterministic Evidence vs Model-Based Semantic Judgment 原則をADRとして…
squne121 commentedon Aug 22, 2026
#2296 との重複要否の記録(partial overlap、統合しない)
Issue #2296(
issue-refinement-loopに Step 2.5 semantic design review lane を追加する)の実装に伴い、本 Issue との scope 重複を確認した。issue-refinement-loopおよびimpl-review-loopの両方を対象に、既存の未使用 Step 3(adversarial review)を特定条件(security/auth/release 変更・reviewer 出力と canonical sources の矛盾・sibling overlap・明示的な human 要求)で条件付き有効化する例外ゲートを実装するものである。issue-refinement-loopのみを対象に、deterministic checker がapproveを返した後に 新規 Step 2.5(semantic design review lane、新規 SubAgentissue-design-reviewer+ 明示シグナル方式のsemantic_review_trigger.py)を追加するものであり、既存 Step 3 の有効化条件そのものには一切触れない。両者は「issue-refinement-loop に追加の review レーンを設ける」という広い意味では隣接するが、トリガー条件・実装機構(本 Issue: 既存 Step 3 の条件付き有効化 / #2296: 新規 Step 2.5 の明示シグナル判定)は独立しており、#2296 は本 Issue の上位互換ではない。したがって 統合は行わず、本 Issue(#428)は現状の scope のまま独立して進める と判断した。
本コメントは #2296 の AC10(重複要否の判断記録)に基づく partial overlap 記録である。