<!-- Parent: ../AGENTS.md -->
<!-- Generated: 2026-07-02 | Updated: 2026-07-02 -->

# routes

## Purpose
Route configuration for framework/dev bundles. Application routes themselves are defined via `#[Route]` attributes on controllers (loaded by `config/routes.yaml`), not here.

## Key Files
| File | Description |
|------|-------------|
| `framework.yaml` | Framework-provided routes (e.g. error preview in dev) |
| `security.yaml` | Security bundle routes (logout, etc.) |
| `web_profiler.yaml` | Web Debug Toolbar / profiler routes (dev/test only) |

## For AI Agents

### Working In This Directory
- **To add an application route, use a `#[Route]` attribute on a controller in `src/Controller/`** — do not add it here.
- These files mostly import bundle-provided routes; touch them only when configuring the profiler or error controllers.
- List all routes with `php bin/console debug:router`.

## Dependencies

### External
- Symfony FrameworkBundle, SecurityBundle, WebProfilerBundle.

<!-- MANUAL: -->
