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:
Steve Yegge
2025-12-17 18:46:46 -08:00
parent 125cfafe7f
commit a7bfb3a6cf

View File

@@ -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: