## Lesson — Restricting dynamic imports to CLI command entry points

**Tags:** security, architecture, cli
**Scope:** packages/cli/src/commands/**/*.ts, !**/*.test.ts, !**/*.spec.ts

Restricting dynamic imports to CLI command entry points allows utility and adapter layers to use standard top-level imports. Overly broad security rules force developers into unnecessary workarounds that degrade code readability without improving safety.
