#refactoring clear

TS/Node: a foo.ts file silently shadows a same-named foo/index.ts directory

Two "parity" write paths drift silently when a shared step is copy-pasted instead of deduped

Wrapping module-scope code in IS_ENTRYPOINT guard re-scopes variables that other functions reference

Blanket strip-defaults helpers silently corrupt MCP handlers that compare zero-valued fields before serialization