feat: add error handling to player creation and update gitignore for agent

This commit is contained in:
Erik Silva
2026-01-24 14:18:40 -03:00
commit 416bd83ea7
93 changed files with 16861 additions and 0 deletions

10
.agent/memories.md Normal file
View File

@@ -0,0 +1,10 @@
# Project Memories & Security Notes
## Security
- **Admin Seed Route**: The route `/api/admin/seed` MUST remain restricted to `development` environment only. It allows creating a Super Admin without authentication.
- **Middleware Protection**: Admin API routes (`/api/admin/*`) are protected by `admin_session` cookie verification. Failed verification returns 401 JSON.
## Repetitivas
- Sempre suba o container apos alteracaoes!
- Sempre verifique o terminal atrás de problemas de problemas no terminal