-
Notifications
You must be signed in to change notification settings - Fork 0
Claude/cpu guard script dn d8u #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c1ad46c
fix: resolve merge conflicts — squash all branch changes onto current…
claude 722c7a0
fix: prevent EADDRINUSE crash-loops and lock Express version
claude 66322f4
feat: add gcz_cpu_guard.sh — passive GCZ stack CPU monitor
claude 7250d44
fix: scope pkill pattern to PROJECT_DIR to avoid killing unrelated no…
claude 18f959f
chore: remove gcz_cpu_guard.sh from repo; whitelist it in rw_cpu_guard
claude 5e9d1fa
fix(security): drop root privileges — run services as runewager user
claude 4fe5dc5
fix: resolve merge conflicts with main — keep security improvements
claude 613da2f
fix: address code review issues in backend.js and prod-run.sh
claude ab189aa
fix: address remaining code review items (kill escalation, stream gua…
claude f7f9b6b
fix: resolve merge conflicts — keep stream guards and graceful kill e…
claude 0e300b6
fix: escape PROJECT_DIR in pkill pattern; return 400 on missing rawBody
claude 63bfc3b
fix: add -t flag to fuser so port-clear prestart gets bare PIDs
claude 4f3dd8a
fix: add qa/ to ReadWritePaths — ProtectSystem=strict blocked repo_in…
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Consider suppressing stderr and/or guarding the fallback touch to avoid noisy failures in /tmp
The fallback
touchin/tmpisn’t redirected, so if/tmpis also unwritable (e.g., locked-down envs/chroots), it will start emitting errors to stderr and could behave differently underset -e. To preserve the original quiet, best‑effort behavior, consider something like:for the fallback as well.