CommandCodeAI / CommandCodeAI/command-code
Sandbox requests (and/or use grading model, ...)
还没有人认领这个 Issue。
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
描述
Feature Description
Having a sandbox, or grading model for commands to automatically grade the safety of running it (or a combination of both) would be great.
A sandbox can see/limit what a command actually does and ask permission for things that need privileged access (commands interacting with the internet, touching files outside the working folder, ...).
An automated grading might make it easier for users to assess the danger of a command (this is done in GitHub Copilot, IIRC).
Use Case
Basically, I want a bit more ease of mind, less manual accepting every single tool call, less fatigue. At the same time, I don't want to use Shift + Tab to just blindly accept everything, as that might be potentially destructive or do unwanted modifications.
Additional Context
Having such a feature is a real game changer. I noticed this when switching to Codex from GitHub Copilot (in VS Code). In GitHub Copilot, the default mode is to ask for permission for almost every command ran. Codex is more intelligent with figuring out what to do, in general.
Also see a related issue for OpenCode: https://github.com/anomalyco/opencode/issues/2242.
BTW: I am on Windows, so having it work there as well would be a huge plus ;)
How important is this to you?
Blocking adoption or production use
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定文件、测试或入口点。首先定位 CLI 中的命令执行和权限处理,然后明确这项工作针对的是沙箱、安全自动评分,还是两者兼顾,包括 Windows 支持以及完成应当意味着什么。
由索引模型根据 Issue 内容生成。
评估
- 领域
- cli, security
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100