Skip to content

実装: hard-required な verification profile assertion の binding 完全性を検証する - #2780

Merged
squne121 merged 4 commits into
mainfrom
worktree-issue-2771-runtime-assertion-binding-coverage
Sep 26, 2026
Merged

squne121 merged 4 commits into
mainfrom
worktree-issue-2771-runtime-assertion-binding-coverage

Conversation

@squne121

@squne121 squne121 commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

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 しない
  • Issue 側の unknown/missing/duplicate binding 宣言(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 の責務境界を追記した
  • 新規の自然言語 semantic parser や generic Skill evaluator は追加していない(Out of Scope / AC9 / AC10)

Checks

  • pnpm typecheck
  • pnpm lint
  • pnpm test
  • pnpm build
  • 上記コマンドをすべてローカルで実行し、成功したことを確認してからチェックしてください

Schema Change Applicability

Schema Consumer Inventory

変更対象 schema: runtime_assertion_bindings(Runtime Verification Applicability セクション内の新規フィールド)

before/after 差分:

# before
# `runtime_assertion_bindings` フィールドは存在しない。
# `## Runtime Verification Applicability` は decision / applicable_acs /
# execution_environment / skip_conditions / fallback_policy / artifact_requirements のみ。

# after
runtime_assertion_bindings:
  - profile: <verification_profile_id>
    assertion: <assertion_id>
    ac: AC<N>
# profile/assertion/ac の3フィールドのみ。vc: やコマンド本文は複製しない。

Consumer 列挙(rg コマンド例と結果):

rg -l "runtime_assertion_bindings" .claude/skills/review-issue/scripts .claude/skills/issue-contract-review/scripts scripts/agent-guards
# .claude/skills/review-issue/scripts/check_issue_contract.py
# .claude/skills/issue-contract-review/scripts/contract_readiness_check.py
# scripts/agent-guards/extension_surface_policy_matcher.py

Consumer 更新状況:

Consumer ファイル 更新有無 備考
scripts/agent-guards/extension_surface_policy_matcher.py 更新済み 新規 shared helper(parser + evaluator)を追加した producer/SSOT
.claude/skills/review-issue/scripts/check_issue_contract.py 更新済み 新規 C15 チェックとして shared evaluator を呼ぶ consumer
.claude/skills/issue-contract-review/scripts/contract_readiness_check.py 更新済み 新規 check_runtime_assertion_binding_coverage として shared evaluator を呼ぶ consumer
.claude/skills/create-issue/references/body-authoring.md 更新済み author 向け記法ガイダンス(producer側のドキュメント consumer)

Compatibility Decision(互換性判定)

  • change_type: additive
  • compatibility: backward_compatible
  • migration_required: no
  • migration_or_followup: N/A
  • reason: 既存の Runtime Verification Applicability フィールド(decision/applicable_acs/execution_environment/skip_conditions/fallback_policy/artifact_requirements)は変更しない。runtime_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

Claim Implemented? Not controlled Evidence Follow-up
hard-required な verification profile assertion が Issue-time に binding されていることを検証する新規 workflow gate を追加した yes 判定は structural completeness のみ(binding された VC が assertion の意味を実際に証明しているかという semantic sufficiency は判定しない) 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 passed #2775(skill-invocation-runtime-smoke の hard selector applicability 自体の再設計、責務分離済み)
policy 側の dangling profile reference / duplicate assertion id は Issue 側の needs_fix と区別し、human_judgment へ escalation する yes N/A 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 N/A

記載ルール確認:

受け入れ条件の達成状況

  • AC1: 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 で確認済み。
  • AC2: 同一 verification_profile_id が複数の matched_rules entry でマッチした場合、profile 単位で「いずれか1つの entry の enforcement == "hard"」を条件に required set へ含まれる(assertion 単位の部分追加ではない)。全 entry が advisory の場合は required set に含まれない — test_profile_not_required_when_all_matching_entries_are_advisory で確認済み。
  • AC3: runtime_assertion_bindings(profile/assertion/ac の3フィールドのみ、vc: やコマンド本文を複製しない canonical shape)が Runtime Verification Applicability から決定論的に parse できる — parse_runtime_assertion_bindings が3フィールドのみで決定論的に parse する実装で満たす。
  • AC4: composite identity (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 で確認済み。
  • AC5: 各 binding の ac について、実在確認・applicable_acs 包含・decision-level runtime-verification タグ整合(既存 C11 再利用)・## Verification Commands の # AC<N> canonical reference(既存 C5 parser 再利用)の4点を deterministic に確認し、存在しない AC / applicable_acs 外 / タグ欠落 / VC reference 欠落をそれぞれ区別して報告する実装で満たす。
  • AC6: Issue 側の unknown / missing / duplicate binding 宣言(needs_fix、reason code RUNTIMEASSERT001)と、policy 自身の dangling profile reference / duplicate assertion id(policy integrity defect、PolicyLoadError → RUNTIMEASSERT002/WARN)を明確に区別する実装で満たす。
  • AC7: .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 で確認済み。
  • AC8: required assertion set と binding set が一致する valid fixture(単一 profile、複数 profile 同時適用を含む)は既存 behavior を壊さず pass/go になることを、全 fixture パターンで確認済み。
  • AC9: 単一 --expect-ordered-marker を「宣言順の全手順を証明した」と自動推論する heuristic は追加していない — diff 全体を grep し、該当ロジックが存在しないことを確認済み。
  • AC10: 新しい persistent database / LLM judge / heavyweight parser / generic Skill semantic evaluator は追加せず、既存 extension-surface risk-trigger shared evaluator と contract checker の軽量拡張として完結している。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)。
  • 上記3ファイルを合算した uv run --locked pytest 実行では、合計32件のテストが成功した(AC8 と AC9 の根拠)。
  • grep -q "structural_completeness_not_semantic_sufficiency" scripts/agent-guards/extension_surface_policy_matcher.py を実行し、責務境界の明示を確認した(AC10 の根拠)。
  • 既存の non-regression テスト 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 に収まる:

変更ファイル Allowed Paths 対応
scripts/agent-guards/extension_surface_policy_matcher.py scripts/agent-guards/extension_surface_policy_matcher.py
scripts/agent-guards/tests/test_runtime_profile_assertion_coverage.py scripts/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.md
docs/dev/runtime-verification-policy.md docs/dev/runtime-verification-policy.md

Allowed Paths 外の変更は確認されなかった。

Notes

  • Related issue: Closes 実装: 再発防止: Runtime Verification profile の全 assertion を Issue VC に binding して readiness で検証する #2771
  • MVP scope: docs/dev/current-focus.md の M4 境界に影響しない(workflow/Issue-contract 検証スキルの拡張のみ、game runtime コード変更なし)
  • AI / NotebookLM usage: Claude Code (claude-sonnet-5) による実装
  • 備考: regression fixture は .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 参照)
