docs(ai-loop): Run-012 — F-27/F-28 正本化 + auto-merge 廃止の運用反映#759
Conversation
- execution-runbook §2-(7) 手順3: AI レビュー着弾確認 → 指摘対応 → merge-ready 報告の 順序を明文化。auto-merge は使用しない(2026-07-07 Human 指示・merge は Human-owned) - loopspec.md: ログ・台帳系 AC の厳密形(表行限定 / 基準コミット比の削除行ゼロ)を追記(F-28) - run 記録: W チェック R1-R3(B の logic 指摘 2 件採用)→ C/D 不一致 → HUMAN_ESCALATED 刻印 → Human 選択 1(consolidated AC ブロック追記方式)で解消。摩擦 F-29/F-30/F-31 記録 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Check PR Issue Link: WARN: no closing keyword found (expected one of: closes #N / fixes #N / resolves #N)
|
There was a problem hiding this comment.
Code Review
This pull request updates the AI loop execution runbook and loopspec documentation to formalize waiting for AI reviews, disabling auto-merge, and using strict validation rules for log/ledger acceptance criteria. It also adds the run log and friction records for Run-012. The review feedback correctly identifies a regular expression issue in both loopspec.md and run-012-loopspec.md where the pipe character in ^| ID is unescaped, causing it to act as an alternation operator instead of matching a literal pipe.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
|
||
| deterministic の各コマンドは、計画時に**実機で PASS/FAIL 両方向**(PASS する入力と FAIL する入力の双方)の挙動を確認してから AC に採用する。環境差 — BSD/GNU 等 — でサイレントに空を返す・ハードエラーになるコマンドの混入を防ぐ(実例: Run-003 R1/R2・Run-004 R1)。 | ||
|
|
||
| ログ・台帳系の AC は厳密形を用いる — ID 収録は表行限定(行頭 `^| ID` 一致)、 |
There was a problem hiding this comment.
| **理由付きで不採用とする**かを記録する。 | ||
| **auto-merge の arm は、指摘対応完了(または指摘なしの確認)の後に行う**。」 | ||
| 2. **loopspec.md** の deterministic フィールド注記(F-12 文の周辺)に 1 文: | ||
| 「ログ・台帳系の AC は厳密形を用いる — ID 収録は表行限定(行頭 `^| ID` 一致)、 |
There was a problem hiding this comment.
- loopspec.md: `^| ID` → `^\| ID`(未エスケープはオルタネーションになり全行マッチ) - run-012-loopspec.md: Round 1 本文は監査記録として不変のまま事後注記で訂正 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Gemini レビュー指摘 2 件(medium・同一内容)に対応しました:
AC-2(固定句「削除行ゼロ」)・markdownlint とも再検証 PASS。 |
Summary
ai-loop Run-012(F-27/F-28 の実践済み規律の正本化)。run 途中の Human 指示「auto-mergeを設定するのはやめたい」を Round 3 で反映し、締め処理の正本を「レビュー着弾確認 → 指摘対応 → merge-ready 報告(auto-merge 不使用・マージは Human)」に確定した。
ガバナンス証跡
注記
diff にはテーブル整形フック由来の区切り行揃えが含まれる(
git diff -wでの実質差分は計画どおりの 2 挿入のみを確認済み)。🤖 Generated with Claude Code