Repository navigation
Launch claude and codex agents with auto-review instead of full bypass - #7001
Merged
Merged
Conversation
Claude's auto permission mode and codex's --approve-for-me both run unattended without prompting, but keep automatic review (and codex's workspace-write sandbox) instead of skipping approval entirely. Grok stays on bypassPermissions. Co-Authored-By: Claude Fable 5 <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates unattended agent launches to use safer automatic-review modes.
Changes:
- Claude now uses
--permission-mode auto. - Codex now uses
--approve-for-me. - Launcher tests reflect both flags.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
bin/omarchy-agent |
Configures safer unattended modes for Claude and Codex. |
test/shell.d/default-agent-test.sh |
Updates expected launch arguments. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-Authored-By: Claude Fable 5 <[email protected]>
dhh
added a commit
that referenced
this pull request
Aug 23, 2026
#7001) * Launch claude and codex agents with auto-review instead of full bypass Claude's auto permission mode and codex's --approve-for-me both run unattended without prompting, but keep automatic review (and codex's workspace-write sandbox) instead of skipping approval entirely. Grok stays on bypassPermissions. Co-Authored-By: Claude Fable 5 <[email protected]> * Match the bash aliases to the agent launcher's auto-review modes Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]> (cherry picked from commit dd9dee4)
Closed
nick1udwig
pushed a commit
to nick1udwig/omarchy
that referenced
this pull request
Sep 9, 2026
omacom#7001) * Launch claude and codex agents with auto-review instead of full bypass Claude's auto permission mode and codex's --approve-for-me both run unattended without prompting, but keep automatic review (and codex's workspace-write sandbox) instead of skipping approval entirely. Grok stays on bypassPermissions. Co-Authored-By: Claude Fable 5 <[email protected]> * Match the bash aliases to the agent launcher's auto-review modes Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
sogamoso
added a commit
to sogamoso/dotfiles
that referenced
this pull request
Oct 14, 2026
Omarchy moved cx from bypassPermissions to Claude's auto permission mode and added cy for Codex's --approve-for-me (omacom/omarchy#7001): both still run without prompting, but keep automatic review, and Codex keeps its workspace-write sandbox. The bash copy matters most, since on Omarchy it was overriding Omarchy's own safer cx with the full bypass.
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.
Agents launched from the keybinding or menu still need to run unattended, but claude and codex both grew modes that do so without abandoning review entirely:
--permission-mode auto, which auto-approves through automatic review instead ofbypassPermissions.--approve-for-me, which routes approvals through automatic review inside the workspace-write sandbox, instead of--dangerously-bypass-approvals-and-sandbox— a flag codex's own help says is meant only for externally sandboxed environments.Neither mode stops to prompt, so the fire-and-forget launch behavior is unchanged. The other agents (grok, gemini, copilot, crush, opencode, omp) only offer middle modes that still prompt a human for some calls, which would hang an unattended window, so they keep their existing yolo-style flags.
🤖 Generated with Claude Code