{"agent":"codex","input":"Migrate this SQLAlchemy app from MySQL to PostgreSQL and open a pull request. Read pyproject.toml, core/config.py, core/db/session.py, migrations/env.py, alembic.ini, every file under migrations/versions, tests/conftest.py, tests/support/test_db_coordinator.py, docker/docker-compose.yml, docker/init.sql, the Makefile and the README first, and list every place that names MySQL, a MySQL driver, port 3306 or MySQL-only SQL. Docker is not available: install PostgreSQL and Redis from system packages and create the role and both databases. With Poetry, remove aiomysql and pymysql and add asyncpg and a synchronous PostgreSQL driver, keeping the lockfile in step. Change the URLs in core/config.py. Replace the string edits that turn the async URL into a sync one with a single helper used by migrations/env.py and the test database helper. Fix the name clash in migrations/env.py so offline mode works, and include the output of alembic upgrade head --sql. Run alembic upgrade head, downgrade base and upgrade head again on an empty database and describe the resulting table. In the test helper, quote table names through the dialect and restart identities on truncate. Rewrite the compose service and init.sql for PostgreSQL and update the README; say that the compose file was edited and not started. Run make test. Then check what changes silently: write tests for case sensitivity of the unique columns and of lookups by email, report the result with the options, and report how timestamps are stored; do not change behaviour for either without being asked. Do not migrate data. The pull request lists each file and why, the command output, and the open decisions.","resources":[{"url":"https://github.com/your-org/your-app"}]}