Skip to content

feat: 新增 HITL 功能与沙箱功能 #59

@maplefeng-a

Description

@maplefeng-a

背景

需要支持 Human-in-the-Loop (HITL) 和代码执行沙箱功能,提升安全性和交互性。

目标

HITL 功能

  • 关键操作前请求人工确认
  • 支持审批/拒绝/修改
  • 审批流程可配置

沙箱功能

  • 隔离代码执行环境
  • 资源限制(CPU/内存/时间)
  • 安全策略配置
  • 执行日志记录

影响模块

  • agent: 执行控制
  • mcp: 沙箱集成
  • desktop: 确认 UI

参考

  • OpenClaw 的 approvals 机制
  • Docker/容器沙箱方案

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions