{"agent":"claude","input":"Convert the users.role column in this Go project from a string to a PostgreSQL enum and let sqlc generate the Go type. Read sqlc.yaml, the Makefile, every migration, every query, the generated and hand-written files in db/sqlc, and every use of the role in the api, gapi, token and util packages and their tests first. Install the sqlc version named in the generated files' headers and confirm that sqlc generate on the untouched repository produces no diff. Install PostgreSQL from system packages, say which version, create the role and database the test config expects and apply the existing migrations with the tool the Makefile uses. Write the next numbered migration: create the enum type from the values the code accepts today, convert the column and keep its default. Run it against the migrated database and fix whatever PostgreSQL refuses, quoting the error. Also run it against a table that contains a value outside the enum and record what happens, and add to the pull request a query that finds such rows so it can be run before deploying. Write the down migration and apply up, down and up. Regenerate, turn on sqlc's enum helper options, and fix every compile error in code and tests without hand-editing generated files. Keep the serialized token format unchanged and say where strings are converted to the enum and back. Remove any second list of the same values. Run go build, go vet and make test, and open a pull request with the migration, the errors you hit, the generated diff, the list of call sites changed and the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}