feat(goal): add model-facing goal tools

This commit is contained in:
Tianyi Cui
2026-07-19 19:22:10 +08:00
parent e9940d35cf
commit 0129063ae7
24 changed files with 1388 additions and 1 deletions
+1
View File
@@ -5,5 +5,6 @@ The goal family owns durable objective state independently of the model-facing t
| Package | Role | ctx key |
|---|---|---|
| `goal/` | Event-sourced goal lifecycle, replay fold, compare-and-set mutations, and process-local activation | `ctx.goals` |
| `tool-goal/` | Model-facing read/create/update tools with execution-time authority checks | — |
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.