feat: Add dependency direction guidance to onboard
Adds "Dependencies: Think Needs, Not Before" section with the WRONG/RIGHT example pair to help agents avoid the temporal language trap that inverts dependency direction. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -182,6 +182,17 @@ Example: fetchUser(id) → fetchUser(id, { timeout: 3000 })
|
||||
Depends on: bd-abc123 (fetch wrapper refactor)
|
||||
` + "```" + `
|
||||
|
||||
### Dependencies: Think "Needs", Not "Before"
|
||||
|
||||
` + "`bd dep add X Y`" + ` = "X needs Y" = Y blocks X
|
||||
|
||||
**TRAP**: Temporal words ("Phase 1", "before", "first") invert your thinking!
|
||||
` + "```" + `
|
||||
WRONG: "Phase 1 before Phase 2" → bd dep add phase1 phase2
|
||||
RIGHT: "Phase 2 needs Phase 1" → bd dep add phase2 phase1
|
||||
` + "```" + `
|
||||
**Verify**: ` + "`bd blocked`" + ` - tasks blocked by prerequisites, not dependents.
|
||||
|
||||
### Auto-Sync
|
||||
|
||||
bd automatically syncs with git:
|
||||
|
||||
Reference in New Issue
Block a user