summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/commands/modernize.md
AgeCommit message (Collapse)Author
2026-09-24code-modernization: screenshots for the README, and where a person decidesMorgan Lunt
Adds the pictures the README and the pane docs use: three of the report (the at-a-glance view when the proof passes, the same view when an independent check finds a difference the development cases missed, and the proof tab) and ten of the live pane, drawn by the pane's own code from finished runs. The report pictures come from real runs; the pane's fleet and x-ray views and its GIF use scripted agent activity, and the review and sign-off pictures use sample text, all said so in the pane's README. The front door names every place a person decides and moves the security scan first when the person asked for it, and status points a new user to the front door instead of straight to preflight.
2026-09-24code-modernization: people's verdicts on rules reach the build, and safer ↵Morgan Lunt
baselines A reviewer's "this rule is wrong" never reached the plan or the rewrite: the pane wrote a review ledger that no command read, and without the pane there was no way to write one. /code-modernization:modernize-review asks about the rules that need judgement (P0 rules with a defect, an SME question or less than High confidence) in a pop-up, or takes verdicts typed in the request, and writes the same RULE_REVIEWS.json/.md with an optional note. brief, transform, reimagine and the test engineer read it: a rule marked wrong is not an oracle and a P0 rule under discussion blocks. Running the old system to record a baseline is now limited to the local machine or a test environment the person named; production or third-party services, new accounts and real data are off limits unless the approved plan names them, a token in a recorded response is replaced before anything is saved, and every command stops the servers it started. Also: the front door asks in two pop-ups within the four-option limit, every command points a missing-code user to /modernize <name> --source <path>, the status inventory and next-step order include review and verify, the assessment says what Rehost and Replace mean, preflight notes the Windows python name, and the plugin and marketplace descriptions match what it does.
2026-09-24code-modernization: a front door that asks what you want onceMorgan Lunt
/code-modernization:modernize takes no arguments. It finds the code, asks what the person wants to do with it (a newer version of the same technology, a rewrite in another one, a rebuild, or just to understand it) and what must stay true, writes the answers to analysis/<system>/INTENT.md, shows the road ahead in a few lines, and gives the exact first command. On a return visit it acts like status. brief takes its objective, target and each phase's build command from INTENT.md, and uplift, transform and reimagine fall back to it for their versions, target and vision, so nobody is asked the same thing twice. The README's start section now begins with the front door.