Skip to content

実装: main CI python-test の test_baseline_vc_preflight_parallel.py orphaned commit SHA 参照を修正する #1521

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "main の python-test CI が test_baseline_vc_preflight_parallel.py の到達不能な orphaned commit SHA 参照により red になっている問題を修正する"
change_kind: code

Parent Issue

none(単独改善)

Parent Goal Ref

  • Goal: N/A(単独改善)
  • Desired Destination: N/A(単独改善)

Current Validated Scope

  • .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py の _PRE_1338_BASELINE_REV = "e375b3a1^"(516行目)と、それを _load_legacy_baseline_module()(519行目)経由で参照する test_p1_1_max_workers_one_semantically_equivalent_to_legacy_baseline(549行目)

Remaining Parent Gaps

なし

Outcome

.claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py が main から到達可能な安定参照(コミット SHA または fixture ファイル)だけを使うように修正され、uv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py -q が実行環境の clone 深度や特定コミットの残存に依存せず安定して PASS する状態になる。

In Scope

  • _PRE_1338_BASELINE_REV = "e375b3a1^"(main の祖先ではなく、.github/workflows/ci.yml の shallow checkout(fetch-depth 未指定)では取得不可能)を、main から到達可能な安定参照に置き換える
    • 案A: 実際のマージコミット 0e9bbb0 の親コミットを参照する
    • 案B: 該当バージョンの baseline_vc_preflight.py を fixture ファイルとしてリポジトリに固定保存し、git show に依存しない形に変更する
    • どちらを採用するかは実装時に repo 実体(該当コミットの到達可能性・過去の baseline 内容の一致)を確認して決定する
  • 上記修正により test_p1_1_max_workers_one_semantically_equivalent_to_legacy_baseline が git show の exit 128 failure なく安定して PASS すること

Out of Scope

Acceptance Criteria

  • AC1: _PRE_1338_BASELINE_REV がもはや到達不能な "e375b3a1^" を参照していない
  • AC2: test_p1_1_max_workers_one_semantically_equivalent_to_legacy_baseline が単体実行で PASS する
  • AC3: test_baseline_vc_preflight_parallel.py 全体が回帰なく PASS する
  • AC4: pnpm typecheck が PASS する
  • AC5: pnpm lint が PASS する
  • AC6: pnpm test が PASS する
  • AC7: pnpm build が PASS する

Verification Commands

# AC1
# baseline-expect: pass
$ rg -n _PRE_1338_BASELINE_REV .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py

# AC2
$ uv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py::test_p1_1_max_workers_one_semantically_equivalent_to_legacy_baseline -q

# AC3
$ uv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py -q

# AC4
$ pnpm typecheck

# AC5
$ pnpm lint

# AC6
$ pnpm test

# AC7
# preflight-scope: pr_review_only
$ pnpm build

Allowed Paths

  • .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合

Required Skills

なし

Required Design References

  • Issue 実装: overlap_readback_waiver の期限切れによる main CI python-test red を修正する #1518(squne121/loop-protocol) — 同一 main CI 障害調査の中で発見された関連バグ(overlap_readback_waiver 期限切れ)。本 Issue のスコープ外だが同一発見元
  • .github/workflows/ci.yml — python-test job の checkout step(fetch-depth 未指定・shallow clone)が本バグの前提条件
  • .claude/skills/issue-contract-review/SKILL.md — issue-contract-review スキルの VC preflight 仕様の正本
  • .claude/skills/issue-contract-review/references/vc-preflight.md — baseline_vc_preflight.py の baseline 参照/並列実行モデルの設計ドキュメント

Scope Delta(任意)

N/A

Notes for Reviewer

発見元は Issue #1283 の impl-review-loop 実行中、main HEAD 0e9bbb0(CI run: https://github.com/squne121/loop-protocol/actions/runs/29331249700)で python-test job が2件の無関係なバグで red だったことに気づいたこと。もう一方のバグ(test_open_pr_overlap_gate.py の expires_on ハードコード期限切れ)は既存 OPEN Issue #1518 が対応範囲としてカバーしており、当該 Issue 本文でも本バグ(test_baseline_vc_preflight_parallel.py)を明示的に Out of Scope としているため、重複起票を避けるためこちらの Issue で切り出している。

git merge-base --is-ancestor e375b3a origin/main は非0を返し、e375b3a1 は main の祖先ではないことを確認済み。

Runtime Verification Applicability

