Root cause review

From makifbaysal/tasktrooper · View interactive version

Root cause review is an AI agent skill from the GitHub repository makifbaysal/tasktrooper. Use when a task in code_review was sent back before (an earlier need_revision comment exists) - verify every prior point was fixed at its root

How to use this skill

Skill file

Root-Cause Review

Overview

When a task returns to code_review after a need_revision cycle, the question is not "did something change" but "was the ROOT CAUSE addressed". Symptom patches come back as bugs; catching them here is cheaper than in QA or production.

The Process

  1. Find the prior feedback first. A re-submission enters code_review from in_progress, so the earlier need_revision comment is NOT injected into this run automatically — list_task_comments on this task is how you find it (also check get_task_pull_request for human reviewer comments on the PR itself).
  2. Re-read the prior feedback: your previous need_revision comment, the QA failure report, or the pipeline failure — list every numbered point.
  3. Map each point to the new diff: for every point, find the exact change that addresses it. A point with no matching change means the revision is incomplete → back to need_revision citing the unaddressed point.
  4. Judge root cause vs symptom for each fix:
  1. Check the guard test: a test now exists that reproduces the original failure and passes with the fix. No guard test → Important finding.
  2. Watch for regressions: revision diffs are written under pressure — re-check the surrounding code paths the fix touches.

Worked Example (symptom vs root cause)

Prior finding: "export returns empty CSV on DB error (swallowed error)."

The tell was step 2: B's fix touched service.go:24 (where the mechanism lives); A's didn't.

Verdict

Red Flags

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.