refactor: discuss 和 plan 阶段改用 PromptBuilder 组装提示词
This commit is contained in:
@@ -118,7 +118,8 @@ describe("完整 SDD 流程", () => {
|
||||
const config = await loadConfig(TMP_DIR);
|
||||
|
||||
const discussPrompt = assembleDiscussPrompt(config);
|
||||
expect(discussPrompt).toBe("自定义讨论");
|
||||
expect(discussPrompt).toContain("自定义讨论");
|
||||
expect(discussPrompt).toContain("# 讨论阶段");
|
||||
|
||||
await mkdir(getChangeDir(TMP_DIR, "test"), { recursive: true });
|
||||
const planPrompt = await assemblePlanPrompt(config, TMP_DIR, "test", "spec");
|
||||
|
||||
Reference in New Issue
Block a user