{
 "flight": {
  "id": 30984,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix: Do not include usage report in AI disclaimer when token usage is 0",
  "number": 1797,
  "source": "aidev",
  "commits": 2,
  "debrief": "GitHub Copilot opened a fix in microsoft/genaiscript so the generatedByFooter function stops adding usage reports to AI disclaimers when total_tokens is 0. The change spans three files, with 54 lines added and two removed, across two commits. It received one review round with no change requests and no review comments. The pull request merged clean after 2.21 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 54,
  "closed_at": "2025-07-25T11:16:57+00:00",
  "deletions": 2,
  "merged_at": "2025-07-25T11:16:57+00:00",
  "opened_at": "2025-07-25T09:04:15+00:00",
  "task_type": "fix",
  "body_chars": 4321,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:23:24.432386+00:00",
  "enriched_at": null,
  "body_excerpt": "## Problem\n\nThe `generatedByFooter` function was always including usage reports in AI disclaimers whenever `GenerationStats` were provided, even when no tokens were actually used (total_tokens = 0). This resulted in unnecessary usage reports showing \"0t\" tokens in generated content.\n\n## Solution\n\nMo",
  "review_count": 1,
  "files_changed": 3,
  "hours_to_merge": 2.21,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:23:24.432386+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "genaiscript",
  "owner": "microsoft",
  "stars": 2874,
  "license": "MIT",
  "full_name": "microsoft/genaiscript",
  "primary_language": "TypeScript"
 },
 "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": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-07-25T11:16:57+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "pelikhan"
  },
  {
   "at": "2025-07-25T11:16:57+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "pelikhan"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Add automatic retry for streaming LLM responses that fail partway through",
   "number": 1804,
   "outcome": "burn",
   "index_ok": true,
   "additions": 599,
   "deletions": 556,
   "merged_at": null,
   "opened_at": "2025-07-29T12:20:12+00:00",
   "task_type": "feat",
   "files_changed": 8,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Fix quiet mode to suppress all LLM output",
   "number": 1802,
   "outcome": "burn",
   "index_ok": true,
   "additions": 8,
   "deletions": 8,
   "merged_at": null,
   "opened_at": "2025-07-29T12:11:08+00:00",
   "task_type": "fix",
   "files_changed": 2,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Add system prompts for Ruby and PHP programming with automatic activation",
   "number": 1800,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 110,
   "deletions": 0,
   "merged_at": "2025-07-29T08:54:26+00:00",
   "opened_at": "2025-07-29T05:55:07+00:00",
   "task_type": "feat",
   "files_changed": 5,
   "hours_to_merge": 2.99
  }
 ],
 "pr_url": "https://github.com/microsoft/genaiscript/pull/1797",
 "page": "https://agentriders.com/logs/microsoft/genaiscript/1797/"
}