-
Notifications
You must be signed in to change notification settings - Fork 3k
Harden auto mode self-modification checks #4572
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 40 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
2faa4d3
fix(core): harden auto mode self-modification checks
qqqys 0ed3ce5
fix(core): address auto mode review feedback
qqqys c6aabe2
fix(core): preserve shell-style absolute paths
qqqys 31016a4
fix(core): avoid regex slash trimming in shell semantics
qqqys 1cae556
test(core): cover shell rule relevance ordering
qqqys 7d148a9
fix(core): close auto mode fallback review gaps
qqqys a964d13
fix(core): harden auto mode cwd review paths
qqqys 59079fd
perf(core): Cache auto mode write path candidates
qqqys 7ec50ee
fix(core): refine auto mode protected write review
qqqys 7ed81ad
fix(core): track pushd in shell semantics
qqqys 67afded
fix(core): harden dynamic shell cwd permissions
qqqys 6748944
fix(core): harden auto-mode shell write detection
qqqys 43ea551
fix(core): harden shell semantic bypasses
qqqys d23569a
fix(core): route pending auto allows through classifier
qqqys ff7e40f
Merge main into feat/auto-mode-harden
qqqys d24dee1
fix(core): avoid regex shell syntax trimming
qqqys 7c49a91
fix(core): fire pending auto denial hooks
qqqys be9456c
test(cli): cover ACP protected Bash auto review
qqqys db36135
fix(core): guard pending permission denied hook failures
qqqys 2a146c7
test(cli): cover ACP auto denial for protected Bash writes
qqqys c5cbd7d
fix(core): guard PermissionDenied hook failures
qqqys 05d5ff4
fix(core): re-resolve auto mode write paths
qqqys b9d3906
Merge upstream/main into feat/auto-mode-harden
qqqys 25dfdff
fix(core): catch disguised protected shell writes
qqqys ab3e7c3
fix(core): catch additional protected shell writes
qqqys e66a4c9
fix(core): harden raw protected redirect parsing
qqqys 050456f
fix(core): close protected shell write gaps
qqqys 19c5f7a
fix(core): keep auto fallback protected writes pending
qqqys 8d3e1ae
fix(core): detect sort output protected writes
qqqys cd34b44
fix(core): detect protected target-directory writes
qqqys 59d2496
fix(core): detect raw protected shell writes
qqqys 86b73a4
fix(core): harden auto mode shell write detection
qqqys 633a108
fix(core): detect attached downloader output flags
qqqys 4d4174d
feat(core): configure auto classifier controls
qqqys 586b7cf
fix(core): catch attached protected write flags
qqqys f2cf68b
fix(core): enforce minimum classifier timeout
qqqys 980a545
fix(core): close auto mode shell bypasses
qqqys 268e174
test(core): cover find execdir protected writes
qqqys 0bf65a1
fix(core): detect awk in-place edits
qqqys 3d5c7cd
fix(core): preserve auto mode denial prefix
qqqys 16dfa83
test(core): cover awk long-form inplace flag
qqqys aa5b9b6
fix(core): handle pending auto fallback flow
qqqys 2b33bbe
fix(core): keep protected pending tools manual on fallback
qqqys 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
Oops, something went wrong.
Oops, something went wrong.
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] Docs/code prefix mismatch: this line still reads
Permission for this action has been denied. Reason: <reason>, but commit3d5c7cd84changedautoMode.ts:602to emitBlocked by auto mode policy: <reason>. The PR diff actually reverted this doc line from the correct new prefix back to the old one.— qwen3.7-max via Qwen Code /review