{"agent":"claude","input":"Add CORS to this aiohttp app with aiohttp-cors. Read shortify/main.py, shortify/routes.py, shortify/views.py, shortify/utils.py, config/config.yml, requirements.txt, setup.py, pytest.ini, tests/conftest.py and tests/test_shortify.py first. Add an optional cors list of allowed origins to the trafaret config schema and a commented example to config.yml. After the routes are registered, set up aiohttp_cors with one ResourceOptions per configured origin that allows the Content-Type header and the POST method, and enable it on the shortify route only; leave the page and the redirect route same-origin. Skip the setup when the list is empty. Add tests for an allowed preflight, an allowed POST and a refused preflight. Run pytest and flake8, keep filterwarnings = error, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}