## Machine-Readable Contract ```yaml contract_schema_version: v1 issue_kind: implementation parent_issue: none goal_ref: "CI で test_implementation_worker_request_v2_contract.py が自動実行されるようにする" change_kind: workflow ``` ## Parent Issue なし(単独改善) ## Parent Goal Ref - Goal: PR #638(Issue #631)で追加したテストを CI で継続的に実行し、契約違反の早期検出を維持する - Desired Destination: N/A(standalone follow-up) ## Current Validated Scope - `.github/workflows/ci.yml` の python-test ジョブに `test_implementation_worker_request_v2_contract.py` の pytest コマンドを追加 ## Remaining Parent Gaps なし ## Outcome `.github/workflows/ci.yml` の `python-test` ジョブに `uv run --locked pytest .claude/skills/implement-issue/tests/test_implementation_worker_request_v2_contract.py` が追加され、CI でテストが実行されるようになる。 ## Background PR #638(Issue #631)で `.claude/skills/implement-issue/tests/test_implementation_worker_request_v2_contract.py` を追加したが、Issue #631 の Allowed Paths に `.github/workflows/ci.yml` が含まれていなかったため Stop Condition(Allowed Paths 外変更)が該当し、CI 登録を follow-up Issue として分離した。 ## In Scope - `.github/workflows/ci.yml` の `python-test` ジョブへの pytest エントリ追加 ## Out of Scope - テスト内容の変更 - 他のワークフローファイルの変更 - 新規テストの追加 ## Acceptance Criteria - [ ] `.github/workflows/ci.yml` の python-test ジョブに `test_implementation_worker_request_v2_contract.py` の pytest コマンドが追加されている - [ ] CI が通過する ## Verification Commands ```bash rg -n "test_implementation_worker_request_v2_contract" .github/workflows/ci.yml ``` ```bash uv run --locked pytest .claude/skills/implement-issue/tests/test_implementation_worker_request_v2_contract.py ``` ## Allowed Paths - `.github/workflows/ci.yml` ## Stop Conditions - Allowed Paths 外の変更が必要と判明した場合 - In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合 - 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合) - 後続 Phase / 別スコープへの波及が判明した場合 - nested SubAgent delegation が必要になった場合 - 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合 ## Required Skills なし ## Scope Delta(任意) N/A ## Delivery Rule - `1 Issue = 1 PR` - Draft PR を作成してからレビューを依頼する ## Source ``` dedupe_key: "follow-up:squne121/loop-protocol:pr/638:ci-yml-ac6-pytest" source_pr: 638 source_issue: 631 origin_skill: post-merge-cleanup ```
Activity