Skip to content

milestone-rollup: Depends On 解析を ## Depends On セクション限定に絞り込む #223

Open

Description

@squne121

Summary

PR #219 で実装した milestone_rollup.sh の blocked 判定では、gh api で取得した Issue 本文全体から #NNN パターンを grep している。このため、本文中の "Closes #N"・"PR #N 参照"・"この実装は #N の後継" といった無関係な参照も dep_num に混入する誤検出リスクがある。

Problem

.claude/skills/milestone-rollup/scripts/milestone_rollup.sh 内の Depends On 解析が Issue 本文全体を対象としているため、## Depends On セクション以外の #NNN 参照を誤って依存関係として取り込む可能性がある。

Goal

Depends On 解析を ## Depends On セクション配下のみに限定し、誤検出を解消する。

正規化方法の候補:

  1. セクション抽出: ## Depends On と次の ## の間のテキストのみを grep 対象にする
  2. ラベル primary 化: state/blocked ラベルを primary として使用し、本文解析への依存を減らす設計変更

Scope

  • .claude/skills/milestone-rollup/scripts/milestone_rollup.sh の Depends On grep ロジックの改善
  • 改善後のロジックを milestone-rollup skill のドキュメントに反映(SKILL.md の blocked 判定セクション更新)

Out of Scope

  • state/blocked ラベル運用ルールそのものの変更(docs/dev/github-ops.md は SSOT のまま)
  • expected_set のハードコード問題(別 follow-up Issue のスコープ)

References

Source

dedupe_key: follow-up:squne121/loop-protocol:pr-219:4

発生元: PR #219 レビュー(pr-review-judge による optional_follow_up)

Activity

  1. added
    enhancement
    triage-required
    on May 22, 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

    enhancementtriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions