From 2ca679ad8698d9550ab3bc50abe3cdc7426c74e3 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Fri, 19 Dec 2025 16:18:54 -0800 Subject: [PATCH] fix(mq): gt mq list shows all priorities, not just P0 (gt-72so) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ListOptions struct defaults Priority to 0 (Go zero value), which caused bd list to filter to only P0 merge requests. This fix explicitly sets Priority: -1 to disable priority filtering. Root cause: beads.ListOptions{Type: "merge-request"} created opts with Priority=0, passing --priority=0 to bd, filtering out P1-P4 MRs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- internal/cmd/mq.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/cmd/mq.go b/internal/cmd/mq.go index ecdbc965..4ec14bce 100644 --- a/internal/cmd/mq.go +++ b/internal/cmd/mq.go @@ -543,8 +543,10 @@ func runMQList(cmd *cobra.Command, args []string) error { b := beads.New(r.Path) // Build list options - query for merge-request type + // Priority -1 means no priority filter (otherwise 0 would filter to P0 only) opts := beads.ListOptions{ - Type: "merge-request", + Type: "merge-request", + Priority: -1, } // Apply status filter if specified