{"agent":"claude","input":"Add logout that revokes the access token. Read backend/app/core/security.py, backend/app/api/deps.py, backend/app/api/routes/login.py, backend/app/models.py, backend/app/alembic/env.py, backend/tests/api/routes/test_login.py, frontend/src/hooks/useAuth.ts and frontend/src/main.tsx first. Add jti and iat claims to the token, a RevokedToken table with an autogenerated Alembic migration, a POST /login/logout route that stores the token's jti and deletes expired rows, and a check in get_current_user that refuses a revoked token with the existing 403 message. Tokens without a jti stay valid until they expire; say so in the docstring. Regenerate the frontend client and call the route from logout in useAuth.ts. Add tests for logout, a second logout and an old token, run scripts/test.sh and scripts/lint.sh, quote the results and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}