Expand description
What a Drone job must pass before it is turned on (docs/specs/SPEC_DRONE_REAL_WORLD_JOBS_2026_11_11.md §5 and §6.3).
- The Rule of Two check (
drone::rule_of_two) on the graph it runs, and on every drone it calls, against the fields its trigger carries: a refusal, for anyone. - The turn-on prompt: when the operator turns on a drone with a node that changes things outside AgentMux, uses a
credential, or runs an agent on text from outside, the first answer is a question, not a job. It says when the
drone starts, each such node and each credential, and the operator turns it on by answering yes
(
confirm_turn_on). An agent has no prompt to answer here: its turn-on goes through the sensitive-operation route (a later change), so for now it is checked by the rule only.
A job made, edited or resumed while enabled goes through here; a paused job and a job that runs anything but a drone
do not. Saving a drone’s graph is checked against the jobs that are on and reach it (graph_allowed).
Enums§
- Stop 🔒
- Why a job is not turned on yet.
Functions§
- agent_
limit_ 🔒text - What the person is told about an agent’s tools: what AgentMux limits them to, or that it does not.
- allowed 🔒
Okwhendefmay be on, or why not.promptis whether this is a turn-on that asks (a new job, a resume, an edit of what it runs or when), for an operator who has not yet said yes.- does 🔒
- What
node, which changes things outside AgentMux, does, in a few words. - fields_
for 🔒 - What a job’s trigger hands the drone it runs.
- graph_
allowed 🔒 Okwhen the graph ofdrone, about to be saved, still passes for every job that is on and runs it, directly or by calling it from the drone the job runs, or what stops it. A drone nobody runs, and a job that is paused, are not checked here: the job is checked when it is turned on.- loader 🔒
- Finds a drone by id (and saved version) for the check of the drones one calls.
pendingis a graph about to be saved: it stands in for the saved one, so a callee that is being changed is checked as it will be. - prompt_
lines 🔒 - What the person is asked to approve: when it starts, each node that changes things outside AgentMux, each Vault entry it sends, and each Agent block that reads text from outside. Empty when there is nothing to ask (a graph of inside nodes, a read-only one).
- starts 🔒
- When the job starts, in words.