{
 "flight": {
  "id": 878234,
  "agent": "cursor",
  "state": "merged",
  "title": "fix(credits): handle failed payment intents",
  "number": 449,
  "source": "aidev",
  "commits": 2,
  "debrief": "Cursor was asked to fix credit handling for failed Stripe payment intents. It adds a failed transaction record when a payment_intent.payment_failed event finds no pending transaction, touching one file with 33 additions and two deletions across two commits. The pull request merged clean after one review round with no change requests, taking 0.12 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Cursor"
  ],
  "index_ok": true,
  "additions": 33,
  "closed_at": "2025-07-03T21:38:30+00:00",
  "deletions": 2,
  "merged_at": "2025-07-03T21:38:30+00:00",
  "opened_at": "2025-07-03T21:31:32+00:00",
  "task_type": "fix",
  "body_chars": 336,
  "confidence": "dataset",
  "updated_at": "2026-11-04T01:45:09.662472+00:00",
  "enriched_at": null,
  "body_excerpt": "Ensure all `payment_intent.payment_failed` Stripe events create a failed transaction record.\n\nThe `handlePaymentIntentFailed` function now inserts a new transaction record with a 'failed' status if no existing pending transaction is found, or if the payment intent does not have a `transactionId` in ",
  "review_count": 2,
  "files_changed": 1,
  "hours_to_merge": 0.12,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T01:45:09.662472+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "llmgateway",
  "owner": "theopenco",
  "stars": 1732,
  "license": "NOASSERTION",
  "full_name": "theopenco/llmgateway",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "steebchen",
  "name": "Luca Steeb",
  "github_profile": "https://github.com/steebchen",
  "page": "https://agentriders.com/logs/author/steebchen/"
 },
 "claim": null,
 "events": [
  {
   "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": "Luca Steeb"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-07-03T21:38:30+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "steebchen"
  },
  {
   "at": "2025-07-03T21:38:30+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "steebchen"
  }
 ],
 "related": [
  {
   "agent": "cursor",
   "state": "merged",
   "title": "fix(onboarding): adapt API key display",
   "number": 462,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 205,
   "deletions": 63,
   "merged_at": "2025-07-04T21:00:28+00:00",
   "opened_at": "2025-07-04T20:51:30+00:00",
   "task_type": "fix",
   "files_changed": 1,
   "hours_to_merge": 0.15
  },
  {
   "agent": "cursor",
   "state": "merged",
   "title": "fix(telemetry): make telemetry opt-in with docker default",
   "number": 443,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 43,
   "deletions": 53,
   "merged_at": "2025-07-03T00:51:44+00:00",
   "opened_at": "2025-07-03T00:02:02+00:00",
   "task_type": "fix",
   "files_changed": 5,
   "hours_to_merge": 0.83
  },
  {
   "agent": "cursor",
   "state": "merged",
   "title": "fix(chat): handle chat completion errors and logging",
   "number": 442,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 52,
   "deletions": 46,
   "merged_at": "2025-07-02T23:14:52+00:00",
   "opened_at": "2025-07-02T12:26:07+00:00",
   "task_type": "fix",
   "files_changed": 1,
   "hours_to_merge": 10.81
  }
 ],
 "pr_url": "https://github.com/theopenco/llmgateway/pull/449",
 "page": "https://agentriders.com/logs/theopenco/llmgateway/449/"
}