docs(todo): PR #210 post-merge-feedback 採用 4 件を追加 (順位 208-211) - #211
Merged
Conversation
PR #210 セッションで実観測した cron timing race + CR clean detection gap + 単複境界 test 教訓を踏まえ、post-merge-feedback report (`.claude/feedback-reports/210.md`) の ✅ 採用候補 4 件 (T1-1 / T2-1 / T3-1 / T3-2) をユーザー承認 (2026-06-16) のもと docs/todo10.md + docs/todo-summary.md に登録。 追加エントリ: - 順位 208 (T1-1): cli-pr-monitor の CR walkthrough body parse で 'No actionable comments' 検出 (S, 🔧 Tier 2) - 順位 209 (T2-1): PARK signal 出力を分単位 round-UP に変更 — Cron 秒解像度ミスマッチ修正 (S, 🔧 Tier 2) - 順位 210 (T3-1): ~/.claude/rules/common/development-workflow.md + MEMORY.md に 'Cron 秒 → 分 round-UP' rule codify (XS, 💎 Tier 3) - 順位 211 (T3-2): ~/.claude/rules/common/testing.md に '単複・閾値・時制で出力形式が変わる関数は N=0 / N=1 / N≥2 の 3 境界 variant 必須' guideline 追加 (XS, 💎 Tier 3) 経路の特殊性: - 順位 208/209/210 は session 内で AI が改善案として独自抽出 → ユーザーが post-merge-feedback report を待たずに採用予告 → analyzer も同一 3 件 + T3-2 を独立抽出 (二重確認) - 通常の post-merge-feedback flow (merge → analyzer → ユーザー承認) と異なり、session-derived findings を report が裏打ちする形になったため、専用 docs PR として通常 land フローと分離
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
ChangesPR
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 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 |
6 tasks
aloekun
added a commit
that referenced
this pull request
Jun 17, 2026
…0) (#212) * fix(pr-monitor): CR check flow defects (Bundle CR-CHECK 順位 208/209/210) PR #210/#211 セッションで実観測した cli-pr-monitor の CR check flow 不具合 3 件を バンドル修正: 順位 208 (CR walkthrough body parse): - check-ci-coderabbit に WALKTHROUGH_CLEAN_MARKER / WALKTHROUGH_HEADER_MARKER 定数 + parse_walkthrough_clean_marker + is_clean_walkthrough_comment helper を追加 - CodeRabbitStatus に walkthrough_clean: bool フィールド追加 - decide() に 'walkthrough_clean && !has_unresolved → complete' 分岐追加 - formal Review object が無くても walkthrough body の clean marker を信頼して recheck loop を構造的に終了。memory feedback_coderabbit_no_actionable_merge_signal の手動 workaround を機械化 - 7 fixture test (header あり / rate-limit overlay / marker なし / CR 以外 / push_time 前 / decide 2 経路) 順位 209 (PARK signal output round-UP): - cli-pr-monitor/stages/poll.rs に round_up_to_next_minute pure helper + compute_safe_minute_for_park_signal helper 追加 - ReviewParkSignalFields に safe_minute_unix / safe_minute_iso_utc 追加 - format_review_park_signal template に新 field 出力 + ACTION REQUIRED block で 2 制約 (秒→分 round-UP + :00/:30 minute 衝突回避) を sequential check として明示 - AI agent consumer が round-DOWN 罠を踏まない構造的防御 - 10 test (round-UP 5 件 / compute 4 件 / signal 1 件) 順位 210 (rule codify): - ~/.claude/rules/common/development-workflow.md に 'Cron スケジューリングの秒 → 分 round-UP' section 追加、analyzer 観点の '30s jitter vs 90s 前倒し制約' 混在を 2 直交制約として別個に明示 (Constraint 1 = scheduling minimum lead time / Constraint 2 = execution jitter ≤90s pre-fire) - feedback_cron_round_up_for_second_timestamps.md 新規 memory + MEMORY.md pointer - feedback_coderabbit_no_actionable_merge_signal.md に '順位 208 で機械化済' 追記 検証: - cargo build --release clean (30.72s) - cargo test -p check-ci-coderabbit: 89 passed (82 既存 + 7 新規) - cargo test -p cli-pr-monitor: 203 passed (193 既存 + 10 新規) - cargo clippy ... -D warnings clean - markdownlint clean scope 外 (別 PR で対応): - poll.rs (1988→2090 lines) / check-ci-coderabbit/main.rs (2143→2356 lines) / run_check (147 lines) の file/function-length lint 違反は touch-trigger ratchet 情報 (block されない soft-feedback) として残置、ファイル責務分割 refactor で対応 global 編集 (jj 管理外): - ~/.claude/rules/common/development-workflow.md - ~/.claude/projects/.../memory/feedback_cron_round_up_for_second_timestamps.md - ~/.claude/projects/.../memory/MEMORY.md - ~/.claude/projects/.../memory/feedback_coderabbit_no_actionable_merge_signal.md * test(check-ci-coderabbit): walkthrough_clean header-only test 追加 (PR #212 CR Nitpick 採用) CR Nitpick 指摘 (PR #212 review 1 件) を採用。既存 test walkthrough_clean_skipped_when_header_missing_to_avoid_user_post_false_positive が humanreviewer ユーザーで user filter + header check の 2 責務を同時テストして いたため、header marker 単独の検証を coderabbitai[bot] + clean marker + header 欠落 の独立 test として補完。 追加: walkthrough_clean_skipped_when_coderabbitai_post_lacks_header_marker 検証: - cargo test -p check-ci-coderabbit: 90 passed (89 既存 + 1 新規) - memory feedback_test_dry_antipattern.md と整合 (テスト独立性を優先、新規 test は fixture を inline で独立 setup) CR 評価: 🧹 Nitpick / Low value / Effort XS / Risk None。memory feedback_test_dry_antipattern の精神と一致する提案 (DRY ではなく test responsibility 分離) のため採用。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR #210 セッションで実観測した cron timing race + CodeRabbit clean 自動検出の gap + 単複境界 test 教訓を踏まえ、post-merge-feedback analyzer report (
.claude/feedback-reports/210.md) の ✅ 採用候補 4 件 (T1-1 / T2-1 / T3-1 / T3-2) をユーザー承認 (2026-06-16) のもと docs/todo10.md + docs/todo-summary.md に登録します。実装は 行わず、todo entry の追加のみ。実装は各順位の優先度判断後に別 PR で進めます。
追加エントリ
cli-pr-monitorの CR walkthrough body parse で"No actionable comments"検出 (T1-1)~/.claude/rules/common/development-workflow.md+ MEMORY.md に「Cron 秒 → 分 round-UP」rule codify (T3-1)~/.claude/rules/common/testing.mdに「N=0 / N=1 / N≥2 の 3 境界 variant 必須」guideline 追加 (T3-2)経路の特殊性
通常の post-merge-feedback flow と異なる経緯のため専用 docs PR として分離:
session-derived findings (AI 観察) と analyzer findings (自動抽出) が独立に同じ結論に到達した形で、analyzer の精度を間接的に検証する dogfood サンプルとしても価値があります。
関連順位間の依存
feedback_coderabbit_no_actionable_merge_signal.mdを「機械化済」として更新 or 削除Test plan
docs/todo-summary.mdtable 末尾に正しく追加docs/todo10.mdに追加 (各 entry に動機 / 設計決定 / 作業計画 / 完了基準を含む)関連
.claude/feedback-reports/210.md(analyzer report、本 PR の根拠)Summary by CodeRabbit
リリースノート
#210関連の運用・ルール整備タスク(監視リトライ停止判定、信号処理の最適化、ルール記述化、テストガイドライン追加)を記録しました。