Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Didn't Let Claude Upgrade My Java App. I Let It Work for Me.

Описание и применение

Миграция небольшого Spring Boot 2.x приложения на Java 21 и Spring Boot 3.3.5 с помощью двух AI‑агентов: один генерирует код, другой проверяет, соблюдая чеклист и правила владения ошибками.

Задача

Upgrading a legacy Spring Boot 2.x Java 8 service to Java 21 and Spring Boot 3.3.5 was complex, with many breaking changes and a risk of compounding errors.

Результат

The migration succeeded with a structured, agent‑driven workflow that minimized manual effort, avoided unnecessary version hops, and ensured compile‑clean per‑item progress.

Рабочий процесс

  • Plan migration with a checklist in MIGRATION.md
  • Use two Claude agents: Migrator (writes code) and Verifier (read‑only review)
  • Iterate per checklist item: Migrator marks [x], Verifier checks and marks [v], developer approves to [a] and commits
  • Re‑run Verifier after each approval to catch regressions
  • Ensure final build passes all tests and API replay before committing

Доказательства

I asked Claude how to do this properly. The answer was very correct and very by the book: hop through Java 11 and 17, run OpenRewrite recipes, plus five specialist reviewer agents.

Источник

The rule: the agent that writes the code never grades it.

Источник

The build may be red, but an item isn't done while its files have compile errors or removal warnings that it, or an earlier item, owns.

Источник

  • Дата записи: 2026-10-12T16:41:00.754Z