diff options
| author | Mohamed Hegazy <mhegazy@anthropic.com> | 2026-10-15 16:29:47 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-10-19 16:29:44 +0000 |
| commit | ed055202f5eed104410a42b34a49a8de8eb40ca8 (patch) | |
| tree | 61e85e1560016a01a0a8082d2f3de218ea0bfe51 /plugins/plugin-dev/skills/plugin-settings/examples | |
| parent | 49484affa8f5730ec9bcfd6e25c393bc021cdd34 (diff) | |
security-guidance: rebuild an agent SDK install whose package directory was emptied
The bootstrap called a venv healthy when `import claude_agent_sdk`
succeeded. Python imports an empty directory as a namespace package, so an
install that had lost its files passed, the reviewer's
`from claude_agent_sdk import ...` failed on every commit, and the agentic
review fell back until the venv was deleted by hand.
The probe now also requires the package to have a __file__, for the venv
and for the --target fallback. A venv that fails it takes the rebuild path
that was already there. sdk_venv_emptied counts the sessions that found
the venv in that state.
Diffstat (limited to 'plugins/plugin-dev/skills/plugin-settings/examples')
0 files changed, 0 insertions, 0 deletions
