Interface: DraftContext
Defined in: src/lib/pipeline/email-draft.ts:8
Pure helpers for M-05 outbound email drafts (ADR-0040). The AI draft is primary (src/server/ai);
fallbackDraft is the deterministic draft used when the AI seam is unconfigured or fails, so the
review-and-send flow always works. Tone guardrail (enforced in both paths): reference market /
industry context, never a facility's specific deficiencies or score. No I/O here.
Properties
facilityName
facilityName:
string
Defined in: src/lib/pipeline/email-draft.ts:9
instructions?
optionalinstructions?:string|null
Defined in: src/lib/pipeline/email-draft.ts:13
persona?
optionalpersona?:string|null
Defined in: src/lib/pipeline/email-draft.ts:11
recipientName?
optionalrecipientName?:string|null
Defined in: src/lib/pipeline/email-draft.ts:10
templateKey?
optionaltemplateKey?:string|null
Defined in: src/lib/pipeline/email-draft.ts:12