Ctriage

From joshft/correctless · View interactive version

Ctriage is an AI agent skill from the GitHub repository joshft/correctless. Bulk triage deferred findings backlog. Presents findings one at a time with disposition options.

How to use this skill

Skill file

/ctriage — Deferred Findings Backlog Triage

Shared constraints apply. Before executing, read _shared/constraints.md from 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

  1. Read the backlog: Read .correctless/meta/deferred-findings.json. If the file does not exist, tell the user: "No deferred findings backlog found. Run bash scripts/sync-deferred-backlog.sh to seed it from review artifacts." and stop.
  1. Filter open findings: Select all findings where status is open. If none exist, tell the user: "No open deferred findings. Backlog is clean." and stop.
  1. 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: ___
  1. Write incrementally: After each disposition decision, update .correctless/meta/deferred-findings.json immediately — do not batch writes at the end. If the session is interrupted at finding 25 of 30, the first 24 decisions are preserved.
  1. Disposition handling:
  1. After all findings are triaged, show a summary: "Triage complete. N fixed, M kept open, P won't-fix, Q re-prioritized."

Constraints

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.