Skip to content

実装: step-2-verification.md の pr_review_only non-pass 委譲に関する記述を #2916 の opt-in route に同期する #2984

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "step-2-verification.md の pr_review_only non-pass 委譲に関する記述を、#2916 の opt-in route(step4-adjudicate の --delegate-pr-review-only-nonpass)に同期し、stale な所有者記述を除く"
change_kind: docs
dedupe_key: "impl-review-loop-v1:step-2-pr-review-only-nonpass-opt-in-sync"

Parent Issue

なし(単独改善。#2916 の follow-up)

Parent Goal Ref

Current Validated Scope

Remaining Parent Gaps

なし。adapter / gate の挙動変更は #2916 / PR #2982 で完了済みであり、本 Issue は step-2 の文書追従のみを扱う。

Outcome

.claude/skills/impl-review-loop/steps/step-2-verification.md が更新され、(1) 「既定は fail-closed。root が --delegate-pr-review-only-nonpass を指定した場合に限り step-4-pr-review.md の該当節の条件で reviewer へ委譲できる」と記述され、「#2916 が所有する」の stale 記述が除かれ、(2) flag を付ける判断基準の短い 1 段落(step-4-pr-review.md の該当節への参照中心)が追加された状態になる。AC1〜AC4 の Verification Commands で完了を確認できる。

Runtime Verification Applicability

  • decision: not_applicable
  • reason: docs のみの変更(steps/*.md)であり、静的検証のみで完結するため

In Scope

  • step-2-verification.md の「独立経路の current item」段落末尾の「実行失敗を reviewer の意味判断へ委譲する route は follow-up 実装: pr_review_only AC の current-head 実行失敗・skip・fallback を lossless に保持したまま reviewer 判断へ委譲する route を定義する #2916 が所有する」を、既定 fail-closed と opt-in 委譲(--delegate-pr-review-only-nonpass、step-4-pr-review.md の該当節の条件)の記述へ置き換える。
  • opt-in flag を付ける判断基準の短い 1 段落を追加する。基準は step-4-pr-review.md の該当節への参照を中心とし、新しい規則は作らない(実行事実が実在する executed non-pass であり、binding が一致し、reviewer に failure_keys を明示的に渡すとき、という step-4 の既存条件の要約に留める)。

Out of Scope

Acceptance Criteria

Verification Commands

# AC1
# AC2
# AC3
# AC4
$ rg --files-without-match --fixed-strings -- "follow-up #2916 が所有する" .claude/skills/impl-review-loop/steps/step-2-verification.md
$ rg -n --fixed-strings -- "--delegate-pr-review-only-nonpass" .claude/skills/impl-review-loop/steps/step-2-verification.md
$ rg -n --fixed-strings -- "step-4-pr-review.md" .claude/skills/impl-review-loop/steps/step-2-verification.md
$ uv run --locked python3 .claude/skills/create-issue/scripts/validate_japanese_content.py .claude/skills/impl-review-loop/steps/step-2-verification.md
$ git diff --name-only origin/main...HEAD

Allowed Paths

  • .claude/skills/impl-review-loop/steps/step-2-verification.md

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
  • PR fix: pr_review_only の実行失敗を事実を保持したまま reviewer へ委譲できるようにする #2982 が main に未 merge で step-4-pr-review.md に該当節が存在しない場合

Required Skills

なし

Required Design References

  • .claude/skills/impl-review-loop/steps/step-4-pr-review.md
  • .claude/skills/impl-review-loop/steps/step-5-feedback-and-termination.md
  • docs/dev/workflow.md

Delivery Rule

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/implementerenhancementphase/implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions