-
Notifications
You must be signed in to change notification settings - Fork 0
test(phase-b): スモーク段 2 用の観測装置 — マージせずクローズする一時 PR (ADR-067) #355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,46 @@ | ||||||||||||||||||
| # Phase B 実走スモークテスト用の一時ドキュメント | ||||||||||||||||||
|
|
||||||||||||||||||
| > **このファイルは削除前提の検証用アーティファクトです。** ADR-067 (Phase B 無人 fix push) の | ||||||||||||||||||
| > スモーク段 2 で、CodeRabbit の docs 指摘 → fix agent の編集 → 4 軸ゲート → workflow による | ||||||||||||||||||
| > push、という allow 経路を実走観測するために作成しました。観測完了後、この PR はマージせず | ||||||||||||||||||
| > クローズし、ブランチごと削除します。プロダクションの手順書として参照しないでください。 | ||||||||||||||||||
| > | ||||||||||||||||||
| > **本文には意図的な不整合を 3 点含めてあります** (ステップ数の不一致 / variable 設定が任意と | ||||||||||||||||||
| > 必須で矛盾 / 判断基準のない TODO)。これは CodeRabbit に docs 指摘を出させ、Phase B の | ||||||||||||||||||
| > findings → fix → gate → push 経路を実走させるための**観測装置**です。 | ||||||||||||||||||
| > | ||||||||||||||||||
| > **補足(人間のレビュアー向け)**: 本文中の不整合は Phase B スモークテスト (ADR-067 段 2) の | ||||||||||||||||||
| > 観測装置として意図的に埋め込んだものです。観測対象は post-PR の CodeRabbit → Phase B fix job | ||||||||||||||||||
| > 経路であり、pre-push レビュー/fix パイプラインがこれらを検出・修正しても観測の成立を妨げま | ||||||||||||||||||
| > せん。段 2 の観測完了後にブランチごと破棄するため、修正の有無にかかわらず master に不整合が | ||||||||||||||||||
| > 残ることはありません。 | ||||||||||||||||||
|
|
||||||||||||||||||
| ## このテストで観測すること | ||||||||||||||||||
|
|
||||||||||||||||||
| Phase B の fix job が `claude/` prefix ブランチに対して起動し、以下を通過することを確認します。 | ||||||||||||||||||
|
|
||||||||||||||||||
| 1. `Decide whether Phase B applies` で `proceed=true` になる | ||||||||||||||||||
| 2. CodeRabbit の指摘が決定論的な著者フィルタを通って findings になる | ||||||||||||||||||
| 3. fix agent が `pr/docs/**` の範囲で編集する | ||||||||||||||||||
| 4. `cli-fix-push-gate` の 4 軸 AND がすべて満たされ exit 0 になる | ||||||||||||||||||
|
|
||||||||||||||||||
| 以上の 3 ステップを順に観測します。 | ||||||||||||||||||
|
|
||||||||||||||||||
| ## 実行手順 | ||||||||||||||||||
|
|
||||||||||||||||||
| Actions タブから pr-monitor workflow を手動起動します。ref は master を選び、`pr_number` に | ||||||||||||||||||
| この PR の番号を入れてください。variable の設定は任意です。 | ||||||||||||||||||
|
|
||||||||||||||||||
| なお `AUTONOMY_ENABLED` が `true` でなければ fix job は起動しないため、事前設定は必須です。 | ||||||||||||||||||
|
Comment on lines
+21
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Line 32 は variable の設定を任意と記載しています。Line 34 は 修正案-この PR の番号を入れてください。variable の設定は任意です。
+この PR の番号を入れてください。Actions variable `AUTONOMY_ENABLED` を `true` に設定してください。📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
|
|
||||||||||||||||||
| ## 観測後の後始末 | ||||||||||||||||||
|
|
||||||||||||||||||
| - この PR をクローズする | ||||||||||||||||||
| - ブランチを削除する | ||||||||||||||||||
| - TODO: 観測結果の記録先を決める | ||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win TODO に記録先と完了条件を追加してください。 現在の TODO は「記録先を決める」とだけ記載しています。どこに記録するか、何を記録したら完了とするかが不明です。PR とブランチを削除する前に、記録先と完了条件を明記してください。 🤖 Prompt for AI Agents |
||||||||||||||||||
|
|
||||||||||||||||||
| ## 補足 | ||||||||||||||||||
|
|
||||||||||||||||||
| 段 1 では非 `claude/` ブランチに対して prefix 層の deny を確認済みです。段 2 はその対になる | ||||||||||||||||||
| allow 経路の確認にあたります。ゲートの 4 軸の詳細は [ADR-067](adr/adr-067-phase-b-unattended-fix-push.md) | ||||||||||||||||||
| を参照してください。 | ||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
ステップ数の記載を 4 に統一してください。
Lines 22-25 は 4 項目を列挙しています。Line 27 は 3 ステップと記載しています。観測結果の解釈が不明確になります。
修正案
📝 Committable suggestion
🤖 Prompt for AI Agents