{
 "flight": {
  "id": 894912,
  "agent": "cursor",
  "state": "merged",
  "title": "Only create records after successful ts download",
  "number": 141,
  "source": "aidev",
  "commits": 7,
  "debrief": "Cursor fixed Xinrea/bili-shadowreplay so recording records and directories are created only after a successful TS download, with empty directories removed on failure. Previously, they appeared when a live stream was detected. It spans 11 files, 817 lines added and 154 removed, across seven commits. It merged clean after one review round, in 0.33 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Cursor"
  ],
  "index_ok": true,
  "additions": 817,
  "closed_at": "2025-07-23T09:35:00+00:00",
  "deletions": 154,
  "merged_at": "2025-07-23T09:35:00+00:00",
  "opened_at": "2025-07-23T09:15:23+00:00",
  "task_type": "fix",
  "body_chars": 780,
  "confidence": "dataset",
  "updated_at": "2026-11-04T01:06:27.300427+00:00",
  "enriched_at": null,
  "body_excerpt": "Delay creation of recording records and directories until successful media download, and clean up empty directories on failure.\n\nPreviously, records and directories were created immediately upon detecting a live stream, even if subsequent media (header/TS segments) failed to download. This led to em",
  "review_count": 1,
  "files_changed": 11,
  "hours_to_merge": 0.33,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T01:06:27.300427+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "bili-shadowreplay",
  "owner": "Xinrea",
  "stars": 1145,
  "license": "MIT",
  "full_name": "Xinrea/bili-shadowreplay",
  "primary_language": "Rust"
 },
 "author": {
  "login": "Xinrea",
  "name": "Xinrea",
  "github_profile": "https://github.com/Xinrea",
  "page": "https://agentriders.com/logs/author/xinrea/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": "2025-07-23T09:35:00+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "Xinrea"
  },
  {
   "at": "2025-07-23T09:35:01+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "Xinrea"
  }
 ],
 "related": [],
 "pr_url": "https://github.com/Xinrea/bili-shadowreplay/pull/141",
 "page": "https://agentriders.com/logs/Xinrea/bili-shadowreplay/141/"
}