<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins, branch mhegazy/sg-stop-diff-memory</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 main into mhegazy/sg-stop-diff-memory</title>
<updated>2026-10-20T17:19:54+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-20T17:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=0f6be178f21e3966272328322e6291b2f47c4727'/>
<id>0f6be178f21e3966272328322e6291b2f47c4727</id>
<content type='text'>
Conflict in get_git_diff: main added IGNORE_SUBMODULES to the diff command on the line where this branch resets its read counters. Both are kept.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflict in get_git_diff: main added IGNORE_SUBMODULES to the diff command on the line where this branch resets its read counters. Both are kept.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6813 from anthropics/mhegazy/sg-nested-repos</title>
<updated>2026-10-19T21:27:13+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-19T21:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=a0b04d9ddccaabe1976645f68b0eda50f74e7022'/>
<id>a0b04d9ddccaabe1976645f68b0eda50f74e7022</id>
<content type='text'>
security-guidance: stay out of repositories nested in the work tree</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: stay out of repositories nested in the work tree</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6607 from anthropics/mhegazy/sg-launcher-newer-python</title>
<updated>2026-10-19T17:40:32+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-19T17:40:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=921c90ff926e836cfa26b546aaa88a5adf6b3845'/>
<id>921c90ff926e836cfa26b546aaa88a5adf6b3845</id>
<content type='text'>
security-guidance: find Python releases newer than the launcher's list</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: find Python releases newer than the launcher's list</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: stay out of repositories nested in the work tree</title>
<updated>2026-10-19T17:36:13+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-10-19T17:36:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=7a151516fa58fd0160bacaf8fb5966931170bb9c'/>
<id>7a151516fa58fd0160bacaf8fb5966931170bb9c</id>
<content type='text'>
A directory with its own .git inside the work tree (a submodule, a vendored
checkout, an unpacked archive) was added to the throwaway index as a submodule
entry, and git then started a second git inside it to see whether it had
changed. Nothing in such a directory is reviewed.

git status and work-tree git diff now ignore submodule entries, an untracked
nested repository is no longer listed as a changed file or added to the index
copy, and a commit that moves a submodule is always shown as its two commit ids.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A directory with its own .git inside the work tree (a submodule, a vendored
checkout, an unpacked archive) was added to the throwaway index as a submodule
entry, and git then started a second git inside it to see whether it had
changed. Nothing in such a directory is reviewed.

git status and work-tree git diff now ignore submodule entries, an untracked
nested repository is no longer listed as a changed file or added to the index
copy, and a commit that moves a submodule is always shown as its two commit ids.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6755 from anthropics/mhegazy/sg-notebook-edit-patterns</title>
<updated>2026-10-19T17:24:40+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-19T17:24:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=d4c95aa95d02188aac37f6b435dadaccde46d1f9'/>
<id>d4c95aa95d02188aac37f6b435dadaccde46d1f9</id>
<content type='text'>
security-guidance: run pattern checks on NotebookEdit cells</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: run pattern checks on NotebookEdit cells</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: keep added lines past the cut, hold the diff timeout</title>
<updated>2026-10-19T16:57:46+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-19T16:57:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=6d375ed2062b0c34e8a18885439cd992ad2d834a'/>
<id>6d375ed2062b0c34e8a18885439cd992ad2d834a</id>
<content type='text'>
A reviewable file past the per-file cap now keeps as much again of its added lines, so a rewritten large file still shows what is new, and its diff ends with a line saying it was cut. The read runs on a thread so the 30 s limit holds while a process git started keeps the pipe open; a read that breaks is an error instead of a short diff. SG_MAX_FILE_DIFF_BYTES of zero or less means the default. The parser and the reader share one test for which files are reviewed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A reviewable file past the per-file cap now keeps as much again of its added lines, so a rewritten large file still shows what is new, and its diff ends with a line saying it was cut. The read runs on a thread so the 30 s limit holds while a process git started keeps the pipe open; a read that breaks is an error instead of a short diff. SG_MAX_FILE_DIFF_BYTES of zero or less means the default. The parser and the reader share one test for which files are reviewed.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: say when the LLM reviews can't run</title>
<updated>2026-10-19T16:29:37+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-12T19:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=1aecb0c12c0d688d65ae4d5a0c2e17768f8bbfd8'/>
<id>1aecb0c12c0d688d65ae4d5a0c2e17768f8bbfd8</id>
<content type='text'>
With no credentials in the hook's environment every Stop, commit and push review is skipped, and nothing told the user. That is the state of a signed-in session started with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY or DO_NOT_TRACK set, where Claude Code does not pass the sign-in to plugin hooks.

