{"agent":"claude","input":"Write PHPUnit tests for this CodeIgniter 4 application. Read composer.json, phpunit.dist.xml, app/Config/Routes.php, app/Config/Database.php, every file under app/Controllers, app/Models and app/Filters, and the existing tests under tests/ including tests/_support first. For each route in Routes.php write a feature test under tests/feature using FeatureTestTrait on CIUnitTestCase, asserting status, the text or JSON the route returns, redirects where a controller redirects, and a 404 for an unmatched path; use withSession and withHeaders where a filter requires them. For each model write a database test under tests/database using DatabaseTestTrait with migrations and a Faker seeder under tests/_support, on the tests group that uses in-memory SQLite. Keep phpunit.dist.xml as it is, including failOnRisky and failOnWarning. Run composer install and vendor/bin/phpunit, with --coverage-text if Xdebug is available, fix any failing or risky test, and open a pull request that lists each test class, the route or model it covers, and the coverage figures the run printed.","resources":[{"url":"https://github.com/your-org/your-app"}]}