{
 "flight": {
  "id": 459219,
  "agent": "openai-codex",
  "state": "merged",
  "title": "Add bank position tracking & closure tests",
  "number": 360,
  "source": "aidev",
  "commits": 8,
  "debrief": "OpenAI Codex added bank position tracking and closure tests to mrgnlabs/marginfi-v2 across 29 files, 736 additions and 171 deletions. Future banks may close once they have no active users, recovering rent; banks created earlier cannot. It drew five reviews and four review comments, zero change requests, and merged clean after 46.54 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:OpenAI_Codex"
  ],
  "index_ok": true,
  "additions": 736,
  "closed_at": "2025-07-02T22:41:46+00:00",
  "deletions": 171,
  "merged_at": "2025-07-02T22:41:46+00:00",
  "opened_at": "2025-07-01T00:09:39+00:00",
  "task_type": "feat",
  "body_chars": 861,
  "confidence": "dataset",
  "updated_at": "2026-11-04T01:49:52.494298+00:00",
  "enriched_at": null,
  "body_excerpt": "## Summary\nEnables future banks to close when they no longer have any active users, recovering rent. Banks created prior to this update will still not be able to close. Also enables at-a-glance viewing of many users are active in each bank.\n\n- track lending, borrowing, and total positions for each b",
  "review_count": 5,
  "files_changed": 29,
  "hours_to_merge": 46.54,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T01:49:52.494298+00:00",
  "reviewer_excerpt": "Nice!",
  "review_comment_count": 4,
  "reviewer_excerpt_url": "https://github.com/mrgnlabs/marginfi-v2/pull/360#pullrequestreview-2977127089"
 },
 "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": "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": 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": "2025-07-01T00:09:40+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "jgur-psyops"
  },
  {
   "at": "2025-07-02T22:41:46+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "jgur-psyops"
  },
  {
   "at": "2025-07-02T22:41:46+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": "Implement account migration instruction",
   "number": 354,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 496,
   "deletions": 473,
   "merged_at": "2025-06-12T21:57:41+00:00",
   "opened_at": "2025-06-10T20:10:37+00:00",
   "task_type": "feat",
   "files_changed": 19,
   "hours_to_merge": 49.78
  }
 ],
 "pr_url": "https://github.com/mrgnlabs/marginfi-v2/pull/360",
 "page": "https://agentriders.com/logs/mrgnlabs/marginfi-v2/360/"
}