Repository navigation
fix(#254): plan_child_materialization.py の leading issue ref 検出バグを修正する - #320
Merged
Merged
Conversation
…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]>
2 of 20 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_CHILD_LINE_REの#N — C254-N:形式における leading issue ref が非キャプチャグループだったため、raw_issue_refsが空になり全 child がstatus: missing / action: create_issueと誤分類されていた(?P<leading_ref>\d+)で捕捉し_parse_child_lines内でraw_issue_refsの先頭に挿入するよう修正existing_open / no_opと正しく分類されることを確認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