gsxdsm
41c891d7d8
FN-5850: add AI goal description drafting
Add AI-assisted goal description drafting from the Goals view add form.
- add a readonly AI drafting flow for goal descriptions with title validation and shared rate limiting
- expose a new /api/ai/draft-goal-description endpoint and dashboard API helper for requesting drafts
- add Goals view UI, styling, tests, and dashboard docs covering the draft workflow
Files changed:
docs/dashboard-guide.md | 6 +
packages/dashboard/app/api/legacy.ts | 24 +++-
packages/dashboard/app/components/GoalsView.css | 14 ++
packages/dashboard/app/components/GoalsView.tsx | 46 +++++-
packages/dashboard/app/components/__tests__/GoalsView.test.tsx | 50 +++++++
packages/dashboard/src/__tests__/ai-refine.test.ts | 75 ++++++++++
packages/dashboard/src/__tests__/routes-agents.test.ts | 92 ++++++++++++
packages/dashboard/src/ai-refine.ts | 155 ++++++++++++++++++---
packages/dashboard/src/routes.ts | 58 ++++++++
9 files changed, 489 insertions(+), 31 deletions(-)
Fusion-Task-Id: FN-5850
Fusion-Task-Lineage: $#%
!
2026-06-01 22:50:41 -07:00
..
2026-05-31 08:32:01 -07:00
2026-06-01 22:50:41 -07:00
2026-06-01 22:50:41 -07:00
2026-06-01 22:11:30 -07:00
2026-05-26 17:19:34 -07:00
2026-05-17 22:16:27 -07:00
2026-05-29 21:03:12 -07:00
2026-06-01 05:15:14 -07:00
2026-05-29 11:25:11 -07:00
2026-05-29 20:05:14 -07:00
2026-05-17 22:10:58 -07:00
2026-05-20 19:58:49 -07:00
2026-05-28 19:50:53 -07:00
2026-05-17 19:11:59 -07:00