summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/commands
diff options
context:
space:
mode:
authorMorgan Lunt <morganl@anthropic.com>2026-09-24 21:07:42 -0700
committerMorgan Lunt <morganl@anthropic.com>2026-09-24 21:07:42 -0700
commit29c1c6a0d16453427b488e3eca1ad6e8beac0c10 (patch)
treec65979d1865ab38b0cd923f1c4a1752facfdb9f6 /plugins/code-modernization/commands
parentcaac6735d95bddeb8c8bbe3ddc9d6c01787fc8e1 (diff)
code-modernization: screenshots for the README, and where a person decides
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.
Diffstat (limited to 'plugins/code-modernization/commands')
-rw-r--r--plugins/code-modernization/commands/modernize-status.md2
-rw-r--r--plugins/code-modernization/commands/modernize.md3
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/code-modernization/commands/modernize-status.md b/plugins/code-modernization/commands/modernize-status.md
index ea3bd6f5..c08a14c0 100644
--- a/plugins/code-modernization/commands/modernize-status.md
+++ b/plugins/code-modernization/commands/modernize-status.md
@@ -7,7 +7,7 @@ arguments: system
Report where the modernization of `$system` stands, in one screen. This command inspects and never modifies,
except that it refreshes `analysis/$system/REPORT.html` (`python3
"${CLAUDE_PLUGIN_ROOT}/scripts/build_report.py" $system`, a convenience: if it fails or `python3` is missing, say so in one line and carry on). If nothing
-exists yet, the answer is `/code-modernization:modernize-preflight $system`.
+exists yet, the answer is `/code-modernization:modernize $system --source <path to the code>`, which asks what the person wants and starts preflight.
## 1 — Inventory
diff --git a/plugins/code-modernization/commands/modernize.md b/plugins/code-modernization/commands/modernize.md
index 5e0e91b2..112f5b21 100644
--- a/plugins/code-modernization/commands/modernize.md
+++ b/plugins/code-modernization/commands/modernize.md
@@ -54,8 +54,7 @@ is asked twice: `brief` takes its target stack from it and never overrides it wi
In at most eight lines, tailored to their goal, list the commands they will run in order (`preflight`, `assess`, `map`,
`extract-rules`, `review` when rules are flagged for a person, `brief`, then `uplift`, `transform` or `reimagine`, then `verify` and `harden`), one line each on what they get
and where a person decides. For "understand it first" stop after `brief`. For "not sure", run `preflight` and `assess`
-first and let the assessment's recommended pattern pick the road. Name the two places a human decides (approving the brief,
-accepting each difference the proof finds) so nothing surprises them.
+first and let the assessment's recommended pattern pick the road. Name the places a person decides (the preflight answers, the rules that look wrong, approving the brief, accepting each difference the proof finds, signing the proof, applying the security patch) so nothing surprises them. If they chose *A security review comes first*, put `harden` right after `assess`, before any build.
## 6 — First step