Repository navigation
実装: hard-required な verification profile assertion の binding 完全性を検証する - #2780
Conversation
…#2771) matched_rules[].enforcement == "hard" だけから導出される (verification_profile, assertion) composite set を derive_required_runtime_assertions() で決定論的に 導出し、Issue の Runtime Verification Applicability に runtime_assertion_bindings (profile/assertion/ac の3フィールドのみ)として宣言された binding set との missing/unknown/duplicate(1 key = 1 ac)を evaluate_runtime_assertion_binding_ coverage() で検証する共有 helper を scripts/agent-guards/extension_surface_policy_ matcher.py に追加した。各 binding の ac は実在確認・applicable_acs 包含・ decision-level runtime-verification タグ整合(既存 C11 相当ロジック再利用)・ ## Verification Commands の # AC<N> canonical reference 存在(既存 C5 / parse_verification_commands_section 再利用)の4点を確認する。 policy 側の dangling profile reference・同一 profile 内 duplicate assertion id は PolicyLoadError として Issue 側の needs_fix と明確に区別する。review-issue (check_issue_contract.py の新規 C15)と issue-contract-review (contract_readiness_check.py の新規 check_runtime_assertion_binding_coverage) は同一 shared evaluator を呼ぶため drift しない。 .claude/skills/create-issue/references/body-authoring.md と docs/dev/runtime-verification-policy.md に author 向けの記法・生成規則・ #2775 未解決時の escape valve・structural completeness vs semantic sufficiency の責務境界を追記した。 新規の自然言語 semantic parser や generic Skill evaluator は追加していない (Out of Scope / AC9 / AC10)。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Preview URL✅ verified live assets: https://squne121.github.io/loop-protocol/pr-2780/ The preview will be removed when this PR is closed. |
CI の python-test-core job で ruff check の E501 (line 46, 122 > 120) が失敗していたため、辞書リテラルを複数行に整形した。テストの意味は不変。
判定:Request changesマージ前に直したいのは、検証を厳しくすることではなく「正常なIssueを誤って止める抽出処理」です。 主に2点あります。加えて、ACの実在確認に既知の誤抽出ロジックを再利用している点も改善対象です。 対象は HEAD Issue #2771の本文・レビュー/refinement/実装完了コメント、関連する #2775・#1712、PR #2370、変更された両チェッカー・共有ヘルパー・authoring guidance・既存のAC抽出テストを照合しました。以下は、その契約と実装の差分に基づくレビューです。
優先度 | Finding | 主な影響
-- | -- | --
P1 | 正常なYAMLを新しいfield抽出器が読み落とす | bindingやapplicable_acsが存在するのに、欠落としてIssueを止める
P2 | 両チェッカーでVerification Commandsのセクション抽出が異なる | 同じIssueでも、新しいcoverageチェックの判定が分かれる
P2 | ACの実在確認に、説明文まで拾う広域正規表現を再導入している | 実在しないACへのbindingを、このチェック単体では検出できない
新しい3つの 検証範囲GitHub上のCI成功と、実装完了コメントのテスト成功報告は確認しました。後者では新規32テストと既存matcher 21テストなどの成功が報告されています。 こちらで実行したのは、取得した抽出関数・正規表現の単独再現です。リポジトリ全体のcheckoutによる 優先順位はF1、次にF2です。F3も狭い修正で合わせて解消するのが望ましいですが、#2775の完了や大規模な検証基盤の整備まで、このPRを止める理由にはしません。 ## 判定:Request changesマージ前に直したいのは、検証を厳しくすることではなく「正常なIssueを誤って止める抽出処理」です。 主に2点あります。加えて、ACの実在確認に既知の誤抽出ロジックを再利用している点も改善対象です。 対象は HEAD Issue #2771の本文・レビュー/refinement/実装完了コメント、関連する #2775・#1712、PR #2370、変更された両チェッカー・共有ヘルパー・authoring guidance・既存のAC抽出テストを照合しました。以下は、その契約と実装の差分に基づくレビューです。
F1 — P1:コメント追加や通常のYAML整形だけで、正しいbindingが未宣言扱いになる対象: この抽出器は、YAMLを解析する前に独自の行切り出しを行っています。その切り出しに、次の問題があります。
コメントだけで壊れる例他のAC・VC・Allowed Pathsを正常な状態にして、RVAに次を記載するケースです。 decision: immediate
applicable_acs: [AC1]
runtime_assertion_bindings: # このACで両方を検証する
- profile: hook-chain-runtime-smoke
assertion: all_matching_hooks_observed
ac: AC1
- profile: hook-chain-runtime-smoke
assertion: sibling_side_effect_inventory_complete
ac: AC1問題はコメントの内容ではありません。 runtime_assertion_bindings: # このACで両方を検証するその結果は PyYAML自身が出力する形式も読み落とす次の形式も正当なYAMLです。 runtime_assertion_bindings:
- profile: hook-chain-runtime-smoke
assertion: all_matching_hooks_observed
ac: AC1mappingの値となるsequenceは、キー行からさらにインデントしなくても成立します。PyYAMLの公式ドキュメントにも、この形式が明記されています。ところが今回の抽出器は、同じインデントの 取得した抽出関数を単独で再実行したところ、PyYAML 6.0.3では以下を確認できました。
最後の箇条書き形式についても、既存のRVA authoring guidanceは 推奨修正: これはセキュリティ強化ではなく、通常の編集や自動整形でワークフローが壊れないための互換性修正です。 F2 — P2:共通evaluatorを呼んでも、入力セクションの抽出が違うため判定が一致しない対象:
後者の抽出条件は次です。 r"^##\s+Verification Commands\s*$(.+?)(?=^##|\Z)"この正規表現では、例えば通常の見出しを次に変えるだけで、セクションを取得できなくなります。 ## Verification Commands ##これはGFMで認められた見出しです。GFMでは末尾のclosing hashが任意で許可されています。:chatgpt-content-reference{index="7"} また、セクション内の 結果としてreadiness側には空、または不完全な 正規表現自体は既存コードですが、今回追加するcoverageチェックに、その抽出差を持ち込んでいる点がこのPRの問題です。 最小修正このPRでは、すでにreadiness側へ vc_section = _extract_section_by_canonical_name(
body, "Verification Commands"
)
vc_section_text = vc_section[0] if vc_section is not None else ""このヘルパーは、fence・見出しレベル・closing hashの扱いを既存の共有ポリシーへ委譲する設計になっています。RVAとACだけでなく、VCにも同じ入口を使うのが自然です。 F3 — P2:ACの「実在確認」が、説明文中のAC番号でも成立してしまう対象: 新しい関数は次の実装です。 return set(re.findall(r"AC(\d+)", ac_section_text or ""))このため、例えばAC定義が1個しかなくても、 - [ ] AC1: 現在の受入条件。旧案のAC99は参考情報であり、今回の受入条件ではない。抽出結果は しかも、この問題は新発見ではありません。Issue #1712が、C5の同じ広域正規表現による誤抽出を追跡中です。 今回はその既知の問題を、新しい共有ヘルパーへコピーしています。 一方、既存のLP010側には、ACのtask-list定義を認識し、説明文・URL・ファイル名・inline code・fenced code内のACらしい文字列を除外する回帰テストがあります。新しいgateが参考にすべきなのはこちらです。 推奨修正: ACのtask-list定義とfence除外に基づく既存の抽出処理・定義規則を再利用してください。#1712のC5全体改修や、新しい汎用Markdown parserまで、このPRへ抱き合わせる必要はありません。 なお、これは新しいcoverageチェック単体の保証不足です。後段のLP010が余分なVC参照を検出する場合もあるため、「この入力でワークフロー全体が必ず誤承認する」とまでは評価していません。 このPRで維持すべき設計と、追加の停止条件にしない事項hard-onlyのrequired set導出、 また、policy破損時の「review-issueはWARN、readinessはhuman_judgment」という差は、PR #2370で意図的に残された設計です。これを今回の新しいparity不具合として数えるべきではありません。F2は、それとは別の正常入力の抽出差です。 #2775を新しいマージ待ち条件にはしないschemaを持たないSkillに 上流仕様を確認しても、Claude CodeのSkillは ただし、2つのassertionを同じACへbindしたことを、2つとも実証できた証拠にしてはいけません。 このPRが明示している「structural completenessのみ」という保証範囲は、そのまま維持すべきです。 追加する回帰テストは、この範囲で十分既存の正常fixtureを複製し、記法だけを変えるテストを優先してください。
新しい3つの 検証範囲GitHub上のCI成功と、実装完了コメントのテスト成功報告は確認しました。後者では新規32テストと既存matcher 21テストなどの成功が報告されています。 こちらで実行したのは、取得した抽出関数・正規表現の単独再現です。リポジトリ全体のcheckoutによる 優先順位はF1、次にF2です。F3も狭い修正で合わせて解消するのが望ましいですが、#2775の完了や大規模な検証基盤の整備まで、このPRを止める理由にはしません。 |
|
推奨は、PR #2780 をそのまま 確認した現在の HEAD は また、F3 は既存 #1712 が C5 の同系統問題を追跡しているので新規 Issue は不要です。一方 F2 の 以下を、そのまま auto mode の ClaudeCode に渡せます。 PR #2780 の OWNER review comment を human context として扱い、Issue #2771 / PR #2780 を対象に 対象:
人間の追加承認待ちは挟まないでください。 最初に必ず行うこと
SubAgent 実行ルールimpl-review-loop の定義どおり、各工程を適切な SubAgent に委譲してください。
重要:
今回の fix_deltaOWNER comment の F1 → F2 → F3 の順で対処してください。 F1 / P1: RVA YAML field extraction の正常入力 false-negative対象:
次の正当な入力を同値として扱えるように修正すること。
runtime_assertion_bindings: # このACで両方を検証する
- profile: hook-chain-runtime-smoke
assertion: all_matching_hooks_observed
ac: AC1
runtime_assertion_bindings:
- profile: hook-chain-runtime-smoke
assertion: all_matching_hooks_observed
ac: AC1
- applicable_acs: [AC1]要求:
OWNER comment に挙げられた入力を regression test 化し、従来の canonical fixture と同一結果になることを検証すること。 F2 / P2: review-issue / readiness の Verification Commands section extraction parity対象:
新規 coverage check では、legacy の
を入口にせず、PR #2780 内ですでに存在する GFM-aware な
を使ってください。 少なくとも以下を regression test にすること。
既存の意図的な差異である
は parity bug として変更しないこと。 F3 / P2: Acceptance Criteria の実在確認対象:
現在の re.findall(r"AC(\d+)", ac_section_text)のような AC section 全体への broad regex を廃止してください。 AC definition は、既存 LP010 の定義規則を参考に、
という既存 repository semantics に合わせてください。 例: - [ ] AC1: 現在の受入条件。旧案のAC99は参考情報であり、今回の受入条件ではない。では AC1 のみが実在し、AC99 は実在しないこと。 fenced example 内だけに存在する AC も実在 AC として扱わないこと。 ただし Issue #1712 が既に 維持する設計以下は OWNER review で妥当と確認されているため変更しないこと。
テストOWNER comment の表にある regression を最低限すべて追加すること。
変更箇所の focused tests を先に実行し、その後 Issue #2771 の Verification Commands、関連する既存 regression、必要な skill test suite を実行する。 最後に repository 標準の必要な CI-equivalent checks を実行する。 テスト失敗時は原因を分析して Step 1 に戻し、fix_delta を implementation-worker に渡す。 PR review loop修正を push したら current HEAD を固定して Step 4 の REQUEST_CHANGES の場合:
を繰り返す。 stale-head の review は承認根拠にしない。 CI は current HEAD に対応する workflow を確認し、必要なら完了を待つ。 最終的に reviewer verdict が APPROVE になり、live mergeability に blocker がなくなるまで進める。 実際の merge は絶対に行わない。 再発防止 IssueF3 は既存 Issue #1712 があるため重複 Issue を作らない。 一方、F2 の underlying helper:
は今回の runtime assertion coverage 以外からも利用されている。 今回の PR では coverage check を canonical extractor に切り替える最小修正に留める。 重複がなければ、例えば以下の趣旨の follow-up Issue を人間承認なしで起票すること。 推奨タイトル: Issue には最低限以下を含める。
Issue #2771 の既存 Stop Conditions に「新規 Issue 起票が必要なら停止」がありますが、この owner instruction により、今回発見済みの repository-wide recurring defect を follow-up Issue として dedupe 後に起票する行為については、承認待ちで停止しないでください。 その他の新しい recurring defect を発見した場合も、
停止条件承認確認のためには停止しない。 次の場合のみ、勝手に突破せず停止して明示的に報告すること。
通常の test failure、CI failure、REQUEST_CHANGES、stale review、draft 状態、advisory artifact の欠落は人間承認を求める理由にせず、impl-review-loop の routing で自律処理すること。 完了時全 SubAgent が終了していることを確認してから終了すること。 最終報告には次を含める。
APPROVE / merge-ready に到達しても merge はせず、そこで終了してください。 このプロンプトでは、#2771 のスコープを広げずに3 finding を処理しつつ、F2 の共有 parser 自体の負債だけを別 Issue に逃がす構成にしています。 |
- F1: _extract_rva_yaml_field() がキー行末コメント・yaml.safe_dump() 形式の同一インデント sequence・bullet-prefixed field key を読み落と し、正常な runtime_assertion_bindings/applicable_acs 宣言を欠落扱い にする false negative を修正 (Issue #2771) - F2: check_runtime_assertion_binding_coverage() の Verification Commands 抽出を legacy extract_verification_commands_section() から GFM-aware な _extract_section_by_canonical_name() へ切り替え、 review-issue C15 との section 抽出 parity を回復 (closing hash 見出 し・nested ### 見出し・fenced 内 ## 行に対する不一致を解消) - F3: extract_ac_numbers() を body-wide `AC(\d+)` 正規表現から、 fenced code 外の task-list item (`- [ ] AC<N>` / `- [x] AC<N>`) のみ を実在ACとして扱う抽出へ変更し、prose/fenced example 中の偶然の AC<N> 一致による ac_not_found 検出漏れを解消 OWNER review: #2780 (comment) Co-Authored-By: Claude Sonnet 5 <[email protected]>
* fix: VC section 抽出の authority を prose_boundary_policy.py へ一本化する (#2782) baseline_vc_preflight.py::extract_verification_commands_section() の正規 表現ベースの独自抽出を、prose_boundary_policy.py に新設した level-2 canonical section extraction helper(extract_level2_section() / extract_level2_section_with_bounds())への委譲に置き換える。 contract_readiness_check.py::_extract_section_by_canonical_name() も同じ shared helper に委譲させ、fence-aware 見出し境界判定ループの独立コピーを 両ファイルから除去する(baseline_vc_preflight.py から contract_readiness_check.py への逆 import は発生させず、循環依存を避け prose_boundary_policy.py を単一 authority とする)。 extract_verification_commands_section(body) の return contract (None=heading不在 / ""=heading存在するが本文空 / non-empty str=heading 存在し本文あり)を明文化し、presence-only consumer (run_contract_review_once.py::_resolve_delivery_rollup_applicability()、 contract_readiness_check.py execute mode の canonical-parent VC-presence 判定)を truthiness/bool() から is not None へ変更する。 baseline preflight 自身の「section 存在するが content がない」エラー処理 も presence 判定と content validation を分離する。 PR #2780 OWNER review comment F2(#2771 起点)の指摘を反映。 Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix: test_extraction_authority_delegation.py の module load / 禁止primitive検査を安全化する - _load_module() の sys.modules 強制上書きを廃止し、通常の importlib.import_module() + __file__ 一致確認へ置換する(既存 sys.modules エントリを別オブジェクトで踏みつけない)。 - parse_atx_heading_line / lookup_heading_policy / _fenced_line_indices の 禁止チェックを、raw な full-source substring 検査から AST ベースの 構造検査(ast.Name / ast.Attribute 参照、ast.FunctionDef 定義名)へ 置換し、コメント・docstring 内の言及で誤ブロックしないようにする。 - コメント/docstring のみの言及で AST 構造ゲートが誤検知しないことを 固定する pin テストを追加する(新規ハーネスは追加しない)。 Issue #2782 fix_delta(OWNER classified non-blocking, user-authorized this run's scope)。functional delegation テスト(patch.object 経由)と import 方向テストは変更しない。 Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Test <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]>
Summary
scripts/agent-guards/extension_surface_policy_matcher.pyにderive_required_runtime_assertions()/evaluate_runtime_assertion_binding_coverage()を追加し、matched_rules[].enforcement == "hard"だけから導出される(verification_profile_id, assertion_id)composite set が、Issue の Runtime Verification Applicability にruntime_assertion_bindings(profile/assertion/acの3フィールドのみ)として漏れなく binding されているかを決定論的に検証するreview-issue(check_issue_contract.pyの新規 C15)とissue-contract-review(contract_readiness_check.pyの新規check_runtime_assertion_binding_coverage)は同一 shared evaluator を呼ぶため parity を維持し drift しないneeds_fix)と policy 側の dangling profile reference・duplicate assertion id(PolicyLoadError、human_judgment escalation)を明確に区別する.claude/skills/create-issue/references/body-authoring.mdとdocs/dev/runtime-verification-policy.mdに author 向けの記法・生成規則・composite identity(1 key = 1 ac)・再発防止: skill-invocation-runtime-smoke の assertion applicability を明示化する #2775 未解決時の escape valve・structural completeness と semantic sufficiency の責務境界を追記したChecks
pnpm typecheckpnpm lintpnpm testpnpm buildSchema Change Applicability
schema_changeruntime_assertion_bindings(profile/assertion/ac)を導入する。Issue 実装: 再発防止: Runtime Verification profile の全 assertion を Issue VC に binding して readiness で検証する #2771 が定義する新規 canonical shape であり、既存フィールドの互換性は変更しない(additive)。Schema Consumer Inventory
変更対象 schema:
runtime_assertion_bindings(Runtime Verification Applicability セクション内の新規フィールド)before/after 差分:
Consumer 列挙(rg コマンド例と結果):
Consumer 更新状況:
scripts/agent-guards/extension_surface_policy_matcher.py.claude/skills/review-issue/scripts/check_issue_contract.py.claude/skills/issue-contract-review/scripts/contract_readiness_check.pycheck_runtime_assertion_binding_coverageとして shared evaluator を呼ぶ consumer.claude/skills/create-issue/references/body-authoring.mdCompatibility Decision(互換性判定)
additivebackward_compatiblenoN/Aruntime_assertion_bindingsは新規 optional フィールドであり、未宣言(欠落)の場合は required set が非空ならmissingとしてneeds_fixになるが、これは Issue 実装: 再発防止: Runtime Verification profile の全 assertion を Issue VC に binding して readiness で検証する #2771 が意図した新規 blocking gate 自体であり、既存 Issue の静的構文を破壊するものではない(hard-required profile を要求する Allowed Paths を宣言していない既存 Issue には影響しない)。Visual Impact Declaration(視覚影響申告)
UI(DOM/CSS)変更を含まないため本ブロックは省略する。
Safety Claim Matrix
uv run --locked pytest scripts/agent-guards/tests/test_runtime_profile_assertion_coverage.py .claude/skills/review-issue/tests/test_runtime_profile_assertion_coverage.py .claude/skills/issue-contract-review/tests/test_runtime_profile_assertion_coverage.py -q-> 32 passedskill-invocation-runtime-smokeの hard selector applicability 自体の再設計、責務分離済み)uv run --locked pytest .claude/skills/issue-contract-review/tests/test_runtime_profile_assertion_coverage.py::test_policy_integrity_failure_escalates_to_human_judgment_not_needs_fix .claude/skills/issue-contract-review/tests/test_runtime_profile_assertion_coverage.py::test_review_issue_downgrades_policy_integrity_failure_to_warn -q-> 2 passed記載ルール確認:
Not controlledは semantic sufficiency の非保証のみであり、safe/read-only/sandboxed/isolated/completeを無限定に使用していないFollow-upは既存 Issue 再発防止: skill-invocation-runtime-smoke の assertion applicability を明示化する #2775(責務分離済み、本 PR のマージ順序前提条件にしない)を記載した受け入れ条件の達成状況
matched_rules[].enforcement == "hard"の rule だけから required(verification_profile_id, assertion_id)composite set を決定論的に導出できる。enforcement == "advisory"のみで到達した profile / assertion は required set に一切含まれない —derive_required_runtime_assertionsが hard-only から required set を導出する実装で満たす。advisory-only な profile は required set が空集合になることをtest_advisory_only_rule_yields_empty_required_setで確認済み。verification_profile_idが複数のmatched_rulesentry でマッチした場合、profile 単位で「いずれか1つの entry のenforcement == "hard"」を条件に required set へ含まれる(assertion 単位の部分追加ではない)。全 entry が advisory の場合は required set に含まれない —test_profile_not_required_when_all_matching_entries_are_advisoryで確認済み。runtime_assertion_bindings(profile/assertion/acの3フィールドのみ、vc:やコマンド本文を複製しない canonical shape)が Runtime Verification Applicability から決定論的に parse できる —parse_runtime_assertion_bindingsが3フィールドのみで決定論的に parse する実装で満たす。(verification_profile_id, assertion_id)を基準に required set と declared binding set の missing / unknown / duplicate を区別した reason code で報告する。1つの(profile, assertion)key は高々1つのacにのみ bind できる(1 key = 1 ac)—(profile, assertion)composite key で duplicate 判定を行い、異なるacへの複数 bind を拒否する一方、同一acへの複数 key を許容する。test_duplicate_key_with_different_ac_is_reported_as_duplicate/test_multiple_distinct_bindings_may_share_the_same_acで確認済み。acについて、実在確認・applicable_acs包含・decision-level runtime-verification タグ整合(既存 C11 再利用)・## Verification Commandsの# AC<N>canonical reference(既存 C5 parser 再利用)の4点を deterministic に確認し、存在しない AC /applicable_acs外 / タグ欠落 / VC reference 欠落をそれぞれ区別して報告する実装で満たす。needs_fix、reason codeRUNTIMEASSERT001)と、policy 自身の dangling profile reference / duplicate assertion id(policy integrity defect、PolicyLoadError→RUNTIMEASSERT002/WARN)を明確に区別する実装で満たす。.claude/skills/create-issue/references/body-authoring.mdにruntime_assertion_bindingsの canonical authoring shape・1 key = 1 ac の制約・再発防止: skill-invocation-runtime-smoke の assertion applicability を明示化する #2775 未解決時の escape valve・structural completeness と semantic sufficiency の責務境界を追記した。runtime_assertion_bindings/"1 key = 1 ac"/output_contract_schema_fields_presentの3件の grep VC で確認済み。--expect-ordered-markerを「宣言順の全手順を証明した」と自動推論する heuristic は追加していない — diff 全体を grep し、該当ロジックが存在しないことを確認済み。structural_completeness_not_semantic_sufficiencyがextension_surface_policy_matcher.pyに明示されていることを grep で確認済み。検証コマンド結果
全て head
711a02f4で再検証済みであり、以下のとおり全て成功(PASS)した。uv run --locked pytest scripts/agent-guards/tests/test_runtime_profile_assertion_coverage.py -vを実行し、12 件のテストが成功した(AC1 と AC2 の根拠)。uv run --locked pytest .claude/skills/review-issue/tests/test_runtime_profile_assertion_coverage.py -vを実行し、11 件のテストが成功した(AC3 と AC4 の根拠)。uv run --locked pytest .claude/skills/issue-contract-review/tests/test_runtime_profile_assertion_coverage.py -vを実行し、9 件のテストが成功した(AC5 と AC6 の根拠)。grep -q "runtime_assertion_bindings" .claude/skills/create-issue/references/body-authoring.mdを実行し、記述の存在を確認した(AC7 の根拠その1)。grep -q "1 key = 1 ac" .claude/skills/create-issue/references/body-authoring.mdを実行し、記述の存在を確認した(AC7 の根拠その2)。grep -q "output_contract_schema_fields_present" .claude/skills/create-issue/references/body-authoring.mdを実行し、記述の存在を確認した(AC7 の根拠その3)。uv run --locked pytest実行では、合計32件のテストが成功した(AC8 と AC9 の根拠)。grep -q "structural_completeness_not_semantic_sufficiency" scripts/agent-guards/extension_surface_policy_matcher.pyを実行し、責務境界の明示を確認した(AC10 の根拠)。test_extension_surface_policy_matcher.pyは21件成功し、既存の hard/advisory 挙動が壊れていないことを確認した。review-issueの全テストスイートは285件成功した。issue-contract-reviewの全テストスイートは574件成功した。pnpm typecheck/pnpm lint/pnpm test/pnpm buildの4コマンドは全て成功した。Allowed Paths 遵守
gh pr diff 2780 --name-onlyで確認した変更ファイルは全て Issue #2771 の Allowed Paths に収まる:scripts/agent-guards/extension_surface_policy_matcher.pyscripts/agent-guards/extension_surface_policy_matcher.pyscripts/agent-guards/tests/test_runtime_profile_assertion_coverage.pyscripts/agent-guards/tests/**.claude/skills/review-issue/scripts/check_issue_contract.py.claude/skills/review-issue/scripts/check_issue_contract.py.claude/skills/review-issue/tests/test_runtime_profile_assertion_coverage.py.claude/skills/review-issue/tests/**.claude/skills/issue-contract-review/scripts/contract_readiness_check.py.claude/skills/issue-contract-review/scripts/contract_readiness_check.py.claude/skills/issue-contract-review/tests/test_runtime_profile_assertion_coverage.py.claude/skills/issue-contract-review/tests/**.claude/skills/issue-contract-review/tests/test_extension_surface_advisory_routing_parity.py.claude/skills/issue-contract-review/tests/**.claude/skills/create-issue/references/body-authoring.md.claude/skills/create-issue/references/body-authoring.mddocs/dev/runtime-verification-policy.mddocs/dev/runtime-verification-policy.mdAllowed Paths 外の変更は確認されなかった。
Notes
docs/dev/current-focus.mdの M4 境界に影響しない(workflow/Issue-contract 検証スキルの拡張のみ、game runtime コード変更なし).claude/hooks/**(hook-chain-runtime-smoke, hard, no overlap)とscripts/claude-gpt/**(claude-gpt-process-io-smoke, hard, no overlap)を使い、.claude/agents/**/.claude/skills/**/SKILL.mdは他 rule との overlap があるため単一 profile fixture では意図的に避けた(テストファイル docstring 参照)