# Todo ## 待处理 ### 重要 - [ ] 配置 OpenRouter 接入(使用免费模型如Pony Alpha) - 获取 OPENROUTER_API_KEY - 运行: `openclaw onboard --auth-choice apiKey --token-provider openrouter --token "$OPENROUTER_API_KEY"` - 或在 config.yaml 中配置 env: { OPENROUTER_API_KEY: "sk-or-..." } - [ ] 🔒 处理安全巡检报告问题(2026-02-10) - [ ] 修复凭证目录权限: chmod 700 /home/admin/.openclaw/credentials - [ ] 禁用控制UI不安全认证: gateway.controlUi.allowInsecureAuth=false - [ ] 审查/移除Feishu插件 (src/media.ts:477) - [ ] 配置插件白名单 plugins.allow - [ ] 审查WeCom插件可疑代码 (src/monitor.ts:376, src/outbound.ts:141) - [ ] 启用ufw防火墙 - [ ] 配置阿里云 TTS 语音 - 需要提供:AccessKeyId, AccessKeySecret - 配置命令: `openclaw config set channels.wecom.voice.type "aliyun"` ### 字幕增强方案(待实现) - [x] ~~编译 Whisper.cpp~~ - 已完成基础功能 - Whisper 编译完成,集成到 KB Workflow - [ ] **集成 pyannote.audio 说话者分离** - 创建 kb-whisper-diarization 技能 - 安装依赖: `pip install pyannote.audio torch` - 设置 HF_TOKEN 环境变量 - 申请模型权限: https://huggingface.co/pyannote/speaker-diarization --- ## 已完成 ✅ ### Git版本管理和清理(2026-02-10) ✅ **需求1: Git版本管理** - Git仓库存放在 archive/ 目录 - 环境变量配置: KB_GIT_ROOT, KB_GIT_REMOTE, KB_GIT_USER, KB_GIT_EMAIL - 每次归档自动commit(可配置重试3次) - 新增命令: --trigger git-init, --trigger git-status ✅ **需求2: 订阅数据管理** - 订阅数据存放在 archive/subscriptions/ - 订阅结构: subscriptions.json, processed.json - Git跟踪历史,防止误删 ✅ **需求3: 自动清理策略** - 视频/截帧: 7天后清理 - 元数据/报告: 永久保留 - 新增命令: --trigger cleanup --days 30