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