Skip to content

Signed commands

Control tells a rig what to do only through signed commands. Control signs each command with its own Ed25519 key. The rig’s supervisor takes the command from control’s message bus and carries it to the harness, which checks the signature, the rig’s name and the time before it does anything. The supervisor can carry a command, but it cannot make one or change one.

A signed command
{
"envelope": {
"v": 1,
"id": "3f6c2a8e-5b1d-4c7a-9e2f-0a1b2c3d4e5f",
"rig": "rig-1",
"kind": "pause_run",
"issued_by": "owner:api",
"issued_at": "2026-10-19T09:00:00.000Z",
"expires_at": "2026-10-19T10:00:00.000Z",
"payload": { "run": "run-1", "reason": "checking the kit" }
},
"signature": "<base64 Ed25519 signature>"
}

Commands come from the dashboard, the REST API, the command line and the MCP tools. All of them go through the same code in control, so a command is checked and signed the same way wherever it comes from. For the reasons behind this design, see Trust between control and rigs.

FieldTypeMeaning
envelope.v1The format’s version
envelope.idUUIDThe command’s id. Control makes it
envelope.rigtextThe one rig that may apply it. For a kind about one run, control sets it to the rig the run is on: see A command about one run
envelope.kindtextOne of the kinds below
envelope.issued_bytextWho issued it, as control knows them: owner:ui, owner:api, owner:mcp, owner:operator, agent:mcp, or the owner’s actor for a full reset’s steps. See Tokens and roles. The caller cannot choose it
envelope.issued_atISO 8601 timeWhen control signed it, by control’s clock
envelope.expires_atISO 8601 timeWhen it stops being valid
envelope.payloadobjectThe kind’s own fields, checked against the kind’s schema before signing
signaturebase64An Ed25519 signature over the envelope’s canonical JSON

Control’s key pair is control-signing.key and control-signing.pub in control’s data directory (THERMITE_CONTROL_DIR). Control makes the pair the first time it starts. THERMITE_CONTROL_PUBKEY_EXPORT copies the public key to a file for rigs, and the harness reads it from THERMITE_CONTROL_PUBKEY_FILE.

StepWhereWhat happens
1. IssueControlFor a kind about one run, control finds the rig the run is on (below). Control checks that it knows the rig (it has reported and is not retired, or is enrolled), checks the payload against the kind’s schema, signs the envelope and stores the command as pending. For a message_agent, it first trims the text and refuses a message that nothing on the rig would read (see message_agent). A signed command larger than 3.5 MiB is refused: the <kind> command is too large to deliver
2. PublishControlControl publishes the command to the rig’s subject on the message bus, the only way a command reaches a rig. A command the bus did not take, because the rig’s queue there holds 100 commands it has not taken, the bus is away, or 100 commands already wait their turn, stays pending, and control holds it: the rig’s page and Needs you say it waits, and control publishes it again every 10 seconds, each rig’s oldest first
3. TakeSupervisorThe rig’s supervisor takes the command from its own consumer on the bus as soon as it is published, one command at a time, in order
4. StageSupervisorIf the command names content to fetch (a project, a kit, a model or another rig’s champion), the supervisor fetches it into the rig’s inbox first. The command stays pending while it waits, and the bus hands it again every 5 seconds, while the commands after it go on. Content that can’t be had goes to the harness with the reason, on the harness’s POST /v1/commands/unstaged: the harness checks the command as in step 5 and records it as not applied
5. ApplyHarnessThe supervisor hands the command to the harness, which checks it, applies it once, and records it in its ledger: a command event with its outcome, or command_rejected for one it refuses. Only then does the supervisor ack it on the bus
6. ConfirmControlWhen the rig’s next signed report brings that record, control takes the command’s status and outcome from it: the only way control learns them

GET /v1/commands/<id>, the MCP tool command_status and the Audit log’s commands on the dashboard (Commands under Type, 50 to a page) show a command’s status and outcome.

A kind whose payload names a run is about that run, except assign_campaign, which starts a new run on the rig it names: pause_run, resume_run, close_run, redirect, reset_workers, start_teachers_round, add_run_hours, message_agent, unkeep_message, queue_add, queue_move, queue_edit, queue_drop, queue_accept, queue_retry, lane_limits, acceptance, kit_commit, drop_directive, hypothesis_status, propagate, stop_trial, end_wait, approve_promotion, decline_promotion, accept_review, conclude, invalidate_evidence and terminal_input. A run’s name is used once on control, so control knows the rig the run is on, and signs the command for that rig. POST /v1/commands, MCP’s issue_command and thermite command may leave the rig out for these kinds; a rig given must be one the run’s name is used on. Every other kind names its rig.

Control refuses, before it signs:

WordsWhen
Run <run> is on <rig>, not on <rig>.The rig given is not the run’s
Control knows no run <run>: name a run a rig reported.No rig given, and no rig created the run or has its assignment on the way
Run <run> is an earlier run: <rig> is retired, so it takes no commands.The run’s rig is retired
Run <run> is an earlier run: it ran on <rig> before the rig's full reset, so it takes no commands.The run is of a ledger the rig’s full reset left behind
A <kind> command names its rig: give the rig.Any other kind, with no rig

A dashboard button that sends a command shows at once that the click took, then follows the command to its outcome. You do not need to refresh the page:

  1. The button turns into Sending…, which you cannot press again.
  2. When control has queued the command, the button says Sent, and a line says Sent to rig-1 at 03:41 UTC. Waiting for the rig to take it. It stays so while the rig takes the command and applies it, until the rig’s report with the outcome reaches control, within a minute by default.
  3. When the rig’s report with it reaches control (step 6), the line says Done. rig-1 took it at 03:41 UTC., and the button comes back.

At each step the page draws again the parts that the command changes: the header with the run’s state and its Pause or Resume, the blocks of the run, the rig or the overview, and the status bar. A part you are typing in, or that has a menu open, waits until you leave it. The line shows under a form, or at the top of the page for a button in the page’s header or in a row. A rig’s checks show their own state in their rows instead: see Rig checks.

When control refuses the command, the line says why, such as Not sent: Unknown rig rig-9., and the button comes back. When the rig refuses it, the line says rig-1 refused it: and the rig’s reason. When the rig does not take it in time, the line says rig-1 did not take it before 04:41 UTC, so it expired.

The page asks control how the command stands every 2 seconds, and every 5 seconds after two minutes. Without the page’s script, the button posts a plain form, and the page it lands on says Sent to rig-1 at 03:41 UTC.

StatusMeaningOutcome
pendingWaiting for the bus to take it, for the rig’s supervisor to take it, for the content it names to arrive, or for the rig’s report with its outcomeNone
deliveredThe harness applied it{"source": "harness", "kind": …, "accepted": true, "result": …}
rejectedThe harness refused it before applying it: signature, rig, time, payload, or issued before the rig’s state was wiped{"source": "harness", "reason": "…", "kind": …, "id": …}, from its command_rejected event
failedThe harness applied it but it did not succeed, its content could not be fetched, or the owner cancelled it{"source": "harness", "kind": …, "accepted": false, "result": {"error": "…"}}, with "error": "staging: …" for content the supervisor could not fetch; or {"cancelled_by": "owner:api"}
expiredIt was still pending after expires_atNone

Control takes a command’s status and outcome only from the harness’s events in the rig’s signed report (step 6): delivered when the command event’s accepted is true, else failed, and rejected for a command_rejected event that names the command’s id.

delivered means the harness carried the command out, not that what it started went well. A rig_check, for example, is delivered as soon as the check starts; its finding comes later, as a rig_check_finished event.

Value
Time to live, set by the issuer (ttl_minutes, --ttl)1 to 10080 minutes (7 days). Default 60
propagate, built by control (POST /v1/propagate, propagate_champion, Send champion)24 hours, because the champion may still be on its way to the results repository. A propagate sent through POST /v1/commands takes its ttl_minutes like any other kind
Every other command the dashboard sends60 minutes
A full reset’s steps (pause_run, export_now, wipe_state)30 minutes each
Clock difference the harness allows between control and the rig5 minutes
  • Expiry at control. Every 10 seconds, as it publishes held commands again, control looks at every rig’s pending commands, marks each one past its expires_at as expired, and does not publish it again. It looks too as it starts, and when a rig’s supervisor asks for a command’s newest form.
  • Kept alive while its content is fetched. While the supervisor fetches a command’s content (a repository bundle, a kit, a model download), it asks control for the command again on the bus within 10 minutes of its expires_at (the renew ask: A rig’s asks). Control signs it again with an expires_at an hour later, and the audit log records command_renewed. It does so at most 24 hours after issued_at: a fetch that takes longer lets the command expire. A supervisor that holds a form that expired, as after a restart, asks the same way, and delivers the newest form control holds; one control holds pending no more is not delivered.
  • Expiry at the harness. The harness refuses a command whose expires_at has passed by the rig’s clock (expired), or whose issued_at is more than 5 minutes ahead of it (issued in the future).
  • Cancelling. The owner can cancel a command while it is pending, with POST /v1/commands/<id>/cancel and the owner’s token. The command becomes failed with the outcome {"cancelled_by": "owner:api"}. A command that is not pending gives 404 {"error":"no such pending command"}. Control also takes the cancelled command off the rig’s subject on the bus; one the supervisor took already may still be applied, and its status then becomes the harness’s outcome. The dashboard, the command line and MCP have no way to cancel. See Cancel a pending command.

The harness checks every command in this order. A command that fails a check marked rejected is not applied: the harness answers with HTTP 403 and records a command_rejected event in the rig’s ledger.

CheckReason givenStatus at control
The command has the right shapemalformed commandrejected
Control’s public key can be readcontrol public key unusablerejected
The signature matches control’s public keybad signaturerejected
The command names this rigcommand is for rig <rig>rejected
It was not applied beforeNone: a command already applied answers replayed with its first answer, even if it has expired sinceAs the first answer
It is not more than 5 minutes in the futureissued in the futurerejected
It has not expiredexpiredrejected
The payload fits the kindbad payload: <field>: <problem>rejected
It was issued after the rig’s state was last wipedissued before this rig's state was wipedrejected
It is not being applied right nowNone: the harness answers in_progress, and the bus hands the command to the supervisor again 5 seconds laterStays pending
An owner-only kind was issued by the owner (issued_by is owner or starts with owner:)<kind> is the owner's to issue, not <issuer>'sfailed

The owner-only kinds are approve_promotion, decline_promotion, accept_review, conclude, close_run, wipe_state, message_agent, unkeep_message, rig_settings, the seven kinds that change a run’s experiment queue and its rules: queue_add, queue_move, queue_edit, queue_drop, queue_accept, queue_retry and drop_directive, lane_limits, which changes a running run’s lane limits, acceptance, which changes a running hill climb’s acceptance, kit_commit, which moves a running run onto a later commit of its kit, hypothesis_status, which changes a research run’s hypothesis, stop_trial, which stops one trial, end_wait, which ends a run’s wait for its provider, start_teachers_round, which asks a run’s teachers for a round now, add_run_hours, which adds hours to a run’s stop time, invalidate_evidence, which withdraws bad evidence, terminal_input, which types into a trial’s, a planner’s call’s or an advisor’s call’s terminal, retention_run, which removes what one of the owner’s retention policies covers, and log_level, which changes the level a rig part writes its log at. The owner-only check is the first step of applying a command, so a command it refuses is recorded like any applied command, as not accepted. Every applied command is recorded in the ledger with the actor control:<issued_by>.

A command that passes these checks and that the harness then refuses is failed, with the reason, such as run <run> is closed, not now: …, trial <trial> has ended already or invalid contract: …. The harness records it as applied and not accepted, and answers the supervisor {"status":"applied","accepted":false,"result":{"error":"<why>"}}; its command event carries the same to control.

