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:
gsxdsm
2026-02-25 22:13:38 -08:00
committed by GitHub
parent 70c9fd77f6
commit 9747faf1b9
37 changed files with 7164 additions and 163 deletions

View File

@@ -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.
`;
/**