Skip to content

fix(#254): plan_child_materialization.py の leading issue ref 検出バグを修正する - #320

Merged
squne121 merged 2 commits into
mainfrom
fix/plan-child-materialization-leading-ref
May 23, 2026
Merged

squne121 merged 2 commits into
mainfrom
fix/plan-child-materialization-leading-ref

Conversation

@squne121

Copy link
Copy Markdown
Owner

Summary

Test plan

  • uv run python .claude/skills/create-issue/scripts/plan_child_materialization.py --issue 254 --repo squne121/loop-protocol を実行し、全 child が status: existing_open / action: no_op であることを確認
  • required_issue_creations: [] であることを確認
  • 既存テスト: uv run pytest .claude/skills/create-issue/tests/ -q(存在する場合)

Closes #254 の child_state_unknown ブロッカー(script-level fix)

🤖 Generated with Claude Code

squne121 and others added 2 commits May 24, 2026 01:36
…ssue ref を検出できないバグを修正する

_CHILD_LINE_RE の leading `#N —` グループを非キャプチャから名前付きキャプチャ
(leading_ref)に変更し、_parse_child_lines で raw_issue_refs の先頭に挿入する。

これにより #254 の ## Child Issues 行が `- [ ] #283 — C254-2: ...` 形式の場合に
既存 Issue が正しく検出され、status: existing_open / action: no_op と分類される。
重複 Issue 起票(required_issue_creations)が発生しなくなる。

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@squne121
squne121 merged commit 6b4c408 into main May 23, 2026
5 checks passed
@squne121
squne121 deleted the fix/plan-child-materialization-leading-ref branch May 23, 2026 16:38
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.

親: SDD 駆動運用方針の確定と不足 product SSOT の child 起票

1 participant