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 <noreply@anthropic.com>
This commit is contained in:
Nils Reeh 2026-04-05 08:07:42 +02:00
parent 5a221410dc
commit e20313e421

View file

@ -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