From f16a574ad869dee973796be1abf729c922dc5d0e Mon Sep 17 00:00:00 2001 From: Eyal Toledano Date: Wed, 2 Apr 2025 22:36:36 -0400 Subject: [PATCH] feat: Adjustst the parsePRD system prompt and cursor rule so to improve following specific details that may already be outliend in the PRD. This reduces cases where the AI will not use those details and come up with its own approach. Next commit will reduce detfault temperature to do this at scale across the system too. --- .cursor/rules/taskmaster.mdc | 1 + scripts/init.js | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.cursor/rules/taskmaster.mdc b/.cursor/rules/taskmaster.mdc index 9d6a9db1..31cd2de1 100644 --- a/.cursor/rules/taskmaster.mdc +++ b/.cursor/rules/taskmaster.mdc @@ -37,6 +37,7 @@ This document provides a detailed reference for interacting with Taskmaster, cov * `numTasks`: `Approximate number of top-level tasks Taskmaster should aim to generate from the document.` (CLI: `-n, --num-tasks `) * `force`: `Use this to allow Taskmaster to overwrite an existing 'tasks.json' without asking for confirmation.` (CLI: `-f, --force`) * **Usage:** Useful for bootstrapping a project from an existing requirements document. +* **Notes:** Task Master will strictly adhere to any specific requirements mentioned in the PRD (libraries, database schemas, frameworks, tech stacks, etc.) while filling in any gaps where the PRD isn't fully specified. Tasks are designed to provide the most direct implementation path while avoiding over-engineering. --- diff --git a/scripts/init.js b/scripts/init.js index d472c4b5..5526f1b5 100755 --- a/scripts/init.js +++ b/scripts/init.js @@ -706,10 +706,10 @@ function setupMCPConfiguration(targetDir, projectName) { "env": { "ANTHROPIC_API_KEY": "%ANTHROPIC_API_KEY%", "PERPLEXITY_API_KEY": "%PERPLEXITY_API_KEY%", - "MODEL": "%MODEL%", - "PERPLEXITY_MODEL": "%PERPLEXITY_MODEL%", - "MAX_TOKENS": "%MAX_TOKENS%", - "TEMPERATURE": "%TEMPERATURE%", + "MODEL": "claude-3-7-sonnet-20250219", + "PERPLEXITY_MODEL": "sonar-pro", + "MAX_TOKENS": 64000, + "TEMPERATURE": 0.3, "DEFAULT_SUBTASKS": 5, "DEFAULT_PRIORITY": "medium" }