Repository navigation
Closed
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasestate/queuedQueued for implementation
Description
Machine-Readable Contract
contract_schema_version: v1
issue_kind: implementation
parent_issue: none
goal_ref: "Python テスト系 VC の依存明示パターンを body-authoring に追加する"
change_kind: workflowParent Issue
なし(単独改善)
Parent Goal Ref
- Goal: Issue 起票時に Python テスト系 VC が
uvの default env で実行不可能になる罠を防ぐため、create-issue/references/body-authoring.mdの「VC 作成ガイダンス」に依存明示パターンを追記する - 背景: Issue 実装: gemini-cli-headless-delegation のランタイムセットアップテンプレを整備し SubAgent 起動可能状態にする #33 の AC9 (
uv run python -m pytest tests/) がpyyaml未導入の uv default env で 5 件 fail し、issue-contract-review で warning として検出された。実装者はuv run --with pytest --with pyyaml ...を runtime-portability.md / SKILL.md に明記して吸収したが、本来は起票時 VC で明示すべき - 関連: PR feat: gemini-cli-headless-delegation ランタイムセットアップチェッカーを追加 #38 の観測メモ section C、
.claude/skills/create-issue/references/body-authoring.md
Current Validated Scope
.claude/skills/create-issue/references/body-authoring.mdの「VC 作成ガイダンス」セクション配下に「Python テスト系 VC の依存明示パターン」サブセクションを追加
Remaining Parent Gaps
なし
Outcome
.claude/skills/create-issue/references/body-authoring.md に「Python テスト系 VC の依存明示パターン」サブセクションが追加され、uv run --with <deps> 形式または対象 skill 内 pyproject.toml 存在を VC 起票時に明示するガイダンス(具体例 + アンチパターン)が記載されたコミットが main にマージされている。
In Scope
create-issue/references/body-authoring.mdへの当該サブセクション追加
Out of Scope
create-issue/SKILL.md本体の変更issue-contract-reviewskill の判定ロジック変更(別 Issue で扱う)- 既存 Issue の VC 一括修正
Acceptance Criteria
- AC1:
body-authoring.mdの「VC 作成ガイダンス」配下に「Python テスト系 VC」を含むサブセクションが存在する - AC2: 当該サブセクションに
uv run --with形式の正例が 1 つ以上含まれる - AC3: 当該サブセクションにアンチパターン(依存未明示の
uv run python -m pytest)が記載されている
Verification Commands
rg -n "Python テスト|pytest" .claude/skills/create-issue/references/body-authoring.md— # AC1: サブセクション存在rg -n "uv run --with" .claude/skills/create-issue/references/body-authoring.md— # AC2: 正例存在rg -n "アンチパターン|anti-pattern|避ける" .claude/skills/create-issue/references/body-authoring.md | rg -i "pytest|uv run"— # AC3: アンチパターン記載
Allowed Paths
.claude/skills/create-issue/references/body-authoring.md
Stop Conditions
- Allowed Paths 外の変更が必要と判明した場合
- 既存「VC 作成ガイダンス」の他サブセクションの大規模改変が必要になった場合
- 新規 Issue の起票が必要と判断した場合
- 外部サービス利用・権限昇格が必要になった場合
- nested SubAgent delegation が必要になった場合
- 既存テスト大規模改変が必要になった場合
Required Skills
なし
Notes for Reviewer
観測元: PR #38 観測メモ section C。本 Issue は Issue #33 AC9 の env 問題から派生した一般化提案。
Metadata
Metadata
Assignees
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasestate/queuedQueued for implementation
Activity
docs: body-authoring に VC 構築手順・必須セクション列挙・Parent scaffold を追加 (#25) (#91)