The method

From a workflow that works in a demo to a small program the client owns. Ten chapters, each ending in a deliverable.

Eight principles

  1. Deterministic by default. The model is used only where judgement is needed. Everything around it is ordinary code with ordinary tests.
  2. One job per call. One decision, a constrained output, the smallest context that decides it, a worked example.
  3. Check before act. No model output touches a customer, a database or money without a check in code, and a human queue for what fails it.
  4. Measured before launched. Thirty real cases, a pass rate, a failure budget agreed with the client.
  5. Observable. Every run writes a record the client can open.
  6. Cost is a design input. A monthly figure in the proposal and a ceiling enforced in code.
  7. Owned. Runs on the client’s infrastructure, in a language a hired developer can read, with a runbook.
  8. Honest scope. “About 80% handled automatically, the rest queued with a suggested answer.” Never “fully automated.”

The ladder

Chapters in order of technical aptness. If you build in n8n, start at 0. If you already ship code, start at 4 and read 1 to 3 as diagnosis.

#ChapterWhere the work happensDeliverable
0Why demos work and production failsreadingthe failure catalogue
1Map the workflowyour existing workflowevery step tagged deterministic, model or external
2Contain the modelsame workflowone job, schema output, minimal context, fixed settings
3Check before actsame workflowa validation step and a human lane
4Build the evaluation seta file of real casesa measured pass rate and a failure budget
5Observea ledgerevery run logged with lane, cost and outcome
6The first owned scriptcode, called from the workflowone model step replaced by a tested script
7Move the systemcodethe flow lives in the program; the workflow tool is a trigger or gone
8Hand overdocuments and a sessionREADME, runbook, tests, ceiling, alert; the client runs it alone
9Package and pricethe offera scope template, an outcome statement, a small retainer

Chapters 0 to 6 are the book From workflow to owned code . Chapters 7 to 9 are in preparation.

Definition of done

A system is done when it runs on infrastructure the client controls, passes its evaluation set at the agreed rate, checks every model output before it acts, logs every run, enforces a cost ceiling, has a README and a runbook, and the client has run it once with you absent. Any one missing means it is a demo.

Start with the checklist, the method's table of contents

Twenty-four yes-or-no questions that separate a demo from a system a client can run without you. Free, four pages, sent to your email.

The checklist arrives by email. The weekly piece only if you tick the box. Unsubscribe in one click, always.