A table of contents is the highest narrative level in code: it orders chapters along a story arc and exposes the full scope of a workflow. section 2.3.4
Use the hierarchy to keep responsibilities readable:
- Actions handle low-level mechanics. section 2.3.4
- Scenes group focused actions into a meaningful moment with one dominant plot. section 2.3.4
- Chapters combine aligned scenes around one coherent business goal. section 2.3.4
- The table-of-contents level orders those chapters as the workflow’s high-level overview. section 2.3.4
Completing user registration
A table-of-contents-level method creates a pending user, attempts confirmation-email delivery, and records delivery failure when necessary.
