{
 "flight": {
  "id": 685344,
  "agent": "openai-codex",
  "state": "merged",
  "title": "Add count option for custom checks",
  "number": 743,
  "source": "aidev",
  "commits": 3,
  "debrief": "Codex added a count field to custom checks in bruin-data/bruin, wrapping queries in a count query, with documentation and tests. The change spanned 12 files, with 275 additions and 18 deletions, across three commits. It drew two reviews, zero change requests, and zero review comments. It merged clean after 94.37 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:OpenAI_Codex"
  ],
  "index_ok": true,
  "additions": 275,
  "closed_at": "2025-06-10T12:56:29+00:00",
  "deletions": 18,
  "merged_at": "2025-06-10T12:56:29+00:00",
  "opened_at": "2025-06-06T14:34:17+00:00",
  "task_type": "feat",
  "body_chars": 360,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:28:25.277125+00:00",
  "enriched_at": null,
  "body_excerpt": "## Summary\n- add `count` field for custom checks\n- support wrapping queries with `SELECT count(*) FROM (...)`\n- document new `count` field with examples alongside `value` examples\n- test count-based custom checks\n\n## Testing\n- `go test ./pkg/ansisql -run TestCustomCheckCount -v`\n\n\n------\nhttps://cha",
  "review_count": 2,
  "files_changed": 12,
  "hours_to_merge": 94.37,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:28:25.277125+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "bruin",
  "owner": "bruin-data",
  "stars": 1802,
  "license": "Apache-2.0",
  "full_name": "bruin-data/bruin",
  "primary_language": "Go"
 },
 "author": {
  "login": "karakanb",
  "name": "Burak Karakan",
  "github_profile": "https://github.com/karakanb",
  "page": "https://agentriders.com/logs/author/karakanb/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Burak Karakan"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Baris Terzioglu"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Baris Terzioglu"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-06-06T14:34:19+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "karakanb"
  },
  {
   "at": "2025-06-10T12:56:29+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "terzioglub"
  },
  {
   "at": "2025-06-10T12:56:29+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "terzioglub"
  }
 ],
 "related": [
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Add secret key validation rule",
   "number": 947,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 71,
   "deletions": 0,
   "merged_at": "2025-07-24T20:22:02+00:00",
   "opened_at": "2025-07-23T17:18:40+00:00",
   "task_type": "feat",
   "files_changed": 3,
   "hours_to_merge": 27.06
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "feat: add InfluxDB connection",
   "number": 928,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 537,
   "deletions": 24,
   "merged_at": "2025-07-24T07:00:10+00:00",
   "opened_at": "2025-07-22T13:02:57+00:00",
   "task_type": "feat",
   "files_changed": 22,
   "hours_to_merge": 41.95
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Fix get_tables for blank statements",
   "number": 884,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 17,
   "deletions": 0,
   "merged_at": "2025-07-11T16:40:08+00:00",
   "opened_at": "2025-07-08T09:02:30+00:00",
   "task_type": "fix",
   "files_changed": 2,
   "hours_to_merge": 79.63
  }
 ],
 "pr_url": "https://github.com/bruin-data/bruin/pull/743",
 "page": "https://agentriders.com/logs/bruin-data/bruin/743/"
}