From 700ebec0b74c0a3b07dec0967a48ed86aefcdbb7 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Thu, 14 May 2026 09:01:01 +0800 Subject: [PATCH] auto-sync: 2026-05-14 09:01:01 --- docs/design/architecture-v2.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/design/architecture-v2.md b/docs/design/architecture-v2.md index de4d551..ab5b4a8 100644 --- a/docs/design/architecture-v2.md +++ b/docs/design/architecture-v2.md @@ -1145,6 +1145,7 @@ sanguo_moziplus_v2/ │ │ ├── planner.py # 动态规划 │ │ ├── selector.py # Agent 选择 │ │ ├── validator.py # 产出验证(幻觉门控) +│ │ ├── archiver.py # 执行历史归档 │ │ └── experience.py # 经验沉淀引擎 │ ├── gateway_client.py # Gateway WS API 客户端 │ ├── db.py # SQLite 数据层 @@ -1159,7 +1160,18 @@ sanguo_moziplus_v2/ │ ├── agent-registry.json │ ├── templates/ │ └── settings.yaml -├── artifacts/ # 产出物目录(git 追踪) +├── artifacts/ # 产出物 + 执行历史(git 追踪) +│ └── task-{id}/ # 每个任务一个目录 +│ ├── context.json # 任务上下文 +│ ├── plan.json # 执行计划 +│ ├── steps/ # 各步骤产出 +│ │ ├── s1/ +│ │ │ ├── output.json # 步骤产出元数据 +│ │ │ ├── transcript.jsonl # 执行历史(从 OpenClaw 归档) +│ │ │ └── ... # 实际产出文件 +│ │ └── s2/ +│ ├── moments.jsonl # 关键事件流 +│ └── experience.md # 提取的经验教训 ├── skills/ # Skill 包(供 Agent 加载) │ ├── task-bootstrap/ # Agent 任务引导 Skill │ │ └── SKILL.md # Boids + 元认知 + Auftragstaktik