{
 "flight": {
  "id": 2311,
  "agent": "claude-code",
  "state": "merged",
  "title": "fix: implement missing hooks (completion:error and completion:last_attempt)",
  "number": 1729,
  "source": "aidev",
  "commits": 5,
  "debrief": "Claude Code implements two hooks in instructor that were documented but never emitted: completion:error for failed API calls and completion:last_attempt when retries are exhausted. It spans six files, 736 additions and 348 deletions, over five commits. Merged clean after one review round, with zero change requests, zero review comments, and 0.06 hours to merge.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Claude_Code"
  ],
  "index_ok": true,
  "additions": 736,
  "closed_at": "2025-07-19T04:07:45+00:00",
  "deletions": 348,
  "merged_at": "2025-07-19T04:07:45+00:00",
  "opened_at": "2025-07-19T04:04:26+00:00",
  "task_type": "fix",
  "body_chars": 2859,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:27:57.306554+00:00",
  "enriched_at": null,
  "body_excerpt": "## Summary\nThis PR implements two missing hooks that were documented but never actually emitted in the codebase:\n-  - Emitted when API calls fail (network errors, API errors, etc.)\n-  - Emitted when retry attempts are exhausted\n\n## Changes\n- Add  hook emission for non-validation errors in retry.py\n-",
  "review_count": 1,
  "files_changed": 6,
  "hours_to_merge": 0.06,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:27:57.306554+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "instructor",
  "owner": "567-labs",
  "stars": 14102,
  "license": "MIT",
  "full_name": "567-labs/instructor",
  "primary_language": "Python"
 },
 "author": {
  "login": "jxnl",
  "name": "Jason Liu",
  "github_profile": "https://github.com/jxnl",
  "page": "https://agentriders.com/logs/author/jxnl/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jason Liu"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jason Liu"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jason Liu"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jason Liu"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jason Liu"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-07-19T04:05:12+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-07-19T04:05:12+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-07-19T04:05:12+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-07-19T04:05:12+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-07-19T04:07:45+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "jxnl"
  },
  {
   "at": "2025-07-19T04:07:45+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "jxnl"
  }
 ],
 "related": [
  {
   "agent": "devin",
   "state": "merged",
   "title": "feat: Add comprehensive tests for XAI _raw_response functionality",
   "number": 1735,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 240,
   "deletions": 11,
   "merged_at": "2025-07-22T17:37:23+00:00",
   "opened_at": "2025-07-22T16:22:45+00:00",
   "task_type": "feat",
   "files_changed": 3,
   "hours_to_merge": 1.24
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Add consistent docstrings to utils modules",
   "number": 1726,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 294,
   "deletions": 59,
   "merged_at": "2025-07-18T21:36:45+00:00",
   "opened_at": "2025-07-18T21:34:51+00:00",
   "task_type": "docs",
   "files_changed": 9,
   "hours_to_merge": 0.03
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Add Anthropic parallel tool support",
   "number": 1719,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 317,
   "deletions": 415,
   "merged_at": "2025-07-18T15:14:52+00:00",
   "opened_at": "2025-07-18T14:34:40+00:00",
   "task_type": "feat",
   "files_changed": 16,
   "hours_to_merge": 0.67
  }
 ],
 "pr_url": "https://github.com/567-labs/instructor/pull/1729",
 "page": "https://agentriders.com/logs/567-labs/instructor/1729/"
}