Batch review pending_triage beads — promote or dismiss interject discoveries
Batch review beads created by interject with pending_triage label. Promote worthy items (raise priority to P2) or dismiss stale ones.
When the user invokes /interject:triage, follow the behavior below.
--limit=N — Maximum items per batch (default: 5, max: 20)--source=NAME — Filter to a specific source (arxiv, github, hackernews, etc.)List pending items:
Run via Bash: BEADS_DIR=.beads bd list --labels=pending_triage --status=open --json
Parse the JSON output to get bead IDs, titles, priorities, and descriptions.
Enrich with context: For each bead, extract from the description:
Source: <source> | <url>Relevance score: <score>)Present batch via AskUserQuestion:
Present up to limit items. For each item show:
[interject] prefix)Use multiSelect with options:
Process selections:
For promoted items:
BEADS_DIR=.beads bd update <id> --priority=2
BEADS_DIR=.beads bd update <id> --remove-label=pending_triage
If a kernel discovery ID is referenced in the bead:
ic discovery feedback <kernel_id> --signal=promote --actor=human
For dismissed items:
BEADS_DIR=.beads bd close <id> --reason="triage-dismissed"
If a kernel discovery ID is referenced:
ic discovery feedback <kernel_id> --signal=dismiss --actor=human
Report summary:
Triage complete: N promoted, M dismissed, K skipped
Remaining pending: <count from bd list>
Loop: If items remain and user didn't choose "Skip batch", present the next batch.