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
KeyMeaning
[reviewers.<name>] enabledfalse switches the reviewer off. ux and ui default to false.
[reviewers.<name>] focusWhat this reviewer looks for. Required for a reviewer you add.
contextProject facts added to its prompt.
skillsProject skills it reads.
porttrue gives it a port, for reviewers that look at the running app.
[surfaces.<name>] enabledfalse hides the surface from intake. ui defaults to false.
[surfaces.<name>] whenOne line telling intake when a change touches this surface.
[surfaces.<name>] reviewersThe 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" }
ToolModelsEffort
Claude Codeopus 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
Cursorinherit for every stepNot set
Codexinherit for every stepSet 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"]