Files
deepseek-harness/packages/goal
_Kerman ccebba2349 refactor(agent): unify agent-scoped event signatures as payload objects
All agent/* and agent-loop/config-start-failed events take one payload
object carrying the agent subject; waterfall/serial payloads require a
signal and keep next as the final argument. PreStepContext and
RequestFailureContext are unfolded into payloads and retired.
goal/changed follows the same shape so agentEvents keeps its listener
error containment. ReactLoopAgent builds its scope carrier once in the
constructor. Regenerates scope resolvers, tool-cordis api catalog, and
docs catalogs; updates all affected listeners, tests, and the
core-data-structures docs (en + zh).
2026-08-06 12:13:14 +08:00
..

goal/ — persisted same-session goals

English | 中文

The goal family owns durable objective state independently of the model-facing tools and continuation policy that consume it.

Package Role ctx key
goal/ Goal state and lifecycle ctx.goals
goal-session/ Same-session goal continuation
tool-goal/ Model-facing goal tools
command-goal/ Human-facing goal command

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.