You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
✨ Activity Monitor: no option to accept triage on a label-less issue the reporter-trust gate holds #15215
On the Activity Monitor an issue from an un-admitted reporter that has not yet been through its first stage pass — no stage/* label, no needs-triage yet — reads as a 000-new row: caption "New · waiting for a maintainer's triage (add triage/accepted); the hive's next pass in 13m", 👤 next-move on the maintainer. Live example: #15198 (reporter has read permission / NONE association, zero labels).
Its "⋯" row menu offers only Hold / Re-evaluate now / Mark needs-human… / Open on GitHub / Copy link. The one thing the row says it is waiting for — a maintainer accepting triage — is not there.
Why
POST /api/repos/{owner}/{repo}/items/{n}/accept-triage and the menu item exist since #13805, but the client predicate (stageTrackerTriageNeeded) only fires on stage 015 or the needs-triage modifier. The reporter-trust hold before the first stage pass is neither: it is stage 0 with new.next_mover: "maintainer".
Fix
Offer Accept triage on a 000-new issue whose next mover is the maintainer, and lead the menu with it on every triage row (015 / needs-triage / 000-new hold).
Optimistic row: 015 → 010 Actionable (as before); a 000-new row flips to the hive-mover narration (triage ✓ → actionable (next) → claimed) — the server narrates the same once the label is on, even while the bucket still says reporter_triage.
Result toast's next line: "Hive picks it up on its next scanner pass (≈N min)" from the governor's published next kick.
Write path unchanged: same audited handler (repo_item_accept_triage, attributed to the signed-in user), same guard as Hold (repo write permission or verified owner; 401/403 otherwise).
Decline triage… is not added: pkg/stagelabels / pkg/config have no "triage declined" label concept, so the inverse remains Hold with a reason.
Activity
✨ Activity Monitor: Accept triage on the label-less reporter-trust ho…