{"agent":"claude","input":"In databases/postgres, write tests with actix_web::test for every handler. Read src/main.rs, src/db.rs, src/errors.rs and the sql/ files first and list every response each handler can return: success, extractor rejections such as malformed JSON or a missing field, a duplicate username, and a database that cannot be reached. Start Postgres in the sandbox, create the user and database and apply sql/schema.sql the way the README describes, and run the tests against that real database, not a mock. Build the App for tests from the same setup function main uses. Run cargo test -p db-postgres and cargo clippy --tests -- -D warnings until both pass. The workspace CI runs cargo test with no Postgres server, so make sure the database tests do not break it, and say in the pull request how you handled that. Report anything in the handlers that panics instead of returning an error. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}