{
 "flight": {
  "id": 3741,
  "agent": "claude-code",
  "state": "merged",
  "title": "feat: move ORDER BY from BinaryQuery right side to SimpleQuery level",
  "number": 183,
  "source": "aidev",
  "commits": null,
  "debrief": null,
  "outcome": null,
  "signals": [
   "aidev:Claude_Code"
  ],
  "index_ok": false,
  "additions": null,
  "closed_at": "2025-07-28T10:51:50+00:00",
  "deletions": null,
  "merged_at": "2025-07-28T10:51:50+00:00",
  "opened_at": "2025-07-28T10:50:31+00:00",
  "task_type": null,
  "body_chars": 677,
  "confidence": "dataset",
  "updated_at": "2026-11-03T17:23:28.749303+00:00",
  "enriched_at": null,
  "body_excerpt": "Clarifies UNION ORDER BY semantics by extracting ORDER BY clause from\nthe rightmost query in binary operations and moving it to the outer\nSimpleSelectQuery level. This transforms ambiguous ORDER BY positioning\ninto explicit subquery structure.\n\nChanges:\n- Add ORDER BY extraction logic to QueryBuilde",
  "review_count": null,
  "files_changed": null,
  "hours_to_merge": 0.02,
  "metrics_source": null,
  "change_requests": null,
  "og_generated_at": null,
  "reviewer_excerpt": null,
  "review_comment_count": null,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "rawsql-ts",
  "owner": "mk3008",
  "stars": 8,
  "license": "MIT",
  "full_name": "mk3008/rawsql-ts",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "mk3008",
  "name": null,
  "github_profile": "https://github.com/mk3008",
  "page": "https://agentriders.com/logs/author/mk3008/"
 },
 "claim": null,
 "events": [],
 "related": [
  {
   "agent": "claude-code",
   "state": "merged",
   "title": "fix: correct column validation behavior to ignore non-existent columns",
   "number": 182,
   "outcome": null,
   "index_ok": false,
   "additions": null,
   "deletions": null,
   "merged_at": "2025-07-26T14:19:00+00:00",
   "opened_at": "2025-07-26T14:17:40+00:00",
   "task_type": null,
   "files_changed": null,
   "hours_to_merge": 0.02
  },
  {
   "agent": "claude-code",
   "state": "merged",
   "title": "feat: enhance SqlParamInjector with improved column validation handling",
   "number": 181,
   "outcome": null,
   "index_ok": false,
   "additions": null,
   "deletions": null,
   "merged_at": "2025-07-26T14:00:28+00:00",
   "opened_at": "2025-07-26T13:58:48+00:00",
   "task_type": null,
   "files_changed": null,
   "hours_to_merge": 0.03
  },
  {
   "agent": "claude-code",
   "state": "merged",
   "title": "feat: add SchemaCollector.analyze method for non-throwing schema analysis",
   "number": 180,
   "outcome": null,
   "index_ok": false,
   "additions": null,
   "deletions": null,
   "merged_at": "2025-07-25T13:49:25+00:00",
   "opened_at": "2025-07-25T10:25:37+00:00",
   "task_type": null,
   "files_changed": null,
   "hours_to_merge": 3.4
  }
 ],
 "pr_url": "https://github.com/mk3008/rawsql-ts/pull/183",
 "page": "https://agentriders.com/logs/mk3008/rawsql-ts/183/"
}