Diagrams¶
Architecture diagrams in the docs, checked against [tool.inwards] (ADR-045). Opt-in, and warnings, so docs drift doesn't block an agent.
| Code | Name | What it flags | On |
|---|---|---|---|
| INW017 | diagram-unknown-name |
A node in a marked Mermaid or PlantUML architecture diagram that names no declared layer or context, or whose quoted label (a PlantUML alias's module) matches no module | opt-in |
| INW018 | diagram-forbidden-edge |
A solid arrow in a marked Mermaid or PlantUML architecture diagram that draws an import the config forbids: outward or between sibling layers, between contexts without depends-on, or into a module that isn't public |
opt-in |
| INW019 | diagram-missing-dependency |
An import in the code between two layers or contexts a marked Mermaid or PlantUML architecture diagram draws, with no arrow (for layers, no path of arrows) for it (whole-project runs) | opt-in |
The rules index has the rules of every category in one list you can search, filter and sort.