From 5639dd7f84b8d555cef942392ee6526cbf5dae3c Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Tue, 23 Dec 2025 12:27:05 -0800 Subject: [PATCH] Document bd pinned field bug in beads.Pin() (gt-o3is) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added comment explaining that the pinned field gets overwritten by subsequent bd commands due to a bug in the beads auto-import logic. The handoff bead attachment mechanism works correctly and is the primary work assignment mechanism. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- internal/beads/beads.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/beads/beads.go b/internal/beads/beads.go index 6d09d56a..edd429c4 100644 --- a/internal/beads/beads.go +++ b/internal/beads/beads.go @@ -392,6 +392,10 @@ func (b *Beads) CloseWithReason(reason string, ids ...string) error { // Pin pins an issue to an agent's hook. // This sets the pinned boolean field and optionally the assignee. // If agent is empty, only sets the pinned field. +// NOTE: There's a known issue (gt-o3is) where the pinned field gets overwritten +// by subsequent bd commands due to a bug in beads auto-import logic. +// The handoff bead attachment mechanism works correctly and is the primary +// work assignment mechanism. The pinned field is cosmetic for bd hook visibility. func (b *Beads) Pin(id string, agent string) error { args := []string{"--no-daemon", "pin", id} if agent != "" {