Template Pipeline
A template defines both the structure of a note (sections, headers) and the rules it has to follow (required fields, locked regions). Every agent run goes through the same pipeline, which is how the rules get enforced.
Pipeline
- Select template: load the structure and its anchor/field definitions.
- Bind field values: resolve
SELECT,MULTISELECT, andDYNAMIC_SELECTinputs and insert them at their anchors. - Run agent transforms: agents propose edits against the bound document.
- Validate locked regions: any proposed change that overlaps a locked anchor is dropped here, before it reaches the review queue.
- Queue pending edits: what’s left goes into the review queue for you to accept or reject.
Guardrails
- Agents can’t write to locked regions at any step.
- Required fields are checked at export, not at drafting. You can fill sections in any order.
Last updated on