Repository navigation
fix(skills): isolate the audit interpreter version probe - #467
Conversation
drevendev
left a comment
There was a problem hiding this comment.
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.
Related: #257. The audit skill's Python version probe previously ran
python -cwithout isolation before the isolated checkers. In a synthetic local experiment on system CPython 3.13.5, asitecustomize.pyon PYTHONPATH printed a marker during that old probe. With-I -Sthe 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.