Docs Run Entropix yourself

Feature switches

Every switch an operator can turn on or off per organisation, and what it changes.

A feature switch turns one part of how Entropix works on or off for one organisation. There are two families: the harness.* switches change how every agent's model loop reads, plans and checks its work, and the review.* switches change how a code review reads a change and judges its findings. Use them to roll a change out to one organisation first, to watch what it would do before it acts, or to turn one off if it does not suit an organisation.

On your server The entropixd features command. No page in the portal sets a switch. Operator

The three states

Every switch is in one of three states for each organisation.

StateWhat it means
offThe part does not run. The job behaves as if the part did not exist.
shadowThe part runs and records what it would have done, but nothing it produces reaches a person. Use it to see the effect before you turn it on. A few switches have nothing to record; for those, shadow behaves like off (the tables below say which).
onThe part runs and acts.

What happens when nobody has set a switch

A switch no operator has set for an organisation reads its default:

  • Every harness.* switch reads on. Set one off to turn it off.
  • memory.embed reads on. It acts only once an admin has set an Embed model.
  • Every review.* switch reads off, except review.security and review.derive, which read on. For the security reviewer, the real gate is whether an admin has set it up on a repository, so its switch starts on. The derivation check only adds a grade beside each finding and never changes one, so it starts on too.

Once you set a switch, your setting wins over the default until you set it again.

Set a switch

  1. On a machine with the server's environment (at least ENTROPIX_DATABASE_URL, and ENTROPIX_DATABASE_MIGRATE_URL if you use one), run entropixd features list <org> to see what is set now. <org> is the organisation's id or its name (the name is matched without regard to case).
  2. Set the switch, naming yourself:
    entropixd features set Acme review.packs shadow --operator alex --note "trying packs on one team"
    The command answers set review.packs to shadow for Acme.
  3. To set the same switch for every enabled organisation at once, use --all-orgs in place of the organisation:
    entropixd features set --all-orgs harness.answer_check off --operator alex
    It prints one line per organisation, then set harness.answer_check to off for N organisations.
  4. Run entropixd features list again to check. The next job that starts for that organisation reads the new state.

Every change is written to the organisation's audit log as feature.set, with your --operator name as who did it and the old and new state. Full syntax and output are on Operator commands.

Careful

features set accepts any key of the right shape (lower case letters, digits, ., _ or -, 2 to 64 characters). It does not check the key against the lists below, so a misspelt key is stored and changes nothing. Copy the key from this page.

Agent loop switches (harness.*)

These switches apply to the portal's own model work: chat answers, goals, reviews and PRD drafts. Each job reads all nine once, when it starts, and keeps those states to the end. They change how much the model reads and how its work is checked; most of them change nothing a person sees directly, only how many model calls and tokens a job uses (see Usage). All nine default to on.