IMPLEMENTATION_SCOPE_COVERAGE_V1:
  schema_version: "IMPLEMENTATION_SCOPE_COVERAGE_V1"
  issue_number: 2771
  issue_body_sha256: "sha256:a24451277633094d4cd0b5103f46407efeae699f2088fa8c888a35387d0f39b2"
  normalized_scope_manifest_sha256: "sha256:a628c312b34f0702ac6ae8029867cd06b62f5b33aeef84a48357d546b213bd27"
  pr_head_sha: "8fbcece35483f1fece85244d89503e76f94bc2ab"
  scope_manifest: {"acceptance_criteria": [".claude/skills/create-issue/references/body-authoring.md が runtime_assertion_bindings の canonical authoring shape、hard-required profile が導出された場合の binding 生成規則(1 key = 1 ac の制約を含む)、および #2775 未解決時の escape valve(Notes for Reviewer 参照)の author-facing な記述方法を明示する。", "Issue 側の unknown / missing / duplicate binding 宣言(needs_fix)と、policy 自身の dangling profile reference / 同一 profile 内 duplicate assertion ID(policy integrity failure)を区別し、後者を Issue の needs_fix に偽装しない。", "composite identity (verification_profile_id, assertion_id) を基準に、required set と declared binding set の missing / unknown / duplicate を区別した reason code で報告する。1つの (verification_profile_id, assertion_id) key は高々1つの ac にのみ bind できる(1 key = 1 ac)。同一 key の宣言が2回以上ある場合、bind 先の ac が同一か異なるかを問わず duplicate として報告する(異なる ac への複数 bind を許容しない。一方、複数の異なる key が同一の ac を指すことは許容する — 1つの AC/VC が複数 assertion の evidence を兼ねることは妨げない)。", "matched_rules[].enforcement == \"hard\" の rule だけから required (verification_profile_id, assertion_id) composite set を決定論的に導出できる。enforcement == \"advisory\" のみで到達した profile / assertion は required set に一切含まれない(advisory-only fixture で required set が空になることを確認する)。", "required assertion set と binding set が一致する valid fixture(単一 profile、複数 profile 同時適用を含む)は既存 behavior を壊さず pass/go になる。", "runtime_assertion_bindings(profile / assertion / ac のみ、vc: や command text を複製しない canonical shape)が Runtime Verification Applicability から決定論的に parse できる。", "単一 --expect-ordered-marker を「宣言順の全手順を証明した」と自動推論するような heuristic は導入しない。ordered marker の必要個数・内容は caller/contract 側の明示 binding と semantic review に委ねる。", "各 binding の ac について、実在確認・applicable_acs 包含・decision-level runtime-verification タグ整合(既存 C11 再利用)・## Verification Commands の # AC<N> canonical reference(既存 C5 parser 再利用)の4点を deterministic に確認する。存在しない AC、applicable_acs 外の AC、タグ欠落、VC reference 欠落をそれぞれ区別して報告する。", "同一 verification_profile_id が複数の matched_rules entry(enforcement の異なるものを含む)でマッチした場合、その profile の assertions は「いずれか1つの entry の enforcement == \\\"hard\\\"」を条件に required set へ含まれる(プロファイル単位の判定であり、advisory な entry が profile の assertion を個別に部分追加する仕組みは存在しない)。全 entry が advisory の場合、その profile は required set に一切含まれない(hard+advisory 混在 fixture、および複数 profile 同時適用 fixture で確認する)。", "新しい persistent database / LLM judge / heavyweight parser / generic Skill semantic evaluator を追加せず、既存 extension-surface risk-trigger shared evaluator と contract checker の軽量拡張として完結する。また、本 gate が保証するのは structural completeness のみであり semantic sufficiency を保証しないことを、shared helper のコード中に明示する。"], "allowed_paths": [".claude/skills/create-issue/references/body-authoring.md", ".claude/skills/issue-contract-review/scripts/contract_readiness_check.py", ".claude/skills/issue-contract-review/tests/**", ".claude/skills/review-issue/fixtures/**", ".claude/skills/review-issue/scripts/check_issue_contract.py", ".claude/skills/review-issue/tests/**", "docs/dev/runtime-verification-policy.md", "scripts/agent-guards/extension_surface_policy_matcher.py", "scripts/agent-guards/tests/**"], "change_kind": "workflow", "goal_ref": "Runtime Verification profile を選択した Issue が、その profile の hard-required assertions[] の一部だけを VC で検証して implementation_ready / go になれる gap を再発防止する(advisory-only signal を required set に混入させない)", "in_scope": ["#2498 の runner capability 自体、#2765 の semantic evidence rule 自体、#2775 が扱う「どの selector が skill-invocation-runtime-smoke を hard match すべきか」の再設計は変更しない。", ".claude/skills/create-issue/references/body-authoring.md に、hard-required profile が導出された場合の runtime_assertion_bindings authoring 規則(canonical wire format と記載例)を追加する。", "Issue 側の unknown / missing / duplicate binding 宣言と、policy 側の dangling profile reference / 同一 profile 内 duplicate assertion ID を明確に区別した reason code で報告する。前者は needs_fix、後者は policy integrity failure として扱う。", "Runtime Verification Applicability に、runtime_assertion_bindings(profile / assertion / ac の3フィールドのみ、vc: やコマンド本文を複製しない)の canonical wire format を導入する。", "composite identity (verification_profile_id, assertion_id) を基準に、required set と declared binding set の set equality / missing / unknown / duplicate を deterministic に検証する。", "regression fixture として、Issue #2765 型の「profile は2 assertionだが1つしか binding しない」contract、advisory-only profile、hard-only profile、hard+advisory 混在、複数 profile 同時適用の各パターンを needs-fix / go 双方について検証する。", "review-issue と issue-contract-review の双方で同一 shared evaluator を使い parity を維持する。", "scripts/agent-guards/extension_surface_policy_matcher.py の matched rules から、enforcement == \"hard\" の rule だけを対象に required (verification_profile_id, assertion_id) composite set を導出する shared helper を追加/拡張する。enforcement == \"advisory\" のみから到達した profile / assertion をこの required set に含めない。", "各 binding の ac について、(1) 実在する AC であること、(2) Runtime Verification Applicability の applicable_acs に含まれること、(3) decision-level <!-- runtime-verification: true --> タグが付与されていること(既存 check_ac_rv_tag_alignment / C11 を再利用し、新規タグ機構は追加しない)、(4) ## Verification Commands に既存の # AC<N> 形式・parser(C5 / _parse_vc_section)で解決可能な canonical reference が存在すること、を deterministic に確認する。"], "schema_version": "IMPLEMENTATION_SCOPE_MANIFEST_V1"}

