Files
deepseek-harness/packages/goal/README.zh.md
2026-07-26 05:06:39 +08:00

15 lines
828 B
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.
# goal/:持久化的同会话目标
[English](README.md) | 中文
goal 家族负责持久目标状态,与消费该状态的面向模型工具和续行策略相互独立。
| 包 | 职责 | ctx 键 |
|---|---|---|
| `goal/` | 事件溯源的目标生命周期、回放折叠、比较并设置变更,以及进程本地激活 | `ctx.goals` |
| `goal-session/` | 同会话 goal round 的准入、结果映射与生命周期竞态隔离 | 无 |
| `tool-goal/` | 面向模型的读取/创建/更新工具,并在执行时检查权限 | 无 |
| `command-goal/` | 面向用户的 `/goal` 状态,以及通过命令平面执行的生命周期控制 | 无 |
目标状态属于所属会话日志。消费方依赖 `dsh-goal`,而不是具体的 agent loop续行行为由基于公开 agent seam 的独立插件负责。