Repository navigation
実装: AUTO_MODE_CANARY_EVIDENCE_V2 の main_sha から checkout_head_sha への rename の schema compatibility 方針を決定記録する (#2977) - #3073
Draft
squne-chatgpt-to-claudecode wants to merge 3 commits into
Conversation
added 3 commits
November 19, 2026 10:10
This branch has not been deployed
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
Closes #2977
この PR は Issue #2977 を解決し、マージ時に同 Issue をクローズします。
docs/dev/schema-governance.mdにAUTO_MODE_CANARY_EVIDENCE_V2のsut_revision.main_sha→checkout_head_sharename(#2960 / PR #2975)に関する決定記録セクションを追加しました。事実確認の結果(Consumer Fact Check)と、schema ID を V2 のまま維持し dual-write などの移行契約を不要とする決定(Compatibility Decision)およびその根拠と再判定条件を記録しています。変更は docs のみで、scripts/配下には差分がありません。受け入れ条件の達成状況
AUTO_MODE_CANARY_EVIDENCE_V2の見出し付き決定記録セクション## AUTO_MODE_CANARY_EVIDENCE_V2 sut_revision rename 決定記録(Issue #2977)を追加checkout_head_shaへの言及AUTO_MODE_CANARY_EVIDENCE_V2 Compatibility DecisionmarkerConsumer Fact Checkmarkermain_shaへの言及scripts/配下に差分なしgit diff --name-only origin/main --diff-filter=ACMR -- scriptsの出力が空検証コマンド結果
Issue の Verification Commands のみを linked worktree(commit
58adc2d)で実行しました。指示に従い pnpm test などのフルテストスイートは実行していません。rg --fixed-strings -- "AUTO_MODE_CANARY_EVIDENCE_V2" docs/dev/schema-governance.mdrg --fixed-strings -- "checkout_head_sha" docs/dev/schema-governance.mdrg --fixed-strings -- "AUTO_MODE_CANARY_EVIDENCE_V2 Compatibility Decision" docs/dev/schema-governance.mdrg --fixed-strings -- "Consumer Fact Check" docs/dev/schema-governance.mdrg --fixed-strings -- "2960" docs/dev/schema-governance.mdrg --fixed-strings -- "main_sha" docs/dev/schema-governance.mdgit diff --name-only origin/main --diff-filter=ACMR -- scriptsAllowed Paths 遵守
変更ファイルは
docs/dev/schema-governance.mdの 1 件のみで、Issue の Allowed Paths と一致します。scripts/claude-gpt/**を含むそれ以外のファイルは変更していません。Checks
Schema Change Applicability
Schema Consumer Inventory
本 PR は schema を変更しないため Inventory の記載義務はありませんが、決定記録の根拠として行った consumer 調査の結果を以下に示します。
main_shaを読む repo 内 consumer(production / test-only)rg -n "main_sha"の全 hit を目視分類sut_revisionの readerrg -l "sut_revision"git ls-filesとgit log --all -- scripts/claude-gpt/.evidence.evidence/**を globCompatibility Decision(互換性判定)
schema ID は
AUTO_MODE_CANARY_EVIDENCE_V2のまま維持し、dual-write などの移行契約は不要と判定しました。repo 内で旧main_shaを読む consumer と保存済み evidence はいずれも 0 件で、canary evidence は gitignore 対象の使い捨て local 出力だからです。旧 field を dual-write すると、#2960 が是正した live main の誤読を残すことにもなります。repo 外 consumer または保存済み evidence が 1 件以上見つかった場合は本判定を無効とし、別 Issue で人間判断するという再判定条件を docs に記録しています。Safety Claim Matrix
git diff --name-onlyがdocs/dev/schema-governance.mdのみscripts/配下に差分がないmain_shaconsumer は 0 件Notes
gh search code "main_sha" --repo squne121/loop-protocolなどで補完確認することを推奨します。1 件以上見つかった場合は Issue の Stop Condition に該当するため、人間判断へ戻してください。🤖 Generated with Claude Code により、この PR 本文を作成しました。