Initial commit

This commit is contained in:
2026-02-15 00:36:24 +08:00
commit bce284f7c6
215 changed files with 40763 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
# Todo
## 待处理
### 重要
- [ ] 🔒 处理安全巡检报告问题(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"`
- [ ] 测试阿里 SenseVoice 方案效果
- 评估语音识别效果对比 Whisper
- [ ] 跑通 Git 管理知识库仓库操作
- 验证 git add/commit/push 流程
- 确保归档后自动提交到远程仓库
- [ ] 使用多个对话会话路由到不同代理
- 设计会话路由规则
- 配置不同代理处理不同类型请求
### 字幕增强方案(待实现)
- [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