KindDashboard (owner:ui)REST and thermite (owner:api)MCP owner (owner:mcp)MCP operator (owner:operator)MCP agent (agent:mcp)Owner only
assign_campaignNew campaign; Start the run in the Start a run panel of a campaign’s pageYes; thermite assignYesYesYes
rig_checkRun it in a rig’s ChecksYesYesYesYes
pause_runPause, then Pause the run in its menu, in a run’s header, in the header of the run’s Live, and on the run’s card under At work nowYesYesYesYes
resume_runResume in a run’s header, in the header of the run’s Live, and on a paused run’s row under Earlier runsYesYesYesYes
close_run⋯, then Close the run, in the header of a run’s page, while the run is running or pausedYesYesNoNoYes
redirectNone: on the dashboard, rules come from Tell the planner, a message_agent to the planner, which makes themYesYesYesYes
reset_workersRestart the lanes, under ⋯ in the header of a running run with agents, on its page and in LiveYesYesYesYes
add_run_hoursAdd hours, then Add hours and resume, beside ⋯ in the header of a run its hours paused, on its page and in LiveYes; POST /v1/runs/<run>/hoursYes; add_run_hoursYes; add_run_hoursNoYes
start_teachers_roundStart a teachers’ round, under ⋯ in the header of a running run with agents, on its page and in LiveYes; POST /v1/runs/<run>/teachers-roundYes; start_teachers_roundYes; start_teachers_roundNoYes
export_nowExport in the header of a rig’s page or a run’s page, with Full export (full: true), or, on a run’s page, This run (run)YesYesYesYes
drain_rigUpdate to these images, Try the update again and Give it control’s new address on the page of a rig at work set up on a cluster, and Call the update off; Save changes on Edit rig with a new number of GPUs, CPUs or memory for such a rig, and Call the change off; control issues it as the caller. End the drain in the drain card of a draining rig’s pageYes (POST /v1/commands): the rig drains, but its page shows no update waiting, and it stays drained until drain: false or a restart; POST /v1/rigs/<rig>/cluster/resourcesupdate_rig_images, set_cluster_rig_resourcesupdate_rig_images, set_cluster_rig_resourcesNo
stop_trialStop this trial…, then Stop the trial, in a stuck trial’s card under Needs you (Stuck trials), and under a trial a draining rig waits for, on the rig’s page (The trials it waits for)YesYesYesNoYes
end_waitResume now, then End the wait now, in the header of a run’s page while its agents wait for the provider’s limitYesYesYesNoYes
message_agentSend in the message box of a run’s Live; Send to the planner on a run’s Planner tab, while the planner is onYesYesYesNoYes
unkeep_messageRemove in the 📌 <n> kept list of a run’s LiveYesYesYesNoYes
queue_addAdd under Up next on a run’s Experiments tabYesYesYesNoYes
queue_move↑ Top, or dragging an experiment, under Up next on a run’s Experiments tabYesYesYesNoYes
queue_editEdit, then Save, on an experiment under Up next on a run’s Experiments tabYesYesYesNoYes
queue_dropDrop, then Drop it, on an experiment under Up next; Drop on a lane’s idea under Ideas from the lanesYesYesYesNoYes
queue_acceptQueue it on a lane’s idea under Ideas from the lanesYesYesYesNoYes
queue_retrySend back, then Send back to up next, on an experiment under TriedYesYesYesNoYes
lane_limitsnone: over MCP, REST or the command lineYesYesYesNoYes
acceptancenone: over MCP, REST or the command lineYesYesYesNoYes
kit_commitnone: over MCP, REST or the command lineYesYesYesNoYes
drop_directiveRemove on a rule on a run’s Planner tabYesYesYesNoYes
propagateSend champion #<n> on a run’s Planner tab, under Other rigsPOST /v1/propagate, or POST /v1/commandspropagate_championpropagate_championpropagate_champion
approve_promotionNeeds you: Make it the champion, Overrule the auditorYesYesNoNoYes
decline_promotionNeeds you: Reject itYesYesNoNoYes
accept_reviewNeeds you: Accept, RejectYesNoNoNoYes
concludeNeeds you: End it: not possible, Keep goingYesNoNoNoYes
hypothesis_statusPromote, Return to pool or Retire, then its button, on a hypothesis on a research run’s Hypotheses tabYesYesNoNoYes
invalidate_evidenceWithdraw its evidence…, then See what it reaches, then Withdraw the evidence, on an attempt’s pageYes; thermite invalidateYesNoNoYes
terminal_inputSend, or a key’s button, in the field under the planner’s or an advisor’s terminal, or a worker’s Pi view, on its Live page (Watch and steer an agent in its terminal); a worker’s own terminal on Live takes keys straight instead, recorded at each Enter as a terminal_input event with command: "live"YesYesNoNoYes
rig_settingsSave changes on Edit rig; GPUs for the judge on New campaign and in the Start a run panelPOST /v1/rigs/<rig>/settings, or POST /v1/commands; POST /v1/rigs/<rig>/cluster/resources with a new number of GPUsset_rig_settings; start_run with judge_gpus; set_cluster_rig_resources with a new number of GPUsset_rig_settings, but not promotion or judge_gpus; set_cluster_rig_resources with a new number of GPUs, which sends the new default share onlyNoYes
retention_runRemove now, after Run now, on a retention policy of a rig’s kind on Settings › Retention policies; control issues it at the policy’s time as owner:retention (Remove what Thermite keeps)POST /v1/retention/policies/<id>/run; thermite retention runrun_retention_policyNoNoYes
log_levelNoneYes (POST /v1/commands); thermite log-level harness or supervisorYesYesNoYes
wipe_stateOnly as a step of a full resetNo: wipe_state is issued only by a full resetNoNoNoYes

Control’s own lists decide what each MCP role may issue; the harness’s owner-only check is a second gate behind them. The operator acts for the owner, so its owner:operator passes that gate for message_agent, unkeep_message, the six queue kinds, stop_trial, end_wait, start_teachers_round, add_run_hours, log_level and the rig_settings that set_rig_settings sends. The operator’s list has no close_run, approve_promotion, decline_promotion, hypothesis_status or invalidate_evidence. For invalidate_evidence the harness refuses owner:operator itself too: invalidate_evidence is the owner's own to issue, not owner:operator's. So it does for terminal_input, which control also refuses before it signs, from any issuer but the owner: Only the owner types into an agent's terminal: send the agents a message. During the owner’s full reset of a rig, MCP’s issue_command and propagate_champion refuse an agent’s token for that rig: <rig> is being reset by the owner. Tokens and roles describes each token.

On the dashboard, only an experiment up next has Edit: a lane’s idea’s words change only over the REST API, the command line or MCP. Choose what runs next walks through the Experiments and Planner tabs.

Ids such as run are lowercase ids: letters a–z, digits, ., _ and -, starting with a letter or digit, at most 64 characters. Commits are full commit ids, 40 or 64 hexadecimal characters. A run that does not exist gives no run <run>.

Except where a section says control refuses, the refusals listed under each kind come while the harness applies the command. Such a command is failed, and its outcome’s result is {"error": "<the refusal>"}.

Starts a run of a campaign on the rig. On a rig launched on RunPod whose pod is stopped, control starts the pod first, then queues the command, which waits until the pod runs (A run on a stopped RunPod pod). Only the owner’s token starts a pod.

FieldTypeDefaultMeaning
runlowercase idrequiredThe new run’s id
contractobjectrequiredThe whole contract
contract_sha64 hexadecimal charactersrequiredThe contract’s SHA-256, as thermite contract validate prints it
seed{repo, commit}noneThe repository (a lowercase id) and the commit the run starts from. Required for hill climb and goal campaigns; research campaigns have none. When the contract names a project.folder, commit is the whole repository’s commit, and the run starts from that folder of it
notetextnoneThe run’s note, recorded with the run (thermite assign --note) and shown as Note: on the run’s item; no agent sees it. Before v0.1.1 this field was direction: a command signed then is read with it as note, and control refuses direction in a new one
importslist of imports[]What the rig must take in first: the project, the kit, models
agentsbooleanworker agents runfalse: a judge-only run
promotionauto or owner_approvalthe rig’s own settingThe run’s promotion rule
ask_owner{above_gain?, declared_flaws?, reviews?, not_possible?}nothing: hands-offWhat else the run asks the owner about. above_gain, a fraction above 0, at most 100: a confirmed gain above it waits for the owner (0.15 is 15%); declared_flaws, true: a win whose worker declared flaws waits; reviews, true: a review panel’s pass waits for the owner’s acceptance; not_possible, true: a “not possible” proposal waits. See Decide what waits for you
queueup to 500 experiments, each as belownoneExperiments to start the new run’s experiment queue with, in order: usually another run’s untried ones
briefingup to 200 items, each as belownoneBackground from past research for every agent’s brief, in order: findings, claims, notes and reports from the knowledge base
results{git, access?, folder?}none: the run’s work stays on controlWhere the run’s work goes in git. git: the repository the rig’s supervisor pushes the run’s branches to, usually the project’s own; access: the Git access (by name) that pushes, which needs write rights there, and which control gives only the rig’s supervisor while the run is live; folder: the project’s folder in the repository, when the contract names one. After each export the supervisor pushes thermite/<run>/champion, the run’s starting commit and then a commit for each champion, and thermite/<run>/<lane>, each lane’s attempts as patches (A run’s work in git). It pushes fast-forwards of branches under thermite/<run>/ only, never another branch
mcp_serversthe kit’s mcp_servers listnoneThe MCP servers the run’s kit names (a research contract’s, for a research run), with the agents that get each. Control fills it in from a kit it keeps, from the page’s reading of a kit in a repository, or from a research contract, and refuses a server Settings lacks. The harness refuses the run when it differs from what the kit names. Control gives the rig only the servers its runs name. For a research run, leave it out: control takes the contract’s list, and refuses another with The assignment names the MCP servers <list>, and the contract names <list>. Leave mcp_servers out: control takes the contract's.

Each experiment in queue has these fields:

FieldTypeMeaning
titletext, 1 to 200 charactersWhat to try
detailstext up to 4000 charactersOptional. More about it
directiontext, 1 to 80 charactersOptional. Its direction, in words or as a direction’s name
whytext up to 2000 charactersOptional. Why it is worth trying
bytext, 1 to 80 charactersWho added it in the first place, such as owner, planner, teacher or lane-2. The new run keeps it as the experiment’s author. Over MCP, control replaces it, as below
statequeued or proposedqueued: up next. proposed: a lane’s idea, which stays an idea in the new run
from{run, id}The run and the experiment it was copied from

Over MCP, control does not keep the caller’s words for a copied experiment that it can take from its own record. It takes title, details, direction, why and by from its record of the experiment that from names: the rigs’ signed events, with every edit applied. A field that the record does not have is left out. It does this only when the run that from names is filed in the collection of the new run’s campaign (contract.campaign), or of a campaign whose collection that campaign may read (Grants). Any other experiment keeps the caller’s words, and its by is copied: one that control has no record of (no rig reported it, or more than one did), and one from a run in any other collection, or in none. To an experiment taken from its record, control adds the line In <run> (<campaign>) it was <result>. after the details when the experiment’s item in the knowledge base has a result, as Start a run does, and cuts details to 4,000 characters.

Each item in briefing has these fields:

FieldTypeMeaning
texttext, 1 to 4000 characters, trimmedThe item’s words
from{campaign, rig?, run, kind, ref}Where it came from: the campaign’s collection (1 to 200 characters), the rig the run ran on (1 to 200 characters; control always gives it, since a run’s name is unique on its rig only), the run (a lowercase id), the item’s kind (1 to 40 characters, such as finding) and its ref in that run (1 to 200 characters)

Over MCP, control does not keep the caller’s words for a briefing either. It looks up the knowledge base’s item that from names and puts that item’s words in text. It leaves out an item it cannot find, one it finds more than once, and one from a collection the new run’s campaign may not read. With none left, it sends no briefing. It does this before it looks up the copied experiments. The REST API (POST /v1/commands) and thermite command send briefing and queue as given: control looks nothing up. thermite assign has no option for a briefing. Its --queue-from fills queue with a past run’s untried experiments, as Start a run does below, and takes them from control first (GET /v1/runs/<run>/untried), with the words and authors control’s records hold, as over MCP. See the command line.

