summaryrefslogtreecommitdiff
path: root/plugins/code-modernization
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
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')
-rw-r--r--plugins/code-modernization/assets/media/pane-fleet.pngbin0 -> 142422 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-hidden-bar.pngbin0 -> 10715 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-live.gifbin0 -> 1404969 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-review-deck.pngbin0 -> 133583 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-rewrite-light.pngbin0 -> 117894 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-rewrite.pngbin0 -> 124643 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-sign.pngbin0 -> 81833 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-uplift-light.pngbin0 -> 269367 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-uplift.pngbin0 -> 289076 bytes
-rw-r--r--plugins/code-modernization/assets/media/pane-xray.pngbin0 -> 139746 bytes
-rw-r--r--plugins/code-modernization/assets/media/report-caught.jpgbin0 -> 58194 bytes
-rw-r--r--plugins/code-modernization/assets/media/report-glance.jpgbin0 -> 90208 bytes
-rw-r--r--plugins/code-modernization/assets/media/report-proof.jpgbin0 -> 140940 bytes
-rw-r--r--plugins/code-modernization/commands/modernize-status.md2
-rw-r--r--plugins/code-modernization/commands/modernize.md3
15 files changed, 2 insertions, 3 deletions
diff --git a/plugins/code-modernization/assets/media/pane-fleet.png b/plugins/code-modernization/assets/media/pane-fleet.png
new file mode 100644
index 00000000..51b9aa44
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-fleet.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-hidden-bar.png b/plugins/code-modernization/assets/media/pane-hidden-bar.png
new file mode 100644
index 00000000..18ca210d
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-hidden-bar.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-live.gif b/plugins/code-modernization/assets/media/pane-live.gif
new file mode 100644
index 00000000..78c9a8c7
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-live.gif
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-review-deck.png b/plugins/code-modernization/assets/media/pane-review-deck.png
new file mode 100644
index 00000000..809296ae
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-review-deck.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-rewrite-light.png b/plugins/code-modernization/assets/media/pane-rewrite-light.png
new file mode 100644
index 00000000..dec3e806
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-rewrite-light.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-rewrite.png b/plugins/code-modernization/assets/media/pane-rewrite.png
new file mode 100644
index 00000000..b37b129b
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-rewrite.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-sign.png b/plugins/code-modernization/assets/media/pane-sign.png
new file mode 100644
index 00000000..ed7c04b8
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-sign.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-uplift-light.png b/plugins/code-modernization/assets/media/pane-uplift-light.png
new file mode 100644
index 00000000..7bb9c56d
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-uplift-light.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-uplift.png b/plugins/code-modernization/assets/media/pane-uplift.png
new file mode 100644
index 00000000..35857bf2
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-uplift.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/pane-xray.png b/plugins/code-modernization/assets/media/pane-xray.png
new file mode 100644
index 00000000..8b5ab8bc
--- /dev/null
+++ b/plugins/code-modernization/assets/media/pane-xray.png
Binary files differ
diff --git a/plugins/code-modernization/assets/media/report-caught.jpg b/plugins/code-modernization/assets/media/report-caught.jpg
new file mode 100644
index 00000000..c66b92c7
--- /dev/null
+++ b/plugins/code-modernization/assets/media/report-caught.jpg
Binary files differ
diff --git a/plugins/code-modernization/assets/media/report-glance.jpg b/plugins/code-modernization/assets/media/report-glance.jpg
new file mode 100644
index 00000000..89763dbf
--- /dev/null
+++ b/plugins/code-modernization/assets/media/report-glance.jpg
Binary files differ
diff --git a/plugins/code-modernization/assets/media/report-proof.jpg b/plugins/code-modernization/assets/media/report-proof.jpg
new file mode 100644
index 00000000..4db2d23c
--- /dev/null
+++ b/plugins/code-modernization/assets/media/report-proof.jpg
Binary files differ
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