{"agent":"claude","input":"Find foreign keys with no index and add them. Read every migration in priv/repo/migrations in order and list each references() column with whether an index starts with it. For each one missing, find the queries and on_delete cascades that use it in lib/. Read fly.io/*/fly.toml and docker/scripts/on.deploy to see how migrations run. Write one migration that creates the missing indexes concurrently with @disable_ddl_transaction and @disable_migration_lock and named indexes. Install Postgres, migrate, roll back and migrate again, show EXPLAIN for each lookup, run mix test, and open a pull request with the table and the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}