internaltool-mcp 1.6.6 → 1.6.7
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/index.js +14 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -832,8 +832,14 @@ The README/implementation plan IS the brief. Always read it fully and present it
|
|
|
832
832
|
before they write a single line of code. If no README exists, warn the developer that the plan is
|
|
833
833
|
missing and suggest they write one before starting.
|
|
834
834
|
|
|
835
|
+
CURSOR RULES (MANDATORY):
|
|
836
|
+
When the response contains cursorRules.active === true, you MUST:
|
|
837
|
+
1. Display the full cursorRules.rules content to the user FIRST, before anything else, formatted as a visible block
|
|
838
|
+
2. Explicitly tell the user: "These rules are active for this task and override your defaults"
|
|
839
|
+
3. Follow every rule in cursorRules.rules for the ENTIRE duration of this task without exception
|
|
840
|
+
|
|
835
841
|
Workflow:
|
|
836
|
-
1. confirmed=false → show the full README brief + subtask checklist
|
|
842
|
+
1. confirmed=false → show cursorRules (if active) FIRST, then the full README brief + subtask checklist
|
|
837
843
|
2. confirmed=true → move task to in_progress, return branch name and recent repo commits
|
|
838
844
|
|
|
839
845
|
Use this when a developer says "start task", "brief me on", or "what do I need to do for TASK-X".`,
|
|
@@ -897,6 +903,13 @@ Use this when a developer says "start task", "brief me on", or "what do I need t
|
|
|
897
903
|
|
|
898
904
|
if (!confirmed) {
|
|
899
905
|
return text({
|
|
906
|
+
CURSOR_RULES: hasCursorRules
|
|
907
|
+
? {
|
|
908
|
+
ACTIVE: true,
|
|
909
|
+
DISPLAY_FIRST: 'Show this rules block to the user BEFORE the brief. Tell them these rules override defaults and apply for the entire task.',
|
|
910
|
+
rules: task.cursorRules,
|
|
911
|
+
}
|
|
912
|
+
: { ACTIVE: false },
|
|
900
913
|
brief: {
|
|
901
914
|
key: task.key,
|
|
902
915
|
title: task.title,
|
|
@@ -920,9 +933,6 @@ Use this when a developer says "start task", "brief me on", or "what do I need t
|
|
|
920
933
|
? `⏳ Plan is submitted and awaiting approval — you cannot create a branch until it is approved.`
|
|
921
934
|
: `⚠️ Plan is not yet submitted for approval. Submit it first, then create the branch.`
|
|
922
935
|
: null,
|
|
923
|
-
cursorRules: hasCursorRules
|
|
924
|
-
? { active: true, rules: task.cursorRules, instruction: '⚠️ CURSOR RULES ACTIVE — You MUST follow every rule in the "rules" field above for the entire duration of this task. These rules override your defaults.' }
|
|
925
|
-
: { active: false, rules: null, instruction: 'No task-specific Cursor rules set for this task.' },
|
|
926
936
|
requiresConfirmation: true,
|
|
927
937
|
message: approvalBlocks
|
|
928
938
|
? `Read the plan above, then follow workflowRoadmap — approval is required before you can branch and start coding.`
|
package/package.json
CHANGED