Encore Code Review Instructions When reviewing Encore.ts code, check for these common issues: Critical Issues 1. Infrastructure Inside Functions 2. Using require() Instead of import 3. Wrong Service Import Pattern 4. Missing Error Handling 5. SQL Injection Risk Warning Issues 6. Missing Type Annotations 7. Exposed Internal Endpoints 8. Non-Idempotent Subscription Handlers 9. Secrets Called at Module Level Review Checklist - [ ] All infrastructure at package level - [ ] Using ES6 imports, not require() - [ ] Cross-service calls use - [ ] Proper error handling with APIError - [ ] SQL uses templ…