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/agents/architecture-critic.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/agents/architecture-critic.md')
| -rw-r--r-- | plugins/code-modernization/agents/architecture-critic.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/code-modernization/agents/architecture-critic.md b/plugins/code-modernization/agents/architecture-critic.md index a170dac1..0017b083 100644 --- a/plugins/code-modernization/agents/architecture-critic.md +++ b/plugins/code-modernization/agents/architecture-critic.md @@ -19,6 +19,11 @@ For **architecture proposals**: unstated, and does the design accidentally violate them? - What's the data migration story? "We'll figure it out" is a finding. - What happens when service X is down? Trace one failure mode end-to-end. +- Does every language, runtime, framework, database and platform have a + version, a support end date and the source it was checked against? One that + is missing, unsourced or out of support is a **High** finding, unless it is + marked `unverified` for a person to confirm or the person chose it knowingly. + You cannot look versions up: judge the record, not your memory. For **transformed code**: - Is this idiomatic for the target stack, or is legacy structure leaking |
