GeezerVison is showing github.com — full-auto / permissions / etc · Issue #9 · anomalyco/opencode
full-auto / permissions / etc #9Descriptioni hate giving permissions. i feel like this precedent was set by incumbents and it's dumb. this is what git is for? idk, maybe this is heavy handed, but i know other tools are opting out of prompting for permission and that's what i would prefer, as a user.
we could just have a full-auto option, a la codex or claude code's shift+tab (kind of); could be enabled by default?
we could also do the codex thing and use macos seatbelt to sandbox open code to your project dir (+ config dirs/etc).
opening this issue to get thoughts from others, i'd love to just rip out permissions altogether but i also hope to not be the only user of open code, soooooo. Activityindeep99 commented on May 15, 2025 Full auto option makes sense, but imo probably shouldnt be enabled by default, pragmatism makes sense for first time users.
On sandboxing, is this about write operations only? If both read and write, Id be concerned about it being a hard limit of the scope as there are cases where Id want to reference a file from a different project (follow this style kind of thing). In case its about both read and write, would we be able to expand scope dynamically? I am sorry if I misunderstood the second suggestion! Reacted by Adam, Youcef Boumar, Yukai Huang and Adam Smaka adamdotdevin commented on May 15, 2025 i'd have to look at what approach codex takes w/r/t read vs write, but my first thought was that it would be for both read and write (prevent the tool from reading sensitive system files? idk). i don't feel strongly either way. ezynda3 commented on May 16, 2025 Sometimes I like to scroll through individual edits before approving them (mostly to stop Claude from being too eager to please) but I also sometimes like to go YOLO mode so would love the option to configure this or toggle this on/off per project. Reacted by Adam, Yukai Huang and Adam Smaka rekram1-node commented on May 16, 2025 Every so often Claude goes wild and wants to "start from scratch" just because it confused itself, so I would like to control the permissions easily.
I only use opencode now but I used Claude Code and Codex, and I enjoyed the way Claude Code does "full auto" quite a bit. I like being able to turn it on and off super easy depending on what I prompt it to do Reacted by Adam, Youcef Boumar and Yukai Huang adamdotdevin commented on May 16, 2025 yeah, i think the shift+tab toggle approach is good Reacted by Aiden Cline, Marcel Bochtler and Adam Smaka thdxr commented on Jun 14, 2025 going to close for now as 0.1.x is a rewrite. feel free to open a new issue if it's still a problem added a commit that references this issue on Jun 14, 2026This issue will close once commit 6b7b083 is merged into the 'main' branch.6b7b083
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|