<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins, branch mhegazy/sg-launcher-newer-python</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: 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>Merge pull request #6380 from anthropics/mhegazy/sg-bump-2.0.12</title>
<updated>2026-10-15T22:42:58+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-15T22:42:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=87bc24ab561c4876dff68bfaec4881dbc83f8250'/>
<id>87bc24ab561c4876dff68bfaec4881dbc83f8250</id>
<content type='text'>
security-guidance: bump version to 2.0.14</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: bump version to 2.0.14</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6588 from anthropics/mhegazy/sg-inflight-reviews</title>
<updated>2026-10-15T22:41:24+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-15T22:41:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=18de88a51e19589dbf2524b27eb72919721c3e15'/>
<id>18de88a51e19589dbf2524b27eb72919721c3e15</id>
<content type='text'>
security-guidance: do not review a commit twice while its first review is running</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: do not review a commit twice while its first review is running</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6589 from anthropics/mhegazy/sg-review-cost-log</title>
<updated>2026-10-15T22:41:17+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-15T22:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=4db747859e151db177af7ed7cd8b5a20c5995ca2'/>
<id>4db747859e151db177af7ed7cd8b5a20c5995ca2</id>
<content type='text'>
security-guidance: log each review's token use and estimated cost</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: log each review's token use and estimated cost</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6538 from anthropics/mhegazy/sg-launcher-unreadable-plugin-dir</title>
<updated>2026-10-15T22:40:39+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-10-15T22:40:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=f698d8bca315d40f1771a3a12746bd793f842f07'/>
<id>f698d8bca315d40f1771a3a12746bd793f842f07</id>
<content type='text'>
security-guidance: never run a hook with a Python that cannot read it</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: never run a hook with a Python that cannot read it</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: log each review's token use and estimated cost</title>
<updated>2026-10-15T22:40:35+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-13T20:52:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=48805c9f91eb029cb49286cad82dde3381ef7e3c'/>
<id>48805c9f91eb029cb49286cad82dde3381ef7e3c</id>
<content type='text'>
The plugin computed a review's usage but kept it only in its metrics.
Each review now writes one line to the plugin's debug log with the kind
of review, the Claude Code session, model, tokens and estimated cost.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The plugin computed a review's usage but kept it only in its metrics.
Each review now writes one line to the plugin's debug log with the kind
of review, the Claude Code session, model, tokens and estimated cost.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: do not review a commit twice while its first review is running</title>
<updated>2026-10-15T22:40:32+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-13T20:52:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=7e05205b41cbd5d3c8884f7effc8688c10e2cf00'/>
<id>7e05205b41cbd5d3c8884f7effc8688c10e2cf00</id>
<content type='text'>
A commit review records its commits only once it has a verdict. A push
(or the next commit's reflog scan) that started before then reviewed the
same diff again. A running review now holds a lock file per commit in the
git dir; a push review waits for it and skips what it recorded, and the
reflog scan leaves those commits to it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A commit review records its commits only once it has a verdict. A push
(or the next commit's reflog scan) that started before then reviewed the
same diff again. A running review now holds a lock file per commit in the
git dir; a push review waits for it and skips what it recorded, and the
reflog scan leaves those commits to it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/main' into mhegazy/sg-launcher-unreadable-plugin-dir</title>
<updated>2026-10-15T22:39:40+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-10-15T21:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=e873784d807428e86a3ab7cea202d9812de07718'/>
<id>e873784d807428e86a3ab7cea202d9812de07718</id>
<content type='text'>
# Conflicts:
#	plugins/security-guidance/hooks/security_reminder_hook.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	plugins/security-guidance/hooks/security_reminder_hook.py
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: start fewer processes in the hook launcher</title>
<updated>2026-10-15T22:39:39+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-12T19:42:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=cae27dda6824b4861e305c3a145e22379fd837ed'/>
<id>cae27dda6824b4861e305c3a145e22379fd837ed</id>
<content type='text'>
sg-python.sh runs on every hook, and under Git Bash each command
substitution is a new Windows process, whether or not the interpreter it
probes exists (#6470). On a machine with only `python` it started 13
processes before the hook; it now starts 1.

- Skip interpreter names that are not on PATH (a builtin lookup) before
  probing them.
- The probe execs the interpreter in its subshell instead of forking
  again from it.
- Remember the first Python below 3.10 seen in pass 2 instead of probing
  the same names a second time in pass 3.
- Convert drive paths (/c/Users/...) to Windows form in-shell under Git
  Bash / MSYS2; mount points and Cygwin still go through cygpath.

Interpreter order and the choice made are unchanged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sg-python.sh runs on every hook, and under Git Bash each command
substitution is a new Windows process, whether or not the interpreter it
probes exists (#6470). On a machine with only `python` it started 13
processes before the hook; it now starts 1.

- Skip interpreter names that are not on PATH (a builtin lookup) before
  probing them.
- The probe execs the interpreter in its subshell instead of forking
  again from it.
- Remember the first Python below 3.10 seen in pass 2 instead of probing
  the same names a second time in pass 3.
- Convert drive paths (/c/Users/...) to Windows form in-shell under Git
  Bash / MSYS2; mount points and Cygwin still go through cygpath.

Interpreter order and the choice made are unchanged.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: report launcher fallback and give-up as metrics</title>
<updated>2026-10-15T22:39:39+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-12T19:27:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=5a1d326c862f33d05a9e65f30e50a71a4e71d4a5'/>
<id>5a1d326c862f33d05a9e65f30e50a71a4e71d4a5</id>
<content type='text'>
Two count-only metrics, emitted only when nonzero, so the launcher change
can be checked in the field:

- launcher_fallback: the hook ran, but only because the launcher started
  the interpreter by its real path (the names on PATH could not read the
  plugin files). Added to the hook's and the SessionStart bootstrap's
  existing metrics.
- launcher_unreadable: no interpreter could read the hook script. No
  Python runs in that case, so the launcher prints the metrics line
  itself before exiting 1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two count-only metrics, emitted only when nonzero, so the launcher change
can be checked in the field:

- launcher_fallback: the hook ran, but only because the launcher started
  the interpreter by its real path (the names on PATH could not read the
  plugin files). Added to the hook's and the SessionStart bootstrap's
  existing metrics.
- launcher_unreadable: no interpreter could read the hook script. No
  Python runs in that case, so the launcher prints the metrics line
  itself before exiting 1.
</pre>
</div>
</content>
</entry>
</feed>
