fix: Add cross-rig routing support to bd close

The close command now properly routes to different beads directories
based on issue ID prefix, matching the behavior of bd show/update.

Changes:
- Check needsRouting() for each ID in both daemon and direct mode
- Handle routed IDs via resolveAndGetIssueWithRouting()
- Close issues in the correct remote store

Fixes bd-3jrb

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gastown/crew/gus
2026-01-01 11:24:48 -08:00
committed by Steve Yegge
parent 5ae088b594
commit a9e70e3fe5
2 changed files with 1008 additions and 892 deletions

File diff suppressed because one or more lines are too long