git push. If any file in your project scores below your threshold, the push is blocked and the offending files are listed.
Catching it here means nothing reaches the remote, so there is nothing to revert and no one else has to review it first.
The git pre-push hook requires Iris Code Pro.
Installing
Run Iris Code: Install Git Hook from the command palette. Iris Code writes.git/hooks/pre-push and makes it executable.
On first activation in a git repository, Iris Code also offers to install it for you. Declining is remembered per workspace, so you are not asked again.
What happens on push
iris check using the bundled CLI, and either blocks with the list above or exits cleanly and allows the push.
Configuring the threshold
SetminHealthScore in .irisconfig.json to control the minimum acceptable score. It defaults to 70.
gateBaselineMode avoids that. Each existing file is judged against its own locked score, so the rule becomes “do not make this worse” rather than “fix everything first”. New files still have to clear minHealthScore.