<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/hooks/diffstate.py, branch add-plugin/xcode</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 #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>security-guidance: take the turn baseline without git stash create</title>
<updated>2026-10-27T21:23:30+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-27T20:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=f1b930f0368e0e0a096442eaa9c1c951b8076b71'/>
<id>f1b930f0368e0e0a096442eaa9c1c951b8076b71</id>
<content type='text'>
stash create checks the work tree on one thread. add -u into the throwaway
index copy, write-tree and commit-tree produce the same commit and use git's
index preload instead, which matters where each file status is slow. See #6854.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
stash create checks the work tree on one thread. add -u into the throwaway
index copy, write-tree and commit-tree produce the same commit and use git's
index preload instead, which matters where each file status is slow. See #6854.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/main' into mhegazy/sg-secret-rename-pairing</title>
<updated>2026-10-27T20:03:52+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-27T20:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=3654d346b45836e43e013b849be19233ff0efbc3'/>
<id>3654d346b45836e43e013b849be19233ff0efbc3</id>
<content type='text'>
# Conflicts:
#	plugins/security-guidance/hooks/diffstate.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	plugins/security-guidance/hooks/diffstate.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/main' into HEAD</title>
<updated>2026-10-26T23:13:53+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-10-26T23:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=a3c2f20c0f46e3b0a76ef6e69fcc13c6faca763a'/>
<id>a3c2f20c0f46e3b0a76ef6e69fcc13c6faca763a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6836 from anthropics/mhegazy/sg-diff-seen-count</title>
<updated>2026-10-26T23:02:51+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-26T23:02:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=ced0aa953bf0689e48308de3405bf276421dce63'/>
<id>ced0aa953bf0689e48308de3405bf276421dce63</id>
<content type='text'>
security-guidance: count reviews of a diff that was already reviewed</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: count reviews of a diff that was already reviewed</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: hold in-flight review markers on native Windows too</title>
<updated>2026-10-23T11:31:29+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-23T11:31:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=51b34378d6c2efb5897120c322438e17763854fc'/>
<id>51b34378d6c2efb5897120c322438e17763854fc</id>
<content type='text'>
A commit or push review marks the commits it is reviewing by holding a
lock on .git/sg-inflight-&lt;sha&gt;, so a push made meanwhile waits for that
review instead of reviewing the same commit again. The lock was flock
only. Native Windows Python has no fcntl, so there were no markers there
and a push right after a commit still ran a second full review.

On Windows the same shared/exclusive, never-waiting lock is now taken
with LockFileEx, on a byte far past the end of the empty marker so that
reading or copying the file is never refused. Windows will not delete an
open file, so a marker is closed before it is deleted there, with a short
retry while another review has it open; what cannot be deleted is left
unlocked and swept once old, as before.

Also: one marker that cannot be opened, or whose last holder deletes it
between this review's open and lock, no longer costs the review its
claim on the remaining commits.

The in-flight tests no longer require fcntl, so they run on Windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A commit or push review marks the commits it is reviewing by holding a
lock on .git/sg-inflight-&lt;sha&gt;, so a push made meanwhile waits for that
review instead of reviewing the same commit again. The lock was flock
only. Native Windows Python has no fcntl, so there were no markers there
and a push right after a commit still ran a second full review.

On Windows the same shared/exclusive, never-waiting lock is now taken
with LockFileEx, on a byte far past the end of the empty marker so that
reading or copying the file is never refused. Windows will not delete an
open file, so a marker is closed before it is deleted there, with a short
retry while another review has it open; what cannot be deleted is left
unlocked and swept once old, as before.

Also: one marker that cannot be opened, or whose last holder deletes it
between this review's open and lock, no longer costs the review its
claim on the remaining commits.

The in-flight tests no longer require fcntl, so they run on Windows.
</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-diff-seen-count</title>
<updated>2026-10-22T00:12:11+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-22T00:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=de9e075c828f2c4438d26571dc6046472381a085'/>
<id>de9e075c828f2c4438d26571dc6046472381a085</id>
<content type='text'>
Keeps both sides in emit_metrics: diff_seen stays after the other review
tail keys, and the launcher probe keys stay after everything else.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keeps both sides in emit_metrics: diff_seen stays after the other review
tail keys, and the launcher probe keys stay after everything else.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/main' into mhegazy/sg-secret-rename-pairing</title>
<updated>2026-10-22T00:05:19+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-22T00:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=70cadd064f3919e097d1e63a407d90fbad2e3b41'/>
<id>70cadd064f3919e097d1e63a407d90fbad2e3b41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6837 from anthropics/mhegazy/sg-index-copy-gitlinks</title>
<updated>2026-10-21T23:58:27+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-21T23:58:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=234c3a4a443e3aa79dfe9ac86e931d50fc43e6da'/>
<id>234c3a4a443e3aa79dfe9ac86e931d50fc43e6da</id>
<content type='text'>
security-guidance: keep nested repositories out of the index copy</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: keep nested repositories out of the index copy</pre>
</div>
</content>
</entry>
</feed>
