Drain a stale issue + backlog queue read-only: dedup, classify each item against live code, adversarially verify every close, then apply serially. Use on /triage-sweep.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Triage Sweep?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bravros-triage-sweep)
---
name: triage-sweep
core: true
description: "Drain a stale issue + backlog queue read-only: dedup, classify each item against live code, adversarially verify every close, then apply serially. Use on /triage-sweep."
---
# Triage Sweep — dedup → classify-vs-code → adversarial-verify → serial apply
Read [briefing.md](references/briefing.md) on demand for detailed context and instructions.
## Quick Summary & Non-Negotiable Guards
1. **Read-only fan-out, serial apply.** The workflow mutates NOTHING; every `gh` close and every ledger event is applied **serially** afterward.
2. **Evidence-gated close.** An item auto-closes ONLY when classified `already-done`/`solved-differently` with a concrete `artifact_ref` AND an independent adversarial verifier confirms it.
3. **Project guard seam.** Pass project rules via `args.guards`.
4. **Never close in-flight or defective-ledger items.**
## Workflow Execution Steps
1. **Step 0 — Preflight + materialize:**
```bash
STAGING=$(bravros config get staging_branch 2>/dev/null); STAGING=${STAGING:-homolog}
[ "$(git rev-parse --abbrev-ref HEAD)" = "$STAGING" ] && [ -z "$(git status --porcelain)" ] || { echo "STOP: HEAD must be $STAGING with a clean tree"; exit 1; } # hard stop
mkdir -p .claude/workflows && cp -f ~/.agent_config/skills/triage-sweep/scripts/triage-sweep.js .claude/workflows/triage-sweep.js
```
2. **Step 1 — Triage (parallel, read-only):** Run `triage-sweep` workflow across code, worktrees, open PRs, and `.planning/` plan folders.
3. **Step 2 — Apply (SERIAL):** Append event to `.planning/events.jsonl` or run `gh issue close`.
4. **Step 3 — Ledger + close out:** Write `.planning/sweep-ledger.md` and announce completion via `announce.sh`.