— <Module / area>

One paragraph, maximum four sentences, no jargon: what this automation decides and what it writes back. This is what a CEO reads before anything else.

Rules & IDs

Rule ID Rule Reading
LI-BL-XXX-000 Business logic

Three readings of the same rules. Nothing is duplicated between them. Printing gives you the business reading followed by the diagrams.

Written for the business. No field IDs, no script names, no system jargon.

The six prompts below are required, in this order, and npm run check warns when one is missing. They are the questions every reader arrives with; answering them in a fixed order means nobody has to hunt.

What it does. One paragraph. The decision this makes and the value it writes back.

Why it exists. The commercial or operational reason, and what it costs when it goes wrong — the cost is usually the real reason the rule exists.

Who it affects. Teams, customers, carriers, suppliers. Name who notices first.

When it runs. Trigger, timing, frequency, and what makes a record eligible.

How it decides. The whole logic at a high level, in five or six bullets — enough that a reader can predict the outcome for a normal case without opening a rule below.

  • <first thing it looks at, and what that settles>
  • <the next decision, and the usual answer>

Outcomes. The full list of ways this can end, including the ones that write nothing.

LI-BL-XXX-000

# If… Then… Because
1
2

Field registry

Every field this automation reads or writes, by the name it carries in the system — what it means, and what changes when it changes. Field ids are in the developer reading.