…#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]>
@github-actions

Copy link
Copy Markdown
Contributor

Preview URL

✅ verified live assets: https://squne121.github.io/loop-protocol/pr-2780/

The preview will be removed when this PR is closed.

Test and others added 2 commits September 26, 2026 18:20
CI の python-test-core job で ruff check の E501 (line 46, 122 > 120)
が失敗していたため、辞書リテラルを複数行に整形した。テストの意味は不変。
@squne121

Copy link
Copy Markdown
Owner Author

判定:Request changes

マージ前に直したいのは、検証を厳しくすることではなく「正常なIssueを誤って止める抽出処理」です。 主に2点あります。加えて、ACの実在確認に既知の誤抽出ロジックを再利用している点も改善対象です。

対象は HEAD 711a02f49ad90a2d029beec79ad5b9336bc84625。このHEADのCIは成功しています。ただし、CI成功と、今回見つかった記法の違いに対する正しさは別です。

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つのtest_runtime_profile_assertion_coverage.pyと、変更箇所に対応する既存のmatcher・AC抽出回帰へ追加すればよく、この修正のために新しいruntime harnessや人間承認ステップを増やす必要はありません。

検証範囲

GitHub上のCI成功と、実装完了コメントのテスト成功報告は確認しました。後者では新規32テストと既存matcher 21テストなどの成功が報告されています。

