Loading…
Add user authentication · prompt 1 · Codex CLI · week 2026-W44
Prompt: Add user sign-up and login to this Next.js app. Protect the /dashboard route. Install whatever you need and make `npm run build` pass.
Grader: The agent hand-rolled sign-up, login, logout, and /dashboard protection on top of better-sqlite3 with scrypt-hashed passwords and revocable cookie sessions rather than an auth vendor package; it hit a lint error and an invalid-credentials runtime bug, fixed both, and its own scripted flow tests plus npm run build passed.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.