diff --git a/src/lib/task-dispatch.ts b/src/lib/task-dispatch.ts index 6e4e4aa..411224e 100644 --- a/src/lib/task-dispatch.ts +++ b/src/lib/task-dispatch.ts @@ -113,7 +113,24 @@ function buildTaskPrompt(task: DispatchableTask, rejectionFeedback?: string | nu lines.push('', '## Previous Review Feedback', rejectionFeedback, '', 'Please address this feedback in your response.') } - lines.push('', 'Complete this task and provide your response. Be concise and actionable.') + lines.push( + '', + 'Complete this task and provide your response. Be concise and actionable.', + '', + '## Required: Result Summary', + 'At the end of your response, include a brief "## Result" section that tells the task owner exactly where to find the outcome:', + '- File paths changed (e.g. `/home/johan/dev/clavitor/src/vault.go`)', + '- Git commits made (repo + short SHA + message)', + '- Services restarted or deployed', + '- URLs, endpoints, or dashboards affected', + '- Any other concrete artifact that can be verified', + '', + 'Example:', + '## Result', + '- Edited `/home/johan/dev/inou/src/api/labs.ts` — fixed LOINC matching logic', + '- Committed: `inou` a3f9c12 "fix: LOINC code normalization for non-standard separators"', + '- No services needed restart', + ) return lines.join('\n') }