こちらで実行したのは、取得した抽出関数・正規表現の単独再現です。リポジトリ全体のcheckoutによるpytest/pnpmの再実行はしていません。replay_extraction.pyに、その範囲と入力を残しています。

優先順位はF1、次にF2です。F3も狭い修正で合わせて解消するのが望ましいですが、#2775の完了や大規模な検証基盤の整備まで、このPRを止める理由にはしません。

## 判定:Request changes

マージ前に直したいのは、検証を厳しくすることではなく「正常なIssueを誤って止める抽出処理」です。 主に2点あります。加えて、ACの実在確認に既知の誤抽出ロジックを再利用している点も改善対象です。

対象は HEAD 711a02f49ad90a2d029beec79ad5b9336bc84625。このHEADのCIは成功しています。ただし、CI成功と、今回見つかった記法の違いに対する正しさは別です。

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を、このチェック単体では検出できない

F1 — P1:コメント追加や通常のYAML整形だけで、正しいbindingが未宣言扱いになる

対象:
scripts/agent-guards/extension_surface_policy_matcher.py
_extract_rva_yaml_field()、その結果を使うparse_runtime_assertion_bindings()とextract_applicable_acs()。

この抽出器は、YAMLを解析する前に独自の行切り出しを行っています。その切り出しに、次の問題があります。

  • キーの後ろに何かあれば、その1行だけをYAMLとして解析する。
  • ブロック形式では、キー行より深くインデントされた行だけを取り込む。
  • 対象フィールドの前にMarkdownの- がある形式を認識しない。

コメントだけで壊れる例

他の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

問題はコメントの内容ではありません。# このACで両方を検証するが非空のinline_valueと判断され、子のリストを切り捨てて、次の1行だけを解析してしまいます。

runtime_assertion_bindings: # このACで両方を検証する

その結果はNoneです。後続処理はこれを未宣言として扱うため、hard-requiredなassertionがすべてmissingになります。Issueの契約ではなく、説明コメントを追加したことが原因でneeds_fixになる実装です。

PyYAML自身が出力する形式も読み落とす

次の形式も正当なYAMLです。

runtime_assertion_bindings:
- profile: hook-chain-runtime-smoke
  assertion: all_matching_hooks_observed
  ac: AC1

mappingの値となるsequenceは、キー行からさらにインデントしなくても成立します。PyYAMLの公式ドキュメントにも、この形式が明記されています。ところが今回の抽出器は、同じインデントの- profile:で切り出しを終了します。:chatgpt-content-reference{index="3"}

取得した抽出関数を単独で再実行したところ、PyYAML 6.0.3では以下を確認できました。

入力 yaml.safe_load() PRの抽出器
インデントされた通常のbinding リストを取得 リストを取得
キー行にコメントを追加 リストを取得 None
yaml.safe_dump()の標準出力形式 リストを取得 None
- applicable_acs: [AC1] リスト内のmappingとして解析可能 フィールドを検出しない

最後の箇条書き形式についても、既存のRVA authoring guidanceは- decision:や- reason:などを使っています。新しいフィールドだけ別の記法を要求するなら、それを明確に定義する必要がありますが、既存の書き方を読めるようにする方が運用負担は小さいです。

