{"agent":"claude","input":"Add account lockout after repeated failed logins to this Express app. Read the login route, the user data access object, the config files and the test setup first, and say how a login fails today. Store a failed-attempt counter and a lock-until time on the user document with atomic updates, refuse login while locked before comparing the password, reset both on success, and put the attempt limit and lockout window in the config with the other settings. Render one generic error for wrong password, unknown user and locked account, and log the lock server-side with the user name and expiry. Write mocha unit tests around a fake users collection so they need no database, make sure the existing test command runs them, run the tests and lint, and open a pull request that links the Linear issue and explains every new field.","resources":[{"url":"https://github.com/your-org/your-app"}]}