Review depth, packs and learning
Light and deep reviews, Review deeper, rule packs, repository rules files and how reviews learn from your decisions.
Entropix can change how hard a review reads a change, what checklists it gets, and how it learns from the decisions your team makes. A small change can get a quick read and a risky one a deep one. Built-in rule packs give the reviewer checklists for the languages and tools the change touches, and your repository's own instruction files tell it your conventions. Findings your team keeps marking "not an issue" are flagged less, and the reviewer learns rules from your reasons. This page explains each of these, and the switches that turn them on.
Before you start: these are switches
Almost everything on this page is behind a feature switch, one per behaviour, set for your whole organisation. Each one is off until an operator (whoever runs your Entropix server) turns it on with the entropixd features set command; see Operator commands. The one exception is review.security, which is on unless set off. You cannot change switches in the portal.
| Value | What happens |
|---|---|
| off (default) | The behaviour does nothing. |
| shadow | The behaviour works out what it would do and records it on the review, but changes nothing you see. Use it to try a switch safely. |
| on | The behaviour acts. |
A review reads every switch once, when it starts, so changing a switch affects the next review, not one already running. review.learn and review.rule_retire are read when a person sends a review back or approves it. Two things on this page need no switch: the leads Entropix computes for every first round, and Re-run review.
All review switches at a glance
| Switch | In one line | More |
|---|---|---|
review.risk_tier | Tags each change light or deep, and gives a light one a smaller budget. | Light and deep reviews |
review.chunking | Splits a big, deep change into parts read at the same time. | Big changes |
review.packs | Gives the reviewer built-in checklists for what the change touches. | Rule packs |
review.repo_rules | Gives the reviewer your repository's own instruction files. | Your repository's rules files |
review.untrusted_text | Strips hidden text from what the change says about itself. | Hidden text |
review.sig_leads | Points the reviewer at seven kinds of risky line. | Leads |
review.criterion_leads | Points the reviewer at PRD criteria the change does not seem to touch. | Leads |
review.wb_gate | Lowers a Will break finding that has no proof. | Checks on findings |
review.consequence_gate | Sends back a finding that does not say what goes wrong. | Checks on findings |
review.clean_ok | Lets a review with no findings pass, if it says what it checked. | Checks on findings |
review.refuter | A second reading tries to prove each serious finding wrong. | Checks on findings |
review.noise_filter | Lowers a finding your team keeps marking not an issue. | Learning from your decisions |
review.learn | Drafts "don't flag" rules from your reasons. | Learning from your decisions |
review.rule_retire | Retires a learned rule that keeps hiding real problems. | Learning from your decisions |
review.diagrams | The reviewer draws a diagram of the change. | Data flow and Across repos |
review.security | The security reviewer. The one review switch that is on unless set off. | Security reviewer |
Light and deep reviews
With review.risk_tier on, Entropix tags each first round light or deep from the change itself, with no model. A change is deep when any of these is true:
- It changes more than 60 lines, or more than 5 files.
- It touches a risky path: migrations, auth, login, sessions, tokens, crypto, permissions and policies, payments, billing, invoices, prices and money, CI files, Dockerfiles, deploy files, Terraform, Helm, Kubernetes,
.envfiles or production config. - It changes a contract other code relies on (a route, a table, a message), or Entropix found leads for it.
- A database or queue rule pack is picked for it (only while
review.packsis not off), or it is checked against a PRD's criteria. - It removes tests, or adds a dependency.
A change to documentation only is light. Lockfiles, vendored and generated files are not counted.
| Light | Deep | |
|---|---|---|
| Model turns | 12 | 25 |
| Behaviours beyond the PRD's criteria | at most 4 | at most 12 |
Rule packs (with review.packs) | at most 3, 2,000 tokens | at most 6, 4,000 tokens |
With the switch off, every review is deep. In shadow, the tier and its reasons are recorded but every review still gets the deep budget.
Review deeper
A finished light review offers Review deeper in place of Re-run review, with the line This change got a quick read. Reviews the same commit once more at full depth. Takes as long as a review.
- Open the review and its About this review fold.
- Choose Review deeper.
The same commit is reviewed again as a deep review. Review deeper and Re-run review share one retry: once a round has been re-run or deepened, it cannot be again. A new push starts a new round as usual.
Big changes
With review.chunking on, a deep first round of a change over 150 changed lines is split into at most 3 parts. The parts are read at the same time, then their findings are merged and checked once, so you still get one review with one list of findings. With review.packs off, the parts get no packs.
Rule packs
A rule pack is a built-in checklist for one language, framework or topic: Go, React, Spring Boot, Postgres, Kafka, infrastructure as code, web security, accessibility and many more. Entropix has 94 of them, plus one called base that every review gets. With review.packs on:
- Entropix picks the packs for each change by fixed rules, with no model: file types, paths, imports and words in the diff. A deep review gets at most 6 packs (base included) and 4,000 tokens of rules.
- The reviewer may load one more pack itself, once per review.
- A finding can name the pack rule it comes from.
Turn a pack off, or make your own copy
With review.packs on, each agent's Know-how tab has a Review packs section: Checklists the portal gives a review when the change touches them. Turn one off for this agent, or copy it to edit as your own skill. The table lists each pack, what it covers and its state: On, Off, or Always on for base.
- Open the agent, then Know-how, and scroll to Review packs.
- To stop the agent getting a pack, choose Turn off. Choose Turn on to undo it.
- To change a pack's rules for this agent, choose Copy to edit. Entropix adds a skill with the same name and the built-in text, and opens it for editing. The row shows your copy.
Your copy's text replaces the built-in rules for that agent. When it is picked still follows the built-in rules. A copy with no rule line left in it is ignored, and the built-in pack is used. Base cannot be turned off. These buttons need the Admin role. See Main skill and skills for editing a skill.
Your repository's rules files
Every review already reads the root AGENTS.md, CLAUDE.md and REVIEW.md as they are at the change's base. With review.repo_rules on, the reviewer is given every instruction file your repository has for coding agents:
REVIEW.md, the rootAGENTS.mdand the nearestAGENTS.mdto each changed file;CLAUDE.md,.github/copilot-instructions.mdandGEMINI.md;- up to 8 files under
.cursor/rules/.
At most 24 KiB is read in all. The files are read as they are at the change's base, before the change, so a change cannot rewrite the instructions its own review gets. When the change edits one of these files (or .cursorrules or a file under .claude/), the reviewer gets a lead to look at the edit.
Hidden text
With review.untrusted_text on, Entropix guards against text written to steer the reviewer:
- Hidden characters are stripped from the merge request's title and branch name.
- Commit subjects are given to the reviewer as data, never as instructions.
- Hidden text on added lines, such as invisible Unicode characters or HTML comments in an instruction file, becomes a lead the reviewer must answer (at most 2).
Leads
A lead is a place Entropix points the reviewer at, found from the code with no model, numbered L-1, L-2 and so on. Every first round gets leads with no switch: another repository that uses a contract the change alters, code that still names something the change removed or renamed, an earlier route that may catch a new one, and a sibling route left unchanged. The reviewer must answer each one: it breaks, it needs an update, it is compatible, or it is not really a user. A review that leaves leads open is sent back once; after that, the review page warns, for example 2 leads the portal found were left open. A review gets at most 20 leads.
Two switches add more:
| Switch | Adds a lead for | Limit |
|---|---|---|
review.sig_leads | SQL built from a value, a column dropped or renamed, an index built without CONCURRENTLY, Redis KEYS or FLUSH, a database call inside a loop, an HTTP call with no timeout, a query with no WHERE or LIMIT. | 2 of each kind, 6 in all |
review.criterion_leads | A PRD acceptance criterion that names code (a path, route or name) the change does not touch. First rounds and requirement rounds. | 3 |
Checks on findings
These switches check the reviewer's findings before you see them.
| Switch | What it checks | What happens |
|---|---|---|
review.consequence_gate | A Will break or Should fix finding must say what goes wrong, for whom, and when. | The reviewer is asked once to say it. |
review.clean_ok | The reviewer is told that a review with no findings is a good review when it is true. A review with no Will break or Should fix finding must say what it read for every angle it checks. | The reviewer is asked once to say it. |
review.wb_gate | A Will break finding must cite a line that is in the latest commit, and say how and when it fails, in at least 30 characters. | Otherwise it is stored as Should fix. |
review.refuter | A second, fresh reading of up to 8 new Will break and Should fix findings, one model call each, each at most 60 seconds. | When it quotes code that proves a finding wrong, and Entropix finds that code, the finding is lowered one level. |
The two "asked once" checks, and open leads, share one send-back: the reviewer is asked at most once to fix them all.
Lowered findings
A finding is lowered at most one level in total, by whichever of review.wb_gate, review.refuter and review.noise_filter acts first. It says so on the review page and in what the developer's coding agent reads: Lowered from <level> — <reason>. You can still mark it to fix.
Learning from your decisions
Each time someone decides a finding, Entropix keeps the decision. Three switches use them.
Seen before
With review.noise_filter on, each new finding is matched against the findings people decided in the same repository in the last 180 days, leaving out this change itself. A finding your team keeps marking Not an issue is lowered one level, with a Seen before: line linking up to three of those past decisions.
Learned "don't flag" rules
With review.learn on, when someone sends a review back or approves it, each reviewer finding they marked Not an issue with a reason of at least 12 characters drafts a rule for the reviewer agent: "Don't flag: the finding's title". The rule covers that file. When the same reason covers two or more findings in one folder, it covers the folder.
A draft does nothing until a person approves it. It waits in the agent's Know-how › To decide list like any suggested rule. See Rules.
Retiring a learned rule
With review.rule_retire on, Entropix watches each learned rule. When the rule would have hidden a finding that people then marked to fix, or added as their own finding, that counts against it. After this happens on 3 different changes, Entropix retires the rule.
What you can and can't do
- Ask for a deep review of a change that got a light one, once.
- Turn a rule pack off for one agent, or copy it and change its rules.
- Use your repository's own instruction files as review rules.
- See every lowered finding and why it was lowered.
- Approve or refuse every rule the reviewer learns from you.
- Turn these switches on or off in the portal: an operator does.
- Re-run or deepen the same round more than once.
- Turn off the base pack, or change when a pack is picked.
- Have a learned rule apply before a person approves it.
- Have a finding lowered more than one level.