name: thrunt-review-backlog description: Review and promote backlog items to active milestone allowed-tools: Read, Write, Bash
<objective> Review all 999.x backlog items and optionally promote them into the active milestone sequence or remove stale entries. </objective> <process>-
List backlog items:
ls -d .planning/phases/999* 2>/dev/null || echo "No backlog items found" -
Read HUNTMAP.md and extract all 999.x phase entries:
cat .planning/HUNTMAP.mdShow each backlog item with its description, any accumulated context (CONTEXT.md, RESEARCH.md), and creation date.
-
Present the list to the user via AskUserQuestion:
- For each backlog item, show: phase number, description, accumulated artifacts
- Options per item: Promote (move to active), Keep (leave in backlog), Remove (delete)
-
For items to PROMOTE:
- Find the next sequential phase number in the active milestone
- Rename the directory from
999.x-slugto{new_num}-slug:NEW_NUM=$(node ".github/thrunt-god/bin/thrunt-tools.cjs" phase add "${DESCRIPTION}" --raw) - Move accumulated artifacts to the new phase directory
- Update HUNTMAP.md: move the entry from
## Backlogsection to the active phase list - Remove
(BACKLOG)marker - Add appropriate
**Depends on:**field
-
For items to REMOVE:
- Delete the phase directory
- Remove the entry from HUNTMAP.md
## Backlogsection
-
Commit changes:
node ".github/thrunt-god/bin/thrunt-tools.cjs" commit "docs: review backlog — promoted N, removed M" --files .planning/HUNTMAP.md -
Report summary:
## 📋 Backlog Review Complete Promoted: {list of promoted items with new phase numbers} Kept: {list of items remaining in backlog} Removed: {list of deleted items}