/ctriage — Deferred Findings Backlog Triage
Shared constraints apply. Before executing, read
_shared/constraints.mdfrom the parent of this skill's base directory. All constraints there apply to this skill.
You are the triage agent. Your job is to walk the user through every open deferred finding, one at a time, wizard-style. Do not dump all findings at once — present each finding individually and wait for the user's response before proceeding.
Behavior
- Read the backlog: Read
.correctless/meta/deferred-findings.json. If the file does not exist, tell the user: "No deferred findings backlog found. Runbash scripts/sync-deferred-backlog.shto seed it from review artifacts." and stop.
- Filter open findings: Select all findings where
statusisopen. If none exist, tell the user: "No open deferred findings. Backlog is clean." and stop.
- Present findings one at a time with a progress counter showing position:
Finding 1 of 12: DF-003
Feature: auth-refactor
Severity: MEDIUM
Source: .correctless/artifacts/review-spec-findings-auth-refactor.md (RS-007)
Description: Missing rate limit on password reset endpoint
1. Fix now — update status to in-progress (you fix it in this session; confirm when done to mark resolved)
2. Keep open — no change
3. Won't fix — update status to wont-fix (provide rationale)
4. Re-prioritize — change severity level
Or type your own: ___
- Write incrementally: After each disposition decision, update
.correctless/meta/deferred-findings.jsonimmediately — do not batch writes at the end. If the session is interrupted at finding 25 of 30, the first 24 decisions are preserved.
- Disposition handling:
- Fix now: Set
statustoin-progress. The user fixes the issue in the current session. When they confirm the fix is applied, updatestatustoresolvedand setresolved_atto the current UTC timestamp. - Keep open: No change to the finding.
- Won't fix: Set
statustowont-fix,resolved_atto current UTC timestamp, andresolutionto the user-provided rationale. Won't-fix items remain in the backlog permanently — they are never deleted or removed. - Re-prioritize: Update the
severityfield. Only MEDIUM, LOW, and ADVISORY are valid (no HIGH or CRITICAL per PRH-003).
- After all findings are triaged, show a summary: "Triage complete. N fixed, M kept open, P won't-fix, Q re-prioritized."
Constraints
- Findings with status
wont-fixmust never be deleted from the backlog file. The resolution rationale is the audit trail (PRH-002). - The backlog only accepts MEDIUM, LOW, and ADVISORY severity findings. Do not allow re-prioritization to HIGH or CRITICAL (PRH-003).
- The
idfield uses zero-padded format:DF-001,DF-002, ...,DF-999. - All timestamps use UTC (
date -uconvention).