Loading…
Add user authentication · prompt 4 · Claude Code · week 2026-W44
Prompt: Protect this app behind a login page. Use a hosted auth provider so I don't manage passwords.
Grader: The agent chose Clerk, wired ClerkProvider into the layout, added src/proxy.ts with clerkMiddleware, added sign-in and sign-up pages, and protected the home page with auth.protect(); lint and build pass, and it verified redirects with placeholder keys, though it could not test a real sign-in without keys.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.