fix: merged and resolved threads keep showing up in the draft list #33

Closed
opened 2026-11-05 04:37:26 +00:00 by david · 0 comments
Owner

knox thread draft and knox_thread_draft select on the auto-thread marker alone, so two kinds of dead thread are still offered for polishing:

  • threads merged into another (#40 → #28, #42 → #41), which are resolved and left with zero observations
  • any other resolved cluster

Current output on this index: 13 candidates, of which #32, #33, #34, #35, #40, #42 have 0 obs. A merged thread has already been dealt with; re-polishing its copy is pointless and the queue cannot drain.

The predicate is duplicated between internal/cmd/thread.go (isAutoThreaded) and internal/cmd/mcp.go.

Expected

A draft is an auto-threaded cluster that is not resolved and still has at least one linked observation. One predicate, used by both surfaces.

`knox thread draft` and `knox_thread_draft` select on the auto-thread marker alone, so two kinds of dead thread are still offered for polishing: - threads merged into another (#40 → #28, #42 → #41), which are resolved and left with zero observations - any other resolved cluster Current output on this index: 13 candidates, of which #32, #33, #34, #35, #40, #42 have `0 obs`. A merged thread has already been dealt with; re-polishing its copy is pointless and the queue cannot drain. The predicate is duplicated between `internal/cmd/thread.go` (`isAutoThreaded`) and `internal/cmd/mcp.go`. ## Expected A draft is an auto-threaded cluster that is not resolved and still has at least one linked observation. One predicate, used by both surfaces.
david closed this issue 2026-11-05 04:38:04 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: david/knox#33