top-level-domain-nouns
a top-level folder naming a technical layer rather than a capability the product has
Agent checkadvisory by defaultbasecode
The argument
Top Level Is Domain Nouns
src/'s top level names domains (billing/, issues/, sync/) — capabilities the product has. Infrastructure capabilities are domains too: git/, config/, runState/ are valid module names. Navigation is by domain first, for humans and agents alike.
The proof
fail
export const getBranch = () => 'main';
pass
export const getCharge = () => 1;
Turn it down
Both lines go in your lightsout.config.json.
"standards-checks": { "top-level-domain-nouns": "advisory" }"standards-checks": { "top-level-domain-nouns": "off" }