beads/cmd
paf0186 4b80094dd5
fix: bd ready now excludes in_progress issues to show only claimable work
* fix: bd ready now excludes in_progress issues

Previously `bd ready` showed both open and in_progress issues, which was
inconsistent with `bd list --ready` (which only shows open issues).

This caused confusion for agents trying to find claimable work - issues
already being worked on would appear in the "ready" list.

Changes:
- `bd ready` now passes Status="open" to GetReadyWork, matching
  `bd list --ready` behavior
- Updated command description to reflect new behavior
- Added test for Status="open" filter behavior
- Clarified GetReadyWork storage layer docstring

The storage layer still supports both behaviors via the filter.Status
field for backwards compatibility with internal callers.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: also pass Status filter through RPC path

The initial fix only addressed the direct-mode path. This commit adds
the Status field to ReadyArgs and passes it through the daemon RPC path
so that `bd ready` works correctly in daemon mode as well.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 21:23:04 -08:00
..
bd fix: bd ready now excludes in_progress issues to show only claimable work 2026-02-02 21:23:04 -08:00