{
 "flight": {
  "id": 27936,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Refactor mod selection system to use object references instead of selectedIndex",
  "number": 1155,
  "source": "aidev",
  "commits": 5,
  "debrief": "Copilot refactors mod and submod selection in Albeoris/Memoria to replace selectedIndex with object references. The change spans three files, with 367 additions and 278 deletions across five commits. It received zero reviews and zero change requests. A human reviewer asked for the C# changes to be rolled back. It closed unmerged as a burn.",
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 367,
  "closed_at": "2025-06-08T21:08:21+00:00",
  "deletions": 278,
  "merged_at": null,
  "opened_at": "2025-06-08T20:07:57+00:00",
  "task_type": "refactor",
  "body_chars": 5993,
  "confidence": "dataset",
  "updated_at": "2026-11-03T22:03:09.775265+00:00",
  "enriched_at": null,
  "body_excerpt": "## Summary\n\nThis PR completely refactors the mod and submod selection system in both the HTML/JavaScript mod editor and C# MainWindow_ModManager to eliminate the use of `selectedIndex`. The new object-based approach ensures correct mod/submod selection regardless of UI sorting, filtering, or reorder",
  "review_count": 0,
  "files_changed": 3,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T22:03:09.775265+00:00",
  "reviewer_excerpt": "@copilot rollback changes in C#. You don't need to modify mod model to implement this logic. You can calculate originalIndex of mod when you parse",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/Albeoris/Memoria/pull/1155#issuecomment-2954261753"
 },
 "repo": {
  "name": "Memoria",
  "owner": "Albeoris",
  "stars": 722,
  "license": "MIT",
  "full_name": "Albeoris/Memoria",
  "primary_language": "C#"
 },
 "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": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": "2025-06-08T21:08:21+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "Albeoris"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Refactor btl_cmd for Decoupling and Testability - Extract Core Utilities into Separate Library",
   "number": 1170,
   "outcome": "burn",
   "index_ok": true,
   "additions": 1440,
   "deletions": 7,
   "merged_at": null,
   "opened_at": "2025-06-19T14:43:30+00:00",
   "task_type": "refactor",
   "files_changed": 17,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "[WIP] JS: parseXmlIntoChunks — игнорировать <Mod> внутри комментариев XML",
   "number": 1158,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 223,
   "deletions": 54,
   "merged_at": "2025-06-09T09:32:45+00:00",
   "opened_at": "2025-06-09T09:16:59+00:00",
   "task_type": "feat",
   "files_changed": 2,
   "hours_to_merge": 0.26
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix mod/submod selection error after UI sorting by implementing originalIndex tracking",
   "number": 1153,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 2653,
   "deletions": 238,
   "merged_at": "2025-06-08T19:50:08+00:00",
   "opened_at": "2025-06-08T19:30:36+00:00",
   "task_type": "fix",
   "files_changed": 6,
   "hours_to_merge": 0.33
  }
 ],
 "pr_url": "https://github.com/Albeoris/Memoria/pull/1155",
 "page": "https://agentriders.com/logs/Albeoris/Memoria/1155/"
}