From acba84ef7f2c98d5dcece59a58d7480f61ca07c0 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Sun, 21 Dec 2025 11:30:58 -0800 Subject: [PATCH] fix(memory): exclude pinned issues from GetReadyWork MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SQLite storage already excluded pinned issues from ready work (bd-92u), but memory storage was missing this check. Pinned issues are context markers, not actionable work items. Closes bd-o9o. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- internal/storage/memory/memory.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/storage/memory/memory.go b/internal/storage/memory/memory.go index 0d051937..f1b055fa 100644 --- a/internal/storage/memory/memory.go +++ b/internal/storage/memory/memory.go @@ -902,6 +902,11 @@ func (m *MemoryStorage) GetReadyWork(ctx context.Context, filter types.WorkFilte var results []*types.Issue for _, issue := range m.issues { + // Skip pinned issues - they are context markers, not actionable work (bd-o9o) + if issue.Pinned { + continue + } + // Status filtering: default to open OR in_progress if not specified if filter.Status == "" { if issue.Status != types.StatusOpen && issue.Status != types.StatusInProgress {