Repository navigation
fix: reject unrelated process arguments during service detection - #12
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f044357ac1
ℹ️ 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".
|
@codex review |
|
@codex security review |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9b6c9bfe2e
ℹ️ 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".
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
Fixes #4
Match executable identity and component-specific operands instead of arbitrary argv entries. Python -c/-m and unrelated scripts, editors, invalid sshd configuration operands and non-listener titles no longer suppress startup. Preserve unreadable-executable fallback, UID/self filtering and disappearing-PID handling. Normalize equivalent configured paths and the kernel deleted-executable suffix; support combined Python flags and attached sshd options.
Validation: 17 process-detector tests pass locally; Bash syntax and git diff checks pass. Full local suite: 61 pass, one environment error because AF_UNIX socket creation is forbidden; unchanged address-wrapper test runs in CI. CI covers Python 3.11/3.13 and ShellCheck; see latest head checks for final results.
No live service, credentials, network configuration or deployed installation changed.
Verified CI on head
f044357ac114a853cbf220676b740d220b1992e8: Python 3.11 and 3.13, 62 tests each, plus Bash syntax and ShellCheck passed. Workflow run.Follow-up verification
Independent verification found that sshd configuration checks could still suppress startup. The detector now parses the complete option list and rejects
-t/-T, including combined or trailing flags. Codex review feedback is also addressed: Python 3.8-compatible deleted-executable handling, Linux leading-slash normalization, and PyPy/current-interpreter recognition. Focused detector coverage is now 24 tests. The combined candidate passes 77 applicable tests on actual Python 3.8; Linux CI validates the full suite separately. Latest head has been submitted for another Codex review.Latest follow-up also handles missing cwd path resolution, sshd -g, and the documented non-terminating Python flags. Linux integration CI passed all 88 tests on Python 3.11/3.13: https://github.com/abruption/dots-tailscale/actions/runs/38567107967.