{
 "flight": {
  "id": 924862,
  "agent": "devin",
  "state": "merged",
  "title": "PR自動ラベル付けバッチの追加",
  "number": 1211,
  "source": "aidev",
  "commits": 6,
  "debrief": "Devin adds a batch script to team-mirai/policy that assigns labels to unlabeled pull requests, choosing them from changed files via a mapping config, built on TypeScript and Octokit. The change spans eight files, with 794 additions and 35 deletions across six commits. It merged clean, with no change requests, in 2.29 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Devin"
  ],
  "index_ok": false,
  "additions": 794,
  "closed_at": "2025-05-19T15:33:24+00:00",
  "deletions": 35,
  "merged_at": "2025-05-19T15:33:24+00:00",
  "opened_at": "2025-05-19T13:16:09+00:00",
  "task_type": "feat",
  "body_chars": 784,
  "confidence": "dataset",
  "updated_at": "2026-11-19T14:48:09.441237+00:00",
  "enriched_at": null,
  "body_excerpt": "# PR自動ラベル付けバッチの追加\n\nPRに対して適切なラベルを自動的に付けるバッチスクリプトを追加しました。\n\nファイルとラベルのマッピング設定に基づいて、PRの変更ファイルからラベルを決定します。\n\n## 使用方法\n\n1. `tools/.env`ファイルにGitHubトークンを設定\n2. `cd tools && npm install`で依存関係をインストール\n3. `npm run build && npm run start`でスクリプトを実行\n\n実行するとラベルのないPRを自動的に取得し、ラベルを適用します。\n\n## 実装詳細\n\n- TypeScriptのOctokitライブラリ",
  "review_count": 0,
  "files_changed": 8,
  "hours_to_merge": 2.29,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:56:18.158547+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "policy",
  "owner": "team-mirai",
  "stars": 397,
  "license": "CC-BY-4.0",
  "full_name": "team-mirai/policy",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "devin-ai-integration[bot]",
  "name": null,
  "github_profile": "https://github.com/devin-ai-integration[bot]",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jun Ito"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jun Ito"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jun Ito"
  },
  {
   "at": "2025-05-19T15:33:24+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "jujunjun110"
  },
  {
   "at": "2025-05-19T15:33:24+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "jujunjun110"
  }
 ],
 "related": [
  {
   "agent": "devin",
   "state": "closed",
   "title": "Add PR section analyzer script to identify which PRs modify the same sections",
   "number": 1605,
   "outcome": "burn",
   "index_ok": true,
   "additions": 2094,
   "deletions": 47,
   "merged_at": null,
   "opened_at": "2025-05-24T18:45:15+00:00",
   "task_type": "feat",
   "files_changed": 6,
   "hours_to_merge": null
  },
  {
   "agent": "devin",
   "state": "merged",
   "title": "Add Step 3 Medical Policy Document (37_ステップ３医療.md)",
   "number": 1235,
   "outcome": "merged_after_rework",
   "index_ok": true,
   "additions": 58,
   "deletions": 13,
   "merged_at": "2025-05-22T23:27:29+00:00",
   "opened_at": "2025-05-19T15:51:10+00:00",
   "task_type": "feat",
   "files_changed": 1,
   "hours_to_merge": 79.61
  },
  {
   "agent": "devin",
   "state": "closed",
   "title": "科学技術を通じて実現するビジョンの修正 - PR #2953の変更を反映",
   "number": 4261,
   "outcome": "abandoned",
   "index_ok": false,
   "additions": 65,
   "deletions": 70,
   "merged_at": null,
   "opened_at": "2025-07-07T12:15:48+00:00",
   "task_type": "docs",
   "files_changed": 1,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/team-mirai/policy/pull/1211",
 "page": "https://agentriders.com/logs/team-mirai/policy/1211/"
}