{"agent":"claude","input":"Signup creates an active user without checking the address. Add email verification: an email_verified_at column on User, exposed in UserPublic, with an Alembic migration that backfills existing users as verified. Add a signed verification token in utils.py in the style of the password reset token, and give both tokens a purpose claim that each verifier checks. On signup, send a verification email with a link to FRONTEND_HOST when emails are enabled; add POST /users/verify-email taking the token and POST /users/resend-verification that answers the same message for any address. Refuse login for an unverified user with a 400 beside the Inactive user branch; users created by a superuser or by init_db are verified at creation. Add a frontend route that verifies from the link. Write tests for signup, the login refusal, verification, a reset token being refused, and resend. Prove the flow against a local Postgres and a local SMTP debug server with curl, then run prestart.sh, test.sh, ruff and mypy. Open a pull request quoting the mail, the curl answers and the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}