Architecture decisions¶
This section records the important architecture decisions behind stepline as Architecture Decision Records (ADRs). Each record explains one decision: the situation that made it necessary, what was decided, and what follows from it.
Why ADRs?
Code shows what was built, but rarely why. ADRs keep the reasoning next to the project, so later changes can build on it instead of guessing. They are short, written once, and never rewritten. A changed decision gets a new ADR that supersedes the old one.
Decisions¶
| ADR | Title | Status |
|---|---|---|
| 0001 | Record Architecture Decisions as ADRs | Accepted |
| 0002 | Python 3.15 as Minimum Version | Accepted |
| 0003 | src Layout With uv and uv_build | Accepted |
| 0004 | Layered Architecture With import-linter | Accepted |
| 0005 | Distribution and Import Name | Accepted |
| 0006 | Automated Releases | Accepted |
| 0007 | Zensical for Documentation | Accepted |
| 0008 | Assertion API Design | Accepted |
Lifecycle¶
Every ADR has a status. A new record starts as proposed and becomes accepted once the decision is made. Accepted records are not edited afterwards: if a decision changes, a new ADR replaces it, and the old one is marked as superseded.
stateDiagram-v2
direction LR
[*] --> Proposed
Proposed --> Accepted
Proposed --> Rejected
Accepted --> Superseded: replaced by a newer ADR
Accepted --> Deprecated: no longer relevant
Writing a new ADR¶
- Copy the template into a new file
docs/adr/NNNN-short-title.md, with the next free four-digit number, for example0008-step-semantics.md. - Fill in the sections and set the status to Proposed.
- Add the record to the table above and to the
navinzensical.toml. - Once the decision is made, set the status to Accepted.