Adding rate limiting to an existing API without mapping every route, middleware chain, and configuration surface leaves gaps. Some routes get protected. Others don’t. Limits set in one place conflict with defaults defined elsewhere. Build reads the full routing structure through the knowledge graph, identifies every entry point that needs a limit, and generates a specification covering every file to create or modify before writing a line. Request:Documentation Index
Fetch the complete documentation index at: https://docs.potpie.ai/llms.txt
Use this file to discover all available pages before exploring further.
- Every public route and its position in the middleware stack
- Existing middleware configuration files and where limits are currently defined
- Auth-specific routes that need a separate, stricter policy
- Any tests covering route behavior that need updating
- Rate limiting middleware wired into the existing middleware chain
- Per-route and per-group limit configuration matching the existing config structure
- Updated auth route handlers with the stricter policy applied
- Test coverage reflecting the new limiting behavior

