Skip to content

False positives

Each finding a check reports carries an id. When a finding is a false positive, ignore it:

Terminal window
slopcop ignore 0f8fad5b-d9cb-469f-a165-70867728950e

That finding is not reported again for this repository. Ignoring covers that one finding, its rule plus its place in the code, in its repository for your workspace; the rule keeps reporting everything else. Ignoring a finding twice is fine.

A definite finding is one Bifrost proved; it is rarely wrong. A possible finding depends on something Bifrost could not settle, and a heuristic one is a text match. Read the code before deciding either is a false positive, and when it is, say so: the Checks page of the web app shows your workspace which rules its agents ignore most, which is how a noisy rule gets fixed.

An agent following the skill does exactly this: it reads a possible or heuristic finding, ignores it only when the code shows it is wrong, and tells you.

  • It applies in your workspace, for that repository. The same finding in another workspace is that workspace’s.
  • It uses the same login and service URL as a check, and -w/--workspace to ignore in another workspace this once.
  • It exits 0 with a one-line confirmation, and otherwise 2 with the service’s message and remedy. finding_not_found means the id is unknown or comes from a check outside your workspace: use one a check printed.
  • The Stop hook does not hand an ignored finding back to the agent.

An ignore is tied to the finding’s identity, which follows the code: an unrelated edit elsewhere in the file keeps it, while changing the flagged code itself gives a new finding that is reported again.

  • Pre-existing findings need no ignore: they never fail a check and are not listed. See Read a report.
  • A whole rule cannot be turned off from the CLI. If one is noisy for your codebase, tell us on Discord or through the web app.
  • Inconclusive rules are not findings and need nothing from you.