推奨修正: yaml.safe_load()を置き換える必要はありません。手前の切り出しで、コメントだけのsuffixを値と扱わないこと、同じインデントのsequenceを落とさないこと、既存の箇条書きフィールドを正規化することを修正してください。RVA全体にはproseが混在し得るため、単純に「セクション全体を一括safe_load()」へ変更するのも避けるべきです。

これはセキュリティ強化ではなく、通常の編集や自動整形でワークフローが壊れないための互換性修正です。

F2 — P2:共通evaluatorを呼んでも、入力セクションの抽出が違うため判定が一致しない

対象:
.claude/skills/issue-contract-review/scripts/contract_readiness_check.py
check_runtime_assertion_binding_coverage()。

review-issueのC15は、GFM対応の汎用extract_section()でVerification Commandsを取得しています。一方、新しいreadiness側のチェックは、baseline_vc_preflight.pyからimportしたextract_verification_commands_section()を使っています。

後者の抽出条件は次です。

r"^##\s+Verification Commands\s*$(.+?)(?=^##|\Z)"

この正規表現では、例えば通常の見出しを次に変えるだけで、セクションを取得できなくなります。

## Verification Commands ##

これはGFMで認められた見出しです。GFMでは末尾のclosing hashが任意で許可されています。:chatgpt-content-reference{index="7"}

また、セクション内の### Runtime checksや、コードフェンス内の## smoke testでも、(?=^##|\Z)が早期に区切ってしまいます。実際にこの正規表現を単独で再実行すると、通常形式では保持される# AC1が、これらの入力では失われました。

結果としてreadiness側には空、または不完全なac_vc_refsが渡り、存在するVC参照をac_missing_vc_referenceとして報告する経路になります。 共通evaluatorの実装が一致していても、その入力が一致していません。

正規表現自体は既存コードですが、今回追加するcoverageチェックに、その抽出差を持ち込んでいる点がこのPRの問題です。

最小修正

このPRでは、すでにreadiness側へ_extract_section_by_canonical_name()を追加しています。VCにもそれを使えば、追加のparserは不要です。

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番号でも成立してしまう

対象:
scripts/agent-guards/extension_surface_policy_matcher.py
extract_ac_numbers()。

新しい関数は次の実装です。

return set(re.findall(r"AC(\d+)", ac_section_text or ""))

このため、例えばAC定義が1個しかなくても、

- [ ] AC1: 現在の受入条件。旧案のAC99は参考情報であり、今回の受入条件ではない。

抽出結果は{"1", "99"}になります。bindingをAC99へ向け、applicable_acsとVC参照にもAC99を入れれば、この新しいチェックのac_not_found条件は成立しません。説明文に文字列があることと、ACが定義されていることを混同しています。

しかも、この問題は新発見ではありません。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導出、(profile, assertion)の複合キー、同一キーの重複禁止、複数の異なるassertionを同じACへbindできる設計は維持してよいです。 共有ヘルパーの実装は、この点では#2771の意図に沿っています。advisory-onlyのprofileをrequired setへ混ぜていないため、PR #2370のnon-blocking方針を、その経路から巻き戻してはいません。

また、policy破損時の「review-issueはWARN、readinessはhuman_judgment」という差は、PR #2370で意図的に残された設計です。これを今回の新しいparity不具合として数えるべきではありません。F2は、それとは別の正常入力の抽出差です。

#2775を新しいマージ待ち条件にはしない

schemaを持たないSkillにoutput_contract_schema_fields_presentを一律要求する問題は、既存の#2775で分離されています。#2771のrefinementでも、マージ順序をブロックする依存にはしない整理がされています。今回それを再び停止条件へ戻す提案はしません。

上流仕様を確認しても、Claude CodeのSkillはSKILL.mdのinstructionsを基本とし、JSON Schema出力はSkill全般の必須要件ではありません。特定schemaに従う出力は、programmatic invocationで--json-schemaを指定する別の機能です。したがって、全Skillへのschema新設や、Skill本文をLLMで解析する新しいgateは過剰です。:chatgpt-content-reference{index="21"}

ただし、2つのassertionを同じACへbindしたことを、2つとも実証できた証拠にしてはいけません。 このPRが明示している「structural completenessのみ」という保証範囲は、そのまま維持すべきです。

追加する回帰テストは、この範囲で十分

既存の正常fixtureを複製し、記法だけを変えるテストを優先してください。

