<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git, branch exc-failure-encoding</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: encode exception type + errno + ensurepip instrumentation for venv BUILD_FAILED (2.0.3 → 2.0.4)</title>
<updated>2026-06-04T21:55:55+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-06-04T21:06:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=43fcf6d5135afdc46a97fc93eb5bbaac52863cbd'/>
<id>43fcf6d5135afdc46a97fc93eb5bbaac52863cbd</id>
<content type='text'>
Follow-up to #2154. v2.0.3 telemetry showed the venv BUILD_FAILED bucket
splits into two unexplained groups; this PR instruments both.

## 1. The exc: bucket — exception type + errno

The dominant remaining venv BUILD_FAILED (phase=venv, err=99) is ~99%
sdk_bootstrap_stderr_sig=NULL — Python exceptions caught by the generic
`except Exception` ("exc:&lt;TypeName&gt;"), not CalledProcessErrors with
categorizable stderr. ~56k/30h, all opaque (stderr_sig only covers
"other:&lt;tail&gt;").

  - Handler embeds errno for OSError-family: "exc:OSError:28", etc.
  - SDK_BOOTSTRAP_EXC_CODES maps the type → sdk_bootstrap_exc
    (FileNotFoundError=1 … OSError=6 … 99=other).
  - errno decoded → sdk_bootstrap_errno (ENOENT/EACCES/ENOSPC/…).

## 2. venv_ensurepip_fail instrumentation (the other category)

venv_ensurepip_fail (code 11) is the top categorizable venv failure, and
telemetry flipped the naive assumption: it's NOT just Debian/Ubuntu —
macOS has the MOST distinct affected users (466 vs 121 linux), and linux
is a retry storm (~172 fires/user). Before committing to a `pip install
--target` fallback (Option A) we need to know (a) which interpreter these
users run and (b) whether that interpreter even has pip (→ whether
--target would work, vs needing a system package).

  - sdk_hook_py (always emitted): interpreter version as major*100+minor
    (309/312). Disambiguates Apple-3.9 vs a 3.10+-with-broken-ensurepip,
    and also recovers the version for HOOK_PY_INCOMPATIBLE (whose "py_3.9"
    err_kind otherwise collapses to err=99).
  - sdk_has_pip (only on err==11, to avoid an extra subprocess per healthy
    session): whether `&lt;interpreter&gt; -m pip --version` works. has_pip=true
    → the --target fallback would fix them; has_pip=false → they need a
    system package (python3-venv / a complete Python).

Both #1 and #2 are purely additive telemetry on the existing BUILD_FAILED
path — no behavior change to the bootstrap. They de-risk the Option A
decision: ship A only if the affected cohort has pip.

Verified locally on macOS Python 3.13:
  - py_compile clean.
  - 39 tests in test_exc_failure_encoding.py (34 exc/errno + 5 ensurepip
    instrumentation): type-code map, errno extraction + round-trip,
    APPEND-ONLY stability, handler-embeds-errno, _probe_has_pip returns
    bool + true-on-this-machine, sdk_hook_py always-emitted as
    major*100+minor, sdk_has_pip gated on err==11.
  - Full suite: 503/503 pass + 2 skipped.