Start a run on a campaign’s page also works for a campaign that was assigned over the REST API, MCP or the command line, with no version saved on control. Control then signs again the campaign’s newest assign_campaign whose status is pending or delivered, as a new run: the same contract, seed, imports and direction (the run’s note), with a new run, and agents, promotion and ask_owner from the panel. With Agents on and Copy the untried experiments of ticked, the panel also sends queue: the chosen run’s experiments still up next, in their order, then its lanes’ ideas, at most 500 of them. Its help says “They join the new run’s queue in the same order, up to 500.” With Agents off, the panel hides that field, and control sends no queue even when the form has it: a run without agents has no queue. Its From past research sends the ticked past experiments in queue, after the copied ones (at most 500 in all), and the ticked findings, claims, notes and reports in briefing, each looked up again in control’s knowledge base. With Agents off, the panel hides From past research too and sends none of it. If ticked items reach control all the same (the page shown without its script), control leaves them out, starts the try, and says “A try (agents off) takes no experiments and no background: what you ticked was left out.” Use past research in a new run gives the steps. Start a run’s twins, POST /v1/campaigns/<campaign>/runs, MCP’s start_run and thermite run start, run the panel’s code and send the same assign_campaign; they refuse a run to copy from, a model or past research for a try instead of leaving them out.

The harness creates the run only after every check passes. In order, it refuses:

MessageWhen
invalid contract: …The contract does not pass its schema
contract hash does not match contract_shaThe hash differs
run <run> already existsThe run id is taken on this rig
a run without agents has no queue: leave out the experiments to copy"agents": false with experiments in queue
queue experiment <n>: <the first problem>An experiment in queue whose title or direction is only spaces. <n> counts from 1
a run without agents has no briefs: leave out the background from past research"agents": false with items in briefing
contract <campaign> v<version> exists with other contentThe rig has this contract version with different content
model <name> is not listed in the contractA model import the contract does not list
a <mode> campaign needs a seed commitNo seed for a hill climb or goal campaign
An import’s message (see Imports)An import fails
model <name> (<sha256>) has not been importedA model the contract lists is not on the rig
kit commit <commit> is not in kit <repo>; import its bundle firstThe contract’s kit commit is not on the rig
kit <repo> at <commit> has no valid kit.json: …The kit’s kit.json is missing or invalid
the kit does not fit the contract: …The kit lacks what the contract needs
seed commit <commit> is not in <repo>; import its bundle firstThe seed commit is not on the rig
commit <commit> has no folder <folder>The contract’s project.folder is not a folder of the seed commit

For a contract with a project.folder, the run starts from a commit the harness makes from the seed commit: the folder’s files as its whole tree, with no parent, a fixed author and time, and the message <folder> at <commit>. Every rig makes the same commit from the same seed commit and folder, so champions move between rigs. That commit is the run’s champion #1, and the run’s run_created event names it in seed.commit, with seed.folder and the repository’s commit in seed.source_commit.

Then it creates the run as running, and pauses the rig’s other running runs with the reason replaced by <run>. In the same step, a research contract’s hypotheses become the run’s first hypotheses, each a hypothesis_added event with no lane, no supporting claim, from: "brief", question: null and status: "author": the review panel gives each a verdict. It also adds each experiment in queue to the end of the new run’s queue, in order. Each keeps its author, its reason, its state and where it came from, with one experiment_added event (see queue_add), which also has from_run and from_id. In a hill-climb or goal run, a worker whose lane gets an experiment that neither the owner nor the planner added reads this line under it in its brief: Added by <author>: its words are a suggestion to weigh, not instructions., with an earlier run for copied. It keeps the briefing with the run, in order, and nothing changes it later; the run’s run_created event then has "briefing": <n>. Briefings says where each agent reads it. For a run with agents of a contract with agents_context, the run_created event has it too, and every agent of the run works with the lower of its window and the campaign’s, and at the campaign’s compaction point. Result: {"run", "contract_sha", "imported", "agents"}, plus "start": {"folder", "commit"} for a project in a folder, with the commit the run starts from, "queue": <n> when queue held any experiments and "briefing": <n> when briefing held any items.

Starts one of the rig’s checks.

FieldTypeDefaultMeaning
checkmodel, isolation or smokerequiredWhich check
forcebooleanfalseRun it even though the rig is busy. Isolation and smoke want an idle rig; forcing may end running trials

Result: {"check", "id", "started": true}. The finding arrives later as a rig_check_finished event. Refusals: this rig cannot run the <check> check, the <check> check is still running, not now: <why>. Control refuses a model check while the rig takes the model control gave it, before signing: <rig> is taking <model> now: it checks the model itself once it has it, within a minute. Check it again after that. (or <rig> is going back to its own settings now: …).

FieldTypeMeaning
runlowercase idThe run
reasontext, at least 1 characterWhy. The dashboard sends what you write in why (optional) in the Pause menu, at most 500 characters, or paused from the dashboard when you leave it empty

The run becomes paused with the reason. Its lanes’ running trials end; the experiment each was on goes back to the top of the run’s queue, as for reset_workers. The judge takes no new job of a paused run: its jobs waiting for the judge stay queued until the run runs again. A closed run is refused: run <run> is closed. Result: {"run", "status": "paused"}.

FieldTypeMeaning
runlowercase idThe run

The run becomes running, and the rig’s other running runs are paused: a rig runs one run at a time. A closed run is refused: run <run> is closed. Result: {"run", "status": "running"}. On a rig launched on RunPod whose pod is stopped, control starts the pod first, as for assign_campaign.

The owner closes a run by hand, for good: for example a paused run whose work another run finished. Owner only.

FieldTypeMeaning
runlowercase idThe run
reasontext, 1 to 2000 characters after spaces at either end are taken offWhy. The dashboard sends what you write in Why in Close run, at most 500 characters

The run becomes closed with the reason, as a goal run that met its goals does, and its run_status event is {"status": "closed", "reason"}. A running or a paused run may be closed:

  • its lanes’ running trials end, as for pause_run, and its planner call is cancelled; no new round or trial starts;
  • the judge takes no job of a closed run, so its jobs waiting for the judge never run. A job the judge was already measuring finishes, and its verdict is recorded, but a win it confirms does not become the champion: it is held as Run closed; if that job would close the run as complete, the run keeps your reason;
  • a research run’s final report is written once its last trial has ended, as at the end of its time;
  • it can’t be resumed or paused again: resume_run and pause_run refuse it with run <run> is closed. Its queue and rules no longer change, and it takes no new message: run <run> is closed: nothing will read this message. A message kept in force can still be removed with unkeep_message;
  • nothing in it waits for a decision any more. A change waiting for approval or held for an audit, a review the review panel passed and a “not possible” proposal stay as they were when it closed: control leaves them out of Needs you, the harness refuses approve_promotion, decline_promotion, accept_review and conclude for the run, and the rig’s auditor gets none of its audits. None of its changes becomes the champion by a decision.

Its experiments, attempts, champion and journal stay, and the run’s export at its end carries them and the close, as after a run that met its goals (A run’s export at its end). Refusals: no run <run>, and run <run> is already closed (<its reason>): there is nothing to close, without the reason in brackets when the run closed with none. Result: {"run", "status": "closed", "was": "running"}, with "paused" for a run that was paused.

On the dashboard, Close run is under ⋯ in the header of a running or paused run’s page. It says The run ends for good: nothing more starts, and it can't be resumed. Its results stay., takes the reason in Why, and sends only once you type close <run> in the box below it. Control refuses it before signing, in words, without them: Not sent: Write why you close the run first. or Not sent: Type close <run> to confirm.

A set of directives for the run’s planner. See Steer a run.

FieldTypeDefaultMeaning
runlowercase idrequiredThe run
directives1 to 40 directivesrequiredThe set
replacebooleantrueReplace the set this issuer gave before. false adds to it

Each directive has only these fields:

FieldTypeMeaning
kindavoid, try, mandate, priority, lane_count, trial_minutes, keep_working, open_attempts or planner_noteavoid, try and mandate (Always on the dashboard) name a direction; priority ranks one; lane_count sets how many lanes work, up to the contract’s count; trial_minutes sets how long one trial lasts, in minutes (value, a whole number from 1 to 1440), over the contract’s and the rig’s; keep_working, on or off (value), whether the run’s lanes keep working while the judge works, over the contract’s; open_attempts, how many changes may wait for the judge before the lanes start no new trial (value, a whole number from 1 to 1000), over the contract’s budget.max_open_attempts, the owner’s and an operator’s alone: the harness leaves one out of any other set, with directives_left_out; planner_note is text for the planner only
directionletters, digits, spaces and dashes, plain or as :name:, that make a name of 2 to 41 charactersThe direction it is about, when the kind needs one. Control signs it as the direction’s name: its words in lowercase, joined by dashes, so :Shared memory tiling: becomes shared-memory-tiling
valuetext up to 1000 characters, or a numberThe value, when the kind needs one. A research run’s try or mandate may give a question’s number here instead of a direction
rationaletext, 1 to 2000 charactersWhy. The planner sees it; workers never do
citationsup to 20 texts of 1 to 500 charactersSources. Default []

Control refuses a directive that breaks these rules before signing, with bad redirect payload: directives.<i>[.<field>]: <message>, <i> counting from 0:

Field and messageWhen
a rule no longer takes match: give its direction in direction, in plain words or as :name:The directive has match, a rule in words
direction: "<text>" is not a direction's name: write it in letters, digits, spaces and dashes, such as shared memory tiling or :shared memory tiling:Other characters in direction
direction: "<text>" is too long for a direction's name: use at most 41 letters, digits, spaces and dashesA name over 41 characters
direction: an avoid, try or mandate rule names a directionAn avoid, try or mandate with no direction (and, for try and mandate, no value)

A direction may name a direction the run doesn’t have yet. The rig takes it, and the planner’s model designs the direction at its next round: it says what the direction means, in its own words, and the run then has it (Directions). A research run’s planner designs no direction: control and the rig refuse there any direction but a task kind, A research run's directions are its task kinds: :explore:, :primary:, :contradict:, :consolidate:. Its planner designs no new direction, so a rule for :<name>: would do nothing. Name a task kind.

A set that both avoids a direction and tries or mandates it is refused: the set both avoids and asks for <directions>. A closed run is refused: run <run> is closed: its queue and rules no longer change. Result: {"run", "directives": [<ids>]}, with "new_directions": [<names>] when the set names directions the run doesn’t have yet.

A rule in words (match) set before rules named directions stays in force, marked legacy, until the planner’s next round with its model converts it. No command converts it: the rig does, at the planner’s round, with new records, and no signed command or earlier record changes. The new directive has the old one’s author, kind, rationale, citations and from_message, the direction the planner named, and "converted_from": {"rule": <id>, "words": "<the old words>"}; its directive event is its author’s. The old directive leaves force as converted, with the event directive_converted by the planner: {"id": <old id>, "to": <new id>, "kind", "direction", "words"}. Until then, only the planner’s model reads it. The fixed rules that give out work without the model (no model, a model answer that code refused, the planner switched off, and a research run’s gap-driven plan) keep only the directives that name a direction; a research run’s planner converts no rule in words, so one there is never converted (Old rules in words).

redirect is not the only source of rules. The teachers’ set (a teacher’s recommendations, or the merged by model’s directives: see What each role must answer) and a rule that the planner adds because an owner’s message asked for it name a direction the same way.

The owner’s redirect, or an operator’s for the owner, can set again a rule that was removed with drop_directive. An agent token’s redirect, the teachers’ set and the planner’s cannot.

The dashboard calls directives rules. It sends no redirect but an open_attempts one, from a running run’s ⋯ › Set how many may wait: on a run’s Planner tab, Tell the planner sends a message_agent to the planner, and the planner adds the rules the message asks for at its next round, each with from_message set to the message. Remove sends drop_directive, which removes one rule. Control’s own command form refuses a redirect: this command is not available from the dashboard.

While as many of a run’s changes wait for the judge as its open_attempts rule or its contract’s budget.max_open_attempts allows, its lanes start no new trial: the harness records lanes_held, {open, limit, from} (from is rule or contract), once for each count and limit, says so on Live, lanes wait: <open> changes the judge has not settled, at most <limit> (...), and records lanes_held_ended, {open}, when they may start again. The run’s page shows it in its status line, and get_run as lanes_held.

