Investigate native always-allow support in Claude permission protocol
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- api
调研方向
Start by reviewing the Claude control protocol behavior described here, especially control_response and control_request, and compare it with the session-level behavior in issue #136. Determine whether a native always-allow flag such as allowAlways can prevent future matching requests; done means documenting whether the protocol supports this or confirming that the daemon workaround remains necessary.
由索引模型根据 Issue 内容生成。
描述
Context
Claude Code's control protocol for permissions only supports binary "allow" / "deny" responses via control_response. There is no protocol-level mechanism to communicate "always allow this tool" — the native Claude Code TUI handles this entirely client-side by remembering the user's choice and auto-replying to matching future requests.
Current Workaround
We are implementing session-level always-allow caching in the sandbox-agent daemon layer (#136 related). When a user replies "always" via the Gigacode/OpenCode UI, the daemon stores the decision and auto-replies "allow" to matching future control_request events from Claude.
Proposal
Investigate whether Claude's control protocol could natively support an "always allow" behavior flag (e.g. "behavior": "allowAlways") that would tell the Claude agent process to stop emitting control_request for matching tools, rather than requiring the daemon to intercept and auto-reply.
This would reduce latency (no round-trip through the daemon for auto-approved permissions) and align with how Codex (acceptForSession) and OpenCode (always) handle this natively.
Priority
Low — the daemon-side workaround is sufficient. This is a nice-to-have for protocol cleanliness.
🤖 Generated with Claude Code
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 134
- 平均合并
- 12 小时 54 分钟
- 30 天内合并 PR
- 41
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rivet-dev/agents 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 68/100
rivet-dev/agents#319 · 2 条评论 ·
维护者通常 1 天内回复
-
High-level SDK cannot authenticate current ACP adapters with dynamic auth methods可能已有人在做 @gauravch-code 于 9 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
rivet-dev/agents#313 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
-
bug: codex model variants are out of order可能已有人在做 @c7ozkan 于 219 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 58/100
rivet-dev/agents#145 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 83/100
keptinventory/kept#336 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 84/100
-
hemi-earn
难度 2/5 1-3 小时 新手友好度 72/100
vetro-protocol/vetro-monorepo#1013 ·
维护者通常 1 天内回复