Skip to content

実装: issue-refinement-loop/SKILL.md Step 2a の出力契約に checker_artifact_inconsistency / fix_checker_artifact を追記する #1309

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "reviewer_claim_replay.py の checker_artifact_inconsistency / fix_checker_artifact lane を SKILL.md の consumer contract に明記し、documentation drift を解消する"
change_kind: docs

Parent Issue

none

Parent Goal Ref

  • Goal: .claude/skills/issue-refinement-loop/SKILL.md の Step 2a 出力契約と reviewer_claim_replay.py 実装を一致させる
  • Desired Destination: N/A(単独改善)

Current Validated Scope

  • .claude/skills/issue-refinement-loop/SKILL.md の Step 2a セクション(Loop Structure 図・出力契約箇条書き)に checker_artifact_inconsistency / fix_checker_artifact lane を追記する

Remaining Parent Gaps

なし

Outcome

.claude/skills/issue-refinement-loop/SKILL.md の Step 2a 出力契約(Loop Structure 図と routing 箇条書きの両方)に、verdict: checker_artifact_inconsistency から routing: fix_checker_artifact の lane が明記され、reviewer_claim_replay.py の実装(既存4値 deterministic_fail_confirmed / reviewer_claim_unbacked_by_deterministic_checker / reviewer_false_positive_suspected / input_or_runtime_error に加えて checker_artifact_inconsistency を返しうる)と documented consumer contract が一致した状態になる。

In Scope

  • .claude/skills/issue-refinement-loop/SKILL.md の Loop Structure 内 ASCII 図(Step 2a 分岐部分)に checker_artifact_inconsistency 分岐を追記する
  • 同 SKILL.md の Step 2a: Reviewer Claim Replay Arbitration セクション内「出力契約」箇条書きに verdict: checker_artifact_inconsistency から routing: fix_checker_artifact の行を追記する
  • 追記後も既存4値の記載を変更しない

Out of Scope

  • issue-refinement-loop の reviewer_claim_replay.py の実装変更(既に動作している既存 lane であり変更不要)
  • checker_artifact_inconsistency / fix_checker_artifact 以外の新規 verdict / routing 値の追加
  • consumer 側(orchestrator routing 実装)の挙動変更

Acceptance Criteria

  • AC1: .claude/skills/issue-refinement-loop/SKILL.md の Loop Structure ASCII 図内に checker_artifact_inconsistency の分岐行が追加されている
  • AC2: 同ファイルの Step 2a: Reviewer Claim Replay Arbitration 出力契約箇条書きに verdict: checker_artifact_inconsistency と routing: fix_checker_artifact の対応関係が明記されている
  • AC3: 既存の4値(deterministic_fail_confirmed / reviewer_claim_unbacked_by_deterministic_checker / reviewer_false_positive_suspected / input_or_runtime_error)の記載がすべて維持されている

Verification Commands

# AC1
$ grep -n "checker_artifact_inconsistency" .claude/skills/issue-refinement-loop/SKILL.md

# AC2
$ grep -n "fix_checker_artifact" .claude/skills/issue-refinement-loop/SKILL.md

# AC3
$ grep -c "deterministic_fail_confirmed" .claude/skills/issue-refinement-loop/SKILL.md

Allowed Paths

  • .claude/skills/issue-refinement-loop/SKILL.md

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合

Required Skills

なし

Scope Delta(任意)

N/A

Runtime Verification Applicability

  • decision: not_applicable
  • reason: Markdown ドキュメントへの追記のみであり、プロセス起動・外部通信・Canvas/UI ランタイム挙動を伴わない。静的検証(grepによる記載内容確認)で完結する。

Notes for Reviewer

  • 本 Issue は PR 1304(Issue 1286)のレビュー過程で検出された pre-existing undocumented gap。gap 自体は commit 65dad59(Issue 1058)で reviewer_claim_replay.py に導入されたものであり、PR 1286 は新規導入していない。PR 1286 の Allowed Paths に SKILL.md が含まれていなかったため、当該 PR では記録に留め本 Issue に切り出した。
  • dedupe_key: follow-up:squne121/loop-protocol:pr/1304:skill-md-step2a-checker-artifact-inconsistency
  • source: PR 1304 review comment and follow-up verdict comments
  • severity: optional_follow_up

Delivery Rule

1 Issue = 1 PR。worktree で作業し Draft PR を既定とする。

Activity

  1. added
    phase/implementation
    agent/implementer
    enhancement
    on Jul 3, 2026
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

    agent/implementerenhancementphase/implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions