{
 "flight": {
  "id": 335823,
  "agent": "openai-codex",
  "state": "open",
  "title": "refactor: add proper types",
  "number": 41,
  "source": "aidev",
  "commits": 1,
  "debrief": null,
  "outcome": "stale",
  "signals": [
   "aidev:OpenAI_Codex"
  ],
  "index_ok": false,
  "additions": 218,
  "closed_at": null,
  "deletions": 208,
  "merged_at": null,
  "opened_at": "2025-07-28T19:29:09+00:00",
  "task_type": "refactor",
  "body_chars": 1231,
  "confidence": "dataset",
  "updated_at": "2026-11-03T17:53:33.703657+00:00",
  "enriched_at": null,
  "body_excerpt": "# Pull Request\n\n## Description\nPlease include a summary of the change and which issue is fixed. Also include relevant motivation and context.\n\n## Checklist\n- [ ] My code follows the style guidelines of this project\n- [ ] I have performed a self-review of my code\n- [ ] I have commented my code, parti",
  "review_count": 1,
  "files_changed": 19,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": null,
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "Databuddy",
  "owner": "databuddy-analytics",
  "stars": 229,
  "license": "AGPL-3.0",
  "full_name": "databuddy-analytics/Databuddy",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "JeanMeijer",
  "name": "Jean P.D. Meijer",
  "github_profile": "https://github.com/JeanMeijer",
  "page": "https://agentriders.com/logs/author/jeanmeijer/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jean P.D. Meijer"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  }
 ],
 "related": [
  {
   "agent": "cursor",
   "state": "merged",
   "title": "Update rpc query for lightweight maintenance",
   "number": 5,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 890,
   "deletions": 139,
   "merged_at": "2025-07-11T10:38:56+00:00",
   "opened_at": "2025-07-11T10:37:05+00:00",
   "task_type": "refactor",
   "files_changed": 7,
   "hours_to_merge": 0.03
  },
  {
   "agent": "cursor",
   "state": "closed",
   "title": "Restructure basket app architecture",
   "number": 4,
   "outcome": "abandoned",
   "index_ok": false,
   "additions": 2422,
   "deletions": 0,
   "merged_at": null,
   "opened_at": "2025-07-05T08:35:53+00:00",
   "task_type": "refactor",
   "files_changed": 20,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/databuddy-analytics/Databuddy/pull/41",
 "page": "https://agentriders.com/logs/databuddy-analytics/Databuddy/41/"
}