diff options
| author | Claude <noreply@anthropic.com> | 2026-11-19 01:38:59 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-19 01:38:59 +0000 |
| commit | fc515815fa14ab96bebc363a5f42e79a7f571158 (patch) | |
| tree | 796871d943efb9f92635f2cb62a34498d82d300e /plugins/code-modernization/commands/modernize-assess.md | |
| parent | 4d9854e0873b9d068fb444c8b14d00278ce2402a (diff) | |
code-modernization: look up whether a target version is supported before proposing itcode-modernization/supported-target-versions
Commands proposed language and framework versions from the model's memory, which is older than today, so a plan could name a release that is already out of support. A shared rule (references/target-versions.md) now has each command look versions up, record them in a Target versions table with the support end date and source, keep a version the person chose with a warning, and mark a version that could not be checked as unverified instead of guessing. Version 1.1.0.
Diffstat (limited to 'plugins/code-modernization/commands/modernize-assess.md')
| -rw-r--r-- | plugins/code-modernization/commands/modernize-assess.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/code-modernization/commands/modernize-assess.md b/plugins/code-modernization/commands/modernize-assess.md index c787f3b3..6ebae2d1 100644 --- a/plugins/code-modernization/commands/modernize-assess.md +++ b/plugins/code-modernization/commands/modernize-assess.md @@ -141,7 +141,9 @@ cost or date) · **Recommended Modernization Pattern**: one of Rehost, Replatfor Refactor, Rearchitect, Rebuild, Replace, with a one-paragraph rationale and the command it routes to: a move to a newer version of the same technology (or its supporting platform) → `uplift`; a rewrite in another technology, piece by piece → -`transform`; a rebuild on a new architecture → `reimagine`. Rehost (move as is) and +`transform`; a rebuild on a new architecture → `reimagine`. If the assessment names a +target version, look it up first (`${CLAUDE_PLUGIN_ROOT}/references/target-versions.md`), +never from memory. Rehost (move as is) and Replace (buy or adopt a product) change no code, so no build command applies: say so, and say what the analysis is still good for. For Rehost, `map`, `harden` and the `preflight` build check show what the move must carry along; for Replace, `extract-rules` turns |
