Skip to content

Re-review levels

Choose how often Crysk reviews again when new commits are pushed to a pull request.

View as Markdownllms.txt

Crysk always reviews a pull request when it opens. The level decides what happens on later pushes. The default is balanced. This page applies to the Crysk GitHub App and to the open-source GitHub Action.

Level On a later push Automatic reviews per pull request
minimal Not reviewed. 1
balanced (default) Reviewed when the push touches risky files, or the previous review found enough (score of 4 or more). up to 2
thorough Every push is reviewed. up to 4
manual Not reviewed. 1

minimal and manual behave the same on a push. Comment /crysk review to review one.

A push that is not reviewed does not leave the check empty. It takes the verdict of the last reviewed commit, so a red check stays red until the pull request is fixed, reviewed again or overridden. See The check and the merge gate.

Comment /crysk review on the pull request. It reviews the current head at any level, and does not count against the automatic reviews above. See Comment commands.

In a clone of your repository, run:

Terminal window
npx -y crysk setup --ci --level thorough --force

Replace thorough with minimal, balanced or manual. This rewrites .github/workflows/crysk.yml and updates the level keys in .crysk/config.json. Commit both.

Or edit .crysk/config.json yourself:

Level ci_review_policy ci_max_attempts ci_rereview_min_score
minimal once_per_pr 1 not used
balanced risk_aware 2 4
thorough every_push 4 not used
manual manual_only 1 not used
{
"ci_review_policy": "risk_aware",
"ci_max_attempts": 2,
"ci_rereview_min_score": 4
}

ci_rereview_min_score is the score a previous review must reach to trigger a re-review, where a blocking finding counts 2 and an advisory one counts 1. Keys that match none of the four levels are a custom setup, and setup --ci keeps them unless you pass --level.