GitHub Issue Triage
Every verdict must come from the issue read against the code on origin/dev, not from a keyword match. The scripts only say where to start.
Measured 2026-09-28, against 100 issues verified one by one:
- The old "closable" heuristic (
#Nmentioned in a changelog or an implemented doc) flagged 25 issues. 7 were fixed and 18 were live bugs, several of them P0/P1. Its--closeflag would have closed all 25. - It also missed 6 real fixes whose commits never named the issue.
--closehas been removed.
Current State
- GitHub auth: !'gh auth status 2>&1 | grep -E "Active account: true" -B1 | head -1'
- Open issues: !'gh issue list --state open --limit 1000 --json number --jq length 2>/dev/null || echo "gh not available"'
- Missing a priority label: !'gh issue list --state open --limit 1000 --json labels --jq "[.[] | select([.labels[].name] | any(startswith(\"priority:\")) | not)] | length" 2>/dev/null'
Workflow
1. Auth
This repo is worked as sunholo-voight-kampff, the bot account; check_auth.sh compares against github.expected_user in ~/.ailang/config.yaml. MarkEdmondson1234 is the human's account, and rw-markedmondson is a different project. If the wrong one is active, run gh auth switch --user sunholo-voight-kampff.
2. Starting-point report
.claude/skills/github-issue-triage/scripts/triage_report.sh --output <scratchpad>/triage.md
It gives counts, close candidates (unverified), issues missing a priority label, needs-decision, doc references and stale issues. All of it is read from origin/dev, never the working tree, because a worktree may sit on an old branch.
What the candidate list is worth:
- In the same measurement, its signals caught 3 of 13 real fixes.
- An issue missing from the list may still be fixed.
- An issue on the list may still be live: a commit once said "closes #612" wrongly.
3. Verify every issue against the code (the actual triage)
Split the open issues into groups of about 20 and give each group to a read-only agent, running in parallel, using