<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/code-modernization/README.md, branch code-modernization-1.2.0</title>
<subtitle>Official Claude Code plugin directory
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/'/>
<entry>
<title>code-modernization: choose rule-extraction depth and approve a number of agents</title>
<updated>2026-12-01T09:19:25+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-12-01T09:19:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=6f410661a18fefb6768fe37f5f6ffc599204eb10'/>
<id>6f410661a18fefb6768fe37f5f6ffc599204eb10</id>
<content type='text'>
Add --depth standard|thorough. Standard, the default, keeps the previous
extraction wording; Thorough writes one rule per decision and costs more.
Every run shows the estimate for both and never starts more agents than
were approved.

Spread batches over the system and size them by the densest shards seen, so
dense code that comes late is not extracted and left unrefereed. Keep
same-named rules whose citations a referee swaps or moves. Merge follow-up
runs with a script that never drops a confirmed rule because a re-run failed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add --depth standard|thorough. Standard, the default, keeps the previous
extraction wording; Thorough writes one rule per decision and costs more.
Every run shows the estimate for both and never starts more agents than
were approved.

Spread batches over the system and size them by the densest shards seen, so
dense code that comes late is not extracted and left unrefereed. Keep
same-named rules whose citations a referee swaps or moves. Merge follow-up
runs with a script that never drops a confirmed rule because a re-run failed.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: one rule per decision and smaller shards in rule extraction</title>
<updated>2026-11-30T20:49:13+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-30T20:49:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=761a93d46638340c9df6a73b46aa3c9826a2213d'/>
<id>761a93d46638340c9df6a73b46aa3c9826a2213d</id>
<content type='text'>
Remove the rules-per-line target, cut tree shards to about 1,000 lines, and
report files and rules that were dropped without notice. Version 1.2.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the rules-per-line target, cut tree shards to about 1,000 lines, and
report files and rules that were dropped without notice. Version 1.2.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: look up whether target versions are supported (#7170)</title>
<updated>2026-11-20T01:20:22+00:00</updated>
<author>
<name>claude[bot]</name>
<email>209825114+claude[bot]@users.noreply.github.com</email>
</author>
<published>2026-11-20T01:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=d7d32797e7e02708d0bb00ffe8b8f2397dc1aea6'/>
<id>d7d32797e7e02708d0bb00ffe8b8f2397dc1aea6</id>
<content type='text'>
Squash merge of 1 commit</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Squash merge of 1 commit</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: count failures and the machine's python, once per version</title>
<updated>2026-09-25T19:06:43+00:00</updated>
<author>
<name>Morgan Lunt</name>
<email>morganl@anthropic.com</email>
</author>
<published>2026-09-25T19:06:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=c8874f5ad883e26428f483ffa4d537cc81489e64'/>
<id>c8874f5ad883e26428f483ffa4d537cc81489e64</id>
<content type='text'>
Usage counts now say what the plugin runs on (system, python status and version, path problems) and which kind of failure happens: a missing or placeholder python, a permission block, a model error, or an error in the plugin's own script. Failures are classified on the machine into a fixed list and only the code is sent, once per kind per session. A session-start ping, once per plugin version, counts machines where nobody gets as far as typing a command. When python cannot run, the shell wrapper reports that itself, and on Windows it falls back to python or the py launcher.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Usage counts now say what the plugin runs on (system, python status and version, path problems) and which kind of failure happens: a missing or placeholder python, a permission block, a model error, or an error in the plugin's own script. Failures are classified on the machine into a fixed list and only the code is sent, once per kind per session. A session-start ping, once per plugin version, counts machines where nobody gets as far as typing a command. When python cannot run, the shell wrapper reports that itself, and on Windows it falls back to python or the py launcher.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: version 1.0.0, usage counts and a README results table</title>
<updated>2026-09-25T18:29:00+00:00</updated>
<author>
<name>Morgan Lunt</name>
<email>morganl@anthropic.com</email>
</author>
<published>2026-09-25T18:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=363af43603ecdb1bdbed7303764b6daeeec7c37f'/>
<id>363af43603ecdb1bdbed7303764b6daeeec7c37f</id>
<content type='text'>
The plugin now has a version and a changelog. Two hooks record whole-number usage counts (which command ran, how far a system got, how many rules and proofs) through the CLI's own telemetry: counts from 100 up are rounded, nothing is sent when the plugin is not in use, and any of three switches turns it off. The README documents every key and lists what the plugin was tried on, checked against the run files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The plugin now has a version and a changelog. Two hooks record whole-number usage counts (which command ran, how far a system got, how many rules and proofs) through the CLI's own telemetry: counts from 100 up are rounded, nothing is sent when the plugin is not in use, and any of three switches turns it off. The README documents every key and lists what the plugin was tried on, checked against the run files.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: call workflows by name and fix the uplift version arguments</title>
<updated>2026-09-25T03:27:49+00:00</updated>
<author>
<name>Morgan Lunt</name>
<email>morganl@anthropic.com</email>
</author>
<published>2026-09-25T03:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=f33999b153851d927a103e0f4b6032ed53a94aad'/>
<id>f33999b153851d927a103e0f4b6032ed53a94aad</id>
<content type='text'>
The Workflow tool refuses a plugin script path whenever the plugin lives
outside the working directory, which is the normal case for an installed
plugin: the model failed once or twice on every run before falling back to
the registered name. The commands now call each workflow by its registered
name and mention the script path only as a fallback.

modernize-uplift also referred to legacy/$system_version, which is not an
argument; it now uses $source_version everywhere, and the version pair, the
rewrite target and the vision fall back to analysis/&lt;system&gt;/INTENT.md when
they are not given. The README notes that a scripted (claude -p) run needs
CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 so long fan-out steps can finish.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Workflow tool refuses a plugin script path whenever the plugin lives
outside the working directory, which is the normal case for an installed
plugin: the model failed once or twice on every run before falling back to
the registered name. The commands now call each workflow by its registered
name and mention the script path only as a fallback.

modernize-uplift also referred to legacy/$system_version, which is not an
argument; it now uses $source_version everywhere, and the version pair, the
rewrite target and the vision fall back to analysis/&lt;system&gt;/INTENT.md when
they are not given. The README notes that a scripted (claude -p) run needs
CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 so long fan-out steps can finish.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: a front door that asks what you want once</title>
<updated>2026-09-25T03:18:45+00:00</updated>
<author>
<name>Morgan Lunt</name>
<email>morganl@anthropic.com</email>
</author>
<published>2026-09-25T03:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=b6b148f496e8da208676b4a1553bdf292ce340d9'/>
<id>b6b148f496e8da208676b4a1553bdf292ce340d9</id>
<content type='text'>
/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/&lt;system&gt;/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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
/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/&lt;system&gt;/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.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: simpler commands, a source option, a report page and an equivalence check</title>
<updated>2026-09-25T03:14:51+00:00</updated>
<author>
<name>Morgan Lunt</name>
<email>morganl@anthropic.com</email>
</author>
<published>2026-09-25T03:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=cafefb304bde4070c6c0877528ee49c1252eff85'/>
<id>cafefb304bde4070c6c0877528ee49c1252eff85</id>
<content type='text'>
Commands hardcoded legacy/&lt;system&gt;, so code too big to copy, or living at
an absolute path, needed a hand-made symlink. Preflight now takes
--source &lt;path&gt; and makes the legacy/&lt;system&gt; link for you (a junction on
Windows); nothing is copied, and every command says where the link points
before it starts. The harden patch is applied with patch -p1 -d.

Each command ends by naming the next command to run, and the commands are
about a third shorter with no step removed:
- map accepts an existing dependency graph (--graph) or the stack's own
  tooling, maps very large estates in resumable chunks, records reflection
  targets as unresolved instead of dead, asks before describing more than
  40 nodes, and never gives two nodes the same location.
- transform can take its module and target from the brief, counts the
  equivalence cases that executed (zero is a failure and a comparison never
  skips), shows the tests can fail with a deliberate one-line break, and
  hands "same or different" to a script when both systems can run.
- brief writes each phase in one fixed shape: one command, module ids as in
  the map, and criteria written as conditions a build command may tick but
  not reword.
- reimagine reuses the discovery artifacts instead of extracting them again.
- status names the exact command to paste next.

scripts/build_report.py turns whatever the commands wrote into one
self-contained, offline REPORT.html (Mermaid is vendored, all text from the
analysis is escaped, the quarantined secrets file is never read), and
scripts/compare.py decides byte-for-byte whether two outputs match, records
why, and checks it can fail. The shard builder ignores symbolic links and
paths that leave the source, matches a plain name against what lies beneath
it, and falls back to the directory tree when the map's modules share a
location.

The README drops from 275 to about 100 lines; the pane's reference moves to
hooks/README.md.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commands hardcoded legacy/&lt;system&gt;, so code too big to copy, or living at
an absolute path, needed a hand-made symlink. Preflight now takes
--source &lt;path&gt; and makes the legacy/&lt;system&gt; link for you (a junction on
Windows); nothing is copied, and every command says where the link points
before it starts. The harden patch is applied with patch -p1 -d.

Each command ends by naming the next command to run, and the commands are
about a third shorter with no step removed:
- map accepts an existing dependency graph (--graph) or the stack's own
  tooling, maps very large estates in resumable chunks, records reflection
  targets as unresolved instead of dead, asks before describing more than
  40 nodes, and never gives two nodes the same location.
- transform can take its module and target from the brief, counts the
  equivalence cases that executed (zero is a failure and a comparison never
  skips), shows the tests can fail with a deliberate one-line break, and
  hands "same or different" to a script when both systems can run.
- brief writes each phase in one fixed shape: one command, module ids as in
  the map, and criteria written as conditions a build command may tick but
  not reword.
- reimagine reuses the discovery artifacts instead of extracting them again.
- status names the exact command to paste next.

scripts/build_report.py turns whatever the commands wrote into one
self-contained, offline REPORT.html (Mermaid is vendored, all text from the
analysis is escaped, the quarantined secrets file is never read), and
scripts/compare.py decides byte-for-byte whether two outputs match, records
why, and checks it can fail. The shard builder ignores symbolic links and
paths that leave the source, matches a plain name against what lies beneath
it, and falls back to the directory tree when the map's modules share a
location.

The README drops from 275 to about 100 lines; the pane's reference moves to
hooks/README.md.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: add an optional live progress pane</title>
<updated>2026-09-25T01:11:07+00:00</updated>
<author>
<name>Morgan Lunt</name>
<email>morganl@anthropic.com</email>
</author>
<published>2026-09-25T01:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=c9e990089c6c87cb96e227e998edbada1df82861'/>
<id>c9e990089c6c87cb96e227e998edbada1df82861</id>
<content type='text'>
Adds a hooks module, off unless the CLI's early-access function hooks
are enabled, that draws a pane beside the transcript while the commands
run: the system, which steps are done, a map of its code, each unit of
work and where it stands, what needs attention, and the next command.

It reads only the artifacts the commands write and the legacy tree, so
it works for any language and for a rewrite, a same-stack uplift or a
greenfield rebuild. The map comes from topology.json when there is one
and from the source tree when there is not. In an uplift each module is
set against the baseline; tests are read from JUnit XML, .trx reports or
the runs a session sees; a button shows and hides the pane, and
/modernize-panel does the same from the keyboard.

The same module adds x-ray context on legacy reads, a review deck for
business rules (/modernize-review), a sign-off dialog (/modernize-sign)
and a fleet view that spots one failure repeating across agents. It
only watches: it never blocks, rewrites or restores an edit, and it runs
no program inside the trees it reads. An uplift's changed modules are
found by comparing the working copy with the tree by file name and size
through the file API. Its options are the plugin's userConfig. Without
the flag nothing loads and the commands, agents and workflows behave as
before.

91 tests in tests/ run with "claude plugin test"; plugin validate
passes on the release build with the flag on and off.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a hooks module, off unless the CLI's early-access function hooks
are enabled, that draws a pane beside the transcript while the commands
run: the system, which steps are done, a map of its code, each unit of
work and where it stands, what needs attention, and the next command.

It reads only the artifacts the commands write and the legacy tree, so
it works for any language and for a rewrite, a same-stack uplift or a
greenfield rebuild. The map comes from topology.json when there is one
and from the source tree when there is not. In an uplift each module is
set against the baseline; tests are read from JUnit XML, .trx reports or
the runs a session sees; a button shows and hides the pane, and
/modernize-panel does the same from the keyboard.

The same module adds x-ray context on legacy reads, a review deck for
business rules (/modernize-review), a sign-off dialog (/modernize-sign)
and a fleet view that spots one failure repeating across agents. It
only watches: it never blocks, rewrites or restores an edit, and it runs
no program inside the trees it reads. An uplift's changed modules are
found by comparing the working copy with the tree by file name and size
through the file API. Its options are the plugin's userConfig. Without
the flag nothing loads and the commands, agents and workflows behave as
before.

91 tests in tests/ run with "claude plugin test"; plugin validate
passes on the release build with the flag on and off.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-modernization: fix contradictions and stale references in existing text</title>
<updated>2026-09-25T00:50:21+00:00</updated>
<author>
<name>Morgan Lunt</name>
<email>morganl@anthropic.com</email>
</author>
<published>2026-09-24T05:32:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=65b0f06f1bd6309b88ca8c3cc92e34d7a4f51f5f'/>
<id>65b0f06f1bd6309b88ca8c3cc92e34d7a4f51f5f</id>
<content type='text'>
Make the text say what the commands and workflows already do: where each build command writes, which commands need earlier output, the approval stop before an uplift fan-out, a version placeholder that named arguments left unusable, a reference to a README section that does not exist, and a few counts and step references. No new steps or options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the text say what the commands and workflows already do: where each build command writes, which commands need earlier output, the approval stop before an uplift fan-out, a version placeholder that named arguments left unusable, a reference to a README section that does not exist, and a few counts and step references. No new steps or options.
</pre>
</div>
</content>
</entry>
</feed>
