summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/workflows/uplift-deltas.js
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-19 01:38:59 +0000
committerClaude <noreply@anthropic.com>2026-11-19 01:38:59 +0000
commitfc515815fa14ab96bebc363a5f42e79a7f571158 (patch)
tree796871d943efb9f92635f2cb62a34498d82d300e /plugins/code-modernization/workflows/uplift-deltas.js
parent4d9854e0873b9d068fb444c8b14d00278ce2402a (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/workflows/uplift-deltas.js')
-rw-r--r--plugins/code-modernization/workflows/uplift-deltas.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/code-modernization/workflows/uplift-deltas.js b/plugins/code-modernization/workflows/uplift-deltas.js
index 1c31bc4a..90dfa491 100644
--- a/plugins/code-modernization/workflows/uplift-deltas.js
+++ b/plugins/code-modernization/workflows/uplift-deltas.js
@@ -21,7 +21,7 @@ const source = ARGS && ARGS.source
const target = ARGS && ARGS.target
if (!system || !source || !target) {
throw new Error(
- 'modernize-uplift-deltas requires args: {system, source, target, projectPattern?} — e.g. {system:"app", source:".NET Framework 4.8", target:".NET 8"}',
+ 'modernize-uplift-deltas requires args: {system, source, target, projectPattern?} — e.g. {system:"app", source:".NET Framework 4.8", target:"<target version>"}',
)
}
if (!/^[A-Za-z0-9][A-Za-z0-9_-]*$/.test(system)) {