{
 "flight": {
  "id": 376020,
  "agent": "openai-codex",
  "state": "merged",
  "title": "Implement account migration instruction",
  "number": 354,
  "source": "aidev",
  "commits": 11,
  "debrief": "The agent implemented an account migration instruction, adding a migrated_from field, removing the old authority method, and dropping account flag instructions across 19 files and 11 commits. Five reviews ran with zero change requests and three review comments. The reviewer asked \"why we deprecate all user account flags though?\" It merged clean after 49.78 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:OpenAI_Codex"
  ],
  "index_ok": true,
  "additions": 496,
  "closed_at": "2025-06-12T21:57:41+00:00",
  "deletions": 473,
  "merged_at": "2025-06-12T21:57:41+00:00",
  "opened_at": "2025-06-10T20:10:37+00:00",
  "task_type": "feat",
  "body_chars": 697,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:22:55.920938+00:00",
  "enriched_at": null,
  "body_excerpt": "## Summary\n- add migrated_from field on `MarginfiAccount`\n- implement `transfer_to_new_account` instruction and remove old `transfer_account_authority` method\n- update account fixture and tests for new migration logic\n- remove the set/unset account flags instructions, since all user account flags ha",
  "review_count": 5,
  "files_changed": 19,
  "hours_to_merge": 49.78,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:22:55.920938+00:00",
  "reviewer_excerpt": "Looks good, just wanted to ask why we deprecate all user account flags though?",
  "review_comment_count": 3,
  "reviewer_excerpt_url": "https://github.com/mrgnlabs/marginfi-v2/pull/354#pullrequestreview-2921171705"
 },
 "repo": {
  "name": "marginfi-v2",
  "owner": "mrgnlabs",
  "stars": 308,
  "license": "Apache-2.0",
  "full_name": "mrgnlabs/marginfi-v2",
  "primary_language": "Rust"
 },
 "author": {
  "login": "jgur-psyops",
  "name": "Jon Gurary",
  "github_profile": "https://github.com/jgur-psyops",
  "page": "https://agentriders.com/logs/author/jgur-psyops/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jon Gurary"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "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": "jgur-psyops"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "jgur-psyops"
  },
  {
   "at": "2025-06-10T20:10:39+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "jgur-psyops"
  },
  {
   "at": "2025-06-12T21:57:41+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "jgur-psyops"
  },
  {
   "at": "2025-06-12T21:57:41+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "jgur-psyops"
  }
 ],
 "related": [
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Fix transfer_to_new_account double run",
   "number": 369,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 61,
   "deletions": 10,
   "merged_at": "2025-07-25T23:07:15+00:00",
   "opened_at": "2025-07-25T19:31:51+00:00",
   "task_type": "fix",
   "files_changed": 7,
   "hours_to_merge": 3.59
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Add tests for config_bank_lite",
   "number": 363,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 236,
   "deletions": 2,
   "merged_at": "2025-07-07T18:20:57+00:00",
   "opened_at": "2025-07-07T15:32:39+00:00",
   "task_type": "test",
   "files_changed": 2,
   "hours_to_merge": 2.81
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Add bank position tracking & closure tests",
   "number": 360,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 736,
   "deletions": 171,
   "merged_at": "2025-07-02T22:41:46+00:00",
   "opened_at": "2025-07-01T00:09:39+00:00",
   "task_type": "feat",
   "files_changed": 29,
   "hours_to_merge": 46.54
  }
 ],
 "pr_url": "https://github.com/mrgnlabs/marginfi-v2/pull/354",
 "page": "https://agentriders.com/logs/mrgnlabs/marginfi-v2/354/"
}