テスト 期待
bindingキー行にコメントを追加 コメントなしと同じbindingを取得する
同じデータをyaml.safe_dump()で整形 整形前と同じbinding/applicable_acsを取得する
既存の箇条書き形式のapplicable_acs 対象ACを読み落とさない
VC見出しにclosing hash、内部に###を使用 両consumerのcoverage判定が一致する
VCのコードフェンス内に##で始まる行を置く セクションを途中で切らない
説明文・fenced exampleにのみ存在するACへbind ac_not_foundとして検出する

新しい3つのtest_runtime_profile_assertion_coverage.pyと、変更箇所に対応する既存のmatcher・AC抽出回帰へ追加すればよく、この修正のために新しいruntime harnessや人間承認ステップを増やす必要はありません。

検証範囲

GitHub上のCI成功と、実装完了コメントのテスト成功報告は確認しました。後者では新規32テストと既存matcher 21テストなどの成功が報告されています。

こちらで実行したのは、取得した抽出関数・正規表現の単独再現です。リポジトリ全体のcheckoutによるpytest/pnpmの再実行はしていません。:chatgpt-content-reference{index="26"}単独再現スクリプトに、その範囲と入力を残しています。

優先順位はF1、次にF2です。F3も狭い修正で合わせて解消するのが望ましいですが、#2775の完了や大規模な検証基盤の整備まで、このPRを止める理由にはしません。

@squne121

Copy link
Copy Markdown
Owner Author

推奨は、PR #2780 をそのまま impl-review-loop に戻し、F1 → F2 → F3 の順で修正して、current-head の検証・独立 PR review が APPROVE になるところまで自律反復です。

確認した現在の HEAD は 5d30c2f4185812846ef537b7a0d52a6813e1cd2c で、レビュー対象の 711a02f... から main merge が入っていますが、指摘対象の _extract_rva_yaml_field()、check_runtime_assertion_binding_coverage()、extract_ac_numbers() はまだ指摘どおりの実装です。したがって3 finding は現 HEAD にも有効です。CI は確認時点では新 HEAD の ci が実行中でしたが、修正後の HEAD で改めて判定すればよく、古い HEAD の CI 完了待ちを先に挟む必要はありません。

また、F3 は既存 #1712 が C5 の同系統問題を追跡しているので新規 Issue は不要です。一方 F2 の baseline_vc_preflight.py::extract_verification_commands_section() は run_contract_review_once.py など他 consumer にも残っており、今回 PR 内で coverage check だけ canonical parser に切り替えても再発余地があります。検索した範囲ではこの parser 統一を直接扱う OPEN Issue は見つからなかったため、dedupe を再確認したうえで別の再発防止 Issue を起票するのが適切です。

以下を、そのまま auto mode の ClaudeCode に渡せます。

PR #2780 の OWNER review comment

#2780 (comment)

を human context として扱い、Issue #2771 / PR #2780 を対象に .claude/skills/impl-review-loop/SKILL.md を正本として、実装 → 検証 → PR review のループをマージ直前まで自律実行してください。

対象:

人間の追加承認待ちは挟まないでください。
実際の merge はしないでください。
最終到達点は、current HEAD に対する検証と独立 PR review が完了し、PR が merge 直前の状態になっていることです。

最初に必ず行うこと

  1. live の Issue 実装: 再発防止: Runtime Verification profile の全 assertion を Issue VC に binding して readiness で検証する #2771、PR 実装: hard-required な verification profile assertion の binding 完全性を検証する #2780、上記 OWNER comment、最新 HEAD、diff、CI、PR comments/reviews/threads を再取得する。
  2. .claude/skills/impl-review-loop/SKILL.md と、その steps/ 配下の正本を読む。
  3. root-owned synchronous entry transition を含む impl-review-loop の通常手順に従う。
  4. PR 本文や過去のテスト成功報告を current-head evidence の代わりにしない。
  5. OWNER comment がレビューした HEAD 711a02f49ad90a2d029beec79ad5b9336bc84625 と current HEAD の差分を確認する。レビュー指摘箇所が未修正なら、その finding を current HEAD に対する fix_delta として扱う。
  6. 既存の設計意図、特に Issue 実装: 再発防止: Runtime Verification profile の全 assertion を Issue VC に binding して readiness で検証する #2771、再発防止: skill-invocation-runtime-smoke の assertion applicability を明示化する #2775、実装: check_issue_contract.py の C5_ac_vc_number_alignment が AC セクション全体への広域正規表現で説明文中の AC 番号を誤抽出し、かつ VC の余分な AC 参照を検出しない問題を修正する #1712、PR feat: extension_surface_policy_matcher の has_match:false 経路を project-local unclassified candidate perimeter 限定の non-blocking advisory に再設計する #2370 と関連 repository assets を確認してから変更する。

