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/workflows/uplift-migrate.js | |
| 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/workflows/uplift-migrate.js')
| -rw-r--r-- | plugins/code-modernization/workflows/uplift-migrate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/code-modernization/workflows/uplift-migrate.js b/plugins/code-modernization/workflows/uplift-migrate.js index 323cfc5f..05364b19 100644 --- a/plugins/code-modernization/workflows/uplift-migrate.js +++ b/plugins/code-modernization/workflows/uplift-migrate.js @@ -25,7 +25,7 @@ const target = ARGS && ARGS.target const units = ARGS && ARGS.units if (!system || !source || !target || !Array.isArray(units) || units.length === 0) { throw new Error( - 'modernize-uplift-migrate requires args: {system, source, target, units: [{name, path, deps?}], batchSize?} — e.g. {system:"billing", source:".NET Framework 4.8", target:".NET 8", units:[{name:"Billing.Core", path:"src/Billing.Core"}, {name:"Billing.Api", path:"src/Billing.Api", deps:["Billing.Core"]}]}. Run it only AFTER the pilot unit is migrated in-session and analysis/<system>/PLAYBOOK.md exists.', + 'modernize-uplift-migrate requires args: {system, source, target, units: [{name, path, deps?}], batchSize?} — e.g. {system:"billing", source:".NET Framework 4.8", target:"<target version>", units:[{name:"Billing.Core", path:"src/Billing.Core"}, {name:"Billing.Api", path:"src/Billing.Api", deps:["Billing.Core"]}]}. Run it only AFTER the pilot unit is migrated in-session and analysis/<system>/PLAYBOOK.md exists.', ) } |
