You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Orchestrators still supply topic input primarily via `goal_id` (and standard user/tenant context) plus `authContext` for enrichment API calls. The AI coaching service resolves additional **template parameters** (not required in the trigger `activityData` payload) using the same retrieval stack as other single-shot topics, including:
101
+
102
+
- Business foundation: `vision`, `purpose`, `core_values`, `business_name`
103
+
- Goal: full `goal` record plus `goal_title`, `goal_description`, `goal_intent` where available
104
+
- Goal-scoped strategies: `existing_strategies_for_goal` (formatted list of strategies whose `goalId` matches `goal_id`)
105
+
- Goal-scoped measures: `measures_formatted_for_goal` (formatted list of measures linked via `goalId` or `connections.goalIds`)
106
+
107
+
Exact placeholder names and prompt wording live in topic seed data and deployed prompts; this section records **contractual expectation** that enrichment uses `goal_id` to scope strategies and measures.
108
+
97
109
---
98
110
99
111
## 5. AI Output Payload Contract (`purposepath.email-insight.v1`)
0 commit comments