{"agent":"claude","input":"Add input validation to this Slim 4 API. Read composer.json, public/index.php, app/routes.php, app/dependencies.php, src/Application/Actions/Action.php, ActionError.php, ActionPayload.php, src/Application/Actions/User/ViewUserAction.php, src/Application/Handlers/HttpErrorHandler.php, tests/TestCase.php, tests/Application/Actions/User/ViewUserActionTest.php and the CI workflow first. Add a 422 HttpUnprocessableEntityException and map it in HttpErrorHandler to the existing ActionError::VALIDATION_ERROR type. Add resolveIntArg and validateFormData helpers on the abstract Action, using filter_var with FILTER_VALIDATE_INT and a rule array, and use resolveIntArg in ViewUserAction so /users/abc, /users/1.5, /users/1abc, /users/-1 and an overflow answer 422 with a message naming the argument instead of being cast to an id. Keep the route placeholder unconstrained and explain why in the PR. Keep everything PHP 7.4 compatible. Add PHPUnit tests in the style of ViewUserActionTest for each malformed id, assert the repository is not called, and add a unit test for validateFormData over a stub action. Run phpunit, phpstan and phpcs and include the output. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}