Skip to content

全 PR の提出前にローカルレビューを必須にします - #29

Merged
TinyKitten merged 2 commits into
masterfrom
chore/require-local-agent-review
Dec 3, 2026
Merged

TinyKitten merged 2 commits into
masterfrom
chore/require-local-agent-review

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

概要

すべての PR の提出前に、コーディングエージェントがローカルで全差分をレビューする手順を追加します。PR 本文の記録を GitHub Actions で検証します。マージを止めるには、このチェックをリポジトリ設定で必須にする必要があります。

検証

ローカルで提出差分を確認し、本文と最新コミット・ベースブランチの照合、すべての提出者への適用、既存の手順との整合をレビューしました。jq に正常・CRLF・記録の欠落・古い SHA・ベース違い・空のエージェント名・重複・本文なしの8ケースを入力し、期待どおりの結果を確認しました。

Local-Agent-Review: PASS b42d2a7 master by Codex

アプリケーションや画面には変更がないため、そのビルド・テスト・画面検証は未実施です。

関連Issue

Refs TrainLCD/MobileApp#7618

Summary by CodeRabbit

  • 自動化
    • PRの作成・再開・更新・編集時などに、本文のローカルレビュー記録を自動検証するようになりました。記録の形式や内容が条件を満たさない場合、チェックは失敗します。
  • ドキュメント
    • PR提出前の差分レビュー、指摘への対応、変更後の再レビューと記録更新に関する手順を追加しました。

@TinyKitten TinyKitten self-assigned this Dec 3, 2026
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

PR提出前のローカルレビュー手順を追加しました。PR本文に記載するレビュー記録の形式を定め、その記録をPRイベント時に検証するGitHub Actionsワークフローを追加しました。

Changes: ローカルレビュー記録

Layer / File(s) Summary
レビュー要件と記録検証
AGENTS.md, .github/workflows/local-agent-review.yml
PR提出前のローカル差分レビュー、指摘対応後の再レビュー、pushまたはベースブランチ変更後のレビュー記録更新を定めました。ワークフローは、PR本文に形式を満たす Local-Agent-Review: 行がちょうど1つあることを検証します。

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: Minimal · up to b42d2

This change adds a local review requirement and a format check for the PR body. It does not touch application behavior. The risk of merging is minimal. Marking the check as required in the repository settings is a separate step.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed PRタイトル「全 PR の提出前にローカルレビューを必須にします」は、変更の主目的を示している。変更内容は、AGENTS.md へのローカルレビュー手順の追加と、PR 本文の Local-Agent-Review 行を GitHub Actions で検証するワークフローの追加である。タイトルはこの両方の基礎となる主要な変更を表している。タイトルは具体的で、変更セットと関連している。
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

うさぎは差分を耳で追い
レビュー記録をそっと確認
SHAとブランチを並べたら
指摘を直してもう一度
PRの扉に合図を置く
月明かりまで跳ねていく

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 4a71147b-862b-4417-afe7-7d270c3f182b
Commits

Reviewing files that changed from the base of the PR and between 3aedb5b and b42d2a7.

Files selected for processing: 2

  • .github/workflows/local-agent-review.yml
  • AGENTS.md

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@TinyKitten
TinyKitten merged commit 06a8b6f into master Dec 3, 2026
5 checks passed
@TinyKitten
TinyKitten deleted the chore/require-local-agent-review branch December 3, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant