Tell the agent where it will run
Coding agents default to an Express or Python backend with its own login. Paste this into the project's instructions file (CLAUDE.md, .cursor/rules, AGENTS.md) before asking for the app.
The last line matters. Brod tells the app each person's role (by default owner, editor or viewer), but it is the app's server code that has to refuse a viewer who tries to change data.
This app will run on Brod.
- Front end: static files (a build output folder is fine).
- Back end: one _worker.js exporting fetch(request, env). No Express, no long-running server.
- Data: env.DB (SQLite: query/run/batch), env.KV, env.FILES. Secrets: env.NAME.
- The signed-in user arrives in x-brod-user-email and x-brod-role headers. Do not build a login.
- Brod passes the role; the server code decides what each role may change.