This repository has been archived on 2026-08-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw/agents/knowledge-base/workspace/.learnings/ERRORS.md
T

41 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ERRORS.md - 错误记录
## 2026-03-16: rclone sync 覆盖了用户更新
**问题描述**:
- `~/work/zq` 已通过 `rclone mount` 挂载,实时同步到 NAS
- 我在 18:25 执行了 `rclone sync ~/work/zq/ "nas-webdav:..."`(直接操作远程)
- 这绕过了挂载点缓存,覆盖了用户 18:30 在 NAS 上的更新
**根本原因**:
- AGENTS.md 中没有明确禁止对已挂载目录使用 rclone sync
- 误以为需要手动同步
**教训**:
- **禁止对已挂载目录(~/work/zq)使用 rclone sync**
- 直接读写挂载点即可,挂载点会自动同步
**已修正**:
- 更新了 AGENTS.md,添加了明确的禁止规则
---
## 2026-03-16: kb-workflow 技能缺少归档步骤
**问题描述**:
- SKILL.md 文档描述了 5 步流程(parse → download → asr → analyze → archive)
- 实际 `kb_workflow.py` 只实现了 4 步,缺少 archive 步骤
- `KB_ARCHIVE_PATH` 环境变量被定义但未被使用
**影响**:
- 处理后的文件留在 workspace 而非归档到工作区
- 需要手动移动文件
**临时解决方案**:
- 手动执行 `cp` 到归档目录(直接操作挂载点 ~/work/zq,不用 rclone sync)
**根本解决方案**(需修改技能代码):
1. 在 pipeline 中添加 ArchiveProcessor
2. 读取 `KB_ARCHIVE_PATH` 环境变量
3. 按日期创建子目录并移动文件