本 Issue の変更対象はワークフロー文書・スクリプトのみです。ゲームの実行時動作には影響しません。

decision: not_applicable
reason: "Workflow documentation and script changes only. No runtime game behavior changed."

Activity

  1. added
    enhancement
    phase/implementation
    triage-required
    agent/implementer
    on Jul 14, 2026
  2. squne121 commented on Jul 14, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-07-14T13:25:22Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1521
      body_sha256: "sha256:71193497388ef9c85ac9d8910454ab649e7bf097d85ce9c8ab827b2276781d6a"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        product_spec_check: {"schema":"product_spec_check/v1","applicability":"applicable","decision":"pass","triggers":{"docs_product_allowed_paths":false,"tasks_md_mentioned":false,"specify_artifact_mentioned":false,"generated_task_mentioned":false,"product_spec_context_present":false,"machine_readable_contract_present":true},"conditions":{"docs_product_requires_spec_evidence":{"status":"pass","evidence":[]},"tasks_md_not_direct_source":{"status":"pass","evidence":[]},"specify_not_canonical":{"status":"pass","evidence":[]},"diff_first_rationale_present":{"status":"pass","evidence":[]},"generated_task_trace_present":{"status":"pass","evidence":[]},"task_dependencies_materialized":{"status":"pass","evidence":[]}},"blocked_reasons":[],"body_sha256":"sha256:71193497388ef9c85ac9d8910454ab649e7bf097d85ce9c8ab827b2276781d6a","source_provenance":{"source_type":"github_api","body_file":null}}
        vc_preflight:
          decision: pass
          classifications: [{"ac":"AC1","line":3,"raw_command":"rg -n _PRE_1338_BASELINE_REV .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py","command_hash":"sha256:f98ce784159af2e4cb2f39f98cccc3318ce0ea9d1d78c782341f292e87eeeaa8","execution_key_hash":"sha256:6630a9fb5c63ca2cd4516bf43b51c96a8bc7f1ba1be9972f9af3d8685770753a","runner":"exec","exit_code":0,"classification":"expected_pass","category":"baseline_expect_pass","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["516:_PRE_1338_BASELINE_REV = \"e375b3a1^\"","526:        [\"git\", \"show\", f\"{_PRE_1338_BASELINE_REV}:{rel_path}\"],"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":4,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"pass","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: pass"},"strict":null,"repair":null},{"ac":"AC2","line":6,"raw_command":"uv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py::test_p1_1_max_workers_one_semantically_equivalent_to_legacy_baseline -q","command_hash":"sha256:47b2234c1f5fc6e9e8c2ffcb8a490ce4ed08b39256fd61dc0c6090c9549697b6","execution_key_hash":"sha256:0f5745945f8379c7bf13fae47315e0c4586a80655bf910e2670503c42f084443","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[".                                                                        [100%]","1 passed in 0.07s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":342,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC3","line":9,"raw_command":"uv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py -q","command_hash":"sha256:c4dad82e7a42ff9e3f048cac56111d28fe9f20ad5cd714a57b79cf8a9204b1f5","execution_key_hash":"sha256:5d8cd7d7aed38c61df7d67474b164c9a494f97c3e79c37ad12188f5607f59d7f","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["............................                                             [100%]","28 passed in 0.44s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":665,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC4","line":12,"raw_command":"pnpm typecheck","command_hash":"sha256:1b65adab2d69e0f148ddd11c15c7dcd73ca087b66cc02dac2672f9493093cc6d","execution_key_hash":"sha256:27624b9b090049ff58536fe030977fedea878439560041257d5332b9734e09c4","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":["$ tsc --noEmit"],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":1351,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC5","line":15,"raw_command":"pnpm lint","command_hash":"sha256:ede823a2d5f2814db6ddd8a2969504d513bf5a4428b806aa4d1a0499fb38462f","execution_key_hash":"sha256:c103136d85c538f776442c80f4a054098c214699a88307685bb7b1ae80bfd596","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":["$ eslint ."],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":5147,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC6","line":18,"raw_command":"pnpm test","command_hash":"sha256:ae7aca4de98e885127fe392c0b60056f3472ed0f0be972870a06df422b3f140a","execution_key_hash":"sha256:6f55ef7d9b9ded1f67d6c7f85700d66291769114164e8bd9ae1b63db3a0270d5","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[" RUN  v4.1.6 /home/squne/projects/LOOP_PROTOCOL/.claude/worktrees/agent-aaeb23490d5c1adaf"," Test Files  96 passed (96)","      Tests  1575 passed (1575)","   Start at  22:25:00","   Duration  18.77s (transform 25.62s, setup 0ms, import 41.90s, tests 145.56s, environment 12.29s)"],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["$ vitest run --exclude 'tests/e2e/**' --exclude '.claude/worktrees/**'"],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":19649,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC7","line":21,"raw_command":"pnpm build","command_hash":"sha256:702e948d947e109310cb2bf19c157b5bb8142b88c87e02ae87a7594c9b797893","execution_key_hash":"sha256:d1f6a69734502584fc9c368e7272d8b2d0a4bd64d2a670429029182da7dbcced","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["\u001b[36mvite v8.0.13 \u001b[32mbuilding client environment for production...\u001b[36m\u001b[39m","\u001b[2K","transforming...✓ 41 modules transformed.","rendering chunks...","computing gzip size...","dist/index.html                  0.46 kB │ gzip:  0.30 kB","dist/assets/index-BMsLd5fy.css   3.49 kB │ gzip:  1.47 kB","dist/assets/index-FsMPCAOe.js   61.16 kB │ gzip: 18.85 kB","\u001b[32m✓ built in 81ms\u001b[39m"],"stdout_truncated":false,"stdout_original_line_count":11,"stderr_head":["$ tsc && vite build"],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":1895,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null}]
      source: ensure_contract_snapshot_auto
  3. squne121 commented on Jul 14, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-07-14T13:26:32Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1521
      body_sha256: "sha256:d3d4ccb4f577f46b82f05c4f2b07488f2443f56c06d277fc4099a75b8963f280"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        product_spec_check: {"schema":"product_spec_check/v1","applicability":"applicable","decision":"pass","triggers":{"docs_product_allowed_paths":false,"tasks_md_mentioned":false,"specify_artifact_mentioned":false,"generated_task_mentioned":false,"product_spec_context_present":false,"machine_readable_contract_present":true},"conditions":{"docs_product_requires_spec_evidence":{"status":"pass","evidence":[]},"tasks_md_not_direct_source":{"status":"pass","evidence":[]},"specify_not_canonical":{"status":"pass","evidence":[]},"diff_first_rationale_present":{"status":"pass","evidence":[]},"generated_task_trace_present":{"status":"pass","evidence":[]},"task_dependencies_materialized":{"status":"pass","evidence":[]}},"blocked_reasons":[],"body_sha256":"sha256:d3d4ccb4f577f46b82f05c4f2b07488f2443f56c06d277fc4099a75b8963f280","source_provenance":{"source_type":"github_api","body_file":null}}
        vc_preflight:
          decision: pass
          classifications: [{"ac":"AC1","line":3,"raw_command":"rg -n _PRE_1338_BASELINE_REV .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py","command_hash":"sha256:f98ce784159af2e4cb2f39f98cccc3318ce0ea9d1d78c782341f292e87eeeaa8","execution_key_hash":"sha256:6630a9fb5c63ca2cd4516bf43b51c96a8bc7f1ba1be9972f9af3d8685770753a","runner":"exec","exit_code":0,"classification":"expected_pass","category":"baseline_expect_pass","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["516:_PRE_1338_BASELINE_REV = \"e375b3a1^\"","526:        [\"git\", \"show\", f\"{_PRE_1338_BASELINE_REV}:{rel_path}\"],"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":3,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"pass","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: pass"},"strict":null,"repair":null},{"ac":"AC2","line":6,"raw_command":"uv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py::test_p1_1_max_workers_one_semantically_equivalent_to_legacy_baseline -q","command_hash":"sha256:47b2234c1f5fc6e9e8c2ffcb8a490ce4ed08b39256fd61dc0c6090c9549697b6","execution_key_hash":"sha256:0f5745945f8379c7bf13fae47315e0c4586a80655bf910e2670503c42f084443","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[".                                                                        [100%]","1 passed in 0.08s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":279,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC3","line":9,"raw_command":"uv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py -q","command_hash":"sha256:c4dad82e7a42ff9e3f048cac56111d28fe9f20ad5cd714a57b79cf8a9204b1f5","execution_key_hash":"sha256:5d8cd7d7aed38c61df7d67474b164c9a494f97c3e79c37ad12188f5607f59d7f","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["............................                                             [100%]","28 passed in 0.44s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":641,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC4","line":12,"raw_command":"pnpm typecheck","command_hash":"sha256:1b65adab2d69e0f148ddd11c15c7dcd73ca087b66cc02dac2672f9493093cc6d","execution_key_hash":"sha256:27624b9b090049ff58536fe030977fedea878439560041257d5332b9734e09c4","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":["$ tsc --noEmit"],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":1301,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC5","line":15,"raw_command":"pnpm lint","command_hash":"sha256:ede823a2d5f2814db6ddd8a2969504d513bf5a4428b806aa4d1a0499fb38462f","execution_key_hash":"sha256:c103136d85c538f776442c80f4a054098c214699a88307685bb7b1ae80bfd596","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":["$ eslint ."],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":4912,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC6","line":18,"raw_command":"pnpm test","command_hash":"sha256:ae7aca4de98e885127fe392c0b60056f3472ed0f0be972870a06df422b3f140a","execution_key_hash":"sha256:6f55ef7d9b9ded1f67d6c7f85700d66291769114164e8bd9ae1b63db3a0270d5","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[" RUN  v4.1.6 /home/squne/projects/LOOP_PROTOCOL/.claude/worktrees/agent-aaeb23490d5c1adaf"," Test Files  96 passed (96)","      Tests  1575 passed (1575)","   Start at  22:26:12","   Duration  18.50s (transform 22.44s, setup 0ms, import 38.25s, tests 146.59s, environment 11.86s)"],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["$ vitest run --exclude 'tests/e2e/**' --exclude '.claude/worktrees/**'"],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":19449,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC7","line":22,"raw_command":"pnpm build","command_hash":"sha256:702e948d947e109310cb2bf19c157b5bb8142b88c87e02ae87a7594c9b797893","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false}]
      source: ensure_contract_snapshot_auto
  4. squne121 commented on Jul 14, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装不要(既に main で解消済み)

    Overlap preflight (check_implementation_overlap.py)

    route: human_review_required(source.saturated: true, OPEN phase/implementation Issue が158件で収集上限100件を超過したため)。独立 readback の結果、Allowed Paths が literal 一致する候補は無く、本 Issue 本文で言及されている唯一の関連 Issue #1518 は対象ファイルが異なる(test_open_pr_overlap_gate.py vs 本 Issue の test_baseline_vc_preflight_parallel.py)上、相互に明示的に Out of Scope として排他関係を宣言している。disjoint と判断し実装調査へ進んだ。

    • evidence_sha256: sha256:83a2cd2bca3b652556d60b530f31511fd0f30c2068d68216cef88ae641f52f8c
    • decision_inputs_sha256: sha256:3a4181be111648e58c901a6a2eb63c22b898e6427ee41e50b00a742113fd3dfb

    調査結果

    worktree を作成し origin/main(HEAD 7e6b3de17006d181666fb6320903fb9feec21992)まで rebase したところ、本 Issue が対象とする _PRE_1338_BASELINE_REV = "e375b3a1^" および _load_legacy_baseline_module() / test_p1_1_max_workers_one_semantically_equivalent_to_legacy_baseline は、無関係の先行 PR で既に削除されていました。

    AC 検証結果(追加コード変更なしで全て満たされている)

    • AC1: rg -n _PRE_1338_BASELINE_REV .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py → exit 1(no match)。参照は既に存在しない。
    • AC2/AC3: uv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight_parallel.py -q → 28 passed(対象テストは名称変更の上で存在し、単体・全体ともに PASS)。

    結論

    本 Issue が記述する defect は main 上で既に解消されているため、Allowed Paths(test_baseline_vc_preflight_parallel.py)内に追加すべき差分がありません。空の diff で PR を起票するのは 1 Issue = 1 PR 原則上望ましくないため、PR は起票せず本コメントで報告します。

    人間判断をお願いします: 本 Issue を「既に解消済み」としてクローズするか、あるいは main CI の現状(pytest python suite (parallel) step)が実際に green であることを別途確認した上でクローズを判断してください。

  5. squne121 commented on Jul 14, 2026

    @squne121
    OwnerAuthor

    本 Issue が報告した不具合は、無関係な PR #1505(commit 7e6b3de)が side effect として解消済みです。_PRE_1338_BASELINE_REV を含む legacy-baseline 比較機構自体が削除され、test_p1_1_max_workers_one_preserves_documented_serial_contract という自己完結型テストに置き換えられています。現在の main(7e6b3de1)で test_baseline_vc_preflight_parallel.py は 28 passed で green です。本 Issue のための追加実装は不要と判断し、クローズします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/implementerenhancementphase/implementationtriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions