<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/tests, branch bump/hyperframes</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: enable prompt caching for review requests</title>
<updated>2026-10-09T10:53:16+00:00</updated>
<author>
<name>Octavian Guzu</name>
<email>oct@anthropic.com</email>
</author>
<published>2026-10-09T10:36:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=d2ff0871f6e35bc98f5cf5b82e82542c727b5874'/>
<id>d2ff0871f6e35bc98f5cf5b82e82542c727b5874</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: stop reviewing on every subagent finish</title>
<updated>2026-10-09T10:25:25+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-08T22:46:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=3752f0e092cb0fec08e68f80aa4d54849423a8b0'/>
<id>3752f0e092cb0fec08e68f80aa4d54849423a8b0</id>
<content type='text'>
Each subagent finish re-reviewed the whole diff since the last prompt, so
a turn with N subagents sent N growing reviews. The end-of-turn review
already covers what subagents changed, so drop the SubagentStop
registration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each subagent finish re-reviewed the whole diff since the last prompt, so
a turn with N subagents sent N growing reviews. The end-of-turn review
already covers what subagents changed, so drop the SubagentStop
registration.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: remove stash indexes older releases left in the git directory</title>
<updated>2026-10-07T15:40:40+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-07T15:40:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=f711194a9ecdf004b655dbc5006610fbb9e7c7bb'/>
<id>f711194a9ecdf004b655dbc5006610fbb9e7c7bb</id>
<content type='text'>
Releases before 2.0.10 ran `git stash create` on the real index. When that
git was killed, it left an `index.stash.&lt;pid&gt;` file the size of the index
in the git directory, and nothing removes those: a clone can hold hundreds.

Before it copies the index, the hook now deletes such files once they are
older than 30 minutes. It only touches regular files of the current user
whose name is exactly `index.stash.&lt;digits&gt;`, and never `index.lock`.

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01QR7edfw5HHkxJvJVgZiWpM
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Releases before 2.0.10 ran `git stash create` on the real index. When that
git was killed, it left an `index.stash.&lt;pid&gt;` file the size of the index
in the git directory, and nothing removes those: a clone can hold hundreds.

Before it copies the index, the hook now deletes such files once they are
older than 30 minutes. It only touches regular files of the current user
whose name is exactly `index.stash.&lt;digits&gt;`, and never `index.lock`.

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01QR7edfw5HHkxJvJVgZiWpM
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: stop a killed hook from leaving index copies behind (2.0.10 → 2.0.11)</title>
<updated>2026-10-07T15:35:56+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-07T15:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=bfe21649b9ccdbc67599d6647ff139a4c34e4458'/>
<id>bfe21649b9ccdbc67599d6647ff139a4c34e4458</id>
<content type='text'>
In a clone with a very large git index, 2.0.10 could still fill the disk.
It copies the index for each git call that might write it, and a hook that
Claude Code cancels (SIGTERM, then SIGKILL) never reached its cleanup, so
every cancelled hook left index-sized files in the temp directory for up
to 30 minutes. With several agents in one clone the live copies alone
could take many GB.

- A hook told to terminate removes its copies before it exits.
- A copy's name records the hook's pid; the next run deletes copies whose
  hook is gone instead of waiting for the age limit.
- Diffs no longer need a copy: diff.autoRefreshIndex is off, so they only
  read the index. Only `git stash create` and `git add -N` get one.
- The copy is a hard link where the filesystem allows it.
- Only so many hooks hold a copy at once, fewer as the disk fills. A hook
  that gets no slot within 5 s goes without: the baseline falls back to
  HEAD, or new untracked files are left out of that review.

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a clone with a very large git index, 2.0.10 could still fill the disk.
It copies the index for each git call that might write it, and a hook that
Claude Code cancels (SIGTERM, then SIGKILL) never reached its cleanup, so
every cancelled hook left index-sized files in the temp directory for up
to 30 minutes. With several agents in one clone the live copies alone
could take many GB.

- A hook told to terminate removes its copies before it exits.
- A copy's name records the hook's pid; the next run deletes copies whose
  hook is gone instead of waiting for the age limit.
- Diffs no longer need a copy: diff.autoRefreshIndex is off, so they only
  read the index. Only `git stash create` and `git add -N` get one.
- The copy is a hard link where the filesystem allows it.
- Only so many hooks hold a copy at once, fewer as the disk fills. A hook
  that gets no slot within 5 s goes without: the baseline falls back to
  HEAD, or new untracked files are left out of that review.

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: leave nothing behind when git is killed (2.0.9 → 2.0.10)</title>
<updated>2026-10-05T16:53:54+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-05T16:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=a22217bb450a6cc00d7a161566e7cc7d96dbf63a'/>
<id>a22217bb450a6cc00d7a161566e7cc7d96dbf63a</id>
<content type='text'>
With a very large git index the hook's git calls hit their time limits and
are killed, so git cannot clean up. Each kill could leave an index-sized
file in the temp directory, index.stash.&lt;pid&gt; files in .git, and a dead
.git/index.lock that fails the user's next git add or commit.

- `git stash create` and the work-tree diff run on a throwaway index copy.
- Every git the hook spawns gets GIT_OPTIONAL_LOCKS=0.
- Copies live in a private per-user folder and are removed together with
  the files git writes next to them.
