In src/cli/index.ts, nearly every command handler repeats the same initialization sequence: loadConfig() → getDatabase() → runMigrations() → createVectorTable(). This violates DRY and makes maintenance error-prone.
Suggested fix: Extract a shared initializeApp() helper or use a middleware/decorator pattern to handle setup once.