{"agent":"claude","input":"Refactor this Elixir codebase: move the context modules' repeated Ecto queries into query modules, one module per schema, named like the existing Hexpm.Repository.Package.SearchQuery. Each query function takes and returns an Ecto.Query so callers can compose them. Do not change what any query returns. Work in small commits, one schema per commit, deleting the inline copies in the same commit. After each commit run mix compile --warnings-as-errors, mix format --check-formatted and mix test against a local PostgreSQL. If a step cannot keep the tests green, stop at the last green commit and write a summary of what blocked it. Open a pull request listing each commit with the schema it covered and any query you deliberately left inline.","resources":[{"url":"https://github.com/your-org/your-phoenix-app"}]}