<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/README.md, 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 #6627 from anthropics/mhegazy/sg-review-sessions-not-saved</title>
<updated>2026-11-05T22:27:52+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-05T22:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=0672a295389aa640fb0544ef03a768ac37b30daa'/>
<id>0672a295389aa640fb0544ef03a768ac37b30daa</id>
<content type='text'>
security-guidance: do not save review runs as session transcripts</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: do not save review runs as session transcripts</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6930 from anthropics/fix/sg-blank-base-url</title>
<updated>2026-11-05T22:25:09+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-05T22:25:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=9b1aab5d9b97b5f920454642d3b9671f53eb0d13'/>
<id>9b1aab5d9b97b5f920454642d3b9671f53eb0d13</id>
<content type='text'>
security-guidance: treat a blank ANTHROPIC_BASE_URL as unset</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: treat a blank ANTHROPIC_BASE_URL as unset</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6999 from anthropics/mhegazy/sg-windows-cli-path</title>
<updated>2026-11-05T22:22:52+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>8000722+mhegazy@users.noreply.github.com</email>
</author>
<published>2026-11-05T22:22:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=1135a220c92c959f3d5e55e4b14abd9d2463daa5'/>
<id>1135a220c92c959f3d5e55e4b14abd9d2463daa5</id>
<content type='text'>
security-guidance: on Windows, name the CLI for the Agent SDK by its full path</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
security-guidance: on Windows, name the CLI for the Agent SDK by its full path</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: read project config files only as real files</title>
<updated>2026-11-04T20:06:16+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-11-04T19:40:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=32c40828aed3dcf670d23265db638f8ea1410019'/>
<id>32c40828aed3dcf670d23265db638f8ea1410019</id>
<content type='text'>
A project guidance or pattern file that is a link, or sits under a .claude that
is one, is skipped, and so is anything that is not a regular file. Guidance
that cannot be decoded no longer drops the other guidance files, and a closing
tag in guidance text no longer ends the block that holds it.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A project guidance or pattern file that is a link, or sits under a .claude that
is one, is skipped, and so is anything that is not a regular file. Guidance
that cannot be decoded no longer drops the other guidance files, and a closing
tag in guidance text no longer ends the block that holds it.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: on Windows, name the CLI for the Agent SDK by its full path</title>
<updated>2026-11-04T19:48:01+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-11-04T19:48:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=d39821e607bb403b432242425b959ce1ea53ad06'/>
<id>d39821e607bb403b432242425b959ce1ea53ad06</id>
<content type='text'>
On Windows the plugin named no CLI for the Agent SDK unless
SG_AGENTIC_CLI_PATH was set, so the SDK chose one. With none named, the
plugin now chooses there itself and passes a full path: the CLI bundled
with the SDK, else the claude.exe in the native installer's folder, else
a claude.exe on PATH. When there is none, it passes the bundled path
and the start fails. Folders that are not given as full paths are
skipped, and so are the working directory, the project root and folders
inside them.

The macOS and Linux install paths are no longer probed on Windows. The
hooks also set NoDefaultCurrentDirectoryInExePath on Windows when it is
absent.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Windows the plugin named no CLI for the Agent SDK unless
SG_AGENTIC_CLI_PATH was set, so the SDK chose one. With none named, the
plugin now chooses there itself and passes a full path: the CLI bundled
with the SDK, else the claude.exe in the native installer's folder, else
a claude.exe on PATH. When there is none, it passes the bundled path
and the start fails. Folders that are not given as full paths are
skipped, and so are the working directory, the project root and folders
inside them.

The macOS and Linux install paths are no longer probed on Windows. The
hooks also set NoDefaultCurrentDirectoryInExePath on Windows when it is
absent.

Co-authored-by: mhegazy &lt;mhegazy@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: treat a blank ANTHROPIC_BASE_URL as unset</title>
<updated>2026-10-28T10:32:00+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-28T10:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=aa67609219635b7cac03bea3f22aed16381bc274'/>
<id>aa67609219635b7cac03bea3f22aed16381bc274</id>
<content type='text'>
A set but empty value left the request URL as /v1/messages, so urllib raised and
every Stop, push and single-shot commit review failed. The SDK and Claude Code read a
blank value as the default endpoint; the plugin now does too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A set but empty value left the request URL as /v1/messages, so urllib raised and
every Stop, push and single-shot commit review failed. The SDK and Claude Code read a
blank value as the default endpoint; the plugin now does too.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'main' into mhegazy/sg-review-sessions-not-saved</title>
<updated>2026-10-20T22:50:00+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-20T22:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=5f02b91798e60899a798dd55517b01860b9d47c3'/>
<id>5f02b91798e60899a798dd55517b01860b9d47c3</id>
<content type='text'>
The inner CLI retry on main (a start refused over --strict-mcp-config) now also covers a CLI that does not know --no-session-persistence, so one helper handles either refused flag, or both on the same start.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The inner CLI retry on main (a start refused over --strict-mcp-config) now also covers a CLI that does not know --no-session-persistence, so one helper handles either refused flag, or both on the same start.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: review through Claude Code in a Claude apps gateway sign-in</title>
<updated>2026-10-19T17:05:01+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-19T15:37:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=e0d9e154cc7c8d545f5d78c2f51fb9c0dc655b08'/>
<id>e0d9e154cc7c8d545f5d78c2f51fb9c0dc655b08</id>
<content type='text'>
In a Claude Code session signed in to a Claude apps gateway with /login,
Claude Code gives plugin hooks no credential, so the Stop, commit, push
and agentic commit reviews were all skipped.

