deepseek-harness/packages/goal
Tianyi Cui 0dfd9545a6 Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output
# Conflicts:
#	docs/architecture.md
#	docs/config-catalog.md
#	docs/persistence-catalog.md
#	examples/acp-agent/tests/snapshots/cordis-inspect-jsdoc/session.jsonl
#	examples/acp-agent/tests/snapshots/fs-escalation-approved/session.jsonl
#	examples/acp-agent/tests/snapshots/fs-write/session.jsonl
#	packages/ui/tui/src/index.ts
#	scripts/type-equiv.manifest.json
2026-07-22 00:23:00 +08:00
..
command-goal Merge origin/master into codex/invariant-service-seam 2026-07-21 01:13:28 +08:00
goal fix(invariants): replay histories and pack companions 2026-07-21 17:46:43 +08:00
goal-session Merge master into codex/session-title 2026-07-21 22:59:41 +08:00
tool-goal Merge branch 'codex/tool-json-schema-dsl' into codex/canonical-tool-output 2026-07-21 23:39:03 +08:00
README.md feat(goal): add human goal command 2026-07-19 23:55:33 +08:00

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-session/ Same-session goal-round admission, outcome mapping, and lifecycle race fencing —
tool-goal/ Model-facing read/create/update tools with execution-time authority checks —
command-goal/ Human-facing /goal status and lifecycle control over the command plane —

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.