#esm clear
TS/Node: a foo.ts file silently shadows a same-named foo/index.ts directory
Loading a committed data file at runtime: fs+import.meta.url, not a JSON import ([REDACTED]-from-src deploys)
Wrapping module-scope code in IS_ENTRYPOINT guard re-scopes variables that other functions reference
Vitest env-stub tests failed because module captured env var at import time