{"agent":"claude","input":"Add file uploads to this CodeIgniter 4 app. Read composer.json, app/Config/Routes.php, app/Config/Filters.php, app/Config/Security.php, app/Config/Validation.php, app/Controllers/Home.php, app/Controllers/BaseController.php, phpunit.dist.xml, the tests directory and .github/workflows/phpunit.yml first. Add an Uploads controller with a GET form using form_open_multipart, a POST action validated with the uploaded, max_size, ext_in and mime_in file rules, a move into WRITEPATH/uploads under getRandomName, a migration and model recording the stored name, the client name, the server-detected mime type and the size, and a GET download route that streams the file with its original name. Put the csrf filter on the POST route only. Make the size limit a config value read from env. Write a feature test for the form and the validation failure and a database test for the model; since is_uploaded_file cannot be satisfied from PHPUnit, start php spark serve in the sandbox and upload a real file and an oversized one with curl, quoting both responses. Run vendor/bin/phpunit and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}