R354 Start an agent with Agent Fleet on the model and effort of its task’s difficulty

On by default

Reason

The model and the effort decide a task’s quality and cost, and the one that hands out the task knows its difficulty best (Art. V §2(2)): the stronger and dearer pair goes where a mistake costs most, and simple work stays off it. A reason written down whenever the pair of the task’s difficulty is left lets the choice be judged afterwards (Art. VII §1(1)).

Verification

The difficulty is that of the task the agent is started for, judged by whoever starts it: a lead’s by its job as a whole, an implementer’s by its change, a reviewer’s by the change it reviews, a research worker’s by its research. A task is large when it spans many files or steps or takes many rounds; it needs several parties coordinated when it depends on other agents, repositories or people working on it at the same time, as a cross-repository change does; it is sensitive when a mistake in it is costly or hard to undo, as in work on credentials, guards, the instruction system, a release or a running service. A change is small and simple when it touches little and needs no judgement beyond what the task says, such as an edit to documents or to a simple configuration. When unsure between two difficulties, take the harder.

The thread agent starts the lead and the lead starts the workers, passing a model and an effort with --model and --effort. Without them, fleet job start and fleet spawn use models.lead or models.worker of the scope’s settings, and when the scope sets none, the agent’s own default applies; so the one who starts an agent passes both whenever what Agent Fleet would use otherwise is not the pair this rule gives. A worker that fleet watch starts is started by no agent: it uses the model and effort of the watch’s entry, and this rule does not cover it.

Violated when an agent is started with Agent Fleet on a model or effort other than the one this rule gives for its task’s difficulty, and the task file gives no reason for it.

Provisions of the constitution it cites

Relations

Parent
R161 Commands
Requires
none
Conflicts with
none

Metadata

ID
354
Revision
1
Kind
rule
Status
trial
Slug
model-and-effort-by-difficulty
Default level
project
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh