<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/hooks/gitutil.py, branch bump/stackhawk-api</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>Merge pull request #6861 from anthropics/mhegazy/sg-add-fail-metric</title>
<updated>2026-10-26T23:07:36+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-26T23:07:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=1da406f428c285c701a1033a3aef368a9ab865dc'/>
<id>1da406f428c285c701a1033a3aef368a9ab865dc</id>
<content type='text'>
security-guidance: count failed git add -N calls in the Stop review</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: count failed git add -N calls in the Stop review</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: count failed git add -N calls in the Stop review</title>
<updated>2026-10-23T01:40:07+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-23T01:40:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=bc74a56723a0ce58935822c78e26ee93707a974b'/>
<id>bc74a56723a0ce58935822c78e26ee93707a974b</id>
<content type='text'>
A failed add leaves new files out of the diff with no sign of it. Measure only; behaviour is unchanged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A failed add leaves new files out of the diff with no sign of it. Measure only; behaviour is unchanged.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: report where a slow prompt's time goes</title>
<updated>2026-10-22T17:11:25+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-22T17:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=22aea1e9b9b4e4efa98237d4d52154f973b47fec'/>
<id>22aea1e9b9b4e4efa98237d4d52154f973b47fec</id>
<content type='text'>
Prompts that wait a second or more in the UserPromptSubmit hook send one
metrics row: total, baseline and untracked listing time, index size, and
whether the repository is on a Windows drive under WSL. Measures only;
capture is unchanged. See #6854.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prompts that wait a second or more in the UserPromptSubmit hook send one
metrics row: total, baseline and untracked listing time, index size, and
whether the repository is on a Windows drive under WSL. Measures only;
capture is unchanged. See #6854.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'main' into mhegazy/sg-index-copy-gitlinks</title>
<updated>2026-10-21T00:03:52+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-10-21T00:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=06d5a3f8e838c81680838aec3266b0ec4c50f992'/>
<id>06d5a3f8e838c81680838aec3266b0ec4c50f992</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: keep nested repositories out of the index copy</title>
<updated>2026-10-20T23:00:54+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-10-20T23:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=a00d13d77ba7bf13a9d2ae0db5f7e24aeb4b12b2'/>
<id>a00d13d77ba7bf13a9d2ae0db5f7e24aeb4b12b2</id>
<content type='text'>
The hooks run `git stash create` (the turn baseline) and
`git add --intent-to-add` (untracked files) on a throwaway copy of the
index. A nested repository that the index records is a gitlink entry
there. `git stash create` takes no --ignore-submodules option and
`git add` reads the gitlinks its paths cover, so both started a second
git inside that directory.

Before anything runs on the copy, remove the gitlink entry of every
nested repository from the copy, never from the real index. If that
removal fails, do not use the copy at all: the baseline falls back to
HEAD and runs no stash create, and the diff reads the real index with
--ignore-submodules=all. A gitlink whose directory has no `.git` (a
submodule that is not checked out) stays; git starts nothing there.

Run the intent-to-add `git add` with literal pathspecs, in that one
call's environment only.

The index file is scanned for a gitlink's mode bytes first, so a
repository without one starts no extra git process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The hooks run `git stash create` (the turn baseline) and
`git add --intent-to-add` (untracked files) on a throwaway copy of the
index. A nested repository that the index records is a gitlink entry
there. `git stash create` takes no --ignore-submodules option and
`git add` reads the gitlinks its paths cover, so both started a second
git inside that directory.

Before anything runs on the copy, remove the gitlink entry of every
nested repository from the copy, never from the real index. If that
removal fails, do not use the copy at all: the baseline falls back to
HEAD and runs no stash create, and the diff reads the real index with
--ignore-submodules=all. A gitlink whose directory has no `.git` (a
submodule that is not checked out) stays; git starts nothing there.

Run the intent-to-add `git add` with literal pathspecs, in that one
call's environment only.

The index file is scanned for a gitlink's mode bytes first, so a
repository without one starts no extra git process.
</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>Merge pull request #6808 from anthropics/mhegazy/sg-secret-named-telemetry</title>
<updated>2026-10-20T20:56:17+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-20T20:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=c1785e2e56643aec21c99b3d879e9aef39e37d33'/>
<id>c1785e2e56643aec21c99b3d879e9aef39e37d33</id>
<content type='text'>
security-guidance: count secret-named data files in the Stop review set</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: count secret-named data files in the Stop review set</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6807 from anthropics/mhegazy/sg-stop-diff-memory</title>
<updated>2026-10-20T20:56:05+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-20T20:56:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=bcd305d2af2831e6ba10e2073a28d565c63ceb3e'/>
<id>bcd305d2af2831e6ba10e2073a28d565c63ceb3e</id>
<content type='text'>
security-guidance: read the Stop review's git diff without holding it whole</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: read the Stop review's git diff without holding it whole</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6721 from anthropics/mhegazy/sg-claude-code-credential-files</title>
<updated>2026-10-20T20:27:39+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-20T20:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=f61e6d15fc03feb474d6df219e37b46f9c14565b'/>
<id>f61e6d15fc03feb474d6df219e37b46f9c14565b</id>
<content type='text'>
security-guidance: keep Claude Code's own credential files out of reviews</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: keep Claude Code's own credential files out of reviews</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6810 from anthropics/mhegazy/sg-stop-baseline-checkout</title>
<updated>2026-10-20T20:27:17+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-20T20:27:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=62bb122f3052d547bdc4e5e2d0e4029fdcb2e8e5'/>
<id>62bb122f3052d547bdc4e5e2d0e4029fdcb2e8e5</id>
<content type='text'>
security-guidance: do not review against a baseline from another checkout</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: do not review against a baseline from another checkout</pre>
</div>
</content>
</entry>
</feed>
