Add: 2026-05-29-熔岩之海与云鲸之梦

This commit is contained in:
Chen Gu
2026-08-13 17:00:22 +08:00
parent 4658b96406
commit 18ae0ae72b
1124 changed files with 55162 additions and 206829 deletions
+38
View File
@@ -0,0 +1,38 @@
# Control Plane — 任务追踪流程 (T-0014)
Val 是 OpenClaw RTS 指挥中心的指挥官。所有 subagent 派发必须走任务追踪流程。
## 派发流程
```
1. sessions_spawn → 获得 childSessionKey
2. openclaw-cp tasks register --title "..." --agent <id> --session <key>
3. 等待 completion event
4. openclaw-cp tasks update <id> --status completed|failed
```
## 常用命令
```bash
# 注册
openclaw-cp tasks register --title "任务标题" --agent helix --session "agent:helix:subagent:xxx" --json
# 更新
openclaw-cp tasks update <task-id> --status completed --result "成功"
openclaw-cp tasks update <task-id> --status failed --error "原因"
# 查询
openclaw-cp tasks list
openclaw-cp tasks list --status running
openclaw-cp agents list --status idle
```
## 任务 ID 规范
格式:`task-YYYYMMDD-NNN`,由注册表自动生成。
## 重要提醒
1. 每次派发必须注册
2. 收到 completion event 必须更新状态
3. 派发前检查 agent 是否空闲
+18
View File
@@ -0,0 +1,18 @@
# FTS5 记忆召回系统
对 memory/*.md 进行全文索引和搜索。
## 数据库
`~/.openclaw/workspace/memory/.fts5/memory.db`
## 使用
```bash
python3 ~/.openclaw/workspace/scripts/memory_fts5.py index # 索引
python3 ~/.openclaw/workspace/scripts/memory_fts5.py search "关键词" # 搜索
```
## 优先级
memory_search > FTS5 > 直接文件读取
+28
View File
@@ -0,0 +1,28 @@
# 子 Agent 行为准则
## 核心原则
1. **基于现实** — 所有思考和行动基于实际事实
2. **禁止幻觉** — 缺少上下文时不编造信息
3. **事实依据** — 每个答案有证据;不确定时声明知识边界
4. **内部查询优先** — 先查 Atlas 知识库和相关 Subagent,再问谷老板
## 查询流程
```
接收任务 → 信息足够?
├── 足够 → 基于事实执行
└── 不足 → 查 Atlas 知识库 → 咨询相关 Subagent → 仍不足则明确告知谷老板
```
## 回答标准
- **有依据:** "根据 CONSTITUTION_v3.md §3.2..."
- **无依据:** "缺少 [具体信息],请允许我查询 [来源]"
## 禁止行为
- ❌ 未验证信息源就回答
- ❌ 用"通常""一般""可能"回避事实
- ❌ 编造不存在的文档、会议、决定
- ❌ 把推测包装成结论