{"agent":"codex","input":"The GitHub Actions run 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 and matrix entry that failed, and quote the failing output. Reproduce it in the sandbox with the job's own command from .github/workflows/ci.yml: scripts/gofmt.sh and scripts/coverage.sh for the Test job with the Go version that failed, golangci-lint v1.61 for Lint, or scripts/run-api-tests.sh for the API Integration Test. Run the failing package or test alone first, check for a stale data/gorm_test.db before blaming the code, then fix the cause in the handlers, models or middleware. Do not skip, mark flaky or delete a failing test; if a test itself is wrong, change it and say why. Rerun scripts/gofmt.sh, scripts/coverage.sh and golangci-lint run until they 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"}]}