diff options
| author | Claude <noreply@anthropic.com> | 2026-11-16 18:19:35 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-16 18:19:35 +0000 |
| commit | a5576bbfa2a13729122803fc8e3adf370f99d37a (patch) | |
| tree | 40dbe7e4b16bf6e2ee1bb15651454fbd2dbf0e16 /plugins/code-modernization/scripts/tests/test_proof_tools.py | |
| parent | b5b01ac4f889fec0c4c6bb89f27ca7c8574473f6 (diff) | |
security-guidance: read commit and push diffs without holding them
The commit and push reviews captured, decoded and split the whole
`git show -p` / `git diff` before looking at the number of files. An
import of 5,800 files and 4.6 M lines took 6.4 GB, and the review was
then skipped for its file count.
Read git's output as it arrives and keep what the review uses: the
characters of each file the prompt takes, a count of the added lines
after them, and past the file cut-off only the file names.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
Diffstat (limited to 'plugins/code-modernization/scripts/tests/test_proof_tools.py')
0 files changed, 0 insertions, 0 deletions