KeyWhen onIn shadow
harness.stable_prefixKeeps the start of every request the same from call to call: tool definitions in a fixed form and a fixed layout of the instructions, with the parts that change (such as the date) moved into the current message. Model servers that cache prompts then reuse more of each request.Records the fingerprint the fixed layout would have had on the run's trace.
harness.result_storeA tool result longer than 8 KiB is sent to the model as its first 6 KiB and last 1.5 KiB with a note between. The whole result is kept for the run, and the model can page through it with a read_result tool, 8 KiB a page.Same as off.
harness.maskIn a chat or a goal, once tool results pass half the reading budget (at least 24 KiB), older results the agent could fetch again are cleared to make room. A review keeps its own clearing rule (see ENTROPIX_REVIEW_MASK_ABOVE_BYTES on Configuration).Same as off.
harness.routeSorts each chat question, and a goal's first step, before it runs: small talk gets one direct answer with no tools; other questions run as a lookup or with a plan. Fixed rules decide first. When they are not sure, one call to the organisation's Fast model decides, or to the agent's own model when no Fast model is set. A goal's first step is routed too, but never answered without tools.Works out the route and records it on the trace, but runs the turn as before.
harness.planA chat turn gets an update_plan tool. A turn routed as needing a plan starts with one (written by the Strong model when one is set), and the portal repeats the plan to the model after each round. Goals have their plan repeated too.Same as off.
harness.schema_checkChecks each tool call's arguments against the tool's own description before it runs. A call that does not fit is sent back once with what is wrong. A final answer tool (such as a review's submission) is never refused.Records what it would have refused in the server's log.
harness.loop_guardWatches for the same read asked again with the same arguments. The second ask gets a nudge instead of a result; the third is stopped. In a goal, repeats are only nudged, never stopped. Any change the agent makes clears the watch.Records what it would have done in the server's log.
harness.exploreGives chats, top-level goals and the first, deep round of a review an explore tool: a read-only helper with its own context that reads and reports back, at most 3 per run. Its tokens count as the parent's. Offered only when the organisation has a Fast model set.Same as off.
harness.answer_checkChecks a chat answer's citations against what its tools actually returned, then one quick model check on the Fast model (the agent's own model when none is set; skipped when the turn's token budget would not cover it). A chat answer with claims it cannot support is redone once by the agent, told which claims; only what the second answer still leaves unsupported is listed under it as Unverified claims. A goal's report is not redone; it merges them into its own check.Runs the check and records the result in the server's log; the answer is not changed.
harness.default_fastWhen an organisation has set no Fast model, the answer check, the route and memory picks use a small model from the same provider as the agent's own model: claude-haiku-5-5 on Anthropic, gemini-3.1-flash on Google Gemini, gpt-5-mini on OpenAI. If the provider answers that the small model is missing or not allowed, the job's own model is used instead. Settings › Models shows the default under the Fast role; setting a Fast model there replaces it. The default never turns on harness.explore.Same as off: those checks use each agent's own model.
Good to know

Three of these use the organisation's Fast model and one its Strong model, set by an admin on Settings › Models (see Choose a model). With no Fast model set, harness.explore is not offered, and the answer check and an unsure route run on the provider's default small model (harness.default_fast), or on each agent's own model when that switch is off.

Code review switches (review.*)

A review reads its switches once, when it starts, and stores their states with its own record, so you can always tell what a review ran with. review.learn and review.rule_retire are the exception: they are read when a person sends a review back or approves it. Changing a switch affects the next review, not one already running. The pages under Review code, especially Review depth, packs and learning, explain what people see when these are on.

How the review reads a change

KeyWhen onIn shadowDefault
review.packsBuilt-in rule packs for languages, frameworks and topics are picked for each change by fixed rules (at most 6 packs and 4,000 tokens of rules for a deep review, 3 packs and 2,000 tokens for a light one) and given to the reviewer, which can load one more with a load_pack tool. Findings can name the pack rule they come from. The agent's Know-how tab shows a Review packs section, where an admin turns a pack off for that agent or copies it to edit.Records which packs it would have picked.off
review.repo_rulesEvery review already reads the root AGENTS.md, CLAUDE.md and REVIEW.md. On, the reviewer is also given the repository's other instruction files, as they are at the change's base: the nearest AGENTS.md for each changed path, the root CLAUDE.md, REVIEW.md, GEMINI.md, .github/copilot-instructions.md and up to 8 .cursor/rules files, 24 KiB in all. A change that edits one of these files gets a lead to look at.Records which files it found and what it would have shown.off
review.untrusted_textHidden characters are stripped from the merge request's title and branch name, commit subjects are given to the reviewer as data rather than instructions, and hidden text on added lines (invisible characters, or HTML comments in an instruction file) becomes a lead, at most 2.Records where it found hidden text.off
review.risk_tierEach first round is tagged light or deep by fixed rules. It is deep when any of these holds: more than 60 changed lines or more than 5 files, a risky path (migrations, auth, sessions, tokens, permissions, payments and the like), a changed contract, a lead, a database or queue rule pack picked (only while review.packs is not off), PRD criteria to check, tests removed, a new dependency, or a change from a fork or from an author who may not write code in the repository. Otherwise it is light, and a change to docs only is always light. Lock files, generated and vendored files are not counted. A light review gets a smaller budget (12 turns instead of 25, 4 behaviours instead of 12), and its page offers Review deeper in place of Re-run review. Off, every review is deep.Records the tier and its reasons.off
review.chunkingA first-round, deep review of a change over 150 changed lines is split into at most 3 parts that are read at the same time and merged into one set of findings.Records how it would have split the change.off
review.sig_leadsSeven kinds of risky line in the change become leads the reviewer must answer: 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, and a query with no WHERE or LIMIT. At most 2 of each kind and 6 in all.Records the leads it would have offered.off
review.criterion_leadsAn acceptance criterion that names code (a path, a route or an identifier) that the change does not touch becomes a lead, at most 3 per review, in the first round and in a requirement round.Records the leads it would have offered.off

How findings are checked

KeyWhen onIn shadowDefault
review.wb_gateA Will break finding with no checked citation or no concrete failure is stored as Should fix.Records which findings it would have lowered.off
review.refuterAfter the review is submitted, a second, fresh reading looks at up to 8 new Will break and Should fix findings, one model call each (each at most 60 seconds). When it quotes a line that proves a finding wrong, and the portal finds that line in the code, the finding is lowered one level.Records each verdict and what the finding would have become.off
review.noise_filterEach new finding is matched against findings people decided in the same repository in the last 180 days, leaving out this change. One that people keep marking not an issue (a score of 3 or more) is lowered one level, with a Seen before: line linking up to three of those past decisions.Records each match and its score.off
review.consequence_gateA Will break or Should fix finding that does not say what goes wrong is sent back to the reviewer once to say it. Never on the reviewer's last request.Records what it would have sent back.off
review.clean_okTells the reviewer that a review with no findings is a good review when it is true. A submission with no Will break or Should fix finding is sent back once unless it says what it read for every angle it is asked to check.Records whether it would have sent it back.off

A finding is lowered at most one level in total, whichever of review.wb_gate, review.refuter and review.noise_filter lowers it. A lowered finding says so on the review page and in what the developer's coding agent reads: Lowered from <level> — <reason>.

How reviews learn

KeyWhen onIn shadowDefault
review.learnWhen someone sends a review back or approves it, each finding they marked not an issue with a reason of at least 12 characters drafts a "don't flag" rule for the reviewer agent. The draft waits in the agent's Know-how › To decide list like any suggested rule; nothing applies until a person approves it. See Rules.Records the rule it would have drafted.off
review.rule_retireWhen a learned "don't flag" rule would have hidden something people then marked to fix (or added as their own finding), that counts against the rule. After 3 such signals from 3 different changes, the portal retires the rule.Records the signals and whether it would retire the rule.off

Diagrams and security

KeyWhen onIn shadowDefault
review.diagramsAfter the review, the reviewer draws diagrams of what the change touches; the portal checks every citation and quotes the code. The review's Data flow tab opens on the reviewer's diagram, with the portal's own drawing one link away (Portal's rule view). See Data flow and Across repos.Same as off: the reviewer draws nothing, and the tab shows the portal's own view.off
review.securityFor a repository whose review panel has the security reviewer on it, runs the security scan and the security reviewer's reading, and shows their findings. Read only when the panel has the security reviewer, so it changes nothing for any other repository. See Security reviewer.The scan runs and records why the security reviewer would run, but shows no findings.on
review.deriveGrades each finding: Shown by a test, Checked by the portal (the reviewer tied it to a lead the portal computed, and the portal checked the lead's facts again) or Reviewer's reading. A checked finding shows Why the portal agrees; one the portal could not check says why. Never changes a finding's level. See The review page.Same as off: no grades are computed and the cards show as before.on

Some review switches work together: with review.packs off, chunked reviews get no packs; with review.risk_tier off, every review is deep; review.sig_leads runs whether or not packs are on.

Memory switch (memory.embed)

KeyWhen onIn shadowDefault
memory.embedWith an Embed model set on Settings › Models, memory is searched by meaning as well as by words: facts, log entries and kept messages are embedded in the background, and recall, search_agent, recall and search_channel rank by both. See Models. Off stops every embedding call and meaning search at once and keeps the vectors, so turning it on again needs no re-embedding.Rows and questions are embedded and the meaning ranking is recorded on the recall's trace step (meaning_refs) and on each search tool's step (meaning, marked shadow), but agents are given what words alone found.on

How it works

  • Per organisation. A switch is stored for one organisation. Setting it for one never changes another.
  • Read once per job. A chat turn, a goal step, a PRD draft or a review reads its switches when it starts. A switch you change mid-job takes effect on the next one.
  • Only set switches are listed. features list prints the switches an operator has set, with who set them, when and the note, and ends with a reminder that a harness.* key not listed reads on. It can also show a key this version no longer reads; only the keys on this page change anything.
  • Disabled organisations are skipped. --all-orgs and features list with no organisation cover enabled organisations only.
  • Nobody in the portal can set them. There is no page, role or MCP tool that changes a switch. Admins see the effect (for example the Review packs section or Review deeper), not the switch.

What you can and can't do

You can
  • Turn any switch off, to shadow or on for one organisation, or for every enabled organisation with --all-orgs.
  • Try a switch in shadow first and compare its records before turning it on.
  • Add a note saying why, which features list shows and the audit log keeps.
  • Turn a default-on switch off for one organisation that does not want it.
You can't
  • Set a switch from the portal, as an admin, or over MCP.
  • Set a switch for one agent or one repository; a switch covers the whole organisation.
  • Change the switches of a job that is already running.
  • Rely on features set to catch a misspelt key.