When the plugin has no credential of its own, it now asks the user's
installed claude (`claude auth status --json`) whether the session is
signed in to a gateway. A yes or no is kept for the session; when the CLI
gives no usable answer, the next hook asks again. If apiProvider is
"gateway" and loggedIn is true, the reviews run through that same CLI,
which restores the stored sign-in by itself, so no credential enters the
plugin. A review the CLI cannot complete counts as a failed review, never
a clean one. The reviews run even with
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set, as they do on Bedrock and
Vertex: the gateway docs suggest setting it, and the review goes through
the gateway like the session's own requests.

The CLI is found the way the agentic reviewer already finds it:
SG_AGENTIC_CLI_PATH, CLAUDE_CODE_EXECPATH, then fixed install paths, with
no PATH search, and it must be a full path. The reviews use Claude Code's
opus and sonnet aliases, which resolve to the ids Claude Code itself uses
on a gateway, and get the 120 s a direct review gets. Review rows set bit
4 of gateway_cfg, so this route's failure rate can be read apart from
first-party reviews.

Every Claude Code the plugin starts for a review, on any provider, now
runs with SECURITY_GUIDANCE_DISABLE=1. If policy settings enable the
plugin inside that CLI, its hooks there don't start reviews of their own.

The weekly notice that the reviews are not running is no longer shown in
a session signed in to a gateway, since the reviews do run there. The
edit that would show it asks claude first, and the notice marker is
written either way, so that edit waits for claude at most once a week.
Sessions the gateway route cannot review still get the notice, unless,
in the past week, an edit's check found a session signed in to a
gateway. Their skipped reviews still report no_creds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a Claude Code session signed in to a Claude apps gateway with /login,
Claude Code gives plugin hooks no credential, so the Stop, commit, push
and agentic commit reviews were all skipped.

When the plugin has no credential of its own, it now asks the user's
installed claude (`claude auth status --json`) whether the session is
signed in to a gateway. A yes or no is kept for the session; when the CLI
gives no usable answer, the next hook asks again. If apiProvider is
"gateway" and loggedIn is true, the reviews run through that same CLI,
which restores the stored sign-in by itself, so no credential enters the
plugin. A review the CLI cannot complete counts as a failed review, never
a clean one. The reviews run even with
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set, as they do on Bedrock and
Vertex: the gateway docs suggest setting it, and the review goes through
the gateway like the session's own requests.

The CLI is found the way the agentic reviewer already finds it:
SG_AGENTIC_CLI_PATH, CLAUDE_CODE_EXECPATH, then fixed install paths, with
no PATH search, and it must be a full path. The reviews use Claude Code's
opus and sonnet aliases, which resolve to the ids Claude Code itself uses
on a gateway, and get the 120 s a direct review gets. Review rows set bit
4 of gateway_cfg, so this route's failure rate can be read apart from
first-party reviews.

Every Claude Code the plugin starts for a review, on any provider, now
runs with SECURITY_GUIDANCE_DISABLE=1. If policy settings enable the
plugin inside that CLI, its hooks there don't start reviews of their own.

The weekly notice that the reviews are not running is no longer shown in
a session signed in to a gateway, since the reviews do run there. The
edit that would show it asks claude first, and the notice marker is
written either way, so that edit waits for claude at most once a week.
Sessions the gateway route cannot review still get the notice, unless,
in the past week, an edit's check found a session signed in to a
gateway. Their skipped reviews still report no_creds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/mhegazy/sg-no-credentials-notice' into mhegazy/sg-gateway-login</title>
<updated>2026-10-19T16:40:24+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-10-19T16:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=b3bb07739d5f26c538fc375613f351ca7c323b15'/>
<id>b3bb07739d5f26c538fc375613f351ca7c323b15</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: do not save review runs as session transcripts</title>
<updated>2026-10-19T16:29:37+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-15T22:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=cb1743691acefa86ca04fb567260f984a6dddf77'/>
<id>cb1743691acefa86ca04fb567260f984a6dddf77</id>
<content type='text'>
The agentic commit reviewer and reviews on 3rd-party providers run an
inner Claude Code through the Agent SDK, which saved each run as a
session transcript holding the review prompt and diff. Start it with
--no-session-persistence; SECURITY_GUIDANCE_PERSIST_SESSIONS=1 keeps the
transcripts. An inner CLI that predates the flag is run again without it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The agentic commit reviewer and reviews on 3rd-party providers run an
inner Claude Code through the Agent SDK, which saved each run as a
session transcript holding the review prompt and diff. Start it with
--no-session-persistence; SECURITY_GUIDANCE_PERSIST_SESSIONS=1 keeps the
transcripts. An inner CLI that predates the flag is run again without it.
</pre>
</div>
</content>
</entry>
</feed>
