docs(research): tool permission and approval prior-art survey#90
Open
hakula139 wants to merge 1 commit into
Open
docs(research): tool permission and approval prior-art survey#90hakula139 wants to merge 1 commit into
hakula139 wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
Adds a prior-art survey for tool permission and approval as groundwork for the Permission & Approval feature (roadmap current focus). It studies how Claude Code, Codex, and opencode gate mutating tool calls, then maps the findings onto oxide-code's existing seams with
file:lineanchors a design doc can build on.Design decisions
allow | ask | denyenum with fixed precedence (deny before any mode auto-allow), the shape Claude Code uses, over opencode's last-match-wins or Codex's two-axis matrix.ox.tomlis a privilege-escalation vector, so append-merge lets a project only widen what the user allowed, with revocation through deny rules. Whether project files may set rules at all is left to the design doc.user_rxselect!and theConfirmDeleteSessionModaltemplate, so no second channel or new control-flow plumbing is introduced.Changes
docs/research/tools/permissions.mddocs/research/README.md.cspell/words.txtnohup.Test plan
pnpm lint: 0 errorspnpm spellcheck: 0 issues