mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-21 11:23:07 +00:00
Fix agent output summary for pipeline steps (#812)
* Changes from fix/agent-output-summary-for-pipeline-steps * feat: Optimize pipeline summary extraction and fix regex vulnerability * fix: Use fallback summary for pipeline steps when extraction fails * fix: Strip follow-up session scaffold from pipeline step fallback summaries
This commit is contained in:
@@ -291,6 +291,23 @@ export const DEFAULT_AUTO_MODE_PIPELINE_STEP_PROMPT_TEMPLATE = `## Pipeline Step
|
||||
|
||||
### Pipeline Step Instructions
|
||||
{{stepInstructions}}
|
||||
|
||||
**CRITICAL: After completing the instructions, you MUST output a summary using this EXACT format:**
|
||||
|
||||
<summary>
|
||||
## Summary: {{stepName}}
|
||||
|
||||
### Changes Implemented
|
||||
- [List all changes made in this step]
|
||||
|
||||
### Files Modified
|
||||
- [List all files modified in this step]
|
||||
|
||||
### Outcome
|
||||
- [Describe the result of this step]
|
||||
</summary>
|
||||
|
||||
The <summary> and </summary> tags MUST be on their own lines. This is REQUIRED.
|
||||
`;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user