Skip to content

code-modernization: look up whether target versions are supported - #7170

Closed
claude[bot] wants to merge 1 commit into
mainfrom
code-modernization/supported-target-versions
Closed

claude[bot] wants to merge 1 commit into
mainfrom
code-modernization/supported-target-versions

Conversation

@claude

@claude claude Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Before: Commands that propose a target took version numbers from the model's memory, which is older than today. On a toy AngularJS 1.5 / Java 7 / Spring 4 app, reimagine drafted "Angular 18, Spring Boot 3.3" in one run and "Spring Boot 3 / Java 21" in another, with no lookup.

After: Versions are looked up and shown in a Target versions table: support end, source, date checked, status. The same app now gets Angular 22, Java 25 LTS and Spring Boot 4.1. A version you named is kept, with a warning and a supported alternative if its support has ended. If every lookup fails, the row says unverified, with no remembered number, and a person pins it before the build.

How: One shared rule, references/target-versions.md. Each command that proposes, confirms or builds for a version carries a short summary and points to it. architecture-critic gets no web tools on purpose: it judges the recorded table. Version 1.1.0.

Test

  • Real headless runs on the toy app:
    • reimagine, stopped at the architecture checkpoint: dated, sourced table from web search.
    • reimagine with lookups denied: every row unverified, and it carried on.
    • reimagine with Angular 19 named: kept, and flagged as out of support since 2026-05-19.
    • brief with .NET 8: kept, and raised as an open question. Not asked again once INTENT.md recorded the decision.
  • The final text was rerun for the first reimagine case only.
  • 325 Python tests, 143 plugin tests and the repository validators pass.

Not tested: opening endoflife.date or vendor pages (unreachable from the test machine), default and accept-edits permission modes, scaffolding on the new table, and live transform, uplift, preflight or assess runs. Dates taken from search snippets can be wrong (one run had a wrong Angular 22 end date), so each row names its source.


Generated by Claude Code

…ore proposing it

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.
@github-actions github-actions Bot closed this Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your interest! Plugins are now submitted at https://claude.ai/directory/manage. Plugins accepted there are served across Claude products.

The marketplace.json in this repository is being phased out: it will be reduced over time to Anthropic's own plugins.

Pull requests here are not monitored, so please use the link above to submit or update a plugin.

This pull request has been closed automatically, because this repository only takes changes from Anthropic team members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant