mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-19 10:43:08 +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:
@@ -461,7 +461,10 @@ Please continue from where you left off and complete all remaining tasks. Use th
|
||||
const hasIncompleteTasks = totalTasks > 0 && completedTasks < totalTasks;
|
||||
|
||||
try {
|
||||
if (agentOutput) {
|
||||
// Only save summary if feature doesn't already have one (e.g., accumulated from pipeline steps)
|
||||
// This prevents overwriting accumulated summaries with just the last step's output
|
||||
// The agent-executor already extracts and saves summaries during execution
|
||||
if (agentOutput && !completedFeature?.summary) {
|
||||
const summary = extractSummary(agentOutput);
|
||||
if (summary) await this.saveFeatureSummaryFn(projectPath, featureId, summary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user