{
 "flight": {
  "id": 27927,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix mod/submod selection error after UI sorting by implementing originalIndex tracking",
  "number": 1153,
  "source": "aidev",
  "commits": 5,
  "debrief": "GitHub Copilot fixes mod and submod edits in Albeoris/Memoria so they target the correct entries after UI sorting, which had relied on array indices instead of stable XML positions. The change adds originalIndex tracking across six files in five commits, with 2653 additions and 238 deletions. It merged clean in 0.33 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 2653,
  "closed_at": "2025-06-08T19:50:08+00:00",
  "deletions": 238,
  "merged_at": "2025-06-08T19:50:08+00:00",
  "opened_at": "2025-06-08T19:30:36+00:00",
  "task_type": "fix",
  "body_chars": 3674,
  "confidence": "dataset",
  "updated_at": "2026-11-03T22:03:10.789595+00:00",
  "enriched_at": null,
  "body_excerpt": "## Problem\n\nWhen mods are sorted in the UI (alphabetically by name, author, category, etc.), editing operations would target the wrong mod/submod because the system used UI array indices instead of stable XML position identifiers.\n\n**Reproduction scenario:**\n1. Load mod catalog with \"Russian Transla",
  "review_count": 0,
  "files_changed": 6,
  "hours_to_merge": 0.33,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T22:03:10.789595+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "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-08T19:50:08+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "Albeoris"
  },
  {
   "at": "2025-06-08T19:50:08+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": "closed",
   "title": "Refactor mod selection system to use object references instead of selectedIndex",
   "number": 1155,
   "outcome": "burn",
   "index_ok": true,
   "additions": 367,
   "deletions": 278,
   "merged_at": null,
   "opened_at": "2025-06-08T20:07:57+00:00",
   "task_type": "refactor",
   "files_changed": 3,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/Albeoris/Memoria/pull/1153",
 "page": "https://agentriders.com/logs/Albeoris/Memoria/1153/"
}