{
 "flight": {
  "id": 883244,
  "agent": "cursor",
  "state": "merged",
  "title": "Cursor/fix primary key default issue 5610",
  "number": 2560,
  "source": "aidev",
  "commits": 13,
  "debrief": "Cursor takes on a refactor in the moose repo covering ClickHouse PRIMARY KEY and ORDER BY handling, table update logic, and query generation. The change spans 27 files over 13 commits, with 2041 additions and 1938 deletions. It merges clean with zero change requests and one review comment, taking 6.49 hours to merge.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Cursor"
  ],
  "index_ok": true,
  "additions": 2041,
  "closed_at": "2025-07-14T21:01:47+00:00",
  "deletions": 1938,
  "merged_at": "2025-07-14T21:01:47+00:00",
  "opened_at": "2025-07-14T14:32:35+00:00",
  "task_type": "refactor",
  "body_chars": 2536,
  "confidence": "dataset",
  "updated_at": "2026-11-04T01:24:59.236904+00:00",
  "enriched_at": null,
  "body_excerpt": "This pull request introduces enhancements to the handling of `PRIMARY KEY` and `ORDER BY` clauses in ClickHouse table operations, ensuring better differentiation between the two and improving table update logic. The changes also include updates to query generation and table management functions.\n\n##",
  "review_count": 3,
  "files_changed": 27,
  "hours_to_merge": 6.49,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T01:24:59.236904+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 1,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "moose",
  "owner": "514-labs",
  "stars": 591,
  "license": "MIT",
  "full_name": "514-labs/moose",
  "primary_language": "Rust"
 },
 "author": {
  "login": "callicles",
  "name": "Nicolas Joseph",
  "github_profile": "https://github.com/callicles",
  "page": "https://agentriders.com/logs/author/callicles/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Nicolas Joseph"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  }
 ],
 "related": [
  {
   "agent": "cursor",
   "state": "merged",
   "title": "Fix terminal state after moose dev interruption",
   "number": 2561,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 3922,
   "deletions": 2263,
   "merged_at": "2025-07-27T19:49:02+00:00",
   "opened_at": "2025-07-14T15:07:31+00:00",
   "task_type": "fix",
   "files_changed": 40,
   "hours_to_merge": 316.69
  },
  {
   "agent": "cursor",
   "state": "merged",
   "title": "Add optional dependency management to prod command",
   "number": 2541,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 261,
   "deletions": 40,
   "merged_at": "2025-07-09T16:56:49+00:00",
   "opened_at": "2025-07-08T23:13:18+00:00",
   "task_type": "feat",
   "files_changed": 9,
   "hours_to_merge": 17.73
  },
  {
   "agent": "cursor",
   "state": "merged",
   "title": "Set up environment for Cursor Background Agent",
   "number": 2533,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 988,
   "deletions": 680,
   "merged_at": "2025-07-04T20:03:28+00:00",
   "opened_at": "2025-07-04T18:09:32+00:00",
   "task_type": "feat",
   "files_changed": 9,
   "hours_to_merge": 1.9
  }
 ],
 "pr_url": "https://github.com/514-labs/moose/pull/2560",
 "page": "https://agentriders.com/logs/514-labs/moose/2560/"
}