{"agent":"claude","input":"Replace the hardcoded users in this Yii2 basic application with a database table. Read composer.json, models/User.php, models/LoginForm.php, controllers/SiteController.php, views/site/login.php, config/web.php, config/console.php, config/db.php, config/test.php, config/test_db.php, requirements.php, codeception.yml, the three suite files, every test that references User, tests/Support/bin/yii, docker-compose.yml and the workflows under .github first. Install PHP 8.2 or later with pdo_sqlite and pdo_mysql and Composer if the sandbox lacks them, and run composer install without committing the cookie validation key it writes into config/web.php. Add a migration creating a user table with id, unique username, password_hash, auth_key, unique access_token, created_at and updated_at, and a second migration inserting the two existing accounts with exactly the ids, hashes, auth keys and access tokens from the current array. Rewrite models/User.php as an ActiveRecord that implements IdentityInterface, keeps findByUsername case-insensitive, keeps passwordHash, authKey and accessToken readable under those names, generates an auth key on insert and has a setPassword method. Do not change LoginForm's public behaviour. Make the test suites run against a database that needs no server, load the two users through an ActiveFixture, and apply migrations to it as part of composer tests. Existing assertions must pass unchanged; add tests for a case-insensitive lookup, an unknown token and setPassword. Update the hint on the login page. Run composer tests, composer static and composer cs. Open a pull request that explains the test database choice, lists every file changed and quotes the three outputs.","resources":[{"url":"https://github.com/your-org/your-app"}]}