From e20313e4216f1f5acaf2bb5f9b48e9922836988b Mon Sep 17 00:00:00 2001 From: Nils Reeh Date: Sun, 5 Apr 2026 08:07:42 +0200 Subject: [PATCH] fix(gsd): add fastPathInstruction to buildDiscussMilestonePrompt loadPrompt call The guided-discuss-milestone.md template now declares {{fastPathInstruction}} but buildDiscussMilestonePrompt in auto-prompts.ts was not passing the variable, causing loadPrompt to throw a GSDError at runtime. Co-Authored-By: Claude Sonnet 4.6 --- src/resources/extensions/gsd/auto-prompts.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/resources/extensions/gsd/auto-prompts.ts b/src/resources/extensions/gsd/auto-prompts.ts index 1ea0e3366..4ac8176a6 100644 --- a/src/resources/extensions/gsd/auto-prompts.ts +++ b/src/resources/extensions/gsd/auto-prompts.ts @@ -849,6 +849,7 @@ export async function buildDiscussMilestonePrompt(mid: string, midTitle: string, inlinedTemplates: discussTemplates, structuredQuestionsAvailable: "true", commitInstruction: "Do not commit planning artifacts — .gsd/ is managed externally.", + fastPathInstruction: "", }); // If a CONTEXT-DRAFT.md exists, append it as seed material