{
  "id": 22874335,
  "title": "Upgrading a Major Dependency With an AI Agent in 2026: My 10-Step Mac Workflow, From Changelog to Green CI (9 Tools)",
  "url": "https://urgent.news/2026/12/01/upgrading-a-major-dependency-with-an-ai-agent-in-2026-my-10-step-mac",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-01T01:15:11.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jeff_feldman_7ab3898/upgrading-a-major-dependency-with-an-ai-agent-in-2026-my-10-step-mac-workflow-from-changelog-to-32mk"
  },
  "original_language": null,
  "account": "In November 2026, the author detailed a 10-step workflow for upgrading a major dependency using an AI agent on a Mac. The process begins with identifying outdated dependencies using npm-check-updates (ncu) and its -u option, which automates the upgrade process while running tests and retrying failed upgrades. Subsequently, the GitHub CLI is utilized to review release notes from GitHub releases, allowing the agent to work directly from the official changelog.\n\nThe workflow further involves using Ghostty to split the terminal, enabling simultaneous monitoring of the upgrade agent and test results. Rectangle is employed to arrange the migration guide alongside the terminal for easy reference. Claude Code is then initiated in plan mode to generate a migration plan based on the release notes, followed by a subagent task to identify deprecated API calls without modifying the codebase.\n\nEach proposed breaking change is then reviewed and committed individually using lazygit, ensuring a clear and manageable PR history. A second opinion from Codex CLI is sought through the /review command, offering an independent assessment of the changes. Throughout this process, TokenBar provides an overview of each agent's usage limits, preventing potential issues due to resource constraints. Finally, CleanShot X captures before-and-after screenshots to illustrate the changes, and GitHub CLI is used to create a draft PR with the commit details, enabling automated CI checks and monitoring.\n\nConsidering the workflow, the author reflects on potential improvements, particularly questioning whether the agent's initial plan could have been more refined or if additional checks could have been implemented earlier in the process. This structured approach ensures that major dependency upgrades are handled efficiently, minimizing disruption and maintaining the integrity of the codebase.",
  "summary": "A bot opens a PR that bumps your framework a full major version, and CI turns red before you've finished reading the title. The migration guide is long, the changelog is longer, and \"just let the agent fix it\" sounds great until it rewrites half the repo. Here's the stack I'd use for that one job on a Mac: one tool per step, from \"what's out of date\" to a PR with green checks. Everything below…",
  "summary_source": "publisher",
  "key_points": [
    "Author outlines 10-step workflow to upgrade major dependency with AI agent on Mac",
    "Uses npm-check-updates (ncu) to automate dependency upgrade process",
    "GitHub CLI reviewed release notes for upgrade agent to work directly from changelog"
  ],
  "editors_take": "Using an AI agent for dependency upgrades can help developers manage breaking changes more efficiently while maintaining a clean and manageable pull request history.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}