matt wilkie
99f5e50a32
feat: Add 'bd orphans' command with DRY refactoring of orphan detection
...
Implements the 'bd orphans' command to identify issues referenced in commits
but still open in the database, and refactors to eliminate code duplication.
- Creates cmd/bd/orphans.go with Cobra command structure
- Identifies orphaned issues (referenced in git commits but still open/in_progress)
- Supports multiple output formats (human, JSON, detailed)
- Auto-close with --fix flag
DRY refactoring:
- Extracted FindOrphanedIssues() to cmd/bd/doctor/git.go as shared core logic
- Moved OrphanIssue type to cmd/bd/doctor/types.go
- Refactored CheckOrphanedIssues() to use FindOrphanedIssues()
Cherry-picked from PR #767
Co-authored-by: Amp <amp@ampcode.com >
2025-12-27 17:23:45 -08:00
..
2025-12-27 17:23:45 -08:00
2025-12-23 22:40:16 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:21:08 -08:00
2025-12-27 16:21:08 -08:00
2025-12-27 16:02:15 -08:00
2025-12-23 22:41:05 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:21:08 -08:00
2025-12-27 16:02:15 -08:00
2025-12-25 13:56:19 -08:00
2025-12-24 00:08:10 -08:00
2025-12-27 16:21:08 -08:00
2025-12-24 00:06:41 -08:00
2025-12-25 18:40:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-23 12:06:42 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 12:43:18 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:06:41 -08:00
2025-12-24 13:03:27 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:20:12 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-25 16:20:02 -08:00
2025-12-27 16:20:12 -08:00
2025-12-25 13:56:19 -08:00
2025-12-24 00:07:52 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:08:34 -08:00
2025-12-27 16:02:15 -08:00
2025-12-25 13:56:19 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 12:35:57 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 17:23:45 -08:00
2025-12-27 17:23:45 -08:00
2025-12-27 16:02:15 -08:00
2025-12-25 14:25:45 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:21:08 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:06:41 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 00:10:14 -08:00
2025-12-24 00:10:14 -08:00
2025-12-25 12:05:46 -08:00
2025-12-24 12:35:32 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 12:35:32 -08:00
2025-12-27 16:02:15 -08:00
2025-12-24 23:33:34 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:08:34 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00