One Concern Per File
Kind: principle
Layer: Structural Core
Record: architecture:one-concern-per-file
Severity: mandatory
Scope: file
Canonical: Ontology
A design rule that each file plays exactly one declared role, and a file that plays two is split.
Listed in Architecture principles, after Sideways Overflow and before Narrowest Concern.