- Leftovers older than 30 minutes are swept, including existing ones.

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With a very large git index the hook's git calls hit their time limits and
are killed, so git cannot clean up. Each kill could leave an index-sized
file in the temp directory, index.stash.&lt;pid&gt; files in .git, and a dead
.git/index.lock that fails the user's next git add or commit.

- `git stash create` and the work-tree diff run on a throwaway index copy.
- Every git the hook spawns gets GIT_OPTIONAL_LOCKS=0.
- Copies live in a private per-user folder and are removed together with
  the files git writes next to them.
- Leftovers older than 30 minutes are swept, including existing ones.

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: follow the newest Opus instead of a pinned release (2.0.8 → 2.0.9)</title>
<updated>2026-10-02T20:17:39+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-02T20:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=01f8be9b220b6e993a3c2cb219f28d7cc6fd3d6f'/>
<id>01f8be9b220b6e993a3c2cb219f28d7cc6fd3d6f</id>
<content type='text'>
The review model was hardcoded to claude-opus-4-7, so the plugin fell
behind each time a new Opus shipped.

- The diff review asks the configured endpoint (GET /v1/models) for the
  newest Opus it serves, cached for a day; claude-opus-5-5 if it can't say.
- The agentic commit review, and every review on Bedrock, Vertex and
  Foundry, use Claude Code's `opus` alias.
- SECURITY_REVIEW_MODEL and SG_AGENTIC_MODEL still pin a model.
- Adds pricing rows for the newer Opus models, and tests.

Co-Authored-By: Claude Code &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The review model was hardcoded to claude-opus-4-7, so the plugin fell
behind each time a new Opus shipped.

- The diff review asks the configured endpoint (GET /v1/models) for the
  newest Opus it serves, cached for a day; claude-opus-5-5 if it can't say.
- The agentic commit review, and every review on Bedrock, Vertex and
  Foundry, use Claude Code's `opus` alias.
- SECURITY_REVIEW_MODEL and SG_AGENTIC_MODEL still pin a model.
- Adds pricing rows for the newer Opus models, and tests.

Co-Authored-By: Claude Code &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Harden git invocation and repository hint handling</title>
<updated>2026-09-09T17:42:50+00:00</updated>
<author>
<name>Octavian Guzu</name>
<email>oct@anthropic.com</email>
</author>
<published>2026-09-09T17:42:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=debbe686ab74ec095436a499b1a59864037e46cf'/>
<id>debbe686ab74ec095436a499b1a59864037e46cf</id>
<content type='text'>
:house: Remote-Dev: homespace
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
:house: Remote-Dev: homespace
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust SubagentStop handling and repository precedence</title>
<updated>2026-09-09T16:46:55+00:00</updated>
<author>
<name>Octavian Guzu</name>
<email>oct@anthropic.com</email>
</author>
<published>2026-09-09T16:46:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=f03d41e2c96f30b7b59a05566e998e6236a943e7'/>
<id>f03d41e2c96f30b7b59a05566e998e6236a943e7</id>
<content type='text'>
- SubagentStop reviews without consuming or advancing the session's
  Stop state; an identical diff is not reviewed twice.
- SubagentStop from a different working tree than the project is skipped.
- An explicit `git -C &lt;dir&gt;` / `cd &lt;dir&gt;` naming another repository takes
  precedence over the hook cwd.
- Narrows the `git -C … commit` matcher; keeps Windows path separators
  when tokenizing; adds `--no-textconv` to diff/show invocations.
- Adds tests.

:house: Remote-Dev: homespace
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- SubagentStop reviews without consuming or advancing the session's
  Stop state; an identical diff is not reviewed twice.
- SubagentStop from a different working tree than the project is skipped.
- An explicit `git -C &lt;dir&gt;` / `cd &lt;dir&gt;` naming another repository takes
  precedence over the hook cwd.
- Narrows the `git -C … commit` matcher; keeps Windows path separators
  when tokenizing; adds `--no-textconv` to diff/show invocations.
- Adds tests.

:house: Remote-Dev: homespace
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: resolve repository from command and edited paths (2.0.7 → 2.0.8)</title>
<updated>2026-09-09T13:41:46+00:00</updated>
<author>
<name>Octavian Guzu</name>
<email>oct@anthropic.com</email>
</author>
<published>2026-09-09T13:41:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=0b2f3e30a9c6f6e5ed7ca72408ffb957103174ca'/>
<id>0b2f3e30a9c6f6e5ed7ca72408ffb957103174ca</id>
<content type='text'>
- Adds repository resolution from `git -C &lt;dir&gt;` / `cd &lt;dir&gt;` in the hook
  command, from the commit SHA, and from edited file paths when the hook
  cwd is not a git repository.
- Adds PostToolUse matchers for `git -C … commit|push`.
- Registers SubagentStop.
- Adds `repo_resolution` / `cwd_is_repo` metric fields.
- Adds tests.

:house: Remote-Dev: homespace
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Adds repository resolution from `git -C &lt;dir&gt;` / `cd &lt;dir&gt;` in the hook
  command, from the commit SHA, and from edited file paths when the hook
  cwd is not a git repository.
- Adds PostToolUse matchers for `git -C … commit|push`.
- Registers SubagentStop.
- Adds `repo_resolution` / `cwd_is_repo` metric fields.
- Adds tests.

:house: Remote-Dev: homespace
</pre>
</div>
</content>
</entry>
</feed>
