summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/workflows/extract-rules.js
diff options
context:
space:
mode:
authorMorgan Westlee Lunt <morganl@anthropic.com>2026-06-09 23:12:16 +0000
committerMorgan Westlee Lunt <morganl@anthropic.com>2026-06-09 23:12:16 +0000
commit4a8250babf1d131c1406b113f3d759d18c55ec48 (patch)
tree2b41d4caf3f73b1a24b9aed88ce3d5cc80f622aa /plugins/code-modernization/workflows/extract-rules.js
parente5939029ecdda7e9b8d30854e95eed2a5ff60062 (diff)
code-modernization: add /modernize-uplift for same-stack version migrations
Adds a third build method alongside transform (cross-stack rewrite) and reimagine (greenfield): uplift, for same-stack version bumps (.NET Framework 4.8 -> .NET 8, Spring Boot 2->3, Python 2->3) where the right move is to PRESERVE the code and fix only the version deltas, not extract intent and rewrite. - commands/modernize-uplift.md: delta-catalog-driven, dual-target test harness (one suite on both runtimes; baseline-on-old is the oracle), leaf-first build graph ordering, minimal-diff discipline (architecture-critic flags gratuitous divergence), and a 'this is a rewrite, use transform' escape hatch. - agents/version-delta-analyst.md: finds the source->target breaking changes that THIS code hits; drives the ecosystem migration tool (upgrade-assistant / OpenRewrite / pyupgrade / ng update) and owns the residue; read-only. - workflows/uplift-deltas.js: parallel finder per delta category, each verified against the cited code so deltas that don't apply here are dropped. - Wired into assess (recommended-pattern routing), brief (per-phase command + leaf-first ordering), preflight (dual-run + tool readiness), status, README. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'plugins/code-modernization/workflows/extract-rules.js')
0 files changed, 0 insertions, 0 deletions