Triage
Triage active lightweight work across BUGS.md and NEXT_STEPS.md.
This replaces the old /list-todos and /run-todos flow. It may edit files
when needed, but ask before starting implementation. Features remain in
features/<name>/ and deferred indefinite ideas remain in DEFERRED.md.
Inputs
Read, if present:
BUGS.mdNEXT_STEPS.mdDEFERRED.mdfor context onlyplans/PLAN_STATUS.mdandfeatures/*/FEATURE_SPEC.mdonly when needed to understand feature-sized workVISION.md,PRODUCT_SPEC.md, orplans/greenfield/PRODUCT_SPEC.mdfor project alignment when available
If both BUGS.md and NEXT_STEPS.md are missing or empty, say there is no
active lightweight work and suggest /capture-work.
Ranking
Rank open bugs and next steps together using:
- User impact and severity
- Confidence that the item is real and understood
- Immediacy: bugs and blocking work usually outrank polish
- Project alignment
- Effort and dependency risk
- Whether an item is actually feature-sized
Do not pretend vague items are ready. If a bug lacks reproduction steps, mark it as needing reproduction unless the current repo context makes it obvious.
File Updates
When useful, update files directly:
- Reorder
NEXT_STEPS.mdranked items. - Normalize
BUGS.mdentries intoSeverity,Repro,Expected,Actual, and optionalNotes. - Move indefinite ideas from
NEXT_STEPS.mdtoDEFERRED.md. - Recommend
/feature-spec <name>for feature-sized items instead of keeping them as next steps. - Archive completed, removed, or obsolete items immediately.
Archive
Use archive/work-items/YYYY-MM.md.
Archive entries under one of these headings:
# Work Items Archive - YYYY-MM
## Bugs
## Next Steps
## Deferred
When archiving, move the full item text out of the active file and add a short
status note such as Completed, Removed, Superseded, or Moved to feature.
Output
Return:
# Triage
## Recommended Next Work
1. {Bug or next step} — {reason}
## Active Bugs
- {count and highest-priority notes}
## Active Next Steps
- {count and highest-priority notes}
## Changes Made
- {files edited, or "None"}
## Needs Clarification
- {items that need human input before implementation}
Before implementing any item, ask which item to start. /triage decides and
organizes; execution begins only after explicit user direction.