Show a notice on an edit in a git repo, at most once a week, naming the setting when one is set. Document where the reviews get credentials, and report no_creds on the skipped reviews.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With no credentials in the hook's environment every Stop, commit and push review is skipped, and nothing told the user. That is the state of a signed-in session started with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY or DO_NOT_TRACK set, where Claude Code does not pass the sign-in to plugin hooks.

Show a notice on an edit in a git repo, at most once a week, naming the setting when one is set. Document where the reviews get credentials, and report no_creds on the skipped reviews.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: find Python releases newer than the launcher's list</title>
<updated>2026-10-19T16:29:25+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-14T16:56:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=6d446623cb5fe608905d07ab4c3a2002a268ee65'/>
<id>6d446623cb5fe608905d07ab4c3a2002a268ee65</id>
<content type='text'>
sg-python.sh prefers the versioned names python3.13 to python3.10, then
python3 / python / py -3 when they are 3.10 or newer. A machine whose
`python3` is older (stock macOS: 3.9) and whose only newer interpreter is
python3.14 ended up on 3.9, which cannot load the agent SDK, so the commit
reviewer was off with no sign that an installed Python had been missed
(#4907, #5024).

- When none of the existing candidates is 3.10 or newer, try python3.14 to
  python3.19, oldest first, before settling for an older Python.
- An interpreter that is picked today is still picked: the newer names are
  only reached where the launcher used to fall back to a Python below 3.10
  or find none. Names not on PATH cost no process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sg-python.sh prefers the versioned names python3.13 to python3.10, then
python3 / python / py -3 when they are 3.10 or newer. A machine whose
`python3` is older (stock macOS: 3.9) and whose only newer interpreter is
python3.14 ended up on 3.9, which cannot load the agent SDK, so the commit
reviewer was off with no sign that an installed Python had been missed
(#4907, #5024).

- When none of the existing candidates is 3.10 or newer, try python3.14 to
  python3.19, oldest first, before settling for an older Python.
- An interpreter that is picked today is still picked: the newer names are
  only reached where the launcher used to fall back to a Python below 3.10
  or find none. Names not on PATH cost no process.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: read the Stop review's git diff without holding it whole</title>
<updated>2026-10-19T16:25:48+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-19T16:25:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=af95e28036dec718066ef0c3b684dccb4f23cd39'/>
<id>af95e28036dec718066ef0c3b684dccb4f23cd39</id>
<content type='text'>
The Stop review captured the whole diff of the turn before its per-file caps applied, so a turn that wrote large text files cost the hook several times their size in memory. The output is now read as it arrives: files the review drops keep only their header line, and one file's diff is cut at 4 MiB (SG_MAX_FILE_DIFF_BYTES). The git command is unchanged.

Adds count-only metrics, nonzero only: diff_mb, diff_cut_files, diff_timeout.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Stop review captured the whole diff of the turn before its per-file caps applied, so a turn that wrote large text files cost the hook several times their size in memory. The output is now read as it arrives: files the review drops keep only their header line, and one file's diff is cut at 4 MiB (SG_MAX_FILE_DIFF_BYTES). The git command is unchanged.

Adds count-only metrics, nonzero only: diff_mb, diff_cut_files, diff_timeout.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: run pattern checks on NotebookEdit cells</title>
<updated>2026-10-17T16:40:57+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-17T16:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=227b8934c9f5eb49fb8641332c227810539dda4b'/>
<id>227b8934c9f5eb49fb8641332c227810539dda4b</id>
<content type='text'>
The edit hook is registered for NotebookEdit but read no content from
it, so a cell edit never produced a pattern warning. Check the cell's
new source, and check a saved notebook by its cell sources so JSON
escapes no longer hide code from the rules.

Refs #6718
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The edit hook is registered for NotebookEdit but read no content from
it, so a cell edit never produced a pattern warning. Check the cell's
new source, and check a saved notebook by its cell sources so JSON
escapes no longer hide code from the rules.

Refs #6718
</pre>
</div>
</content>
</entry>
</feed>
