mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
# Conflicts: # docs/architecture.md # docs/capability-seams.md # docs/config-catalog.md # docs/event-producer-consumer.md # docs/glossary.md # docs/module-graph.md # examples/package.json # pnpm-lock.yaml # website/.vitepress/config/api-sidebar.json # website/zh-CN/api/harness/events.md
goal/ — persisted same-session goals
The goal family owns durable objective state independently of the model-facing tools and continuation policy that consume it.
| Package | Role | ctx key |
|---|---|---|
goal/ |
Event-sourced goal lifecycle, replay fold, compare-and-set mutations, and process-local activation | ctx.goals |
Goal state is part of the owning session log. Consumers depend on dsh-goal, not on the concrete agent loop; continuation behavior belongs in a separate plugin on the public agent seams.