OptionalconfigOptionalcontextThe field worklist. Every entry gets exactly one answer back, in this order.
OptionalformThe form's forms.context — what the form is FOR. Injected into every field's prompt; v1 only
injected it on the batched sub-field path, so single fields were answered blind to the form.
OptionalincludeAdditionally open the patient's EMR vector namespace to search_chart.
OptionalonCalled as each field settles, so a batch that overruns or crashes does not discard the siblings it had already produced. A rejecting callback is caught and logged, never propagated.
OptionalreferenceFrozen "now" for date reasoning. Production leaves this unset (wall-clock).
The run's retrieval bound: the only documents the agent may search or read.
OptionalsessionCircle session notes the run may quote, rendered by the caller and inlined into every field's prompt. Omitted, none.
OptionaltreatmentScopes patient-context resolution to one episode.
Pre-resolved setup. A caller batching one run's worklist hoists it ONCE; omitted, the runner resolves it.