Repository navigation
Closed
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasestate/queuedQueued for implementation
Description
Machine-Readable Contract
contract_schema_version: v1
issue_kind: implementation
parent_issue: "#133"
goal_ref: "GitHub Milestone 運用の実体化 (parent) — AI が milestone 進捗を rollup して人間向けに提示する手順または skill を作成"
change_kind: docsParent Issue
#133 (M-A4 child)
Parent Goal Ref
- Goal: GitHub Milestone 運用の実体化
- Desired Destination: 導入: GitHub Milestone 運用の実体化 (parent) #133 の全 child issue (M-A1〜M-A5 + M-A2b) が close されており、AI が milestone 進捗を rollup して人間に提示できる状態
Current Validated Scope
docs/dev/milestone-ops.mdに## Milestone rollup / next-action 手順を追記する、または.claude/skills/milestone-rollup/SKILL.mdを新規作成する- どちらの実装形態を選択するかは実装者が Implementation Notes に従って判断する
Remaining Parent Gaps
- 実装: post-M1 playable outcome roadmap を docs/product/playable-roadmap.md に記録する (M-A5) #148 (M-A5) — 残存 child issue の確認(本 Issue close 後)
Summary
M-A1(docs/dev/milestone-ops.md 作成)・M-A2(Milestone 作成)・M-A3(Issue 割当)完了を前提に、AI エージェントが open/closed 数・blocked/ready・次着手 Issue を rollup して人間向けに提示する手順または skill を作成する。手順は docs/dev/milestone-ops.md に rollup 手順として追記するか、.claude/skills/milestone-rollup/ 配下に skill として実装する。対象 Milestone は MILESTONE_NUMBER=1(M1: Foundation Gate (v0.1.x))に固定する。
Goal
AI が milestone 進捗を rollup し、人間へ「現在の milestone 状態 / 次に着手すべき Issue / blocked 理由」を提示する手順または skill が存在する。
Outcome
docs/dev/milestone-ops.md に ## Milestone rollup / next-action 手順 が追記されているか、.claude/skills/milestone-rollup/SKILL.md が存在する。rollup を実行すると、Milestone の open/closed 数・PR 混入状況・#146 readback との assignment drift・各 Issue の blocked/ready 判定・next-action が固定フォーマット(Markdown/YAML)で提示される。
In Scope
docs/dev/milestone-ops.mdへの rollup 手順追記(docs-only 実装の場合).claude/skills/milestone-rollup/SKILL.mdおよびscripts/milestone_rollup.shの新規作成(skill 実装の場合)- rollup 出力フォーマット(
milestone_state_summary / assignment_integrity / ready_issues / blocked_issues / next_action / human_escalations)の定義 - 実装: 既存 Issue 群の GitHub Milestone 割当設計と readback を行う (M-A3) #146 の M-A3 readback コメントを参照した
assignment_drift検出ロジック - PR 混入チェック(
pull_request != null)の実装
Out of Scope
- Milestone の close 操作(AI は実行禁止、人間のみ)
- 他 Milestone(M1 以外)への対応
- Issue の state 自動変更
- Parent Issue 導入: GitHub Milestone 運用の実体化 (parent) #133 の close(本 Issue close 後に人間が条件確認)
Depends On
- 実装: docs/dev/milestone-ops.md 作成 — Milestone 運用 SSOT 化 (M-A1) #134 (M-A1) —
docs/dev/milestone-ops.mdが SSOT 化されていること - 実装: M1 Foundation Gate GitHub Milestone object を materialize する (M-A2) #145 (M-A2) — GitHub Milestone オブジェクトが存在すること
- 実装: 既存 Issue 群の GitHub Milestone 割当設計と readback を行う (M-A3) #146 (M-A3) — 既存 Issue 群の Milestone 割当が完了していること
Acceptance Criteria
- AC1:
docs/dev/milestone-ops.mdに## Milestone rollup / next-action 手順が追記されている、または.claude/skills/milestone-rollup/SKILL.mdが存在する - AC2: rollup は
gh api "repos/squne121/loop-protocol/milestones/1"でnumber/title/state/open_issues/closed_issues/due_on/html_urlを取得する - AC3: rollup は
gh api --paginate "repos/squne121/loop-protocol/issues?milestone=1&state=all&per_page=100"で全 item を取得し、pull_request != nullを PR 混入として分類する - AC4: rollup は 実装: 既存 Issue 群の GitHub Milestone 割当設計と readback を行う (M-A3) #146 の
M-A3 Milestone Assignment Readbackコメントを参照し、expected set と live actual set の差分をassignment_driftとして表示する - AC5: rollup は各 open issue について
ready | blocked | needs-human | unknownを deterministic に分類し、判定理由を表示する(ready=issue.state == open AND explicit Depends On が全 closed AND state/blocked がない AND state/needs-human がない) - AC6: next-action は
PR mixed / silent drop / assignment drift > parent close を阻害する open child > Depends On が全 closed の ready issue > needs-human escalationの優先順位で 1 件以上提示する - AC7: rollup 出力は
milestone_state_summary / assignment_integrity / ready_issues / blocked_issues / next_action / human_escalationsの固定フォーマットを持つ Markdown/YAML で再現可能である - AC8: AI は Milestone close を実行しない。
open_issues == 0かつpr_mixed_count == 0の場合のみ「人間が close 判断可能」と通知する - AC9: 実行結果が Issue コメントまたは PR 本文に貼れる Markdown/YAML として再現可能であり、コマンド単体で再実行できる
Verification Commands
(test -f docs/dev/milestone-ops.md && grep -q "Milestone rollup" docs/dev/milestone-ops.md) || test -f .claude/skills/milestone-rollup/SKILL.md && echo "PASS: AC1" || echo "FAIL: AC1"# AC1gh api "repos/squne121/loop-protocol/milestones/1" --jq '{number:.number,title:.title,state:.state,open_issues:.open_issues,closed_issues:.closed_issues,due_on:.due_on,html_url:.html_url}' && echo "PASS: AC2" || echo "FAIL: AC2"# AC2(test -f docs/dev/milestone-ops.md && grep -q "pull_request" docs/dev/milestone-ops.md) || (test -f .claude/skills/milestone-rollup/SKILL.md && grep -q "pull_request" .claude/skills/milestone-rollup/SKILL.md) && echo "PASS: AC3" || echo "FAIL: AC3"# AC3(test -f docs/dev/milestone-ops.md && grep -qE "146|readback|assignment_drift" docs/dev/milestone-ops.md) || (test -f .claude/skills/milestone-rollup/SKILL.md && grep -qE "146|readback|assignment_drift" .claude/skills/milestone-rollup/SKILL.md) && echo "PASS: AC4" || echo "FAIL: AC4"# AC4(test -f docs/dev/milestone-ops.md && grep -qE "ready|blocked|needs-human" docs/dev/milestone-ops.md) || (test -f .claude/skills/milestone-rollup/SKILL.md && grep -qE "ready|blocked|needs-human" .claude/skills/milestone-rollup/SKILL.md) && echo "PASS: AC5" || echo "FAIL: AC5"# AC5(test -f docs/dev/milestone-ops.md && grep -qE "next.action|next_action" docs/dev/milestone-ops.md) || (test -f .claude/skills/milestone-rollup/SKILL.md && grep -qE "next.action|next_action" .claude/skills/milestone-rollup/SKILL.md) && echo "PASS: AC6" || echo "FAIL: AC6"# AC6(test -f docs/dev/milestone-ops.md && grep -qE "milestone_state_summary|assignment_integrity|next_action" docs/dev/milestone-ops.md) || (test -f .claude/skills/milestone-rollup/SKILL.md && grep -qE "milestone_state_summary|assignment_integrity|next_action" .claude/skills/milestone-rollup/SKILL.md) && echo "PASS: AC7" || echo "FAIL: AC7"# AC7(test -f docs/dev/milestone-ops.md && grep -qE "close.*禁止|AI.*close.*しない|人間.*close" docs/dev/milestone-ops.md) || (test -f .claude/skills/milestone-rollup/SKILL.md && grep -qE "close.*禁止|AI.*close.*しない|人間.*close" .claude/skills/milestone-rollup/SKILL.md) && echo "PASS: AC8" || echo "FAIL: AC8"# AC8pnpm typecheck && pnpm lint && echo "PASS: AC9" || echo "FAIL: AC9"# AC9
Allowed Paths
docs/dev/milestone-ops.md(docs-only 実装の場合).claude/skills/milestone-rollup/SKILL.md(skill 実装の場合).claude/skills/milestone-rollup/scripts/milestone_rollup.sh(skill + script 実装の場合).claude/skills/milestone-rollup/examples/output.md(サンプル出力の場合)
Stop Conditions
- Allowed Paths 外の変更が必要と判明した場合
- In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
- 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
- 後続 Phase / 別スコープへの波及が判明した場合
- nested SubAgent delegation が必要になった場合
- 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
- docs-only 実装と skill 実装のどちらを選ぶかで Allowed Paths が既定から大幅に変わる場合
- 実装: 既存 Issue 群の GitHub Milestone 割当設計と readback を行う (M-A3) #146 readback コメントが取得できず
assignment_driftが判定不能になった場合
Required Skills
- GitHub REST API(milestones / issues endpoint、PR 混入判定、pagination)
- Bash / jq(API レスポンスのパース)
- Claude Code project skill 構造(disable-model-invocation frontmatter、skill 分離設計、allowed-tools 宣言)
Scope Delta
N/A
Implementation Notes
- AI エージェントが自律実行できる形を原則とし、可能なら
.claude/skills/milestone-rollup/配下に skill として実装する - 最小実装として
docs/dev/milestone-ops.mdへの追記(Agent-executable procedure)で完結してもよいが、その場合は後続 Issue で skill 化を materialize する - blocked 判定は blocker / dependency の close 状態を primary とする(
state/blockedラベルは補助確認のみ — github-ops.md SSOT) - skill 化する場合の推奨 frontmatter:
name: milestone-rollup description: Roll up GitHub Milestone progress, assignment integrity, blocked/ready issues, and next action for LOOP_PROTOCOL. argument-hint: "[milestone-number]" disable-model-invocation: true allowed-tools: Bash Read Grep
- 対象 Milestone は
MILESTONE_NUMBER=1(M1: Foundation Gate (v0.1.x))に固定する - rollup 出力は
docs/dev/milestone-ops.mdを SSOT として参照し、skill 本文に API 解説を複製しない - skill 化する場合、
read-only rollupとcomment postingを分離することを推奨(comment posting は明示起動のみ)
Parent
#133 (M-A4 child)
Runtime Verification Applicability
decision: immediate
status: pending
rationale: |
rollup 手順または skill は実装直後に gh api コマンドで実行して出力を確認できる。
AC1(ファイル存在)・AC2(API 取得)・AC3(PR 分類ロジック記述)・AC7(フォーマット確認)は
実装後即時に grep/test/gh api で機械検証可能。
AC4(assignment_drift)・AC5(blocked/ready 分類)・AC6(next-action 優先順位)は
実装後に rollup 実行結果と #146 コメントの照合により即時検証可能。
skip_reasons: []Metadata
Metadata
Assignees
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasestate/queuedQueued for implementation
Activity
squne121 commentedon May 21, 2026
Issue 本文を修正しました
変更理由
GitHub CLI に
gh milestoneサブコマンドは存在しないため、AC3 の記述を修正しました。また parent #133 の Desired Destination(AI が milestone 進捗を rollup し人間へ提示する)に沿うよう、skill 化を前提とした表現に改善しました。変更箇所
gh apiまたはgh milestone→gh apiのみに修正し、具体的なエンドポイント例を追記.claude/skills/配下への skill 実装の選択肢を追記squne121 commentedon May 22, 2026
判定
No-Go as-is / 要 refinement。
#147 の方向性は正しいですが、現状の Issue 契約のまま実装に渡すと、M-A3 の証跡を機械的に利用できない、blocked/ready 判定が曖昧、next-action が人間判断を装って自動化される、という事故が起きやすいです。
特に、#147 自身が state/blocked かつ Milestone 未割当 である点は矛盾です。#133 は M-A4 child として #147 を parent close 条件に含めており、M1 Milestone には少なくとも #133 が直接割当されていますが、#147 は Milestone rollup の対象外になっています。#147 を「M1 の rollup 導線」として実装するなら、#147 自体は #133 の child として扱いつつ、実行対象 Milestone は MILESTONE_NUMBER=1 に固定する、と明示すべきです。
確認した前提
#147 は M-A1/#134、M-A2/#145、M-A3/#146 完了を前提に、AI が open/closed 数、blocked/ready、次着手 Issue、blocked 理由を rollup して人間に提示する手順または skill を作る Issue です。AC3 では gh api "repos/squne121/loop-protocol/milestones" と gh api "repos/squne121/loop-protocol/issues?milestone=&state=all" による再現性が要求されています。
#133 の Desired Destination でも、AI が milestone 進捗を rollup して「現在の milestone 状態 / 次に着手すべき Issue / blocked 理由」を提示する手順または skill が必要とされています。つまり #147 は単なる docs 追記ではなく、parent close の判定材料になる運用導線です。
docs/dev/milestone-ops.md は、Milestone 直接割当対象を原則 Parent Issue とし、Implementation Issue は例外理由付き、PR は Milestone に直接紐づけない、と定義しています。また rollup では Milestone 本体の open/closed 取得、PR 混入チェック、関連 Issue へのコメント投稿、人間への close 通知までを AI の責務としています。
GitHub REST API 仕様上、Issues endpoint は Pull Request も返すため pull_request key で PR を識別する必要があります。また repository issues の milestone パラメータは milestone の number を受け取り、Issue update の milestone は number または null を受け取ります。push access がない場合 milestone 変更は silently dropped されるため、readback は必須です。
Claude Code の skill は .claude/skills//SKILL.md に置けます。Skill 本文は使われた時だけロードされるため、繰り返し使う手順を CLAUDE.md から切り出す用途に適しています。一方で、skill content はロード後にコンテキストへ残るため、本文は簡潔にし、詳細は supporting files や scripts へ逃がすのが公式ドキュメント上も推奨されています。
敵対的レビュー: 残る問題
Blocker 1: blocked/ready 判定の正本が未定義
#147 は「blocked/ready」を出すと言っていますが、判定式がありません。Implementation Notes では「blocker / dependency の close 状態を primary、state/blocked ラベルは補助」と書いているだけです。
これだと AI は次のどれを ready とみなすか迷います。
A. state/blocked がなければ ready
B. Depends On が全 closed なら ready
C. native issue dependency が全 closed なら ready
D. parent の child order 上で前段が closed なら ready
E. M-A3 readback 上で actual set に入っていれば ready
#147 では最低限、以下の優先順位を固定すべきです。
ready =
issue.state == open
AND all explicit Depends On issues are closed
AND no unresolved blocker/dependency references remain
AND not blocked by parent-defined sequence
AND no state/needs-human label
blocked =
explicit blocker/dependency issue is open
OR state/blocked label exists with unresolved reason
OR required readback artifact missing
OR SSOT conflict / PR mixed count > 0 / silent drop detected
Blocker 2: #146 の証跡フォーマットに依存しているのに、#147 側で読み取り契約がない
#146 は最終的に、割当後 readback として expected_count / actual_count / pr_mixed_count / silent_drop / diff を Issue コメントに記録する契約になっています。
しかし #147 は、その M-A3 証跡をどう読むかを AC に入れていません。結果として、#147 実装者が live GitHub API だけを読んで「現時点の状態」を出し、#146 で記録された「意図した expected set」と照合しない可能性があります。
これは rollup の信頼性を壊します。#147 は次を必須化すべきです。
gh issue view 146 --repo squne121/loop-protocol --comments
--jq '... "M-A3 Milestone Assignment Readback" を含む最新コメントを抽出 ...'
そのうえで、live readback と #146 の expected set を比較し、差分があれば blocked_reason: assignment drift として人間へ提示するべきです。
Blocker 3: issues?milestone=1&state=all は PR も返すため、rollup が PR 混入を無視できない
GitHub の Issues endpoint は PR も返します。これは GitHub 公式仕様です。
docs/dev/milestone-ops.md は PR の Milestone 直接紐づけを禁止し、PR 混入チェックで pull_request != null を検出する手順を明記しています。
#147 の AC2/AC3 は「milestone 状態サマリ」を出すだけでは不足です。rollup 出力には必ず以下を含めるべきです。
pr_mixed_count: 0
pr_mixed_items: []
pr_mixed_verdict: pass | blocker
PR 混入が 1 件でもあれば、next-action は通常 Issue ではなく「PR Milestone 解除を人間または M-A3 相当操作で処理」に切り替えるべきです。
High 4: next-action の選定規則がない
「次着手 Issue」を出すだけでは、AI が主観で選びます。#133 の child sequence では M-A1〜M-A5 + M-A2b が close 条件ですが、#147 は #148 / #183 などと並ぶ child です。
推奨する deterministic order は次です。
これを AC に入れないと、rollup が「見やすい要約」にはなっても、運用上の導線にはなりません。
High 5: docs 追記だけを許容すると、AC2 の「実行すると提示される」が空文化する
#147 は「手順または skill」でよいとしていますが、AC2 は「実行すると提示される」と言っています。docs 追記だけの場合、「実行」の単位がありません。
最小実装でも、次のどちらかに寄せるべきです。
A. docs-only:
docs/dev/milestone-ops.md に rollup command block と output template を追加し、
Verification Commands で実際にその command を実行して sample output を Issue コメントに貼る
B. skill:
.claude/skills/milestone-rollup/SKILL.md を作成し、
/milestone-rollup 1 または /milestone-rollup "M1: Foundation Gate (v0.1.x)" で実行可能にする
Claude Code 公式ドキュメント上、繰り返し使う multi-step procedure は skill 化に向いており、.claude/skills//SKILL.md が project skill の標準配置です。
Medium 6: skill 化するなら disable-model-invocation: true を検討すべき
Milestone rollup は GitHub API を読むだけなら低リスクですが、Issue コメント投稿まで含めると副作用があります。Claude Code docs は、deploy など副作用のある workflow では disable-model-invocation: true によりユーザー明示起動にする例を示しています。
#147 では、少なくとも次を分離した方がよいです。
read-only rollup: 自動/手動どちらでも可
comment posting: 明示起動のみ、または issue contract で許可された場合のみ
milestone close: AI は禁止、人間のみ
docs/dev/milestone-ops.md でも Milestone close は人間が Responsible / Accountable で、AI は close しないと規定されています。
推奨パッチ方針
#147 を高品質化するなら、最小修正は以下です。
現状 #147 は state/blocked ですが、Depends On の #134/#145/#146 は close 済みです。少なくとも以下のどちらかに更新するべきです。
#147 自身は Milestone 未割当ですが、M-A4 child として parent #133 に束ねられているなら未割当でも説明可能です。ただし AC では「対象 Milestone は MILESTONE_NUMBER=1」と明記してください。
推奨 AC は以下です。
Acceptance Criteria
docs/dev/milestone-ops.mdに## Milestone rollup / next-action 手順が追記されている、または.claude/skills/milestone-rollup/SKILL.mdが存在するgh api "repos/squne121/loop-protocol/milestones/1"でnumber/title/state/open_issues/closed_issues/due_on/html_urlを取得するgh api --paginate "repos/squne121/loop-protocol/issues?milestone=1&state=all&per_page=100"で全 item を取得し、pull_request != nullを PR 混入として分類するM-A3 Milestone Assignment Readbackコメントを参照し、expected set と live actual set の差分をassignment_driftとして表示するready | blocked | needs-human | unknownを deterministic に分類し、判定理由を表示するPR mixed / silent drop / assignment drift > ready issue > needs-human escalationの優先順位で 1 件以上提示するopen_issues == 0かつpr_mixed_count == 0の場合のみ「人間が close 判断可能」と通知する推奨構成です。
.claude/skills/milestone-rollup/
SKILL.md
scripts/
milestone_rollup.sh
examples/
output.md
SKILL.md には長い GitHub API 解説を書かず、docs/dev/milestone-ops.md を正本として参照させるべきです。このリポジトリの agent-skill-boundaries.md も、SubAgent 定義や SKILL.md に普遍説明を書くとコンテキスト汚染になるため、正本ドキュメントへ集約する方針を取っています。
推奨 frontmatter:
name: milestone-rollup
description: Roll up GitHub Milestone progress, assignment integrity, blocked/ready issues, and next action for LOOP_PROTOCOL.
argument-hint: "[milestone-number]"
disable-model-invocation: true
allowed-tools: Bash Read Grep
最終コメント案
そのまま #147 に貼るなら以下です。
敵対的レビュー: No-Go as-is / 要 refinement
#147 の目的は妥当ですが、現状の Issue 契約のままでは milestone rollup / next-action 導線として弱いです。
Blocker 1: blocked/ready 判定式が未定義
blocked 判定は blocker / dependency の close 状態を primaryとありますが、どの情報源をどの優先順位で見るかが未定義です。最低限、以下を固定してください。
Blocker 2: #146 の M-A3 readback 証跡を読む契約がない
#147 は #146 完了を前提にしていますが、#146 の
M-A3 Milestone Assignment Readbackコメントを参照する AC がありません。live API だけを見ると、「意図した expected set」と「現在の actual set」の drift を検出できません。
AC に以下を追加してください。
assignment_driftとして next-action の最優先にするBlocker 3: PR 混入チェックを AC 化してください
GitHub Issues endpoint は PR も返します。
pull_request != nullの item が 1 件でもあれば、Milestone 直接紐づけ禁止の invariant violation です。rollup 出力には必ず以下を含めてください。
squne121 commentedon May 22, 2026
issue-refinement-loop iteration 1: template 必須セクション追加 + OWNER feedback 反映(AC1-3 → AC1-9 に差し替え)
変更セクション一覧
追加されたセクション(13セクション):
更新されたセクション:
pull_request != null)追加ラベル変更
state/blockedを削除(Depends On 実装: docs/dev/milestone-ops.md 作成 — Milestone 運用 SSOT 化 (M-A1) #134/実装: M1 Foundation Gate GitHub Milestone object を materialize する (M-A2) #145/実装: 既存 Issue 群の GitHub Milestone 割当設計と readback を行う (M-A3) #146 が全 CLOSED のため不適切)state/queuedを追加Guard 結果
squne121 commentedon May 22, 2026
issue-refinement-loop: VC フォーマット修正 (iteration 1b)
-prefix 形式に変換^[-$]パターン) に対応するためsqune121 commentedon May 22, 2026
issue-refinement-loop: 完了 (2026-05-22T06:30:37Z)
-prefix 形式に変換(C4 チェック対応)squne121 commentedon May 22, 2026
Contract Snapshot (2026-05-22T06:54:43Z)
docs/dev/milestone-ops.md(docs-only 実装の場合).claude/skills/milestone-rollup/SKILL.md(skill 実装の場合).claude/skills/milestone-rollup/scripts/milestone_rollup.sh.claude/skills/milestone-rollup/examples/output.md.claude/worktrees/issue-147-milestone-rollup-next-action-m-a4worktree-issue-147-milestone-rollup-next-action-m-a4VC Preflight 分類
警告
AC3/AC4/AC8 の VC は、milestone-ops.md の 既存コンテンツ(rollup 対象外) に該当キーワードが存在するため baseline で pass する。VC 設計上の弱点(スコープが広すぎる)。実装後は rollup セクション内にも同キーワードが現れるため最終 pass は有効。follow-up で VC を
## Milestone rollupセクション内に限定するよう改善推奨。CONTRACT_REVIEW_RESULT_V1
squne121 commentedon May 22, 2026
implement-issue: 実装完了 (2026-05-22T07:00:53Z)
.claude/worktrees/issue-147-milestone-rollup-next-action-m-a4worktree-issue-147-milestone-rollup-next-action-m-a4squne121 commentedon May 22, 2026
impl-review-loop: 完了 (2026-05-22T07:10:12Z)
実装内容
.claude/skills/milestone-rollup/SKILL.md— skill 定義(frontmatter・手順・AC 対応ロジック・出力フォーマット・Guardrails).claude/skills/milestone-rollup/scripts/milestone_rollup.sh— 実行スクリプト(read-only rollup / comment posting 分離).claude/skills/milestone-rollup/examples/output.md— サンプル出力検証結果
全 9 AC PASS / MERGEABLE / CLEAN
squne121 commentedon May 22, 2026
Milestone Rollup: M1: Foundation Gate (v0.1.x) (#1)
実行時刻: 2026-05-22T07:40:33Z
milestone_state_summary
assignment_integrity
ready_issues
blocked_issues
next_action
human_escalations
なし
close_readiness
fix: milestone-rollup スクリプト引数パース・PR混入カウント・expected_set 動的取得・Depends O…
squne121 commentedon May 22, 2026
implement-issue: REQUEST_CHANGES 修正完了 (2026-05-22T07:42:00Z)
.claude/worktrees/issue-147-milestone-rollup-next-action-m-a4worktree-issue-147-milestone-rollup-next-action-m-a4修正内容
MILESTONE_NUMBER=${1:-1}先評価バグ → while ループ引数パースに修正。--post <issue_num>が正しく動作grep -cの 0件 exit 1 バグ → `jq '[...]EXPECTED_SETハードコード →#146 M-A3 Readbackコメントから動的取得(startswithフィルタ +- expected:行抽出)dep_issues抽出を## Depends Onセクション配下のみに限定(awk で誤検知防止)SKILL.mdを簡略化(API 手順詳細削除、起動方法・出力契約・ガードレールに集約)検証結果
pnpm typecheck: PASSpnpm lint: PASSbash milestone_rollup.sh 1: 正常動作確認(固定フォーマット出力・drift_status: clean・expected_set 動的取得)--post引数構文: 正常動作確認(エラーケース・通常ケース両方)squne121 commentedon May 22, 2026
impl-review-loop: 完了(更新)(2026-05-22T07:51:57Z)
iteration 1 で人間レビューの REQUEST CHANGES を修正し、APPROVE を取得しました。
iteration 1 の修正内容
--post引数パースを while ループに修正(MILESTONE_NUMBER への誤代入を解消)PR_MIXED_COUNTをjq '[...] | length'に変更(0\n0バグ修正)--paginate --slurpベースの JSON 処理に統一expected_setを 実装: 既存 Issue 群の GitHub Milestone 割当設計と readback を行う (M-A3) #146 readback コメントから動的取得(ハードコード解消)## Depends Onセクション配下のみに限定(awk 使用)次アクション: 人間レビュー → マージ → post-merge-cleanup
feat(#147): milestone rollup skill 実装 (M-A4) (#219)
squne121 commentedon May 22, 2026
post-merge-cleanup: 完了 (2026-05-22T23:57:40Z)