{"agent":"claude","input":"Add rate limiting to this CodeIgniter 4 application using the framework's Throttler service, with no new Composer package. Read composer.json, app/Config/Filters.php, app/Config/Routes.php, app/Config/Cache.php, app/Config/Services.php, tests/unit/HealthTest.php, phpunit.dist.xml and .github/workflows/phpunit.yml first. Create app/Filters/Throttle.php with php spark make:filter, implement before() so it keys the bucket on the client IP address, allows 60 requests per minute, and on a failed check returns a 429 response with a Retry-After header from getTokenTime() and a short JSON body. Register the alias in Config\\Filters and apply it in $globals before, and explain in the pull request how to scope it to api/* with $filters instead. Write tests/unit/ThrottleFilterTest.php with FilterTestTrait and the framework's MockCache: 60 calls pass, the 61st returns 429 with Retry-After, and the bucket refills after the cache is reset. Run vendor/bin/phpunit and open a pull request that also says which cache handler a multi-server deployment needs.","resources":[{"url":"https://github.com/your-org/your-app"}]}