Files
iAs/resources/skills/manage_memos/SKILL.md
T
wunianxiao 5602b08faf fix: 5 个安全/正确性问题
1. (High) 无 DB 时审批绕过 — approval_manager 始终创建,
   无 DB 时用纯内存模式,不再绕过审批
2. (High) 多用户串上下文 — user_id 改存 ChatSession,
   spawn 前写入,executor 从 session 读(而非共享 Arc)
3. (Medium) 技能超时未杀子进程 — cmd.kill_on_drop(true)
4. (Medium) provider 配置不生效 — 模型选择跟随 LLM_PROVIDER
   环境变量(deepseek/lmstudio 各自取对应模型名)
5. (Low) manage_memos 改为 High 风险(add/delete 有副作用)
2026-06-02 10:56:44 +08:00

601 B

manage_memos

管理备忘录:添加、列出、删除。

备忘录存储在 .data/memos.json 文件中。

Risk Level

High

Parameters

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "description": "操作类型",
      "enum": ["add", "list", "delete"]
    },
    "content": {
      "type": "string",
      "description": "备忘内容(add 时需要)"
    },
    "id": {
      "type": "integer",
      "description": "备忘编号(delete 时需要)"
    }
  },
  "required": ["action"]
}

Execute

scripts/memo.sh