<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/tests/test_stop_review_paths.py, branch bump/cloud-sql-postgresql</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>security-guidance: let the path budget test hold on Windows</title>
<updated>2026-10-20T23:08:23+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-20T23:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=fbfd03863903dc281cc5f56ddf8c1ed4e660f69f'/>
<id>fbfd03863903dc281cc5f56ddf8c1ed4e660f69f</id>
<content type='text'>
The expected budget is the platform figure where that is lower than half
of what the environment leaves.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The expected budget is the platform figure where that is lower than half
of what the environment leaves.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'main' into mhegazy/sg-stop-pathspec</title>
<updated>2026-10-20T22:49:16+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-20T22:49:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=01c4bf56762d51c6560fd91af4345307cd619a01'/>
<id>01c4bf56762d51c6560fd91af4345307cd619a01</id>
<content type='text'>
The batched path commands now read each diff through the bounded reader
that main added, so both changes apply to get_git_diff.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The batched path commands now read each diff through the bounded reader
that main added, so both changes apply to get_git_diff.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: keep secret renames out and report the right skip when paths do not fit one command</title>
<updated>2026-10-18T17:04:53+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-18T17:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=9f7575d2ccde33ed2a9491da69caded068c5926d'/>
<id>9f7575d2ccde33ed2a9491da69caded068c5926d</id>
<content type='text'>
When the changed paths are too long for one git command:
- secret-shaped paths gone from the work tree go into every batch, so a
  rename away from such a name is still paired and its content stays out
  of the review
- the batch size follows the system's own argument limit when it is lower
- giving up is reported as skip 8 and a set with no source files as skip 7,
  instead of 6 (no changes)

MAX_REVIEW_SET_PATHS counts only reviewable paths, read from the repo root,
so an unignored dependency directory does not hide an edited source file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the changed paths are too long for one git command:
- secret-shaped paths gone from the work tree go into every batch, so a
  rename away from such a name is still paired and its content stays out
  of the review
- the batch size follows the system's own argument limit when it is lower
- giving up is reported as skip 8 and a set with no source files as skip 7,
  instead of 6 (no changes)

MAX_REVIEW_SET_PATHS counts only reviewable paths, read from the repo root,
so an unignored dependency directory does not hide an edited source file.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: keep the Stop review working when the changed paths do not fit one command</title>
<updated>2026-10-13T20:57:12+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-13T20:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=84f3cd05382d6c190fc0b09ca2cd2f4d5432e7f6'/>
<id>84f3cd05382d6c190fc0b09ca2cd2f4d5432e7f6</id>
<content type='text'>
The Stop review passed every changed path to `git diff` as arguments. With enough of them (an unignored cache, a repo at $HOME) the OS refused to start git, the diff failed twice, and the turn's real edits were never reviewed.

When the OS refuses the argument list, keep only the paths the review can use (reviewable source files) and send them in a few commands under the same time limit. A path list that fits one command is handled exactly as before. Skip review sets of more than 100,000 paths before any diff.

Fixes #4824
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Stop review passed every changed path to `git diff` as arguments. With enough of them (an unignored cache, a repo at $HOME) the OS refused to start git, the diff failed twice, and the turn's real edits were never reviewed.

When the OS refuses the argument list, keep only the paths the review can use (reviewable source files) and send them in a few commands under the same time limit. A path list that fits one command is handled exactly as before. Skip review sets of more than 100,000 paths before any diff.

Fixes #4824
</pre>
</div>
</content>
</entry>
</feed>
