Skip to content

How a review works

What Crysk does between your push and the check, and how a finding ends up blocking the merge or only advising.

View as Markdownllms.txt

Crysk looks for bugs in the code your pull request changes. It says nothing about style or naming. This page explains what runs, so you can decide how much to trust a result.

Step What happens
1. Four hunters, in parallel Each hunter reads the diff and the repository around it, with its own focus: reliability (values that cross a boundary: units, formats, what the consumer assumes), resilience (lookup and dedupe keys, retries, locks, CI guards, test isolation), logic (local logic errors) and security (outside input reaching a query, command, file path or request; missing permission checks).
2. Dedupe Plain code, not a model, merges findings that point at the same place.
3. Refuter A separate agent tries to disprove every BLOCKER and CRITICAL finding that survived.
4. Consolidation One step rewrites the list so each comment states one defect: duplicates are merged and unrelated asides become their own advisory comment.
5. Materiality judge (optional) Off by default. When on, it checks each blocking finding and demotes the ones that would not matter in normal use. Security, credentials and data loss are never demoted. See config.json.

The models behind each step are the ones you configure: Claude plan, OpenAI.

Verdict Meaning Effect
Corroborated It tried to knock the finding down and could not. The finding can block.
Refuted It proved the finding wrong. The finding is deleted.
Downgraded The defect is real, but nothing can run it today (for example, new code no caller uses yet). Advisory.
Inconclusive It could not settle the question either way. Blocks only if the hunter read every link of the evidence itself.
Not submitted The check never ran, because the review hit its time limit. Advisory.

Only BLOCKER and CRITICAL findings can block. A finding is advisory when any of these holds:

  • It is a WARNING or SUGGESTION.
  • The defect was not caused by this pull request. The exception is security, secrets, isolation and data loss: those still block.
  • The evidence is insufficient.
  • The refuter downgraded it, or its check was cut short.

Otherwise it blocks: either the hunter read every link of the path with its tools (deterministic evidence), or the refuter corroborated it. A finding that rests on reasoning alone and was not corroborated stays advisory.

With the default gate mode, blocking findings turn the crysk check red. Advisory findings never do. See the check and the merge gate.

  • Size: a pull request over the size limit is skipped, and the check says so. /crysk review reviews it anyway. See size and spend.
  • Time: each step stops after 30 minutes and the whole review after 75. A review that did not finish is reported as partial, never as clean: comment /crysk review to retry it.