{"agent":"claude","input":"Add HTTP response caching to this Slim 4 app with slim/http-cache. Read composer.json, public/index.php, app/settings.php, app/dependencies.php, app/middleware.php, app/routes.php, src/Application/Actions/Action.php, the user actions, the in-memory repository, tests/TestCase.php and the existing action tests first. Require slim/http-cache, register the Cache middleware in app/middleware.php with a type and max age read from a new cache entry in app/settings.php (default public and 0), register CacheProvider in the container, and set a strong ETag from a hash of the encoded payload in Action::respond for 200 responses only. Add tests that a second request with If-None-Match answers 304 with a Cache-Control header and that an error response carries no ETag. Run phpcs, phpstan and phpunit until all three pass, and open a pull request that quotes their output and shows the headers of one cached response.","resources":[{"url":"https://github.com/your-org/your-app"}]}