FieldTypeMeaning
runlowercase idThe run
reseed_commitcommitAccepted by the schema, but the harness refuses it: re-seeding lanes is not available in this version; reset without it

The harness records workers_reset and tells the scheduler: the run’s running trials end at once, and then the current epoch (a round, on the dashboard), before the next one is planned, and every lane starts again from the champion. The ledger keeps which resets were finished, so a reset that a restart cut off is finished when the harness starts again. The experiment each ended trial was on goes back to the top of the run’s queue, the same experiment with its author and its why, and counts the return (returns) with its cause; its experiment_returned event has {id, lane, trial, result: "interrupted", cause, returns, position: "top"}. Result: {"run", "reset": true}.

The run page’s History says “You restarted the lanes: their trials ended, and every lane starts again from the champion.” (with the issuer’s name in place of “You” for the agent’s token), and, for each experiment, "<title>" went back to the top of the queue: its trial on <lane> was interrupted (<cause>). The dashboard offers Restart the lanes only on a running run with agents: a run without agents (a try, a rig check) has no lanes.

FieldTypeMeaning
runlowercase idThe run
hoursnumber, more than 0, at most 8760The hours of work to add

Gives a run more hours of work: its stop time, the contract’s budget.wall_hours, grows by hours, counted as the stop time counts them, only while the run works. The harness records run_hours_added, {hours, total, resumed}: the hours added, the run’s hours now, and whether it resumed. A run that its hours paused (the wall-time budget is spent) resumes, as for resume_run, and pauses any other running run on the rig; a run paused for another reason, or running, keeps its status. Result: {"run", "hours", "total", "resumed", "event"}.

Refused in words: <run> is closed: start a new run of its campaign instead, which control also refuses before it signs; <run> has no stop time (budget.wall_hours): it never stops for its hours, so there are none to add; and hours that would still leave the run past its hours: <run> has worked 50.2 of its 48 hours: add more than 2.2. The run page’s History says “You added 24 hours: the run may work 72 hours in all, and it resumed.” The dashboard offers Add hours on a run its hours paused: Resume alone would pause it again at once. Over MCP the owner’s and the operator’s add_run_hours sends it, and over REST POST /v1/runs/<run>/hours.

Changes a running run’s lane limits in place: the memory and time of a lane’s command and of a development run, the trial’s workspace and the processes a lane’s user may have. The run goes on; each lane command and development run from then on takes the new limits, and a lane’s next brief gives its new command memory and workspace. Use it when a limit stops the run’s work, such as a build that needs more than a development run’s 4,096 MiB. A dev_run_rss_mib it sets applies on every machine, a lane’s own runner too, where a run whose memory no one set gets the machine’s less a margin (Limits and pacing).

FieldTypeMeaning
runlowercase idThe run
limitsan object of one or more of run_timeout_s, run_rss_mib, workspace_mib, dev_run_timeout_s, dev_run_rss_mib and processesEach a whole number within the contract’s own bounds (Limits and pacing), or null to go back to the contract’s
reasontext, 1 to 2000 characters, trimmedWhy
previewtrue, or left outTrue: it changes nothing, and its result says what it would set and which lanes at work it reaches, in words

A limit left out stays as it is. The harness records lane_limits_set, {limits, changed, reason}: the owner’s limits in force now over the contract’s, what this change set, and why. Result: {"run", "limits"}. Control refuses before it signs a value past its bound, naming the limit and the bound, and a change with no limit in it: give at least one of run_timeout_s, run_rss_mib, workspace_mib, dev_run_timeout_s, dev_run_rss_mib and processes. The run page’s History says, for example, “You changed the run’s lane limits: dev_run_rss_mib 16384, from the next lane command and development run: every lane’s build was killed at 4 GiB.” Over MCP the owner’s and the operator’s issue_command sends it, and over REST POST /v1/commands.

Changes a running hill climb’s acceptance in place: each metric’s minimum effect, the blocks of a confirmation, and the early stop. The run goes on; the judge’s next screen or confirmation takes the new values, a job under way keeps those it started with, and the agents’ next briefs give the new minimum effects. The contract and its hash stay as they were. Use it when the run’s own measurements show its acceptance costs the judge’s time or misses gains, such as a neutral change that runs every look because 3 blocks are too noisy to call it equal.

FieldTypeMeaning
runlowercase idThe run, a hill climb
acceptancean object of one or more of min_effects, confirm_blocks and futilityEach over the contract’s acceptance, or null to go back to the contract’s
acceptance.min_effectsan object of metric names, each a fraction above 0 and below 1, or nullA metric’s minimum effect: the primary’s over objective.primary.min_effect, a lower priority’s over its metric role’s. A metric left out keeps its own
acceptance.confirm_blockswhole number, 2 to 20, or nullFresh blocks for a confirmation
acceptance.futilitynumber, at least 0.5 and below 1, or nullThe early stop’s confidence
reasontext, 1 to 2000 characters, trimmedWhy
previewtrue, or left outTrue: it changes nothing, and its result says what it would set and which of the run’s judge’s jobs wait or run, in words

A value left out stays as it is. The harness records acceptance_set, {acceptance, changed, reason}: the owner’s acceptance in force now over the contract’s, what this change set, and why. Result: {"run", "acceptance"}. Refused in words: a change with nothing in it, give at least one of min_effects, confirm_blocks and futility; a value past its bound, naming it; and a run that is not a hill climb, <run> is not a hill climb: only a hill climb's judge decides by acceptance. The run page’s History says, for example, “You changed the run’s acceptance: prefill_tps’s minimum effect 0.7%, a confirmation’s blocks 3, the early stop at a confidence of 0.8, from the judge’s next screen or confirmation: gains of 0.9% were missed.” Over MCP the owner’s and the operator’s issue_command sends it, and over REST POST /v1/commands.

Moves a running run onto a later commit of its kit: the judge measures with it from its next job, and a job under way keeps the kit it started with. The contract and its hash stay as they were. Use it to change how the kit measures without starting a new run, such as running a check that gives the same answer every time once a job.

FieldTypeMeaning
runlowercase idThe run
importsa list of one kit_bundle import, as assign_campaign’sThe kit’s commit: repo is the contract’s project.kit.repo, source where the rig’s supervisor fetches it, {"control": "kits/<name>"} for a kit control keeps or {"git": "<url>"}
reasontext, 1 to 2000 characters, trimmedWhy
previewtrue, or left outTrue: it changes nothing, and its result says what it would do, in words

The rig’s supervisor fetches the bundle into the inbox before it relays the command, as for an assignment. The harness refuses, in words: a run with no kit, another kit (<run> measures with kit <repo>, not <other>: a run moves only onto a later commit of its own kit), the commit the run measures with already, a commit that does not come after it (kit commit <c> does not come after <from>, the one <run> measures with), a kit that measures on another target (the kit at <c> measures on <target>, and <run>'s on <target>: a run's kit keeps its target), a kit.json that does not fit the contract, as at an assignment (the kit at <c> does not fit the contract: …), and a kit that names other MCP servers than the run’s. It records kit_set, {repo, commit, from, reason}. Result: {"run", "commit", "from"}. The run page’s History says, for example, “You moved the run onto kit qwen-kit at 4f2a… (from 3acc…), from the judge’s next job: the replies and the quality probe run once a job.” Over MCP the owner’s and the operator’s issue_command sends it, and over REST POST /v1/commands.

FieldTypeMeaning
runlowercase idThe run

Asks a running run’s teachers for a round now: the same round their timer starts every teacher_minutes. The harness refuses a run that is not running: <run> is paused: resume it first, and its teachers review it at their next round., or <run> is closed: its teachers review only a running run. It records teachers_round_requested, with an empty body. Result: {"run", "asked": true, "event"}, event being that event’s id.

The rig’s supervisor reads the run’s newest request with its other reasons for a round (What each role gets): between rounds it looks every 5 seconds, and a round under way finishes first. In that round the teachers review the run from its brief and give their advice, as at a timed round, and the next timed round counts from this one. Each request starts one round. The owner’s messages to the teachers stay as they are: the round reads those waiting, as any round does. When the advisors have reached the day’s spending limit, a request starts no round, and the run’s live view says once the advisors reached the day's spending limit (<limit> USD): the teachers review <run> after midnight UTC.

Control refuses it before it signs it: a run its rig reports paused or closed, in the harness’s words; <rig> has no teachers: give them a model on Edit rig., for a rig with no teachers, neither from control nor in its advisors file; and <rig>'s teachers are off: switch them on on Edit rig. Before the rig’s supervisor has reported its advisors, control can’t tell, and signs it. As the round starts, the run’s live view says the teachers review <run> now: the owner asked for a round. The run page’s History says “You asked the teachers for a round now: they review the run within a minute, or when a round under way ends.” The dashboard offers Start a teachers’ round only on a running run with agents; on a rig with no teachers or with its teachers off, it is greyed out and says why. Over MCP the owner’s and the operator’s start_teachers_round tool sends it, and over REST POST /v1/runs/<run>/teachers-round.

The owner’s message to the run’s agents. The judge is code and takes no messages.

FieldTypeDefaultMeaning
runlowercase idrequiredThe run
toone of the recipients belowrequiredWho gets it
texttext, 1 to 4000 charactersrequiredThe message. Control trims it before it signs it
keepbooleanfalsetrue keeps the message in force: it goes into the brief of every new trial it is for, until an unkeep_message removes it. Only for all or a lane
toWho reads it
allEveryone working: each lane at work, and the planner while it is on, a research run’s too. The lanes at work are the contract’s lanes.count, or fewer when the newest lane_count rule in force says so, the owner’s before an advisor’s, as the scheduler counts them
lane-1 to lane-16That lane
trial:t- and 16 hexadecimal characters, a trial’s IDThat trial. If it ends before it reads the message, its lane’s next trial reads it, with a note that it was sent to an earlier trial
plannerThe planner, at its next plan that is used, a research run’s too
advisorsThe teachers, the auditor and the review panel, each once, except those that a refusal below names
teachersThe teachers
auditorThe auditor
review_panelThe review panel

Each reader reads a message once: each lane, the planner and each advisor role. Only a message kept in force is given again, to each new trial. A read is recorded when the reader works with the message, not when the text is only fetched or put in a brief. When each one reads it:

ReaderWhen
A lane with no trial at workIn the brief of its next trial, once that trial’s agent is at work: its first session line, or a model turn or tokens counted. If the trial fails before that, the lane’s next trial gets the message. A message in a trial’s brief is not given to it again during the trial
A worker in PiAt its next step: after its model’s current turn
A worker in OpenCode, Claude Code or CodexWhen its current run ends without a submission. The harness then continues the session with the message
A worker that has submittedIt does not read it: a submission ends the trial, and the lane’s next trial reads the message in its brief
The plannerAt its next plan whose model’s plan is used. While the planner is off, its model can’t be reached, or code refuses its plan on both tries (the fixed rules give out the round’s work), the message waits for the next plan
The teachersIn their next round, once at least one teacher has given its review. For a running run, a message starts that round: between rounds the supervisor looks for one every 5 seconds, and a round under way finishes first. When the advisors have reached the day’s spending limit, a message starts no round; the run’s live view says once the advisors reached the day's spending limit (<limit> USD): the teachers read your message after midnight UTC
The auditorWith its next audit, once the audit is posted to the harness
The review panelWith its next review, once the review is posted. If a reviewer gives no answer, the review is not posted, and its next try gives every reviewer the message again

An advisor’s brief or package puts the owner’s messages first, and they are never cut when it is shortened. The teachers, the auditor and the review panel are asked to answer each message they are given, in one or two sentences, and the harness records each answer. An answer with no text is left out, and one malformed answer does not lose the advisor’s others. A message kept in force goes into every new trial’s brief under # Messages from the campaign's owner, in force; the others go under # Messages from the campaign's owner.

Control checks every message before it signs it, wherever it comes from: a run’s Live or Planner tab, the REST API, thermite command or MCP. It trims the text, and refuses a message with no words in it, or one that nothing on the rig would read. It judges that from what the rig last reported: the run, the rig’s settings (Edit rig) and the advisor roles its supervisor has set up. While the rig has not reported the run, or its supervisor has not reported its roles, control does not refuse for that reason, and the harness decides, as below. Control refuses with these messages:

