spets 0.1.73 → 0.1.74

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -965,15 +965,17 @@ function buildClarifyPrompt(params) {
965
965
  }
966
966
  parts.push("");
967
967
  }
968
- parts.push("**IMPORTANT**: Review each previous decision carefully:");
969
- parts.push('- If user said something positive like "good", "great", "this is fine", "I like this" \u2192 RESOLVED, proceed');
970
- parts.push("- If user selected an option or gave a clear preference \u2192 RESOLVED, proceed");
971
- parts.push("- If user asked a question or requested clarification \u2192 re-ask with better explanation");
968
+ parts.push("**CRITICAL RULES**:");
972
969
  parts.push("");
973
- parts.push("**Do NOT generate new decisions that cover the same topics as resolved ones.**");
974
- parts.push("Only generate NEW decisions if there are genuinely different ambiguities not yet addressed.");
970
+ parts.push('1. If user gave ANY positive response ("good", "great", "fine", "I like", "perfect", etc.) \u2192 that decision is DONE');
971
+ parts.push("2. If user selected an option or gave custom input \u2192 that decision is DONE");
972
+ parts.push('3. NEVER ask the same question with different wording (e.g., "option IDs" vs "ID display" = SAME topic)');
973
+ parts.push("4. If user asked for clarification \u2192 explain better and re-ask THAT SPECIFIC decision only");
975
974
  parts.push("");
976
- parts.push('If all major ambiguities are resolved, you MUST output `"ready": true` with a summary.');
975
+ parts.push(`There are ${params.previousDecisions.length} previous decision(s). Unless user explicitly asked for clarification, you should output:`);
976
+ parts.push("```json");
977
+ parts.push(`{"ready": true, "decisions": [], "summary": "Proceeding with user's preferences..."}`);
978
+ parts.push("```");
977
979
  parts.push("");
978
980
  } else {
979
981
  parts.push("## Your Task");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spets",
3
- "version": "0.1.73",
3
+ "version": "0.1.74",
4
4
  "description": "Spec Driven Development Execution Framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",