Repository navigation
実装: Claude-GPT proxy互換性変更の完了判定で canonical launcher smoke を fixture で代替しない - #2809
Conversation
…替しない (#2807) actual/canonical/default runtime selection を要求する AC を fixture-only VC で完了扱いしないよう、body-authoring.md(起票ガイダンス)と evidence-policy.md (pr-review-judge の semantic evidence review ルール)に instruction wiring を 追加し、#2801/PR #2802 の failure class(fixture PASS + real smoke SKIP のまま APPROVE)を再現しない static regression test を新設する。 - body-authoring.md: fixture semantics AC と canonical runtime acceptance AC を区別し、両方必要な場合は別 AC/VC に分離する規則を追加 - evidence-policy.md: AC の evidence-source requirement と VC/test implementation の evidence source を照合するルール、PR body の `[x]` / self-report のみでの APPROVE を禁止する規則、canonical smoke が proxy_model_catalog_incompatible / non-zero を返した場合に fixture PASS でも actual-runtime AC を昇格させない instruction wiring を追加 - 新規 static pytest 3ファイル(fixture-only evidence mismatch、 body-authoring の AC 分離、canonical smoke 資産再利用+no-new-harness) 新しい permanent daemon / generic runtime harness / network-required merge gate は追加せず、既存 launch.sh --check-only / runtime_smoke_test.sh への 参照のみ。既存 fixture tests は変更しない。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Preview URLPreview removed (PR #2809 closed). |
新規追加見出しが英語識別子中心で per-block Japanese ratio 閾値を下回っていたため、 技術用語をインラインコード化して日本語表現を主体にした見出しへ修正する。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
判定REQUEST_CHANGES 相当です。 ただし、merge 前に直した方がよい defect が 1件の blocker + 2件の高優先度 semantic gap として残っています。 P0 — PR body の
|
|
live stateを確認しました。PR #2809 は open / draft / mergeable、HEAD は 推奨は、通常の 以下を、既に auto mode で起動している対話的 Claude Code にそのまま貼り付けてください。 repo = 対象:
この interactive Claude Code session は既に auto mode で起動済みです。session を作り直さず継続してください。 現在のユーザー指示は、上記 OWNER 実merge、auto-merge、force push、履歴破壊、secret/credential の取得・変更・公開、permission bypass は行わないでください。 0. 最初に fresh state を再取得する過去の値を信用せず、最初に live state を取得してください。 最低限確認:
2026-09-28 05:56 JST 時点の外部観測では PR HEAD は 既存 PR #2809 / branch / worktree を再利用し、duplicate PR や別実装branchを作らないでください。 1. P0 durable marker を最初に reconcile する通常の Step 1 dispatch より先に、対象コメントの P0 を処理してください。 理由: 現在指摘されている異常:
ただしコメント記載値を無条件で信用せず、PR commit history / publication state を live に確認してください。 P0 の修復方法marker の digest や manifest を手書き生成しないこと。 canonical producer:
を PR body の mutation は raw body-only repair は可能なら
修復後は GitHub から PR body を fresh readback し、 「update_pr.py の通常validatorが通った」だけを成功条件にしないでください。 P0 は PR body-only mutation なので、head SHA が変わらない限り、この操作単独を理由にコード verification を再実行する必要はありません。ただし後続のコード修正後は fresh Step 2 を必ず実行してください。 2. landing disposition を fresh に再評価するP0 reconciliation 後に canonical pre-Step-1 landing disposition を再実行してください。 期待 route は existing PR #2809 の 以下は禁止:
canonical consumer の結果をそのまま使用してください。 3. target OWNER comment を fix_delta として実装修正する対象コメントの残る3カテゴリをすべて処理してください。 P1-A: AC3 required evidence facts と既存 producer schema の mapping 明示
意図は新 schema の追加ではありません。 最低限、既存
mapping wording と regression test を、Issue #2807 Allowed Paths の範囲内で修正してください。 P1-B: catalog/proxy-selection acceptance と authenticated full smoke を明確に分離するreference wording を最小変更して以下を固定してください。
新しい harness、daemon、network-required CI gate は追加しないでください。 P2: regression test / PR body の evidence overclaim を縮小するOWNER comment の指摘どおり、現在の tests は:
を直接証明していません。 この責務を誇張しないよう修正してください。 方針:
新しい diff scanner や generic validator は追加しないでください。 Issue #2807 の Verification Commands が既存 pytest node-id を literal に参照していることに注意してください。 名称自体が fresh pr-reviewer によって blocker と判定された場合に限り、 4. 実装修正は implementation-worker に委譲するPR branch 上のファイル修正は root thread が直接編集せず、 target OWNER comment を review artifact / fix_delta source とし、 materialize する値:
Allowed Paths 外へ実装を広げないでください。 P0 follow-up defect は本PRのコード変更に混ぜません。 5. SubAgent completion protocol を厳守する各 SubAgent dispatch について必ず:
SubAgent dispatchしただけで「作業完了」にしないでください。 6. Step 2 verification を fresh head で実行するコード/doc/test fix が push されたら、current-head で Issue #2807 の literal Verification Commands を live body から再取得し、すべて実行してください。 加えて repository contract が要求する standard checks / constitution checks も current Skill に従って実施してください。 重要:
7. Step 4 PR review を fresh head で実行するStep 2 が non-blocking になった場合のみ current Skill の Step 4 を実行してください。 required CI を current head に対して待機し、
期待出力:
reviewer の self-reported mergeability や merge_ready は authority にしないこと。 REQUEST_CHANGES が返った場合は、修正可能な blocker を 通常の test failure、CI failure、stale head、修正可能な review finding は人間停止理由にしないでください。 current 8. malformed marker 再発防止 Issue を起票するtarget OWNER comment の P0 で露出した以下は #2807 Allowed Paths 外の pre-existing recurrence path です。
このrun開始前の検索では、この malformed-marker validation gap を直接所有する OPEN Issue は見つかっていませんでした。 #2810 は runtime migration ownership のIssueであり、このmarker defectとは別問題です。 重複がなければ current この follow-up Issue 起票は今回ユーザーが明示的に要求しているため、 推奨する issue goal:
最小設計:
issue title / Allowed Paths / AC / VC は fresh repository調査後に確定してください。 9. 最終状態以下すべてを満たすまで進めてください。
current Skill が merge / auto-merge はしないでください。 停止してよい条件通常の review finding / test failure / CI failure / stale evidence / stale head は停止条件ではありません。 停止/escalationは原則として以下のみ:
最後に日本語で以下を報告してください:
ポイントは P0を先にreconcileしてからループへ戻すことです。これを入れないと、正規の |
evidence-policy.md と body-authoring.md に必須 evidence フィールドと CLAUDE_GPT_SMOKE_RESULT_V1 producer schema の対応表を追記し、 catalog/proxy-selection AC と authenticated request/transport AC の evidence 分離を明文化する。また回帰テストの docstring を静的検証の 実証範囲に合わせて縮小する。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
pr-review-judge 判定 (impl-review-loop, 2026-09-28)OWNER の fix-delta comment(P0/P1-A/P1-B/P2)を反映した fresh head Mergeability
Evidence Check
Blockersなし Non-blockers(Warnings)
verdict: APPROVE
reviewed_head_sha: "457bc1d4ea840136a459772626c5bda3809ab834"
blockers: []
warnings: [] |
Summary
.claude/skills/create-issue/references/body-authoring.mdに「fixture semantics AC」と「canonical runtime acceptance AC」を区別し、両方必要な場合は別 AC/VC に分離する規則を追加した。.claude/skills/pr-review-judge/references/evidence-policy.mdに、AC の evidence-source requirement(actual/canonical vs fixture)と VC/test implementation の evidence source を照合するルール、PR body の[x]/ Safety Claim / self-report のみでの APPROVE 禁止規則、canonical smoke がcause: proxy_model_catalog_incompatible/ non-zero を返した場合に同一 head の fixture compatibility tests が PASS でも actual-runtime AC を昇格させない instruction wiring を追加した。.claude/skills/pr-review-judge/tests/test_fixture_only_actual_runtime_evidence_mismatch.py、.claude/skills/create-issue/tests/test_body_authoring_actual_vs_fixture_runtime_ac_separation.py、.claude/skills/pr-review-judge/tests/test_canonical_smoke_asset_reuse_no_new_harness.py)。.claude/skills/pr-review-judge/SKILL.md本文(Procedure / output contract)は変更していない。docs/dev/runtime-verification-policy.mdも変更していない(cross-reference の追加は不要と判断した)。scripts/claude-gpt/tests/test_proxy_model_compatibility.py等)やscripts/claude-gpt/launch.sh/runtime_smoke_test.shは変更していない(既存資産の参照のみ)。Checks
pnpm typecheckpnpm lintpnpm testpnpm builduv run pytest .claude/skills/gemini-cli-headless-delegation/tests/test_model_routing.pySchema Change Applicability
not_schema_changebody-authoring.md/evidence-policy.md)へのガイダンス追記と、新規 static pytest 3 ファイルの追加のみで、JSON/YAML の producer/consumer schema(CLAUDE_GPT_LAUNCH_RESULT_V1等)を新規追加・変更しない。Schema Consumer Inventory
N/A
reason: schema 定義・producer・consumer のいずれも変更していないため(decision: not_schema_change)。
Safety Claim Matrix
.claude/skills/pr-review-judge/SKILL.md本文(Procedure / output contract)は変更していないgit diff main...HEAD -- .claude/skills/pr-review-judge/SKILL.md(差分なし)git diff --name-only main...HEAD(5ファイルのみ表示)Path.read_text/Path.is_fileのみを使用、subprocess呼び出しなし)scripts/claude-gpt/tests/test_proxy_model_compatibility.py)は本 PR で変更していないgit diff main...HEAD -- scripts/claude-gpt/(差分なし。Allowed Paths 外のため touch していない)git diff --name-only main...HEADに新規スクリプト・ワークフロー追加は含まれない(Markdown 2ファイル更新 + pytest 3ファイル新規のみ)記載ルール: 上記の通り、
Not controlledはいずれも空欄です。「安全」「read-only」「sandboxed」「complete」等の無限定な主張はしていません。受け入れ条件の達成状況
CLAUDE_GPT_PROXY_BINを注入する fixture-only VC + real smoke SKIP)に対し、evidence-policy.mdの instruction wiring が「fixture-only 証跡では actual-runtime AC を充足しない」ことを明示していることをtest_fixture_pass_and_real_smoke_skip_is_insufficient_for_actual_runtime_acで確認済み。body-authoring.mdに actual/canonical/default runtime acceptance と fixture semantics を区別し、両方必要な場合は別 AC/VC にする規則を追加し、test_actual_runtime_ac_cannot_be_satisfied_by_fixture_only_vcで確認済み。body-authoring.md/evidence-policy.mdの canonical runtime acceptance evidence 記述が、current-head production launcher を fake proxy override なしで external process 起動した結果と actual selected proxy identity(run_head_sha+git_dirty+ 実行 command identity + launcher hash + selected proxy absolute path/version/hash)を要求し、fixture proxy の path/version のみでは不十分と明記していることをtest_evidence_policy_requires_current_head_proxy_identity_binding_and_no_new_harnessで確認済み。cause: proxy_model_catalog_incompatible/ non-zero を返した場合、同 head の fixture compatibility tests が PASS でも actual-runtime AC を PASS に昇格させないという instruction wiring の存在をtest_canonical_smoke_nonzero_result_blocks_promotion_despite_fixture_passで確認済み。scripts/claude-gpt/tests/test_proxy_model_compatibility.py等)は hermetic implementation-semantics coverage として変更せず維持し、通常 CI は real ChatGPT account/network を必須にしないことをtest_existing_fixture_tests_unchanged_and_ci_not_network_dependentで確認済み(この static test はマーカー文字列の存在確認であり、fixture file のバイト単位 unchanged 証明ではない。fixture file が実際に変更されていないことは Allowed Paths +git diff --name-only main...HEADの diff evidence で担保する)。[x]/ Safety Claim / self-report だけでは AC1〜AC4 の記述上の不足を覆せないことをevidence-policy.mdに明記し、test_fixture_pass_and_real_smoke_skip_is_insufficient_for_actual_runtime_acの instruction wiring 確認で固定済み。test_fixture_pass_and_real_smoke_skip_is_insufficient_for_actual_runtime_acで確認済み。launch.sh --check-only,runtime_smoke_test.sh)への参照のみを追加したことをtest_evidence_policy_requires_current_head_proxy_identity_binding_and_no_new_harnessで確認済み(この static test はドキュメント内の禁止マーカー文字列の不在確認であり、リポジトリ全体に new harness が存在しないことの網羅的証明ではない。new harness を追加していないことは Allowed Paths + actual changed-files で担保する)。検証コマンド結果
current-head SHA:
c1bd41d47bb8ac7cbde5e60c5c9b0aad81c68a5d(実際の commit SHA は下記IMPLEMENTATION_SCOPE_COVERAGE_V1.pr_head_shaを正とする)Issue #2807 記載の Verification Commands(AC1〜AC8)を個別 node-id で実行し、全て成功(PASS)した:
標準4コマンドおよび project-constitution 必須 pytest も実行済み:
Notes
body-authoring.md/evidence-policy.md)+ static regression test のみ。live runtime proof は本 Issue のスコープ外(Runtime Verification Applicability: not_applicable)。docs/dev/runtime-verification-policy.mdは Allowed Paths に含まれるが、In Scope 記載どおり「cross-reference が必要な場合のみ」の条件付きであり、既存記述(SKIP≠PASS 等)で本 Issue の意図が既に担保されていると判断し変更しなかった。