fix(disk-hygiene): launch wired hooks through bash Python resolver (#1504) - #2551
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Claude finished @kyle-sexton's task in 1m 38s —— View job Security review complete ✅
No security issues found. Scope reviewed (files changed in this PR only):
Notes from the review (informational, not blocking):
|
…1504) Register both hooks via run-python-hook.sh so the Stop detector can surface interpreter fail-open even when bare python3 is missing or is the WindowsApps alias stub. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
a96b8d4 to
be9a311
Compare
|
Last security-reviewed head: |
|
Claude finished @cursor[bot]'s task in 1m 16s —— View job Security Review — complete
Skip gate: PR is open, and the change touches a security-relevant surface (hook execution wiring), so a full review was performed. Scope reviewed: No security issues found. Notes from the review (informational, not findings):
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a96b8d4304
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Claude finished @cursor[bot]'s task in 5m 28s —— View job Claude's Code Review
Summary: This closes the Two findings posted inline:
Additional (cross-file, no changed line to anchor to): Note: I wasn't able to execute |
|
Claude has reviewed this PR 4 times. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
|
Claude finished @cursor[bot]'s task in 2m 39s —— View job Claude's Code Review
Skip gate: not applicable — the head advanced to Summary: Commit One finding posted inline on
Non-blocking observation: neither the new floor-gating logic nor the test suite adds a regression case simulating a present-but-too-old interpreter (e.g. Python 2.x or 3.6 on |
Parse MIN_PYTHON from hygiene.py instead of hardcoding (3, 11) in the launcher and its contract tests. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @cursor[bot]'s task in 1m 23s —— View job Claude's Code Review
Skip gate: not applicable — the head advanced to Summary: Commit One finding posted inline on
|
Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @cursor[bot]'s task in 1m 1s —— View job Claude's Code Review
Skip gate: not applicable — the head advanced to Summary: Commit I confirmed the diff between the last-reviewed head ( No new findings. All previously raised items across this review's rounds have now been addressed:
Note: I was unable to execute |
Fixes #1504
Summary
Both wired
disk-hygienehooks now register asbashinvokinghooks/run-python-hook.sh, which resolves a real Python 3 interpreter (rejecting the zero-length WindowsAppspython3alias stub) before exec'ing the target script. When no interpreter resolves, the guard still fails open (exit 0) and the Stop detector emits asystemMessageon stdout.Related