Expand description
What a drone can read of what started it ({{trigger.*}}), field by field, and which of it is outside text
(Drone real-world jobs spec §3.6).
Every trigger kind publishes a schema: each field is clean (a number, a flag, a value from a short list, an id
AgentMux made) or tainted (a text somebody outside the person’s own design wrote: a title, a log, a body, a
file name). The canvas lists the fields to complete {{trigger.…}} and marks a reference to a tainted one.
This is what the graph can be told about its input; it is not what keeps a run safe. The engine still treats the
whole trigger as outside text (ExecutionScope::bits_of) until the taint rules of phase 4 read these schemas, so
a mistake here shows a wrong mark and never lets a value through.
Structs§
- Payload
Field - One field a run reads as
{{trigger.<path>}}.
Functions§
- app_
event_ 🔒fields - The fields of the event named in an
app_eventfilter, asapp_events::event_ofbuilds them. - by_
hand_ fields - What a run started by hand or by an agent (
fire) reads: whatever the caller gave. Not even the framing is AgentMux’s here, because only a job’s run has it (job_actions::drone_trigger); a caller can send or leave out any of it. - field 🔒
- fields_
of - The fields a run reads, for a job started by
source(anevent_source, orNonefor a timer or a hand run) with the trigger’s ownfilter. The framing fields come first. - framing 🔒
- What every run of a drone job has, whatever started it. These are set by AgentMux, never by the sender.
- is_
tainted - Whether
{{trigger.<path>}}is outside text underfields: it is unless the path, or a parent of it, is a clean field. A path no field names is outside text (it can only come from the sender). - poll_
fields 🔒 - The fields of one poll item, by query.
itemis one entry of the list the check answered with.