Stop the agent from persisting its own shell grants in the project permissions file - #904
Merged
TheGreatAxios merged 1 commit intoSep 11, 2026
Conversation
TheGreatAxios
force-pushed
the
cl-7634-stop-the-agent-from-persisting-its-own-shell-grants-in-the
branch
from
September 11, 2026 05:05
6315cc7 to
59ea7a7
Compare
TheGreatAxios
commented
Sep 11, 2026
TheGreatAxios
left a comment
Collaborator
Author
There was a problem hiding this comment.
Looks good to merge. .corbits/permissions.json is on the same secret-guard denylist as settings, with write/edit/apply_patch coverage and an auto-mode integration check that the denied write cannot become a standing bash -c approval. Docs match the code after the conflict rebase. CI is green on the rebased branch.
TheGreatAxios
deleted the
cl-7634-stop-the-agent-from-persisting-its-own-shell-grants-in-the
branch
September 11, 2026 05:10
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Auto-mode write_file / edit_file / apply_patch of
.corbits/permissions.jsonis now denied the same way.corbits/settings.jsonis, so an agent-written grant can never become a standing auto-approval.Verification: secret-guard-plugin suite 115 pass; lint + build pass; typecheck/full-suite gaps pre-existing and environmental (vendor semver, sandbox FS/git timeouts).
Fixes CL-7634