Skip to content

fix(skills): isolate the audit interpreter version probe - #467

Merged
drevendev merged 2 commits into
masterfrom
beautifulrepo/audit-isolated-version-probe-20261124
Nov 24, 2026
Merged

drevendev merged 2 commits into
masterfrom
beautifulrepo/audit-isolated-version-probe-20261124

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Related: #257. The audit skill's Python version probe previously ran python -c without isolation before the isolated checkers. In a synthetic local experiment on system CPython 3.13.5, a sitecustomize.py on PYTHONPATH printed a marker during that old probe. With -I -S the marker was absent and the version check succeeded. The container's alternate venv already had its own startup customization, so the positive reproduction is scoped to system CPython.

Require a trusted interpreter and working directory outside the target, isolate the version probe with -I -S, cite the Python CLI reference, and add a source-level regression. These flags are not a sandbox. No host behavior, stable release or immutable candidate pin changes; no model invocations.

Full local checkout unavailable (GitHub DNS failed); hosted CI and separate later-run acceptance required.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later-run maintainer acceptance (same account, not independent approval). Reviewed both changed files and complete audit skill at this head. Rechecked CPython 3.11 command-line reference: -I ignores PYTHON* and unsafe import paths; -S suppresses site startup. Fresh local CPython 3.13.5 synthetic check from a separate trusted directory: old probe printed a marker from PYTHONPATH/sitecustomize.py, new -I -S probe exited 0 without the marker. Trusted executable requirement and non-sandbox limitation are explicit. Exact-head Quality CI 45304620225 (six successful jobs) and installed-layout 45304619961 (successful) verified; no open review threads. No material finding within this bounded change. Full local suite and actual Claude Code/Codex host invocations not performed; this does not accept a release candidate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant