Purpose
Terminal artifacts: visit report with evidence references + action register + suggested order, populated only from the contract payload.
When to use
End of every visit run.
Inputs
ranked.json (full payload).
Steps
- Validate against the contract; the top-ranked gap leads the report, whatever the compliance % says.
- Report: compliance table with photo references, ranked gaps with value at stake, actions with owners/dates, suggested order for confirmation.
- Mark DRAFT - the rep confirms the order and owns the submission; no planogram changes, no trade credit (plugin boundary).
Output
VISIT--.md - terminal artifact.
Grounding requirements
Every line cites standard, audit answer, scan row or photo reference.
Constraints
- Photos are evidence references, never "verified by AI" claims (#3.1).
- The plugin never places the order (#4.1).
Escalation / uncertainty
Promo-week gaps escalate to the territory manager same-day.