Skip to main content
A section is a named group of steps inside a Blueprint. Its title says what the steps do, and its description explains it in plain language, so a reader can follow the logic without reading every expression. Sections turn a Blueprint into a document that people read from top to bottom: the overview first, the details second.

How sections appear

Every Blueprint chapter in the Specification view starts with a structure diagram: the main flow with each section collapsed to one box. The box shows the section’s title, its description, and the number of steps directly inside it.
The structure diagram of the Quick Affordability Check: after the start, the sections Check the Income (1 step), Add Up Monthly Payments (2 steps), and Compare With Income (2 steps), each with its description, followed by the return step Check complete

Collapsed to one box each, the three sections of the Quick Affordability Check read like a table of contents.

Below the structure diagram, each section follows as its own numbered heading (for example 2.1 Check the Income), with its description and its full diagram. Sections can hold other sections, which are numbered one level deeper (1.1.1). The Contents sidebar lists all sections with the same numbers. In a diagram, a section is a white box with a grey border and the § icon. Collapse it to see it as a single step, expand it to see its logic.

What belongs in a section

A good section does one job: a group of steps that together produce one result. The Quick Affordability Check, for example, has three sections. Check the Income makes sure there is an income to work with. Add Up Monthly Payments adds up all loan payments. Compare With Income decides whether the new loan is affordable. Compare the description of Compare With Income in the example project: it names the formula, the 35% limit, and why the limit applies. A description such as Handles the calculation tells the reader nothing.

Section or Blueprint?

A section structures the logic inside one Blueprint. When a part of the logic should be tested on its own, or reused by other Blueprints, make it a Blueprint of its own and call it. In the example project, the scoring rules sit in the private Blueprint Calculate Score, which the Loan Application Scorecard calls. See Calling Other Blueprints.

Sections and errors

A section is also the unit for error handling. A section can catch an error raised by its steps and run its own handler instead of failing the whole run. See Error Handling.

Work with sections

The Lab Agent writes a title and a description for every section it builds. Run /review to check that your descriptions still match the logic after you change it.

What to do next