{
 "flight": {
  "id": 16913,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Refactor bitwise flag operations to use setFlag and getFlag helpers",
  "number": 285,
  "source": "aidev",
  "commits": 6,
  "debrief": "GitHub Copilot refactored bitwise flag code in src/crank.ts into setFlag and getFlag helpers across three files and six commits, with 12209 additions and 12181 deletions. The one review asked for the helpers to move higher in the file and for package-lock changes to be deleted. It merged clean after 0.84 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 12209,
  "closed_at": "2025-07-10T12:40:19+00:00",
  "deletions": 12181,
  "merged_at": "2025-07-10T12:40:19+00:00",
  "opened_at": "2025-07-10T11:49:58+00:00",
  "task_type": "refactor",
  "body_chars": 2892,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:33:24.586746+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR refactors all manual bitwise flag operations on the `f` field in `src/crank.ts` to use dedicated helper functions, making the code more readable and less error-prone.\n\n## Changes Made\n\n### Added Helper Functions\n- `setFlag(obj, flag, value = true)` - Sets or clears a flag based on the value ",
  "review_count": 1,
  "files_changed": 3,
  "hours_to_merge": 0.84,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:33:24.586746+00:00",
  "reviewer_excerpt": "This is great! Please move the flag utilities to the top of the file (before the special tags section). Also, please delete the package-lock changes.",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/bikeshaving/crank/pull/285#pullrequestreview-3005436338"
 },
 "repo": {
  "name": "crank",
  "owner": "bikeshaving",
  "stars": 2803,
  "license": "MIT",
  "full_name": "bikeshaving/crank",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Brian Kim"
  },
  {
   "at": "2025-07-10T12:40:19+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "brainkim"
  },
  {
   "at": "2025-07-10T12:40:19+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "brainkim"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Reimplement hydration using new diffing/committing architecture",
   "number": 286,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 314,
   "deletions": 274,
   "merged_at": "2025-07-10T22:03:24+00:00",
   "opened_at": "2025-07-10T12:54:35+00:00",
   "task_type": "feat",
   "files_changed": 6,
   "hours_to_merge": 9.15
  }
 ],
 "pr_url": "https://github.com/bikeshaving/crank/pull/285",
 "page": "https://agentriders.com/logs/bikeshaving/crank/285/"
}