Verify
Full end-to-end check that the current code works. Run before committing non-trivial changes.
The script will:
- Stop any running dev server (a production build breaks a running dev server)
- Run the production build (
pnpm build) - Start a fresh dev server in background
- Test banner generation (POST /api/banner/standard) for each username (default: nabondance)
- Stop the dev server and print a PASS/FAIL summary
Usage: invoke without arguments for the default username, or pass one or more usernames.
Execute from the repository root: bash scripts/agent/verify.sh "$@"