{"agent":"codex","input":"The GitHub Actions workflow on this branch failed; the workflow_run event is at the end of this prompt. Read the failed job's log with gh run view <run id> --log-failed, name the job that failed (test, lint, security or database-consistency), and quote the failing example, standardrb offense or Brakeman warning. Use the Ruby in .ruby-version, install libvips, copy the test credentials from .github/workflows/check/ and config/database.yml.sample into config/ as the workflow does, run bin/rails db:schema:load db:migrate, and reproduce the failure with the same command and the workflow's RUBYOPT, narrowed to the failing spec first. Fix the cause in the application code (change a test only if the test is wrong, and say so), then run bundle exec rspec, bundle exec standardrb and bundle exec brakeman --ensure-ignore-notes until all three pass, and open a pull request against the failing branch that quotes the error it fixed.\n\nEvent: <workflow_run payload>","resources":[{"url":"https://github.com/your-org/your-app"}]}