feat: require agents to post Result section with artifact locations in task responses
This commit is contained in:
parent
9f224434d9
commit
40ee077d2c
|
|
@ -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')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue