Patrolbeta

Tasks and plans

What a Patrol Task contains, how its status changes, and who can approve a plan.

A Patrol Task is one unit of work that Jatayu filed. It is not a review finding and not a Fix with Angada session.

What a task contains

  • Brief. Problem statement, evidence, solution, testing decisions and what is out of scope.
  • Evidence. The file path, the line range and a note on what the code does there.
  • Implementation plan. Numbered steps, the files each step touches, and how to check it. Plans are versioned.
  • Properties. Category, area, priority, effort, confidence and an owner hint.
PropertyValues
CategorySecurity, Reliability, Data integrity, Business logic, Maintainability, Performance
AreaFrontend, Backend, Tooling, DevOps
PriorityUrgent, High, Medium, Low
ConfidenceHigh, Medium

The owner hint comes from CODEOWNERS first, then from git history. It is a hint. Patrol never assigns anyone.

Status

StatusMeaning
TriageJatayu filed the task. It has no plan yet.
PlannedA plan is attached and waits for a member.
ApprovedA member approved the current plan.
In progressA fix is running, or the task was handed off to Linear.
In reviewA fix pull request is open.
DoneThe pull request merged, or a later scan no longer finds the problem.
DismissedA member closed the task with a reason.

A task normally moves Triage, Planned, Approved, In progress, In review, Done. Changes requested on a plan send the task back to Triage for a new plan version. A closed fix pull request sends it back to Approved.

Who can do what

  • Any workspace member can approve a plan, dismiss a task, send it to Linear or start a fix.
  • Admins opt a repository in or out and change its settings.

You can only approve the current plan version. If Jatayu writes a new version, approve again.

Linear is a hand-off

Send to Linear creates an issue with the evidence and plan attached, and stores the link on the task. After that, Linear is the source of truth for the work. Patrol does not sync status back from Linear.

Scans close tasks too

If a later scan no longer finds the problem at a newer commit, the task moves to Done without anyone confirming it. If the problem returns, the task reopens in Triage.

Dismissing

A dismissal needs a reason: false positive, will not fix, accepted risk or duplicate. A false positive is remembered and Patrol never files it again.

On this page