speccore 8.3.35 → 8.3.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/commands/analyze.js
CHANGED
|
@@ -4261,7 +4261,7 @@ status: "clarified"
|
|
|
4261
4261
|
catch {
|
|
4262
4262
|
// 回退:静态列表
|
|
4263
4263
|
prompt += `- \`020-specs/overview/\` 下的 REQUIREMENT.md, ANALYSIS.md, TECH.md, DEPS.md, RISK.md, REVIEW.md, MONITOR.md, FUNCTION_MAP.md, INTERACTION_MAP.md, DEV_GUIDE.md\n`;
|
|
4264
|
-
prompt += `- \`020-specs/{端名}/\` 下的 TECH.md, TEST.md, UI_SPEC.md, DEV_GUIDE.md\n\n`;
|
|
4264
|
+
prompt += `- \`020-specs/{功能模块}/{端名}/\` 下的 TECH.md, TEST.md, UI_SPEC.md, DEV_GUIDE.md\n\n`;
|
|
4265
4265
|
}
|
|
4266
4266
|
prompt += `\n**注意**:\n`;
|
|
4267
4267
|
prompt += `- 只覆盖上述已存在的文件,不要创建新文件或新目录\n`;
|
|
@@ -4356,7 +4356,7 @@ status: "clarified"
|
|
|
4356
4356
|
prompt += `- Read 020-specs/overview/REQUIREMENT.md → 迭代综合需求规格\n`;
|
|
4357
4357
|
prompt += `- Read 020-specs/overview/TECH.md → 迭代综合技术架构\n`;
|
|
4358
4358
|
prompt += `- Read 020-specs/overview/ANALYSIS.md → 迭代综合分析报告\n`;
|
|
4359
|
-
prompt += `- Read 020-specs/{本任务端名}/TECH.md → 该端专属技术方案\n\n`;
|
|
4359
|
+
prompt += `- Read 020-specs/{功能模块}/{本任务端名}/TECH.md → 该端专属技术方案\n\n`;
|
|
4360
4360
|
prompt += `### Step 3: 撰写任务级深度分析文档\n\n`;
|
|
4361
4361
|
prompt += `**REQ.md** — 本任务的需求规格(不是 overview/REQUIREMENT.md 的复制):\n`;
|
|
4362
4362
|
prompt += `- 明确本任务的验收标准(可测试的、具体的)\n`;
|
|
@@ -4383,7 +4383,7 @@ status: "clarified"
|
|
|
4383
4383
|
prompt += `- 当前是**迭代级分析**,需产出全部 8 个文档,覆盖需求→技术→测试→评审→风险→依赖→监控→UI规格\n`;
|
|
4384
4384
|
if (ctx.platform) {
|
|
4385
4385
|
prompt += `- **只分析 ${ctx.platform} 端**:从 CONSTITUTION.md 读取端列表,但只生成 ${ctx.platform} 端的专属文档\n`;
|
|
4386
|
-
prompt += `- 在 020-specs/${ctx.platform}/ 下写入该端专属文档(ANALYSIS.md、TECH.md、TEST.md 等)\n`;
|
|
4386
|
+
prompt += `- 在 020-specs/{功能模块}/${ctx.platform}/ 下写入该端专属文档(ANALYSIS.md、TECH.md、TEST.md 等)\n`;
|
|
4387
4387
|
prompt += `- 迭代综合文档写入 020-specs/overview/(REQUIREMENT.md、DEPS.md、RISK.md 等)\n`;
|
|
4388
4388
|
prompt += `- **不要生成**其他端的子目录和文档\n`;
|
|
4389
4389
|
}
|