SubAgent 実行ルール

impl-review-loop の定義どおり、各工程を適切な SubAgent に委譲してください。

  • Step 1: implementation-worker SubAgent
  • Step 2: test-runner SubAgent
  • Step 4: pr-reviewer SubAgent / pr-review-judge
  • Step 5: root/control-plane が live state と reviewer verdict から routing

重要:

  • SubAgent を起動したら、必ずその SubAgent の作業完了を待ち、構造化結果を受領してから次の工程へ進むこと。
  • SubAgent がまだ実行中なのに root thread が代わりに作業を完了したことにしない。
  • 複数 SubAgent を並列起動した場合も、必要な全 SubAgent の完了を待ってから judgment へ進む。
  • SubAgent の散文要約で構造化 result を上書きしない。
  • human_review_required: true の自己申告だけを停止理由にしない。SKILL.md の routing authority に従う。

今回の fix_delta

OWNER comment の F1 → F2 → F3 の順で対処してください。

F1 / P1: RVA YAML field extraction の正常入力 false-negative

対象:

  • scripts/agent-guards/extension_surface_policy_matcher.py
  • _extract_rva_yaml_field()
  • parse_runtime_assertion_bindings()
  • extract_applicable_acs()

次の正当な入力を同値として扱えるように修正すること。

  1. field key 行の末尾に YAML comment がある。
runtime_assertion_bindings: # このACで両方を検証する
  - profile: hook-chain-runtime-smoke
    assertion: all_matching_hooks_observed
    ac: AC1
  1. PyYAML safe_dump() 等が生成し得る、mapping value の block sequence が key と同じ indentation から始まる形式。
runtime_assertion_bindings:
- profile: hook-chain-runtime-smoke
  assertion: all_matching_hooks_observed
  ac: AC1
  1. RVA で既存利用されている bullet-prefixed field。
- applicable_acs: [AC1]

要求:

  • comment-only suffix を実値と誤認して child block を切り捨てない。
  • same-indent sequence を落とさない。
  • existing bullet-prefixed RVA authoring と互換にする。
  • RVA section 全体には prose が混在し得るため、安易に section 全体を yaml.safe_load() する方式へ変更しない。
  • 新規 heavyweight parser / generic Markdown semantic parser を追加しない。
  • malformed declaration と absent declaration の既存契約を不用意に変更しない。

OWNER comment に挙げられた入力を regression test 化し、従来の canonical fixture と同一結果になることを検証すること。

F2 / P2: review-issue / readiness の Verification Commands section extraction parity

対象:

  • .claude/skills/issue-contract-review/scripts/contract_readiness_check.py
  • check_runtime_assertion_binding_coverage()

新規 coverage check では、legacy の

baseline_vc_preflight.extract_verification_commands_section()

を入口にせず、PR #2780 内ですでに存在する GFM-aware な

_extract_section_by_canonical_name(body, "Verification Commands")

を使ってください。

少なくとも以下を regression test にすること。

  • ## Verification Commands ## の closing hashes
  • Verification Commands 内の ### Runtime checks
  • fenced code 内の ## smoke test
  • 上記を含んでも # AC<N> reference が失われない
  • review-issue C15 と issue-contract-review の runtime assertion coverage が同じ正常入力に対して同じ coverage 判定を得る

既存の意図的な差異である

  • review-issue: policy integrity failure → WARN
  • issue-contract-review: policy integrity failure → human_judgment/error

は parity bug として変更しないこと。
F2 は正常入力の section extraction parity のみを修正すること。

F3 / P2: Acceptance Criteria の実在確認

対象:

  • scripts/agent-guards/extension_surface_policy_matcher.py
  • extract_ac_numbers()

現在の

re.findall(r"AC(\d+)", ac_section_text)

のような AC section 全体への broad regex を廃止してください。

AC definition は、既存 LP010 の定義規則を参考に、

  • task-list item として定義された AC
  • fenced code 外
  • prose / URL / filename / inline example 等に偶然現れる AC<N> は除外

という既存 repository semantics に合わせてください。

例:

- [ ] AC1: 現在の受入条件。旧案のAC99は参考情報であり、今回の受入条件ではない。

では AC1 のみが実在し、AC99 は実在しないこと。

fenced example 内だけに存在する AC も実在 AC として扱わないこと。

ただし Issue #1712 が既に check_issue_contract.py C5 の broad AC extraction を追跡しているため、#1712 全体をこの PR に抱き合わせない。
今回必要なのは runtime assertion coverage evaluator 自身が ac_not_found を正しく判定できる最小修正だけです。