MessageWhen
Write a message first.text is empty, or only spaces
This run has no agents (the judge alone tries the kit), so nothing would read it.all, planner, a lane or a trial, in a run started without agents
The planner is off on this rig (Edit rig), so nothing would read it.planner, with the planner switched off on Edit rig
A research run has no attempts to audit.auditor, in a research run
The teachers are off on this rig (Edit rig), so nothing would read it., and The auditor is off … or The review panel is off …teachers, auditor or review_panel, with that role switched off on Edit rig
This rig's supervisor has no teachers set up, so nothing would read it., and the same with auditor or review panelteachers, auditor or review_panel, when the rig’s supervisor reports that it has no such role
This run has no goal the review panel reviews, so nothing would read it.review_panel, when the run’s contract has no goal checked by review and is not a research contract (the review panel checks a research run’s questions)
This rig's supervisor has no advisors set up, so nothing would read it.advisors, when the supervisor reports none of the three roles
No advisor would read it., followed by the reason for each role, in the order teachers, auditor, review paneladvisors, when each of the three roles has one of the reasons above

panel, the review panel’s name in v0.1.0, is refused.

Over the REST API and thermite command, a refusal is 400 {"error":"<message>"}, written as refused. Over MCP, issue_command answers {"error":"<message>"} with isError: true, written as refused. On the dashboard it shows under the message box as Not sent: and the message (below), written as refused. A run’s Live also greys out each recipient that control would refuse, with the same words when you point at it (on a run without agents that includes everyone working and the lanes, and the box starts on the advisors), and its message box asks for words before it sends: “Write a message first.”

Control refuses keep with any other to before signing: bad message_agent payload: keep: only a message to everyone working (all) or to a lane can be kept in force. The harness checks again when it applies the command. It refuses a message in these cases, and records no message:

MessageWhen
run <run> is closed: nothing will read this messageThe run is closed
run <run> has no agents (the judge alone tries the kit): nothing would read this messageall, planner, a lane or a trial, in a run started without agents
the planner is off on this rig (Edit rig), so nothing would read this messageplanner, with the planner switched off on Edit rig
the teachers are off on this rig (Edit rig), so nothing would read this messageteachers, with the teachers switched off
the auditor is off on this rig (Edit rig), so nothing would read this messageauditor, with the auditor switched off
a research run has no audits, so the auditor would never read this messageauditor, in a research run
the review panel is off on this rig (Edit rig), so nothing would read this messagereview_panel, with the review panel switched off
this run has no goal the review panel reviews, so the review panel would never read this messagereview_panel, in a hill-climb run, or a goal run with no goal checked by review
none of the advisors would read this message: <each reason, joined by "; ">advisors, when no role would read it
run <run> has <n> lanes, or … has 1 laneA lane beyond the contract’s number of lanes. A lane within it, but above the number a lane_count rule leaves at work, is accepted
no trial t-… in run <run>A trial the run does not have

The run’s Live shows the rig’s refusal of the newest message to the run, from wherever it was sent, as Not sent. The rig refused your last message: <reason> above its message box. The run’s Planner tab does the same for the newest message to the planner, above Tell the planner: Not sent. The rig refused your last message to the planner: <reason>. A message sent from the page is followed as any command is (On the dashboard): the line under the box says Sent to rig-1 at 03:41 UTC. Waiting for the rig to take it., then Done. rig-1 took it at 03:41 UTC., or rig-1 refused it: and the reason, with no refresh. On Live, the strip above the box then shows the rig’s refusal too. A message that control refuses before it signs it shows under the box at once, as Not sent: and control’s reason, and what you wrote stays in the box. Without the page’s script, it shows above the box as Not sent. and control’s reason. Control’s audit log records that refusal as refused, with the page’s path and the reason (Audit log actions). While the planner is off on Edit rig, the Planner tab has no form under Tell the planner, only “The planner is off on this rig, so it reads no messages. The lanes take the queue in order and keep to the rules. Switch it on in Edit rig to tell it something.”, with Switch it on in Edit rig as a link to the rig’s Edit rig page.

