Skip to content

Conversation

@newhook
Copy link
Owner

@newhook newhook commented Jan 29, 2026

Summary

  • When creating work from a bead, dependents with "blocks" relationship type were not included
  • Only parent-child relationships were being collected, excluding beads that depend on the root bead
  • Added collectChildrenAndBlocked helper to recursively collect both parent-child and blocks dependents

Test plan

  • go build ./... passes
  • go test ./... passes
  • Create work from a bead with both children and blocked beads, verify all are included

🤖 Generated with Claude Code

When creating work from an epic, beads with a "blocks" dependency type
(i.e., beads that depend on the epic) were not being included. Only
parent-child relationships were collected. This caused dependent tasks
like ac-naao, ac-nn90, ac-woty to be excluded when creating work from
their parent epic ac-ynyu.

Added collectChildrenAndBlocked helper to recursively collect both
parent-child and blocks dependents when expanding an epic for work.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@newhook newhook changed the title Fix work creation to include blocked beads from epics Fix work creation to include blocked beads Jan 29, 2026
@newhook newhook merged commit 65bbe75 into main Jan 29, 2026
3 checks passed
@newhook newhook deleted the fix/include-blocked-beads-in-work-creation branch January 29, 2026 15:43
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.

2 participants