{"agent":"claude","input":"Add JWT authentication to this CodeIgniter 4 app with firebase/php-jwt. Read composer.json, app/Config/Routes.php, app/Config/Filters.php, app/Config/Database.php, env, phpunit.dist.xml, the tests directory and .github/workflows/phpunit.yml first. Add a CreateUsers migration (id, unique email, password_hash, timestamps), a UserModel that hashes a plain password in beforeInsert, an Api\\Auth controller with a login action that validates email and password from JSON, verifies the hash and returns a HS256 token with sub, iat and exp signed by jwt.secret from .env, with the lifetime in a new Config\\Jwt. Add an app/Filters/JwtAuth filter aliased as jwt that decodes the Bearer token and answers 401 JSON on a missing, expired or invalid one, and apply it with a route group around a sample GET api/me, keeping POST api/login outside it. Write feature tests on the tests database group with the migration enabled: login returns a token, api/me works with it, no header is 401, a token signed with another secret is 401. Set jwt.secret for tests in phpunit.dist.xml, add a commented jwt.secret line to env, run vendor/bin/phpunit until green, and open a pull request that quotes the test output and lists every new file.","resources":[{"url":"https://github.com/your-org/your-app"}]}