fix: polished auto-threads keep reappearing in the draft list #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
UpdateThreadrewrites title/motivation/priority/tags but never touchesprovenance, so a thread created byAutoThreaderkeeps{"trigger":"auto_thread"}forever.isAutoThreaded(internal/cmd/thread.go) tests either that provenance marker or a motivation prefix of "Auto-detected", so every thread an agent polishes still shows up inknox_thread_draftandknox thread draftno matter how many times it is edited.Observed today: 11 threads were retitled and given written summaries via
knox_thread_groom, and all 11 still report as drafts — there is no way to say "this one has been groomed".Expected
An editorial rewrite (explicit title or motivation) clears the
auto_threadmarker so the thread leaves the draft queue.Notes
UpdateThreadtreats an empty string as "leave unchanged", so only a non-empty title/motivation should count as the groom signal.knox_thread_groomcallsUpdateThread, so the fix covers both entry points.