diff options
| author | Morgan Lunt <morganl@anthropic.com> | 2026-06-08 17:35:40 -0700 |
|---|---|---|
| committer | Morgan Lunt <morganl@anthropic.com> | 2026-06-09 08:48:05 -0700 |
| commit | ecc5139c30dccfec6df8e9801f1ad101140213a4 (patch) | |
| tree | 161c2c1d5df9eb03eb2930bdab44e57bba28c2a8 /plugins/code-modernization/commands/modernize-preflight.md | |
| parent | a7e1f990708aa5eb21ebb92390119569f35010f5 (diff) | |
code-modernization: legacy toolchain is advisory, not a transform blockermorganl/code-mod-interactive-map
Legacy code often cannot build locally by nature — CICS/IMS programs
have no local translator and the real runtime may be a mainframe the
user doesn't have. Stopping transform on a failed legacy smoke compile
would block exactly those systems.
- transform Step 0a: the target toolchain remains required (its tests
cannot run without it); a failed or impossible legacy compile no
longer stops the run — the equivalence strategy switches to recorded
traces / golden-master fixtures, and that downgrade is stated in the
plan and in TRANSFORMATION_NOTES.md so reviewers know the strength of
the proof
- preflight: a red legacy toolchain now yields Ready-with-gaps for
transform/reimagine instead of Not-ready
Diffstat (limited to 'plugins/code-modernization/commands/modernize-preflight.md')
| -rw-r--r-- | plugins/code-modernization/commands/modernize-preflight.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/code-modernization/commands/modernize-preflight.md b/plugins/code-modernization/commands/modernize-preflight.md index 21d27ab1..ed283ea3 100644 --- a/plugins/code-modernization/commands/modernize-preflight.md +++ b/plugins/code-modernization/commands/modernize-preflight.md @@ -87,8 +87,11 @@ followed by a **Ready / Ready-with-gaps / Not ready** verdict per command: - `assess` + `map` + `extract-rules` — need Checks 1–2 green-ish and Check 4's missing-include count low - `brief` — needs only the three discovery artifacts; no tooling -- `transform` + `reimagine` — additionally need Check 3 green for both - legacy and target stacks +- `transform` + `reimagine` — additionally need Check 3 green for the + **target** stack. A red legacy toolchain downgrades these to + Ready-with-gaps, not Not-ready: equivalence testing falls back to + recorded traces / golden-master fixtures instead of dual execution + (common and expected for CICS/IMS code that has no local runtime) - `harden` — needs Check 2 plus any stack-specific SAST tooling found Print the table in the session too, and end with the single most |
