feat(merge-pipeline): post_merge_feedback post_steps を有効化 (task 1-D)#72
Conversation
- .claude/hooks-config.toml: プレースホルダの post_merge_learnings
スタブを外し、type="ai" / prompt="post-merge-feedback" の
post_steps を有効化。本プロジェクトで dogfood 開始。
- templates/hooks-config-{typescript,python}.toml: 派生プロジェクト
向けに同ブロックをコメントアウト状態で追記。post-merge-feedback
skill が deploy されるまで opt-in。
- docs/todo.md: 1-D 削除 + section ヘッダー / 前文を除去。
1-E (skill 側 Phase 0) と 1-F (ADR-014 本採用化) は
ADR-029 参照付きの独立 section に昇格。
ADR-029 試験運用の有効化。config のみの変更で exe 再ビルド不要
(cli-merge-pipeline.exe / hooks-stop-feedback-dispatch.exe は
PR #70 / #71 で deploy 済み)。実地検証は次の pnpm merge-pr で発火。
Refs: ADR-029
📝 WalkthroughWalkthroughマージパイプラインの設定を更新し、コメントアウトされていたポストマージAIステップを有効化しました。 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
templates/hooks-config-typescript.toml (1)
57-68: 前提条件コメントの補強を検討有効化の前提として skill のデプロイのみが記載されていますが、ADR-029 のフロー上は
cli-merge-pipeline側でtype = "ai"の post_step をサポートしていること、および pending file を検知するhooks-stop-feedback-dispatchがデプロイ済みであることも必須です。派生プロジェクトがこのブロックを uncomment しただけでは動作しないケースがあるため、コメントに 3 点すべて明記しておくと親切です。📝 コメント補強案
# ─── Merge Pipeline: post_steps ─── # pnpm merge-pr 後に post-merge-feedback skill を自動起動する (ADR-029 試験運用)。 -# 有効化には post-merge-feedback skill が deploy されている必要があります。 +# 有効化には以下すべてが必要です: +# - cli-merge-pipeline.exe が `type = "ai"` post_step をサポート (pending file を書き出す) +# - hooks-stop-feedback-dispatch.exe がデプロイ済み (pending file を検知) +# - post-merge-feedback skill がデプロイ済み (Phase 0 で pending file を consume)🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@templates/hooks-config-typescript.toml` around lines 57 - 68, Update the commented merge_pipeline post_steps block to list all three prerequisites before enabling: that the post-merge-feedback skill is deployed, that the cli-merge-pipeline supports post_steps with type = "ai" (so type="ai" is supported), and that the hooks-stop-feedback-dispatch service (which detects pending files) is deployed; reference the merge_pipeline/post_steps example and ADR-029 so readers know these three conditions (post_merge_feedback, type="ai" support in cli-merge-pipeline, and hooks-stop-feedback-dispatch) must be met before uncommenting and enabling the block.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@templates/hooks-config-typescript.toml`:
- Around line 57-68: Update the commented merge_pipeline post_steps block to
list all three prerequisites before enabling: that the post-merge-feedback skill
is deployed, that the cli-merge-pipeline supports post_steps with type = "ai"
(so type="ai" is supported), and that the hooks-stop-feedback-dispatch service
(which detects pending files) is deployed; reference the
merge_pipeline/post_steps example and ADR-029 so readers know these three
conditions (post_merge_feedback, type="ai" support in cli-merge-pipeline, and
hooks-stop-feedback-dispatch) must be met before uncommenting and enabling the
block.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: c7d75695-70bd-41ea-8d94-646c5a23f536
📒 Files selected for processing (4)
.claude/hooks-config.tomldocs/todo.mdtemplates/hooks-config-python.tomltemplates/hooks-config-typescript.toml
Summary
.claude/hooks-config.tomlの[[merge_pipeline.post_steps]]を有効化し、本プロジェクトで ADR-029 (post-merge-feedback 自動起動) の dogfood を開始templates/hooks-config-{typescript,python}.tomlに同ブロックをコメントアウト状態で追記 (派生プロジェクトは opt-in)docs/todo.md: 1-D を削除 + 「マージ後フィードバックの定常化」section ヘッダー / 前文を除去。1-E / 1-F は ADR-029 参照付きで独立 section に昇格本 PR は config のみの変更で exe 再ビルド / 再 deploy 不要 (
cli-merge-pipeline.exe/hooks-stop-feedback-dispatch.exeは PR #70 / #71 で deploy 済み)。実地検証は次のpnpm merge-pr(別 PR) で pending file が生成され Stop hook が発火するかで行う。Refs: ADR-029 (task 1-D)
Test plan
pnpm lint/pnpm test/pnpm buildPASStakt pre-push-reviewAPPROVE (1 iteration)pnpm merge-pr実行時に.claude/post-merge-feedback-pending.jsonが生成され、Stop hook が[POST_MERGE_FEEDBACK_TRIGGER]付きadditionalContextを出力することを確認Summary by CodeRabbit
リリースノート
New Features
Chores