From bf82f9213229799f59121929fff3561b5d30a097 Mon Sep 17 00:00:00 2001 From: Shirone Date: Sat, 31 Jan 2026 13:42:41 +0100 Subject: [PATCH] fix(facade): pass previousContent to AgentExecutor for pipeline steps The PipelineOrchestrator passes previousContent to preserve the agent output history when running pipeline steps. This was being lost because the facade's runAgentFn callback wasn't forwarding it to AgentExecutor. Without this fix, pipeline steps would overwrite the agent-output.md file instead of appending to it with a "Follow-up Session" separator. Co-Authored-By: Claude Opus 4.5 --- apps/server/src/services/auto-mode/facade.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/server/src/services/auto-mode/facade.ts b/apps/server/src/services/auto-mode/facade.ts index 1059731f..ab7a60a3 100644 --- a/apps/server/src/services/auto-mode/facade.ts +++ b/apps/server/src/services/auto-mode/facade.ts @@ -180,6 +180,7 @@ export class AutoModeServiceFacade { model: resolvedModel, planningMode: opts?.planningMode as PlanningMode | undefined, requirePlanApproval: opts?.requirePlanApproval as boolean | undefined, + previousContent: opts?.previousContent as string | undefined, systemPrompt: opts?.systemPrompt as string | undefined, autoLoadClaudeMd: opts?.autoLoadClaudeMd as boolean | undefined, thinkingLevel: opts?.thinkingLevel as ThinkingLevel | undefined,