{"agent":"claude","input":"Add cursor pagination to the users list in this Slim 4 API. Read composer.json, app/routes.php, app/repositories.php, src/Application/Actions/Action.php, src/Application/Actions/ActionPayload.php, src/Application/Actions/User/ListUsersAction.php, src/Domain/User/UserRepository.php, src/Infrastructure/Persistence/User/InMemoryUserRepository.php, tests/TestCase.php, tests/Application/Actions/User/ListUserActionTest.php and .github/workflows/tests.yml first. Add findPage(int $limit, ?int $afterId): array to the UserRepository interface and implement it in InMemoryUserRepository, sorted by id and returning limit plus one rows; keep findAll. Make ListUsersAction read limit (default 20, max 100) and after (an opaque base64url cursor holding the last id) from the query string, throwing HttpBadRequestException on anything invalid, and give ActionPayload an optional meta array emitted only when set, carrying nextCursor when another page exists. Keep the existing response shape otherwise. Add PHPUnit cases in the existing style for the first and last page, the cap and a bad cursor, and repository cases for ordering and boundaries. Run phpcs, phpstan and phpunit as the workflow does, start the app with composer start, walk /users?limit=2 to the end and paste the responses into the pull request. Change nothing in ViewUserAction.","resources":[{"url":"https://github.com/your-org/your-app"}]}