<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/tests/conftest.py, branch bump/azure-sql-developer</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: print one JSON document from the SessionStart hook on other hosts</title>
<updated>2026-10-15T16:31:46+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-15T16:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=ced6733eee6aa246e2af55ce0c71e38c01a50141'/>
<id>ced6733eee6aa246e2af55ce0c71e38c01a50141</id>
<content type='text'>
On a host other than Claude Code the SessionStart hook printed an async
declaration line and then a metrics line. A host that reads hook output as
one JSON document with a closed schema rejects that.

In portable mode the hook now skips the async line and prints one object
with only the standard fields. The portable-mode helpers move to _base.py so
both hook scripts share them, and the mode is decided once at start-up.
Output under Claude Code is unchanged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On a host other than Claude Code the SessionStart hook printed an async
declaration line and then a metrics line. A host that reads hook output as
one JSON document with a closed schema rejects that.

In portable mode the hook now skips the async line and prints one object
with only the standard fields. The portable-mode helpers move to _base.py so
both hook scripts share them, and the mode is decided once at start-up.
Output under Claude Code is unchanged.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: never report a failed review as clean</title>
<updated>2026-10-09T16:04:18+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-08T01:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=3057edc902d79b2ddedd4043c566b0b6dceb4ca3'/>
<id>3057edc902d79b2ddedd4043c566b0b6dceb4ca3</id>
<content type='text'>
When a commit review got no verdict (an API error, an unexpected error in
the call, or a reply that could not be read) it was logged as "no security
issues found" and the commit was marked reviewed, so the push review
skipped it (anthropics/claude-code#99840, also anthropics/claude-code#81057).

- A commit whose review got no verdict is not marked reviewed, so a later
  push review from Claude Code still checks it, unless the same command
  pushed it. A failed push review does not mark its range either.
- Claude is told once per session for each kind of review and failure.
  Later failures of the same kind are only logged.
- In the agentic race, a single-shot fallback with no verdict no longer
  wins while the agentic review can still answer, the fallback no longer
  starts after the agentic review has answered, and it never runs twice.
- The Stop and SubagentStop reviews use the same signal, so an unreadable
  reply no longer records a subagent's diff as reviewed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a commit review got no verdict (an API error, an unexpected error in
the call, or a reply that could not be read) it was logged as "no security
issues found" and the commit was marked reviewed, so the push review
skipped it (anthropics/claude-code#99840, also anthropics/claude-code#81057).

- A commit whose review got no verdict is not marked reviewed, so a later
  push review from Claude Code still checks it, unless the same command
  pushed it. A failed push review does not mark its range either.
- Claude is told once per session for each kind of review and failure.
  Later failures of the same kind are only logged.
- In the agentic race, a single-shot fallback with no verdict no longer
  wins while the agentic review can still answer, the fallback no longer
  starts after the agentic review has answered, and it never runs twice.
- The Stop and SubagentStop reviews use the same signal, so an unreadable
  reply no longer records a subagent's diff as reviewed.
</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>