The harness writes the live line Owner to <to> (#<id>): <text>, with , kept in force after the id for a kept message. A run’s Live shows a signed line as To the recipient and the text. A line for everyone working, a lane, the planner or the advisors shows so at once, in its own words. A line for a trial shows as a plain line until the run’s agent_message event, below, reaches control with the rig’s report; Live then draws it again in place, with the event’s words. Result: {"message": <id>, "to", "keep", "readers", "note"}. readers lists who will read it: lanes, planner, teachers, auditor or review_panel. note is there only for a trial that has ended: trial t-… has ended; lane-<n>'s next trial reads this.

The run’s ledger records the message with its text (agent_message), each reader’s first read (agent_message_read, {message, by}, with trial for a lane’s read, how for how that trial’s agent was given it (brief; next-call, in Pi, before its next model call; after-tool or turn-end, inside its turn through its program’s hook or Thermite’s plugin; or continuation, when the harness continued its session), and round for the planner’s: the round whose plan read it) and each advisor’s answer (advisor_answer). A rule the planner makes from the message is a directive whose body has from_message. The run’s Planner tab shows a message to the planner, or to everyone working, under Tell the planner: waiting until the planner’s round reads it, then with the planner’s answer, made from these records: the rules it made from the message, the directions it designed for them, any rules it left out because the owner had removed them, and the round’s notes. The run’s Live shows the message, each read and each answer only from the harness’s signed live lines; an unsigned line that looks like one shows as a plain line. A lane’s read, like a message to a trial, shows plainly until the run’s agent_message event reaches control.

Removes a message from force: new trials’ briefs no longer carry it, and no reader that has not read it yet is given it.

FieldTypeMeaning
runlowercase idThe run
messagepositive whole numberThe message’s id: message in the result of its message_agent

The harness refuses: no message <id> in run <run>, message <id> is not kept in force, and message <id> was already removed from force at <time>. The harness writes the live line the owner's message #<id> is no longer in force, and the ledger records agent_message_unkept. A run’s Live shows that line, when the harness signed it, under You (and the message’s lane, for a message to a lane) as 📌 You removed your kept message: “<text>”. New trials no longer get it., the text cut to 120 characters, or with (#<id>) in place of the text when control does not have the message. Result: {"message": <id>, "unkept": true}.

Adds an experiment to the run’s experiment queue. Each run has its own queue: the experiments still to try, in order (Up next), the lanes’ ideas that wait for a decision, and every experiment tried, with what became of it. At the start of each round the planner gives the experiments at the top to free lanes, never the same one to two lanes. Choose what runs next shows the queue on the dashboard.

FieldTypeDefaultMeaning
runlowercase idrequiredThe run
titletext, 1 to 200 characters, trimmedrequiredWhat to try
detailstext up to 4000 charactersnoneMore about it
directiontext, 1 to 80 characters, trimmednoneIts direction: in your own words, or a direction’s name. Written as :name:, it is kept without the colons
whytext up to 2000 charactersnoneWhy it is worth trying. The planner reads it, and so does the worker whose lane gets the experiment
trieswhole number from 1 to 101How many trials it gets before it counts as tried. A try that ends without a win sends it back to the top, to a lane that has not tried it while one has not; a win ends its tries early (An experiment tried more than once). A research run’s task gets one: the harness refuses more with a research run's task gets one try: leave out tries
position"top", "end", or a whole number from 0 to 100000"end"Where it goes among the queued experiments

The dashboard’s Add sends Add an experiment as title, and Direction, Why and Details as direction, why and details when they are not empty, and Tries as tries (not on a research run’s page). It puts the experiment at the top, unless Where says at the end. Over the REST API, the command line and MCP it goes to the end unless position says otherwise.

These rules hold for the five queue kinds:

  • An experiment’s id is x- and 12 hexadecimal characters, such as x-3f6c2a8e5b1d. Control refuses another before signing: bad <kind> payload: id: an experiment id (x-...).
  • An experiment’s place is its index among the queued experiments, 0 first. A number puts it at that index among the others; a number past the last puts it at the end.
  • The harness refuses a run it doesn’t have (no run <run>), a closed run (run <run> is closed: its queue and rules no longer change), and an experiment the run doesn’t have (no experiment <id> in run <run>).
  • The harness writes the experiment and one event in one step. The event’s actor is control:<issued_by>, such as control:owner:ui, and its by is owner, whoever issued the command.

The new experiment is up next, with owner as its author. Result: {"experiment": "x-…", "state": "queued", "position": <n>}, position being its place now, with "tries": <n> for one that gets more than one try. Event: experiment_added, {id, title, details?, direction?, why?, question?, tries?, by, state, position}, tries only above 1.

Each try of an experiment with tries left that ends without a win is the event experiment_retried, {id, try, tries, lane, trial, attempt?, result, verdict?, cause?, position: "top"}: try is the try that ended, result how its trial ended (submitted, no_attempt, or the trial’s stopped reason), verdict its attempt’s verdict, and cause how its trial ended in words, or the judge’s reasons for the verdict, cut to 500 characters. The same experiment is up next again, at the top. In a research run, a title labelled Question <n> (index <i>) names that question, when the run has it, and the task keeps it as question.

Moves an experiment that is up next to another place.

FieldTypeMeaning
runlowercase idThe run
idexperiment idThe experiment
position"top", "end", or a whole number from 0 to 100000Its new place

↑ Top on the dashboard sends "top"; dragging an experiment sends its new index. The harness refuses an experiment that is not up next: experiment <id> is <state>: only queued experiments move. Result as for queue_add. Event: experiment_moved, {id, by, position}.

Changes the words, or the number of tries, of an experiment that still waits: one up next, or a lane’s idea.

FieldTypeMeaning
runlowercase idThe run
idexperiment idThe experiment
title, details, direction, whyas for queue_addThe new words. Give at least one of these or tries; the others stay as they are
triesas for queue_addIts new number of tries. It must be above the tries it used: the harness refuses it with experiment <id> was tried <n> times already: give it more than <n> tries

An empty details or why clears it; title and direction cannot be empty.

Edit on an experiment under Up next opens a form with its words: What to try (title), Details, Direction (direction) and Why, and its Tries (not on a research run’s page). Save always sends details and why, so a field you empty is cleared. It sends title and direction only when they are not empty, so an emptied one keeps its old words, and tries only when you changed it. A lane’s idea has no Edit on the dashboard.

Control refuses an edit with none before signing: bad queue_edit payload: payload: change at least one of title, details, direction, why and tries. The harness refuses an experiment that no longer waits: experiment <id> is <state>: only proposed or queued experiments can be edited. Result as for queue_add; position is null for a lane’s idea. Event: experiment_edited, {id, by} and the fields that changed.

Drops an experiment that still waits, so no lane tries it. It stays in the run’s record as dropped, with who dropped it and why.

FieldTypeMeaning
runlowercase idThe run
idexperiment idThe experiment
whytext, 1 to 2000 characters, trimmedWhy. Required

Drop it on the dashboard sends what you write in its why field. Drop on a lane’s idea sends the owner dropped this idea. The harness refuses an experiment that no longer waits: experiment <id> is <state>: only proposed or queued experiments can be dropped. Result: {"experiment": "x-…", "state": "dropped", "position": null}. Event: experiment_dropped, {id, by, why}.

Queues a lane’s idea: an experiment a worker proposed (with thermite-trial idea or Pi’s idea tool) goes up next. The planner’s model also queues or drops ideas as it plans. Under Ideas from the lanes, the Experiments tab says: “The planner’s model queues or drops these at its next hand-out, and you can decide first. When up next holds fewer than the campaign’s Ideas kept ready, the planner queues the distinct ones, oldest first, even without its model. In a research run they wait for you.”

FieldTypeDefaultMeaning
runlowercase idrequiredThe run
idexperiment idrequiredThe idea
position"top", "end", or a whole number from 0 to 100000the endWhere it goes

Queue it on the dashboard sends no position, so the idea goes to the end. The harness refuses anything but an idea: experiment <id> is <state>, not a proposed idea. Result as for queue_add. Event: experiment_accepted, {id, by, position?}.

Sends a tried experiment back to up next for another try, such as one that a fault of Thermite’s cut short. The run goes on, and keeps the trial that ended as the experiment’s earlier try.

FieldTypeDefaultMeaning
runlowercase idrequiredThe run
idexperiment idrequiredThe experiment, one that is done
whytext, 1 to 2000 characters, trimmedrequiredWhy it goes back
position"top", "end", or a whole number from 0 to 100000the topWhere it goes
previewtrue, or left outleft outTrue: it changes nothing, and its result says, in words, which try it would be and where it would go, as "…" would go back to the top of up next for try 2 of 2, with try 1 on lane-2 (error) kept.; it is refused as the send-back would be

The experiment gets one more try when its tries were used, and its next try goes to a lane that has not tried it while one has not. The harness refuses an experiment that is not done: experiment <id> is <state>: only a tried experiment goes back to up next; one whose change the judge has not settled: experiment <id>'s change <attempt> is still with the judge (<lifecycle>): send it back once it has its verdict; and a research run’s task: a research run's task gets one try: add a new task for what it should find. Result as for queue_add. Event: experiment_retried, {id, try, tries, lane, trial, attempt?, result, verdict?, cause?, position, by, why}, as for a try that ended without a win, with by and why.

Removes one directive, a rule for the plan, whoever set it: the owner, the teachers or the planner.

FieldTypeMeaning
runlowercase idThe run
idpositive whole numberThe directive’s id: one of directives in its redirect’s result, or id in the run’s rules (run_queue)

The harness refuses: no run <run>, a closed run (run <run> is closed: its queue and rules no longer change), and no rule <id> in force in run <run>. The directive stays in the record with the status dropped, and the ledger records directive_dropped, {id}. Result: {"run", "dropped": <id>}.

A removed rule does not come back from the advisors, the planner or an agent’s token. The teachers’ next set of directives replaces their earlier set, the planner adds rules when an owner’s message asks for one, and an agent token may send a redirect. Before the harness records such a set, it leaves out each rule that matches a rule removed from the run with drop_directive: the same kind, and the same direction or match words, ignoring case and spaces at the ends. A rule that names neither matches every removed rule of its kind that names neither. The harness records the left-out rules in one event, directives_left_out, {rules, why: "the owner removed these rules"}, whose actor is supervisor, planner or control:agent:mcp, and records the rest of the set. Only a redirect issued by the owner, or by an operator for the owner, sets a removed rule again: its author is control:owner:…, such as control:owner:api for the owner’s REST API or control:owner:operator.

Changes the status of one of a research run’s hypotheses. The author’s hypotheses, from the campaign’s brief, need a verdict from the review panel; the workers’ go to the run’s pool, and need none (Hypotheses). This command promotes one of the pool, so the review panel must give it a verdict too, returns a promoted one to the pool, or retires one. The run’s planner promotes and retires hypotheses through the same step in the harness, within its own bounds.

FieldTypeMeaning
runlowercase idThe research run
idtext, 1–64 charactersThe hypothesis’s id, h-…
status"promoted", "pool" or "retired"Its new status
reasontext, 1–2,000 characters, not spaces aloneWhy
{"run": "survey-1", "id": "h-3f2a9c41d0b7", "status": "promoted", "reason": "the second question turns on it"}

Control refuses a run its rig reports as not a research run, before it signs anything: Run <run> is not a research run: only a research run has hypotheses to promote or retire. The harness refuses: no run <run>, a closed run (run <run> is closed: its queue and rules no longer change), the same for a run that is not a research run (run <run> is not a research run: only a research run has hypotheses to promote or retire), no hypothesis <id> in run <run>, one of the author’s (hypothesis <id> is one of the author's: it needs a verdict already, and only the campaign's brief changes it), a merged one (hypothesis <id> was merged into <other>: change <other> instead), and a retired one whose words now repeat a live hypothesis of the run (hypothesis <id>'s words repeat <other> (in the pool): change <other> instead).

On the dashboard, control refuses a change with no reason before it signs it: write why you change the hypothesis first.

Result: {"run", "hypothesis", "status", "from", "changed"}, where from is the status it had. The same status again changes nothing: changed is false, with a note such as hypothesis <id> is in the pool already: nothing changed, and no event. Each change is the event hypothesis_status, {hypothesis, status, from, by, reason, question, text}, with by the issuer, such as control:owner:api; the run’s research folder, its next workers’ briefs, its next review package and the campaign’s collection in the knowledge base follow it.

Another rig’s published champion, sent as a candidate for this rig’s judge. Control builds it from the source rig’s signed report. See Run a campaign on several rigs.

FieldTypeMeaning
runlowercase idThe run on this rig
source_rigtextThe rig the champion comes from
source_runlowercase idIts run
source_seqpositive whole numberThe champion’s number in that run
importa champion_patch importThe champion as a patch, with its path propagate/<rig>/<run>/<seq>.patch

Control builds it from two runs, each named alone: the run whose champion goes and the run that tests it ({run, to_run} over REST and MCP); it knows the rig each ran on, and fills in source_rig. Control refuses to build one: no run <run>, <run> and <to_run> are on one rig: propagate between two rigs, the source run has no champion beyond its seed, champion seq <n> is not published yet: the run's export at its end publishes it, or an export of what changed on <rig> does now (Export on its page), <run> runs <campaign>, not <campaign>, the target works on <repo>, the champion is in <repo>.

The supervisor takes the patch from the results repository, and waits while it is not there yet. The harness then refuses: research campaigns do not take propagations, propagate takes a champion_patch import (a published champion), the champion is in <repo>; this run works on <repo>, base commit <commit> is not in this rig's repository, the champion patch does not apply to the base: …, tree mismatch: the signed tree is <tree>, the patch gives <tree>. If this rig’s champion already has the same files, the result is {"identical": true, "note": "this rig's champion already has the same tree"}. Otherwise the patch becomes an attempt that this rig’s judge measures against its own champion. Result: {"attempt", "lifecycle", "tree"}.

FieldTypeDefaultMeaning
fullbooleanfalsetrue: a full export, with the research archive, a snapshot of the ledger, and the research folder of every run that has one, finished or not (Full exports). A full reset and a RunPod pod’s terminate ask for one, and so does Full export under Export on the dashboard
runrun id, optionalAn export of that run alone, from its start (A run’s export), as This run on a run’s page asks for. It is outside the rig’s chain of full exports: the result’s export_id is 0
open_runstrue, optionalA run’s export of each run on the rig that is not closed, each its own, as a RunPod pod’s stop asks for. The rig’s own checks export nothing. Result: {"export", "exports", "through_event"}, exports naming each export in order and export the last, or null when every run is closed

Exactly one of the three: a payload with none, or with two, is refused with an export is of one run (run), of each run not closed (open_runs: true), or full (full: true). An export of what changed since the rig’s last export, which export_now with {} asked for before v0.1.1, is no more.

The harness writes an export to its outbox for the supervisor to push. It is the only way to ask for an export: the rig makes none on a timer, only each run’s own when the run ends (When a rig exports). Result: {"export", "export_id", "through_event", "attempts", "events"}. At the rig’s disk floor it is refused, since an export takes room in the outbox, and a full one copies the whole ledger: an export waits: the rig's disk is at its floor of 5 GiB (its outbox has 3.1 GiB free): no new trial, judge's job or export starts until there is room again (a full export waits: … for a full one).

Control issues it before it moves a rig at work onto new images or a new address (Update to these images and the other buttons above, or update_rig_images), with the reason its images are about to change, and before it gives a rig at work a new number of GPUs, CPUs or memory (Edit rig, set_cluster_rig_resources or its REST twin), with the reason its GPUs, CPUs or memory are about to change. It sends drain: false to call the update or the change off, or after a drained one that failed (the update did not happen). POST /v1/commands takes it too.

FieldTypeMeaning
drainbooleantrue: the rig drains; false: the drain ends
reasontext, 1 to 500 characters, optionalWhy, as the event records it
deadline_minuteswhole minutes, 1 to 10,080, optionalHow long the drain waits for the work under way before its deadline: an update’s drain_minutes. Left out: the rig’s THERMITE_DRAIN_MINUTES, 60 by default. A drain asked for again keeps the deadline it began with

End the drain on a draining rig’s page sends drain: false with the reason the owner ended the drain; on a rig control set up on a cluster it is Call the update off, which calls the change off too.

While a rig drains, its harness starts no new trial, plan or judge job, and those running end as they would; a plan that ends during the drain records its round and starts no trial. Its report’s work says what still runs, {trials, judge_jobs, draining, open}, and control restarts its pods once nothing does. draining is {since, reason, by, deadline, deadline_reached}, where by is who asked, such as control:owner:api, deadline when the drain stops waiting by itself, and deadline_reached when it did (left out before), or null when the rig doesn’t drain. While it drains, open lists each trial still running, oldest first, at most 16: {trial, run, lane, started_at, task, question, turns, tool_calls, tokens_in, claims, refused_again}, where task is its experiment’s title, question a research task’s question (from 0), the counters are what its worker last reported, claims counts the verified claims it recorded (null outside a research run), and refused_again is its newest ask for a page the run refused before for a reason that lasts, {url, reason, asked, at, times} (times: how many such asks this trial made), or null. The rig’s page shows them (The drain card). judge_jobs counts only jobs under a lease still in force: a lease that ran out is taken back while the rig drains, queued again or blocked after its third lost lease, which starts nothing. A drain lasts until the harness restarts, which ends it. At its deadline it stops waiting by itself (goal 173): the event rig_drain records the step with deadline_reached: true and what still runs, the rig goes on starting nothing new, and the owner chooses under Needs you or on the rig’s page to go ahead now or to end the drain (At its deadline); nothing is chosen for the owner. The event rig_drain records each change with the same figures and the drain’s deadline, without open; a harness that starts again after a drain records its end, with drain: false and the reason the harness started again. A research run’s clock leaves out the time the rig drained (Limits and pacing). Result: {"trials", "judge_jobs", "draining"}.

The owner stops one running trial, such as one a drain waits for. An operator’s token may send it too, for the owner; an agent’s may not.

FieldTypeMeaning
runlowercase idThe trial’s run
trialthe trial’s id: letters, digits, - and _, 1 to 64The trial, as a draining rig’s report lists it under open, or as run_queue gives each lane’s under at_work
reasontext, 1 to 500 characters, optionalWhy, as the event records it. Without one: stopped by <issuer>

The harness refuses a trial of another run (run <run> has no trial <trial>) and one that has ended (trial <trial> has ended already). Otherwise it records trial_stop_asked {trial, lane, reason?} and tells the scheduler, which stops the trial at once, as a restart would: the event trial_stopped {lane, trial, reason}, then the trial ends as interrupted, with the counters its worker last reported. Its sources and claims stay. Its experiment goes back to the top of the run’s queue, as for reset_workers: during a drain, a lane takes it up again once the drain ends. Nothing else stops. A trial that ends before the scheduler gets to it is left as it ended. An ask the harness recorded just before it stopped is acted on when it starts again: the trial gets its trial_stopped, by the issuer and with their reason, and the restart ends it as interrupted. Result: {"run", "trial", "lane", "stopping": true}.

The owner ends a run’s wait for its provider’s limit before its time. An operator’s token may send it too, for the owner; an agent’s may not.

FieldTypeMeaning
runlowercase idThe run whose agents wait

While a run waits for its provider’s limit (agents_wait_for_limit), no new trial or plan of the run starts until the time the provider gave, at most one trial’s length from when it was asked (The model provider). end_wait ends that wait now: the harness records agents_wait_ended {until}, with the time the wait was to last until, and new trials and plans of the run start at once. If the limit still holds, the next trial meets it, and the run waits again. A trial that waits in its own conversation goes on at its own time. A research run’s clock runs again from then. The run’s History says You ended the agents' wait for the provider's limit, which was to last until <time> UTC: new trials and plans start again. A run that does not wait has nothing to end: nothing is recorded. The harness refuses a closed run (run <run> is closed). Result: {"run", "ended": true, "until"}, or {"run", "ended": false}.

Only control’s full reset issues it, as the owner who asked for the reset, after the owner confirmed the wipe. See Stop, restart, remove or reset a rig.

FieldTypeMeaning
confirm"wipe"Must be exactly this
exporttext, 1 to 100 charactersThe full export that reached the results repository
through_eventwhole number, 0 or moreThe last event that export holds

The harness refuses: no export <export> in this rig, export <export> is not a full export, the export does not cover the events, and research was recorded after the export (<what>): export again. Otherwise it pauses the running runs, and the rig’s state is wiped when the harness next starts, a few seconds later. The rig keeps its own signing key. Result: {"wiping": true, "export"}.

FieldTypeMeaning
runlowercase idThe run
attempttext, 1 to 64 charactersThe attempt

Promotes a confirmed win that waits for the owner, or overrules an audit that is pending or that blocked it. The judge’s verdict must still allow promotion, and approving an attempt with declared flaws accepts them. If the champion moved since the attempt was judged, it is measured again against the new champion. Refusals: run <run> is closed: none of its changes can become the champion (see close_run), attempt <attempt> is not in <run>, attempt <attempt> is <lifecycle>, not awaiting approval, no pending promotion for <attempt>.

FieldTypeMeaning
runlowercase idThe run
attempttext, 1 to 64 charactersThe attempt
notetext up to 2000 charactersOptional. Why

The attempt never becomes the champion and stays in the record as declined. Refusals: run <run> is closed: its changes stay as they were when it closed, attempt <attempt> is not in <run>, attempt <attempt> is <lifecycle>: there is nothing to decline. Result: {"attempt", "declined": true, "was"}.

The rig’s own settings, as on its Edit rig page. Only the fields that change are sent, and no other field is allowed. POST /v1/rigs/<rig>/settings and MCP’s set_rig_settings send it with Edit rig’s checks, and only the fields that differ from what the rig reports. Control also sends {judge_gpus} alone when it gives a rig on a cluster a new number of GPUs and the rig keeps a judge’s share of its own that differs from the new one (Change the rig’s GPUs, CPUs and memory), issued as the caller who asked for the change.

FieldTypeMeaning
judgebooleanThe judge builds and measures. Off: changes wait in its queue
workersbooleanWorkers start trials. Off: no new trial starts
lanes1 to 16Trials at the same time. More is refused with at most 16: a rig has users for lanes 1 to 16 only
plannerbooleanThe planner’s model gives each lane its experiment at the start of each round. Off: lanes take the queued experiments in order, by fixed rules, with no model
auditorbooleanThe auditor runs in the supervisor, where configured
teachersbooleanThe teachers, and their merged by model, run in the supervisor, where configured
reviewbooleanThe review panel runs in the supervisor, where configured
exportsbooleanEach run’s export when it ends, for the supervisor to push or send (A run’s export at its end). Off: a run that ends is not exported; it is once this is on again. Nothing is exported on a timer either way
trial_minutes1 to 1440, or nullA trial’s length when its contract sets none. null: none
max_turns1 to 100000, or nullA limit on each trial’s model turns. null: no limit
quiet_minutes1 to 1440, or nullAfter how many minutes without a line a trial asks the owner under Needs you. null: never. Nothing ends the trial
check_seconds10 to 3600, or nullHow long the model check waits for the model’s answer. null: 120. It limits the check only. A rig whose harness is older reports none, and Edit rig’s field is off there
program_modeterminal or headlessHow a worker’s trial runs Claude Code, Codex, OpenCode or Pi: terminal (the default), in the program’s own terminal UI, which the harness’s terminal host holds, and a worker in Pi in its Pi view there; headless, one headless run of the program for each turn, and a worker in Pi with no view. A trial keeps the mode it started with. A rig whose harness is older reports no mode and runs headless. See Agents in their own terminal
promotionauto or owner_approvalThe rig’s promotion rule, for runs that set none
judge_gpus1 to 8, or nullOn a rig given its set of GPUs, how many are the judge’s. null: the rig’s default. A change restarts the harness to regroup the cards
runnersat most 16 {name, pools}The rig’s runner processes on its other machines, all of them, each named once, with the pool of each of its 1 to 8 runners: judge, shared or lane-1 to lane-16. The core takes it while it works: a runner process added joins its pools and takes runs once it answers; one left out, or given other pools, leaves, and its run under way fails, which the judge queues again and a lane is told of

The harness keeps the settings, applies them at once and reports them, with a rig_settings_changed event that holds the change and the settings after it. Result: {"settings": <all the rig's settings>}.

The History of the run at work at the time says what changed, such as “You changed the rig’s settings: the planner off, 3 lanes, no turn limit.” Each field reads as the judge, the workers, the planner, the auditor, the teachers, the review panel or exports with on or off; <n> lanes (1 lane); trials of <n> min; at most <n> turns a trial or no turn limit; agent programs in their own terminal or agent programs headless; confirmed wins kept at once or confirmed wins wait for you; <n> GPUs for the judge (1 GPU for the judge) or the judge's usual share of GPUs; and runners <name> (<pools>), … or no runners of other machines.

The owner’s final word on a goal that the review panel passed, or on a research run’s questions that it found answered.

FieldTypeMeaning
runlowercase idThe run
reviewpositive whole numberThe review
acceptbooleantrue accepts, false rejects
notetext up to 2000 charactersOptional

For a goal, the judge then checks the champion’s goals again. For a research run’s review, true ends the run: no new trial starts, the rig’s final writer writes its research paper, and once the paper is in (or at once, on a rig with no final writer) and the trials running end, it writes its final report and closes with every question is answered; false lets it go on: the review panel’s decisions stand, and it is asked again when a question’s answer card changes. Either way the run’s journal records the owner’s word and note. A closed run is refused: run <run> is closed: its goals are not checked again. So are a review the run does not have (no review <review> in <run>), one the review panel has not passed (review <review> has not passed the review panel) and one already decided, by the owner or hands-off (review <review> is already decided). Result: {"review", "decision": "accepted"} or "rejected".

The owner’s answer to the harness’s proposal that a goal campaign’s goals cannot be reached.

FieldTypeMeaning
runlowercase idThe run
proposalpositive whole numberThe proposal
acceptbooleantrue closes the run as not possible; false dismisses the proposal and the agents carry on
notetext up to 2000 charactersOptional

A closed run is refused, whichever the answer: run <run> is closed: it can't end as not possible or go on.

The owner withdraws bad evidence: an attempt, for good, with every attempt built on it, or the measurements of one of the judge’s jobs, whose attempts are judged again. Nothing is deleted: each step is a new record. It goes in two steps. A preview (preview: true) answers with what it would reach and changes nothing: the rig records only the command, as it records every command. The withdrawal names the preview’s sha in reach: the harness works out the reach again and does exactly that, or refuses when it differs. Withdraw bad evidence shows the steps.

FieldTypeMeaning
runlowercase idThe run
attempttext, 1 to 64 charactersOne of the two. An attempt of the run: withdrawn for good, with every attempt built on it
jobpositive whole numberOne of the two. A judge job of the run that finished: its measurements are withdrawn
reasontext, 1 to 2000 characters, not spaces aloneWhy. The record keeps it, and every page that shows the withdrawal says it
previewbooleantrue: say what it would reach, and change nothing
reachsha256, 64 hexadecimal charactersWithout preview, required: the sha the preview answered

Control refuses, before it signs: name one attempt or one job (both, or neither), and send a preview first (preview: true), then the sha it gave as reach (neither preview nor reach). The harness refuses: invalidate_evidence is the owner's own to issue, not <issuer>'s (an operator), attempt <attempt> is not in <run>, attempt <attempt> was withdrawn already, for good: there is nothing more to withdraw, job <job> is not in <run>, job <job> is <state>: it has no measurements to withdraw yet (a job still queued, leased or blocked), no verdict rests on job <job>'s measurements now: there is nothing to withdraw, and, for the withdrawal, what it reaches changed since the preview: preview it again, and confirm what it reaches now. A closed run’s evidence can be withdrawn too: nothing in it is judged again.

What it reaches, from the subject: the attempt itself, or each attempt whose current verdict rests on the job, then every attempt built on one reached (the attempt whose commit it was made on), in turn.

  • Each attempt reached gets an invalidated verdict that supersedes its current one (the verdict before stays in the record). An attempt withdrawn for good is marked so, never gets another verdict, and can’t become the champion; a change submitted later on top of one is withdrawn as it arrives, with lineage of invalidated evidence: built on <attempt>, which was withdrawn: <reason>, and never judged. When a job’s measurements are withdrawn, each attempt goes back to the judge’s queue (queued, with a new job) to be measured again, unless its run is closed, it was never judged (rejected_v0, duplicate), or it was withdrawn for good before.
  • The judge’s open jobs for the attempts reached, queued or under way, are cancelled (job_cancelled). A judge measuring one can no longer record its outcome, as after a lost lease. An attempt that is not judged again and waited for the judge, an audit or the owner settles as judged.
  • Each champion whose attempt is reached is reopened (champion_reopened). When the run’s champion is among them, it moves back to the newest champion that stands, the starting point at least, with a champion_moved_back event; its git ref follows, new trials build on it, and a goal run’s judge checks its goals again.
  • A champion already published keeps its patch in the results repository and on control: nothing there is deleted or rewritten, and the next export carries the events that withdrew it. Control no longer offers it to download or to propagate.

The answer, to both steps: {"sha", "reach", "words"}, with "preview": true for a preview and "invalidation": <id> for the withdrawal. words says what it reaches in sentences, as the dashboard shows them. reach is {run, subject: {kind, id}, for_good, attempts, attempts_total, superseded, jobs: {cancelled, cancelled_total, queued}, champions, champion}: attempts, the first 200, each {attempt, why: subject|evidence|lineage, parent, lifecycle, verdict, then: withdrawn|judged_again|stays_withdrawn} as it is before; superseded, how many current verdicts an invalidated one supersedes; champions, each {seq, attempt, published}; champion, {from, to, to_attempt, validate} when the run’s champion moves back, else null. The sha covers each attempt and what becomes of it, the verdicts superseded, the champions reopened and where the champion moves.

The withdrawal records, in one transaction: the invalidation event ({id, run, kind, reason, attempts, verdicts, champions}, its subject the attempt or the job), each verdict and champion_reopened, each job_cancelled, job_queued and attempt_lifecycle, and champion_moved_back ({from, to, attempt, commit, invalidation, reason}). Each reaches control, the exports and the knowledge base like any event.

The owner types into one running trial’s terminal, where its agent program runs its own terminal UI (Agents in their own terminal), a planner’s call’s while it plans in one, or an advisor’s call’s while it works in one in the supervisor: words, a slash command or a skill, then Enter, or keys by their names, such as for a program’s menu. A worker in Pi takes the same input in its Pi view, where nothing is typed: each input is one call in its trial’s loop (below); so does a planner in Pi in its Pi view, and an advisor in Pi in its own. Only the owner issues it: never an operator, an agent or a reader. Watch and steer an agent in its terminal shows the console that sends it.

terminal_input (part)
{"run": "run-1", "trial": "t-0123456789abcdef", "text": "/compact"}
FieldTypeMeaning
runlowercase idThe trial’s run
trialletters, digits, - and _, 1 to 100A running trial of the run, as its Live page or run_queue’s at_work names it; or the planner’s call, planner-<run>-<round>, while it plans that round in its own terminal, as the planner’s Live page and the rig’s report (work.terminals) name it; or an advisor’s call, advisor-<advisor>-<run>-<n> (the advisor’s name with other characters than these as -, cut to 20), while the teachers, the auditor or a reviewer works on the run in its own terminal, as the supervisor’s Live page and the rig’s report name it
texttext, up to 4000 characters, not spaces aloneOne of the two. Typed into the program, then Enter. Line breaks and tabs go in as a paste where the program takes one, so they submit nothing. No other control character: a key goes by its name. A form’s CR LF is kept as LF
keys1 to 16 of enter, esc, tab, up, down, left, right, page-up, page-down, 0 to 9One of the two. Sent one after the other. Ctrl+C is not one of them: the program’s own steps interrupt a turn
waitqueue (the default) or nowWhile the program waits for its usage window to reset: queue holds the input until the reset has come and the program is at work again; now types it at once, and the program may start its wait again
confirmtrueRequired for text that starts with !, which runs a shell command in Claude Code and Codex, or that runs /login, /logout, /config or /permissions, which change the program’s sign-in or settings
follow_uptrueWith text only, for an agent in its Pi view (a worker, the planner or an advisor in Pi): the words wait until the agent would stop, at the end of a reply that calls no tool, and go in then, instead of before its next model call. Another program refuses it

Control refuses, before it signs: any issuer but the owner (Only the owner types into an agent's terminal: send the agents a message.), give text or keys, one of the two, text may hold no control characters but line breaks and tabs: send a key by its name, type some text, or send keys by their names, follow_up goes with text, not keys, and confirm this input first (confirm: true). The harness refuses: terminal_input is the owner's own to issue, not <issuer>'s, run <run> has no trial or call <trial>, <trial> has ended: nothing more goes into its terminal, trial <trial> has no terminal to type into: its program runs headless, with no terminal (…), trial <trial> has no terminal to type into: its program has not started yet, <trial> took 30 inputs in the last minute, the most it takes: send this one again in a moment, 20 inputs wait for the usage window's reset already: send this one now, or after the reset, and not typed into <trial>'s terminal: <why>, such as when the program is being ended or exited and starts again at its next turn, or follow_up is for an agent in its Pi view: <program> takes what is typed into it as it comes. A planner’s call takes the same inputs as a trial’s program, and a planner in Pi the same as a worker in Pi; the round’s plan in, its call has ended. An advisor’s call takes the same inputs as a trial’s program, and an advisor in Pi the same as a worker in Pi; another advisor’s program refuses follow_up with the same words as a trial’s. The supervisor runs it, so the harness, once it has checked and recorded the input, hands it to the supervisor, which types it and says what became of it; the harness also refuses the rig's supervisor did not take it: it may be restarting. Send it again in a moment, the rig's supervisor did not say in 30 seconds whether it typed it, 100 inputs wait for the advisors' terminals already: send this one again in a moment, and, in not typed into <call>'s terminal: <why>, the supervisor’s <call> is not running in its terminal now: nothing more goes into it. The supervisor types an input only if it can start within 20 seconds of taking it, since the harness waits 30 seconds for its answer: while the program still takes what went in before it, such as the call’s long first message, the input is refused with <program> was still taking what went in before it, so nothing was typed: send it again in a moment, and it never goes in later. An input answered as not typed never reaches the program. Its answer in, its call has ended.

A worker in Pi takes each input over its trial’s own routes, and the harness records what the worker says became of it. A planner in Pi in its Pi view takes each over its call’s routes, as one call in its session, the same way: Esc there stops its reply and ends that try, and words that wait go in before its next model call until it has sent its plan (the planner has sent its plan: nothing more goes in). Its calls:

InputThe call in the trial’s loop
textSteers the agent: the words go into its conversation before its next model call, as the owner’s message
text with follow_upThe words wait until the agent would stop, and go in then
keys: ["esc"]Stops the agent’s reply, once a tool call under way has finished; the trial goes on with the owner’s words that wait, or with its nudge, which counts as none of the campaign’s nudges
/compactCompacts the conversation before the agent’s next model call
/mcpShows the trial’s MCP tools, and the servers that failed
/mcp reconnect, or /mcp reconnect and a server’s nameLists the tools of every server, or of one, again from the servers; the agent has the new list from its next turn
/statusShows the trial’s model, turns, tool calls, tokens, compactions and time left

wait does not apply: a worker in Pi waits for its provider in its own loop, and steered words go in at its next model call after the wait. The harness refuses, in not typed into trial <trial>'s terminal: <why>, with these words: the Pi view takes one key, Esc, which interrupts the agent's reply: it has no menu for other keys; <command> is not a command of the Pi view: it takes /status, /compact, /mcp, /mcp reconnect [server] and /skill:NAME, and words that do not start with / steer the agent; this run's kit carries no skills, so /skill:<name> has nothing to load (kits carry no agent skills yet); /status takes nothing after it and the same for /compact; /mcp takes nothing after it, or reconnect and at most one server's name; an MCP server's name has at most 64 characters; follow_up goes with words for the agent, not with a command (<command>); the agent has no reply under way to stop: it waits for its provider, or between its turns; this run's kit gives its workers no MCP servers, or no MCP server named <server>; the trial's agent has not started yet; the trial has submitted its change: nothing more goes to its agent, or the trial is ending (<how it stopped>); the Pi worker did not take it within 15 s, or took it but did not say within 15 s what became of it; and the trial is ending: nothing more goes into its Pi view, or has ended. Each is one input, recorded as refused.

The harness records each input word for word with what became of it, as a terminal_input event, {command, trial, lane, text or keys, wait, follow_up?, outcome, why?, until?}, with lane planner for a planner’s call and the advisor’s name (such as auditor) for an advisor’s: typed; queued, with until, when the program or the model proxy said when its window resets; refused, with why; and, for one that waited, a second event when it is typed_after_reset or dropped, with why, such as the trial ended before the program's usage window reset. Each is a line in the trial’s live view too, without the words. The run’s History says, for example, You typed “/compact” into lane-1's terminal (trial t-0123456789abcdef)., and for words with follow_up, You typed “try the tiled loop next” into lane-2's terminal (trial t-0123456789abcdef) as a follow-up: the agent gets it when it would stop, at the end of a reply that calls no tool.. Result: {"run", "trial", "lane", "outcome": "typed" | "queued", "until"?}.

One of the owner’s retention policies of a kind kept on rigs (the judge’s builds, the trials’ session logs, the advisors’ records), run on this rig now: control sends it to each rig the policy covers, at the policy’s time or when the owner presses Run now. It lives a day (24 hours): a rig away longer gets the policy’s next run instead. Only the owner’s issuers send it; it is never in an MCP role’s list for issue_command.

retention_run (part)
{"policy": 3, "name": "Old builds", "rule": {"kind": "builds", "rule": "newest", "newest_n": 20, "newest_per": "rig", "older_n": 30, "older_unit": "days", "size_gib": 50, "keep": {"open": true, "champions": true, "newest": true}}, "by": "hand"}
FieldTypeMeaning
policy, namewhole number; text, 1 to 80 charactersThe policy, as control keeps it
rulethe policy’s kind, rule and what it always keepsAs the REST API’s design gives them, without its name, place and time
byschedule or handWhether its time came, or the owner pressed Run now

The rig works out what goes from what it holds when the command arrives, with the same rule as control’s preview:

  • The judge’s builds (builds): the harness removes each stored build the rule covers, after what the policy always keeps (each run’s champion and each lane’s best, builds of runs still open), and never a build whose commit a judge’s job is queued for or measuring. A build’s record stays in the ledger, so the judge makes it again from its commit and kit when it is needed. The result is the removal.
  • The trials’ session logs (trial_logs): the harness removes each trial’s log it keeps (sessions/<run>/<trial>/ in its state) that the rule covers, keeping those of runs still open when the policy says so. The result is the removal.
  • The advisors’ records (advisor_records): the harness takes the command, with the result {"kind":"advisor_records","left_to":"the supervisor"}, and the rig’s supervisor then removes the records the rule covers in its home, keeping those of runs still open, and tells the harness what went.
  • A kind kept on control is refused: <kind> is kept on control, which removes it: not on a rig.

Either way the rig’s ledger records one retention_removed event, by the harness (control:<issuer>) or by supervisor, with {policy, name, kind, by, count, bytes, oldest, newest, error?}: what went, its bytes and the times of the oldest and the newest. It reaches control as any event does; control lists it under What policies removed, and writes retention_removed to its audit log.

The level one part of the rig writes its log lines at, from now on: the harness’s or the supervisor’s, each on its own. Use it to look into a fault while the part runs: debug for every detail, then back. Control’s own level is a setting control keeps instead (Control’s log level).

log_level (part)
{"part": "supervisor", "level": "debug"}
FieldTypeMeaning
partharness or supervisorThe part whose level changes
leveldebug, info, warn, error or nullIts level from now on; null: the part’s THERMITE_LOG_LEVEL again
  • The harness’s. The harness’s service writes at the new level at once, and says so in a line, log level now <level>, with was, by and command. The result is {"part": "harness", "level", "was", "lasts"}, lasts in words: until another log_level command changes it, or the part restarts: then it writes at its THERMITE_LOG_LEVEL again.
  • The supervisor’s. The harness takes the command, with the result {"part": "supervisor", "level", "left_to": "the supervisor"}, and the rig’s supervisor, once the harness took it, writes at the new level and says so in a line the same way.
  • How long. The level is kept in memory only: it lasts until another log_level changes it, or the part restarts, which then writes at its THERMITE_LOG_LEVEL again. SIGUSR2 still switches the part between debug and its level now. The rig’s broker, its workers and its advisors’ programs keep their own levels.
  • Who. The owner’s issuers and the operator’s token, never an agent’s (the owner-only check, above). Control writes log_level_sent to its audit log, {command, rig, part, level}, beside the command_issued every command gets. A part other than these two is refused before signing.

assign_campaign lists its imports in imports, and propagate carries one in import. Every path is relative to the rig’s inbox and may not contain ... The harness copies each file into its own store, hashing it as it copies.

KindFieldsUsed in
repo_bundlepath; repo (lowercase id); commit; sha256 (optional: the bundle file’s hash, checked as well as the commit); source (optional)assign_campaign: the project
kit_bundleThe same fieldsassign_campaign: the kit
modelpath; name; sha256 (required); source (optional)assign_campaign: a model the contract lists
champion_patchpath; repo; base_commit; tree; sha256 (all required)propagate only. In assign_campaign it is refused: a champion patch comes only with a propagate command

source tells the supervisor where to fetch the content before it relays the command:

SourceForMeaning
{"git": "<URL>"}repo_bundle, kit_bundleA git repository that has the commit: an https://, ssh:// or git:// address, or user@host:path, up to 2000 characters. The supervisor fetches the commit with no key and writes it to path as a bundle. A file:// address passes the schema, and the supervisor refuses it: <path>: a file:// source is refused: a source is a repository on a host
{"git": "<URL>", "access": "<name>"}repo_bundle, kit_bundleThe same, with Git access that control keeps for a private repository, by name. The address must be on the access’s host: control refuses the command otherwise, and the supervisor checks it again. See Use a private repository
{"control": "kits/<name>"}kit_bundleA kit that control keeps: one the New campaign page wrote, or a kit repository written elsewhere that the owner gave control as a git bundle (POST /v1/kits/<name>, MCP’s kit_add or thermite kit add). The supervisor fetches the commit from control, as the rig, and writes it to path as a bundle. Any commit of the kit’s history fetches, and so does an old head that a forced replacement left
{"url": "<URL>"}modelAn http:// or https:// address on the internet, up to 4000 characters. The supervisor downloads the file and keeps it only with the import’s sha256, reporting its progress. See Model files on a rig

Only the owner’s and the operator’s tokens may name a source to fetch, a Git access or MCP servers in an assign_campaign; an agent’s token may assign a campaign whose imports are in the rig’s inbox already, or are kits control keeps. The supervisor fetches a command’s sources only once its harness has checked control’s signature on the command; a command the harness refuses is never staged, and goes on to the harness, which refuses it with its reason. A source that cannot be fetched makes the command failed with {"error": "staging: <reason>"}. A bundle already at an import’s path is relayed as it is only when one of its heads is the import’s commit; one of another commit, such as an earlier run’s at the same path, is fetched again from the source. Without a source, the file must already be in the inbox.

The harness refuses an import with: path escapes inbox: <path>, not found in inbox: <path>, symlink escapes inbox: <path>, sha256 mismatch for <path>: expected <hash>, got <hash>, or bundle does not contain commit <commit>.

A command signed before runs and rigs were renamed, on 2026-10-15, is refused as malformed command: its envelope names unit instead of rig, and its payload and kind may name an instance. Control signs every command with today’s names.