Version 2.0.3 -&gt; 2.0.4 per the per-PR-bump policy (#2114).

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to #2154. v2.0.3 telemetry showed the venv BUILD_FAILED bucket
splits into two unexplained groups; this PR instruments both.

## 1. The exc: bucket — exception type + errno

The dominant remaining venv BUILD_FAILED (phase=venv, err=99) is ~99%
sdk_bootstrap_stderr_sig=NULL — Python exceptions caught by the generic
`except Exception` ("exc:&lt;TypeName&gt;"), not CalledProcessErrors with
categorizable stderr. ~56k/30h, all opaque (stderr_sig only covers
"other:&lt;tail&gt;").

  - Handler embeds errno for OSError-family: "exc:OSError:28", etc.
  - SDK_BOOTSTRAP_EXC_CODES maps the type → sdk_bootstrap_exc
    (FileNotFoundError=1 … OSError=6 … 99=other).
  - errno decoded → sdk_bootstrap_errno (ENOENT/EACCES/ENOSPC/…).

## 2. venv_ensurepip_fail instrumentation (the other category)

venv_ensurepip_fail (code 11) is the top categorizable venv failure, and
telemetry flipped the naive assumption: it's NOT just Debian/Ubuntu —
macOS has the MOST distinct affected users (466 vs 121 linux), and linux
is a retry storm (~172 fires/user). Before committing to a `pip install
--target` fallback (Option A) we need to know (a) which interpreter these
users run and (b) whether that interpreter even has pip (→ whether
--target would work, vs needing a system package).

  - sdk_hook_py (always emitted): interpreter version as major*100+minor
    (309/312). Disambiguates Apple-3.9 vs a 3.10+-with-broken-ensurepip,
    and also recovers the version for HOOK_PY_INCOMPATIBLE (whose "py_3.9"
    err_kind otherwise collapses to err=99).
  - sdk_has_pip (only on err==11, to avoid an extra subprocess per healthy
    session): whether `&lt;interpreter&gt; -m pip --version` works. has_pip=true
    → the --target fallback would fix them; has_pip=false → they need a
    system package (python3-venv / a complete Python).

Both #1 and #2 are purely additive telemetry on the existing BUILD_FAILED
path — no behavior change to the bootstrap. They de-risk the Option A
decision: ship A only if the affected cohort has pip.

Verified locally on macOS Python 3.13:
  - py_compile clean.
  - 39 tests in test_exc_failure_encoding.py (34 exc/errno + 5 ensurepip
    instrumentation): type-code map, errno extraction + round-trip,
    APPEND-ONLY stability, handler-embeds-errno, _probe_has_pip returns
    bool + true-on-this-machine, sdk_hook_py always-emitted as
    major*100+minor, sdk_has_pip gated on err==11.
  - Full suite: 503/503 pass + 2 skipped.

Version 2.0.3 -&gt; 2.0.4 per the per-PR-bump policy (#2114).

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2311 from anthropics/readd-valtown</title>
<updated>2026-06-04T19:13:14+00:00</updated>
<author>
<name>Charmaine Lee</name>
<email>charmaine@anthropic.com</email>
</author>
<published>2026-06-04T19:13:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=bd7cf41fc8a468b136a9266633303ff4a011c7b4'/>
<id>bd7cf41fc8a468b136a9266633303ff4a011c7b4</id>
<content type='text'>
Re-add valtown plugin entry</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Re-add valtown plugin entry</pre>
</div>
</content>
</entry>
<entry>
<title>Re-add valtown plugin entry</title>
<updated>2026-06-04T18:56:55+00:00</updated>
<author>
<name>Bryan Thompson</name>
<email>bthompson@anthropic.com</email>
</author>
<published>2026-06-04T18:56:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=52e0a89d75a5e1e9dded91e9b2a504b4a8c84986'/>
<id>52e0a89d75a5e1e9dded91e9b2a504b4a8c84986</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove valtown plugin entry (#2310)</title>
<updated>2026-06-04T18:48:58+00:00</updated>
<author>
<name>Bryan Thompson</name>
<email>bthompson@anthropic.com</email>
</author>
<published>2026-06-04T18:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=e4afd8274a87bd6a8ac405c241a2ef0fa03975fe'/>
<id>e4afd8274a87bd6a8ac405c241a2ef0fa03975fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename vals plugin to valtown (#2309)</title>
<updated>2026-06-04T17:59:59+00:00</updated>
<author>
<name>Bryan Thompson</name>
<email>bthompson@anthropic.com</email>
</author>
<published>2026-06-04T17:59:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=056ed579e148523f39f947101338e04afa325865'/>
<id>056ed579e148523f39f947101338e04afa325865</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2306 from anthropics/add-vals</title>
<updated>2026-06-04T16:48:26+00:00</updated>
<author>
<name>Charmaine Lee</name>
<email>charmaine@anthropic.com</email>
</author>
<published>2026-06-04T16:48:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=9b3f5842ebf59b79d87acfb3c66aa1e4b20837c1'/>
<id>9b3f5842ebf59b79d87acfb3c66aa1e4b20837c1</id>
<content type='text'>
Add vals plugin</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add vals plugin</pre>
</div>
</content>
</entry>
<entry>
<title>bump(revenuecat): 81262a33 → b34f9beb (#2299)</title>
<updated>2026-06-04T16:17:39+00:00</updated>
<author>
<name>github-actions[bot]</name>
<email>41898282+github-actions[bot]@users.noreply.github.com</email>
</author>
<published>2026-06-04T16:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=0a028a197f0c14a4d2dbd5cde41fbab25df54452'/>
<id>0a028a197f0c14a4d2dbd5cde41fbab25df54452</id>
<content type='text'>
Co-authored-by: github-actions[bot] &lt;41898282+github-actions[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: github-actions[bot] &lt;41898282+github-actions[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add vals plugin</title>
<updated>2026-06-04T14:41:51+00:00</updated>
<author>
<name>Bryan Thompson</name>
<email>bthompson@anthropic.com</email>
</author>
<published>2026-06-04T14:41:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=971bf7f77b359725b709143e0d3cf1a1630c948d'/>
<id>971bf7f77b359725b709143e0d3cf1a1630c948d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update aws-startup-advisor listing description (#2305)</title>
<updated>2026-06-04T14:39:44+00:00</updated>
<author>
<name>Bryan Thompson</name>
<email>bthompson@anthropic.com</email>
</author>
<published>2026-06-04T14:39:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=84a0cba9995100aac9c65cfb3a07d492de4c1fc5'/>
<id>84a0cba9995100aac9c65cfb3a07d492de4c1fc5</id>
<content type='text'>
Refreshes the marketplace listing description for the AWS Startup Advisor
plugin at the maintainer's request.

Co-authored-by: Claude Opus 4.8 (1M context) &lt;noreply@anthropic.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refreshes the marketplace listing description for the AWS Startup Advisor
plugin at the maintainer's request.

Co-authored-by: Claude Opus 4.8 (1M context) &lt;noreply@anthropic.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bump(migration-to-aws): 440c6a26 → 30808e64 (#2295)</title>
<updated>2026-06-04T13:43:34+00:00</updated>
<author>
<name>github-actions[bot]</name>
<email>41898282+github-actions[bot]@users.noreply.github.com</email>
</author>
<published>2026-06-04T13:43:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=4ef055161a120e2e13d3d01a60671ca8aaafc6cf'/>
<id>4ef055161a120e2e13d3d01a60671ca8aaafc6cf</id>
<content type='text'>
Co-authored-by: github-actions[bot] &lt;41898282+github-actions[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: github-actions[bot] &lt;41898282+github-actions[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
</feed>