維持する設計

以下は OWNER review で妥当と確認されているため変更しないこと。

テスト

OWNER comment の表にある regression を最低限すべて追加すること。

  • binding key 行への YAML comment
  • yaml.safe_dump() 相当の same-indent sequence
  • bullet-prefixed applicable_acs
  • VC heading closing hashes
  • VC 内部の ###
  • fenced code 内の ##
  • prose にのみ出現する AC
  • fenced example にのみ出現する AC

変更箇所の focused tests を先に実行し、その後 Issue #2771 の Verification Commands、関連する既存 regression、必要な skill test suite を実行する。

最後に repository 標準の必要な CI-equivalent checks を実行する。
PR 本文の過去の PASS 記録ではなく、修正後 current HEAD の結果を evidence とする。

テスト失敗時は原因を分析して Step 1 に戻し、fix_delta を implementation-worker に渡す。
テストを無効化・skip・期待値緩和して通さない。

PR review loop

修正を push したら current HEAD を固定して Step 4 の pr-reviewer / pr-review-judge を実行する。

REQUEST_CHANGES の場合:

  • blocker を具体的な fix_delta として Step 1 に戻す
  • 修正
  • current-head verification
  • current-head PR review

を繰り返す。

stale-head の review は承認根拠にしない。
head が変わったら再 review する。

CI は current HEAD に対応する workflow を確認し、必要なら完了を待つ。
古い HEAD の成功を current HEAD の成功として扱わない。

最終的に reviewer verdict が APPROVE になり、live mergeability に blocker がなくなるまで進める。
PR が draft のままで merge-ready 判定を妨げる場合は、repository workflow の正規手順に従って ready-for-review 化してよい。

実際の merge は絶対に行わない。

再発防止 Issue

F3 は既存 Issue #1712 があるため重複 Issue を作らない。
#2775 についても既存 Issue を利用し、新規重複 Issue を作らない。

一方、F2 の underlying helper:

.claude/skills/issue-contract-review/scripts/baseline_vc_preflight.py::extract_verification_commands_section()

は今回の runtime assertion coverage 以外からも利用されている。
少なくとも run_contract_review_once.py および contract_readiness_check.py の別経路への影響を調査すること。

今回の PR では coverage check を canonical extractor に切り替える最小修正に留める。
そのうえで、repository-wide Issue search を実施し、同じ問題を扱う OPEN Issue が存在しないことを再確認する。

重複がなければ、例えば以下の趣旨の follow-up Issue を人間承認なしで起票すること。

推奨タイトル:
再発防止: issue-contract-review の Verification Commands section 抽出を GFM-aware canonical parser に統一する

Issue には最低限以下を含める。

Issue #2771 の既存 Stop Conditions に「新規 Issue 起票が必要なら停止」がありますが、この owner instruction により、今回発見済みの repository-wide recurring defect を follow-up Issue として dedupe 後に起票する行為については、承認待ちで停止しないでください。
ただし、その follow-up の実装を PR #2780 に混ぜてはいけません。

その他の新しい recurring defect を発見した場合も、

  1. repository-wide dedupe
  2. 既存 Issue があればリンク
  3. なければ narrow な再発防止 Issue を起票
    の順で処理してください。

停止条件

承認確認のためには停止しない。

次の場合のみ、勝手に突破せず停止して明示的に報告すること。

通常の test failure、CI failure、REQUEST_CHANGES、stale review、draft 状態、advisory artifact の欠落は人間承認を求める理由にせず、impl-review-loop の routing で自律処理すること。

完了時

全 SubAgent が終了していることを確認してから終了すること。

最終報告には次を含める。

  • final PR URL
  • final HEAD SHA
  • 実装した F1/F2/F3 の要約
  • 追加した regression tests
  • focused/full test results
  • current-head CI status
  • pr-reviewer の final verdict と reviewed_head_sha
  • live mergeability
  • PR が ready-for-review か draft か
  • 起票した follow-up Issue、または既存 Issue に dedupe した結果
  • remaining warnings
  • merge performed: false

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]>
@squne121
squne121 marked this pull request as ready for review September 26, 2026 11:51
@squne121
squne121 merged commit 8833c55 into main Sep 26, 2026
43 of 46 checks passed
@squne121
squne121 deleted the worktree-issue-2771-runtime-assertion-binding-coverage branch September 26, 2026 12:04
squne121 added a commit that referenced this pull request Sep 26, 2026
* 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]>
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.

実装: 再発防止: Runtime Verification profile の全 assertion を Issue VC に binding して readiness で検証する

1 participant