{"agent":"codex","input":"A Jira bug ticket was created; its key and summary follow this prompt. Use the Atlassian connection to read the ticket, its description and all comments. Find the cause in the issue-assignment jobs: SendSingleTriageEmailJob, SendDailyTriageEmailJob, IssueAssigner in app/models/issue_assigner.rb and Issue#valid_for_user?. Start Postgres, copy config/database.ci.yml to config/database.yml and run RAILS_ENV=test bundle exec rake db:create db:schema:load. Reproduce the bug with a failing Minitest test in test/jobs/ or test/unit/ in the existing style, with no live GitHub calls. Fix the code and run bin/rails test and bundle exec standardrb until both pass. Open a pull request with the ticket key in its title and branch name, then comment on the ticket with the pull request link and the cause in one sentence. If you cannot reproduce it, comment with what you tried and open no pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}