Volume 0 — Foundations of Automation Engineering with Python
The CodeCraftX Discipline and the Foundation Tier
About this volume
Volume 0 is prerequisite reading for the rest of the series.
Every later volume references the CodeCraftX persona, the error
vocabulary, the Aspects pattern, the explicit-return convention,
the configuration model, and the application-identity machinery
introduced here. Without Volume 0, every later volume would have
to re-explain the foundations.
Who it is for
Any Python engineer building a serious automation platform — SDETs, platform engineers, SREs, integration engineers. This is the book a senior engineer hands a new hire on day one.
Source material
The volume draws from the foundation tier of the codecraftai-*
portfolio:
codecraftai-foundations— one distribution holding the contract layer (ccai.interfaces), the exception vocabulary and enhanced tracebacks (ccai.errors), the waiting primitives (ccai.waiting), the minimalAspectscarrier (ccai.aspects) and base classes such asFreezable(ccai.bases). Until 2026-09-02 these were the separatecodecraftai-interfaces,codecraftai-errorsandcodecraftai-waitingpackages; import paths did not change, and the chapters below still describe them by their subpackage names.codecraftai-this-app— application identity + persona variablescodecraftai-extension— factory + plug-in machinerycodecraftai-runtime— runtime variables + well-known pathscodecraftai-configuration— config loading + multi-sourcecodecraftai-credentials— typed credential vocabularycodecraftai-dataprofiles— connection profile classescodecraftai-storage-database— DB scaffoldingcodecraftai-xmodules— xformatting, ximport, xcollections, etc.
Contents
- Chapter 1 — The CodeCraftX Philosophy
- Chapter 2 — Coding Standards as a Tool, Not a Style Guide
- Chapter 3 — The Error Vocabulary
- Chapter 4 — Interfaces and Contracts
- Chapter 5 — Waiting with Rich Diagnostics
- Chapter 6 — Application Identity and Presence
- Chapter 7 — Extension and Factory Machinery
- Chapter 8 — Runtime Variables and Well-Known Paths
- Chapter 9 — Configuration Loading
- Chapter 10 — Credentials, Data Profiles, Storage Scaffolding
Part of The Code Craft AI Books.