Reviewers, models and skills
Who reviews a change, which model and effort each agent uses, and which skills and rules a step reads.
Also in factory/: Configuration, Pipeline settings, Trackers, planner and telemetry.
Reviewers and surfaces
The review step runs every reviewer the job needs, in parallel. code runs on every job. security runs on the security surface. ux and ui run on the ui surface, but they and the surface ship switched off. A project with a user interface switches them on, as below. A new reviewer is a table with a focus. No prompt file is needed.
[reviewers.migrations]
focus = "Database migrations: reversibility, locks on large tables, data loss."
[surfaces.database]
when = "it adds or changes a migration or a table"
reviewers = ["migrations"]
Intake reads each when and names the surfaces a job touches. A reviewer that no surface lists runs on every job. To add a reviewer to a surface that exists, restate the list.
Switch on ux, ui and the ui surface together. Any reviewer or surface can be switched off with enabled = false: a switched-off reviewer gets no agent file, and a switched-off surface is not offered to intake. A switched-on surface that lists a switched-off reviewer fails validation.
[reviewers.ux]
enabled = true
[reviewers.ui]
enabled = true
[surfaces.ui]
enabled = true
| Key | Meaning |
|---|---|
| [reviewers.<name>] enabled | false switches the reviewer off. ux and ui default to false. |
| [reviewers.<name>] focus | What this reviewer looks for. Required for a reviewer you add. |
| context | Project facts added to its prompt. |
| skills | Project skills it reads. |
| port | true gives it a port, for reviewers that look at the running app. |
| [surfaces.<name>] enabled | false hides the surface from intake. ui defaults to false. |
| [surfaces.<name>] when | One line telling intake when a change touches this surface. |
| [surfaces.<name>] reviewers | The reviewers that run on jobs with this surface. |
Each reviewer writes round-N/review-<name>.md with VERDICT: PASS or VERDICT: CHANGES on its first line.
Models and effort
[models.claude]
build = { model = "opus", effort = "high" }
spec = { effort = "high" }
reviewer-code = { model = "sonnet", effort = "medium", low = { model = "haiku", effort = "low" } }
[models.cursor]
default = { model = "gpt-5.6-sol", effort = "medium" }
build = { model = "claude-opus-5-5", effort = "high" }
[models.codex]
default = { model = "gpt-5.6-sol" }
- The key is the step's name, or
reviewer-<name>. defaultapplies to every agent of that tool that names no value of its own. A step's entry sits on top of it, key by key.- A step in a pipe file can set its own in
models, a table by tool, such asbuild: { models: { claude: { model: opus, effort: medium } } }. For one agent,modelandefforteach come from the first of these that sets them: the step'smodels.<tool>,[models.<tool>].<pipe>-<step>,[models.<tool>].<step>,[models.<tool>].default. A risk variant applies on top, in the same order. Reviewers,planner-scananddefaultstay infactory.toml. low,medium, andhighinside an entry apply to jobs of that risk. The factory writes one extra agent file per variant.model = "inherit"uses the model of the session that runs/mfactory run.
| Tool | Models | Effort |
|---|---|---|
| Claude Code | opus for spec, build, debug, approve, and the security reviewer. sonnet for the code and UX reviewers and verify. haiku for the UI reviewer and low-risk code review. fable for intake. | Set per step |
| Cursor | inherit for every step | Not set |
| Codex | inherit for every step | Set per step |
Cursor and Codex default to inherit because the names you can use depend on your plan. Cursor takes an effort only together with a named model. Effort levels the factory accepts: low, medium, high, xhigh, max for Claude Code. Those and none, minimal for Cursor and Codex. The factory does not check model names.
Project skills
The factory finds skills in .claude/skills, .cursor/skills, .agents/skills, and .codex/skills. Nothing is read unless you list it.
[skills]
all = ["code-style"]
[reviewers.security]
skills = ["auth-rules"]
pipes:
default:
steps:
build:
skills: [testing, migrations]
Each agent's prompt names the SKILL.md files to read. This works the same in every tool. In Claude Code, a skill in .claude/skills is also loaded up front. mfactory sync refuses a name that matches no skill and says where it looked.
Skills and rules for managing issues
When you ask the orchestrator to create, comment on, move or close an issue or a Jira card, it runs mfactory issue guide first and follows what it lists: your ticket templates, title formats, labels, team rules and Jira plugins. By default that is every skill (project, user and plugin) and every instruction file on the machine. Narrow it with [skills].issues and [rules].issues:
[skills]
issues = ["jira-tickets", "user:bug-reports", "atlassian:triage"]
[rules]
issues = ["all"]