Patrolbeta

How a night works

The five steps from a scheduled scan to a plan that waits for your approval.

A Patrol Scan runs on one repository at 02:00 in the workspace time zone, on working nights, Monday to Friday.

The five steps

  1. Check every file. Static tools run across the whole repository. Files that changed recently, and the files that depend on them, rise to the top of the list.
  2. Investigate the top files. Jatayu reads a fixed number of the highest-ranked files in full. The number is set by the plan, not by the size of the repository.
  3. Evidence or nothing. A second model tries to disprove each candidate. A candidate becomes a task only if it survives and has evidence: the file, the lines and what the code does.
  4. Brief and plan. For each task, Jatayu writes a brief and an implementation plan.
  5. You approve. A member reads the plan and approves, changes or dismisses it.

Why it works this way

  • Static output is a hint. Raw static analysis is noisy. Patrol uses it to decide where to look, not as a finding.
  • Whole files, not snippets. Jatayu reads the full file so that it does not report problems that the surrounding code already handles.
  • A second opinion. The check in step 3 uses a different model family from the one that investigated.
  • Dismissals stick. A task dismissed as a false positive is not filed again.
  • Quiet nights add coverage. Budget that a quiet night does not use goes to older ranked files, so coverage grows over time.

What a scan does not do

A scan never writes to your repository. It reads a copy of the code, and nothing else leaves the scan except the tasks it files. See Data handling for where the code is sent.

Next: Tasks and plans.

On this page