diff options
| author | Morgan Westlee Lunt <morganl@anthropic.com> | 2026-06-09 23:12:16 +0000 |
|---|---|---|
| committer | Morgan Westlee Lunt <morganl@anthropic.com> | 2026-06-09 23:12:16 +0000 |
| commit | 4a8250babf1d131c1406b113f3d759d18c55ec48 (patch) | |
| tree | 2b41d4caf3f73b1a24b9aed88ce3d5cc80f622aa /plugins/code-modernization/commands/modernize-status.md | |
| parent | e5939029ecdda7e9b8d30854e95eed2a5ff60062 (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/commands/modernize-status.md')
| -rw-r--r-- | plugins/code-modernization/commands/modernize-status.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/code-modernization/commands/modernize-status.md b/plugins/code-modernization/commands/modernize-status.md index d5fd7594..bfae01d3 100644 --- a/plugins/code-modernization/commands/modernize-status.md +++ b/plugins/code-modernization/commands/modernize-status.md @@ -19,6 +19,7 @@ workflow stage, with the artifact's presence and modification time: | extract-rules | `BUSINESS_RULES.md`, `DATA_OBJECTS.md` | | brief | `MODERNIZATION_BRIEF.md` (note whether the approval block is signed) | | harden | `SECURITY_FINDINGS.md`, `security_remediation.patch` | +| uplift | `DELTA_CATALOG.md`; `modernized/$1/UPLIFT_NOTES.md` (note per-project: builds on target? baseline reproduced?) | | transform / reimagine | each `modernized/$1*/<module>/` dir — note test presence and whether `TRANSFORMATION_NOTES.md` exists | ## 2 — Staleness |
