Step-by-step answer
Core 75–90 min8 stepsBuild a draft-then-gate reply pipeline
A four-stage reply pipeline for a fictional conveyancing firm: a Jev input battery that can stop an email before any LLM call, extract-then-select for the proposed date, a claude -p drafter, and a Jev output battery that sorts drafts into ready, needs editing or blocked. Every gate question is phrased so that yes means something is wrong, so each gate is one comparison against a threshold held in code.
Back to the exercise