<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/hooks/gitutil.py, branch fix/theme-examples-command-description</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>Keep git out of folders without a .git entry on older git versions</title>
<updated>2026-11-12T22:18:36+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-12T22:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=141a7256071c54e00afaee4c9f6455ed745be841'/>
<id>141a7256071c54e00afaee4c9f6455ed745be841</id>
<content type='text'>
Git before 2.38 has no safe.bareRepository. Check before the prompt and
Stop hooks run git, following the same search git uses to find a
repository, and let a work tree kept elsewhere through core.worktree
through.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Git before 2.38 has no safe.bareRepository. Check before the prompt and
Stop hooks run git, following the same search git uses to find a
repository, and let a work tree kept elsewhere through core.worktree
through.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: only run git in ordinary checkouts</title>
<updated>2026-11-12T15:01:04+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-12T15:01:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=7122fc93f8f13f06e6f413ed68d0e0cd8a9541d0'/>
<id>7122fc93f8f13f06e6f413ed68d0e0cd8a9541d0</id>
<content type='text'>
Treat a folder as a repository to run git in only when it has its own
.git entry or the caller named the repository through GIT_DIR, and set
safe.bareRepository=explicit on the hook's git commands. Linked worktrees
and ordinary checkouts work as before.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Treat a folder as a repository to run git in only when it has its own
.git entry or the caller named the repository through GIT_DIR, and set
safe.bareRepository=explicit on the hook's git commands. Linked worktrees
and ordinary checkouts work as before.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #7047 from anthropics/mhegazy/sg-push-merge-base</title>
<updated>2026-11-11T19:38:34+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-11T19:38:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=e64aee1fb4a256eefa5152ac9d1ef7c13a553509'/>
<id>e64aee1fb4a256eefa5152ac9d1ef7c13a553509</id>
<content type='text'>
security-guidance: push review of a merge reviews what the push added</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: push review of a merge reviews what the push added</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: push review of a merge reviews what the push added</title>
<updated>2026-11-09T17:52:07+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-09T17:52:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=67f8c646e7cb50b4e28e042d13932efca6dc5f50'/>
<id>67f8c646e7cb50b4e28e042d13932efca6dc5f50</id>
<content type='text'>
The reviewed prefix could end on the merged-in branch, so the diff held
everything the first parent has that the branch lacks. Keep the base on
HEAD's first-parent line. A merge whose history is all reviewed is sent as
its combined diff, so only its conflict resolutions and hand edits are read.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reviewed prefix could end on the merged-in branch, so the diff held
everything the first parent has that the branch lacks. Keep the base on
HEAD's first-parent line. A merge whose history is all reviewed is sent as
its combined diff, so only its conflict resolutions and hand edits are read.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: count commits that no commit hook saw</title>
<updated>2026-11-07T02:01:31+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-11-07T02:01:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=5d1c0f596415311a60adc55d0c0fa1d5f4ac27d8'/>
<id>5d1c0f596415311a60adc55d0c0fa1d5f4ac27d8</id>
<content type='text'>
A commit review starts from a hook on the Bash tool, so a commit made any
other way starts none. The Stop row now carries turn_commits: how many
commits the turn made, how many have no review, and how many of those no
commit hook saw. Count only; what is reviewed does not change, and no hook
entry is added.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A commit review starts from a hook on the Bash tool, so a commit made any
other way starts none. The Stop row now carries turn_commits: how many
commits the turn made, how many have no review, and how many of those no
commit hook saw. Count only; what is reviewed does not change, and no hook
entry is added.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge main into mhegazy/sg-index-copy-all-gitlinks</title>
<updated>2026-11-05T22:33:05+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-11-05T22:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=64e2f0cbf3f9c076a2709428e92fdb77e4da6f04'/>
<id>64e2f0cbf3f9c076a2709428e92fdb77e4da6f04</id>
<content type='text'>
Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6835 from anthropics/mhegazy/sg-secret-rename-pairing</title>
<updated>2026-11-05T22:28:26+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-05T22:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=d189be9fc7a63d53d4e2af59accdd70e933e41e9'/>
<id>d189be9fc7a63d53d4e2af59accdd70e933e41e9</id>
<content type='text'>
security-guidance: keep a renamed file paired with its old name in the Stop review</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: keep a renamed file paired with its old name in the Stop review</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6922 from anthropics/mhegazy/sg-prompt-snapshot</title>
<updated>2026-11-05T22:26:44+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-05T22:26:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=b3af021db53c814a266d87128d6f2711ed2c98f6'/>
<id>b3af021db53c814a266d87128d6f2711ed2c98f6</id>
<content type='text'>
security-guidance: take the turn baseline without git stash create</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: take the turn baseline without git stash create</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6919 from anthropics/mhegazy/sg-add-failure-fix</title>
<updated>2026-11-05T22:25:21+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-05T22:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=d2061194e0d13fe4532e9bb14d01887df8284dc2'/>
<id>d2061194e0d13fe4532e9bb14d01887df8284dc2</id>
<content type='text'>
security-guidance: keep new files in the Stop review when git add -N fails</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: keep new files in the Stop review when git add -N fails</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #7002 from anthropics/mhegazy/sg-git-log-signature-off</title>
<updated>2026-11-05T22:15:22+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-05T22:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=88cc978a56e28d54180fda4e423bfddde1e7f532'/>
<id>88cc978a56e28d54180fda4e423bfddde1e7f532</id>
<content type='text'>
security-guidance: read git log output without signature checks</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: read git log output without signature checks</pre>
</div>
</content>
</entry>
</feed>
