diff options
| author | Morgan Lunt <morganl@anthropic.com> | 2026-09-23 19:04:04 -0700 |
|---|---|---|
| committer | Morgan Lunt <morganl@anthropic.com> | 2026-09-24 17:49:55 -0700 |
| commit | 5a8191cd213bd4f4b2a0dd237d450aed029d2752 (patch) | |
| tree | 04f837d0ac4d339f440175a65807ec9aacbe37f4 /plugins/code-modernization/scripts/render_rules.py | |
| parent | d7e3a90d48eba9c31733cfd530e35a5560611dc7 (diff) | |
code-modernization: docs accuracy (permission rules, plan mode, marketplace)
The README recommended Write(path) permission rules. File permissions
are checked against Edit(path) rules only, so the Write rules were
accepted but never consulted. The recommended settings now use
Edit(analysis/**) and Edit(modernized/**) allow rules and an
Edit(/legacy/**) deny rule, with a line saying that file writes are
matched through the Edit rule. The deny rule is anchored at the project
root, because an unanchored one also matches any nested directory named
legacy. It refuses a cp out of legacy/ as well, so the README gives
rsync -a for uplift's working copy, and says a symlinked legacy tree
needs additionalDirectories and a deny on its real path. The list of
shell commands that bypass the file rules drops sed -i (the deny rule
does cover sed, tee and redirections) and keeps git apply and scripts.
The README said brief enters plan mode; the command says to use plan
mode if the session supports it. The README now says the same.
The marketplace description predated same-stack uplift. It now lists
uplift and mentions version uplifts such as .NET Framework to .NET 8.
Diffstat (limited to 'plugins/code-modernization/scripts/render_rules.py')
0 files changed, 0 insertions, 0 deletions
