diff --git a/AGENTS.md b/AGENTS.md index 97fdac4..ef4fd24 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -107,6 +107,10 @@ Local ports: - Use `npm run test:integration` only when backend/API behavior is touched and PM2/MariaDB are available. - `npm run build` runs unit tests before `react-scripts build`. +- After any change that affects the production site or a PM2-served workflow, + also verify the live site at `https://dwroller.alw.dk` in a browser after + `npm run build:fast` or the equivalent deployment step. Treat local tests and + builds as incomplete until the live flow has been checked. - If tests fail because MariaDB, PM2, Ollama, or local services are unavailable, report that explicitly rather than masking the failure. diff --git a/DEVELOPMENT_GUIDE.md b/DEVELOPMENT_GUIDE.md index a23a9c9..00c4dfb 100644 --- a/DEVELOPMENT_GUIDE.md +++ b/DEVELOPMENT_GUIDE.md @@ -209,7 +209,13 @@ pm2 list pm2 logs deathwatch-server ``` -### 4. Verify Deployment +### 4. Verify The Live Site +After a production build and PM2 reload, open `https://dwroller.alw.dk` and +check the exact flow you changed on the deployed site. A successful local build +or PM2 reload is not enough by itself; live-site verification is required for +changes that affect production behavior. + +### 5. Verify Deployment ```bash # Test frontend accessibility curl http://localhost:3000