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

# controllers

## Purpose
Local Stimulus controllers for AssetMapper. Contains the default framework stubs only — **no project-specific Stimulus controllers are actually used** (the live site uses vanilla JS in `public/scripts/`).

## Key Files
| File | Description |
|------|-------------|
| `hello_controller.js` | Default Stimulus "hello" example stub |
| `csrf_protection_controller.js` | Symfony-provided CSRF protection controller |

## For AI Agents

### Working In This Directory
- Controllers here are registered via `assets/controllers.json` / `assets/bootstrap.js` and connected in templates with `data-controller="..."`.
- Before adding a Stimulus controller, confirm the intent: the existing frontend does interactivity with plain JS in `public/scripts/`. Match the codebase unless deliberately introducing Stimulus.

## Dependencies

### External
- `@hotwired/stimulus`.

<!-- MANUAL: -->
