secufusion-mcp 1.0.20 → 1.0.21
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 +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1323,9 +1323,14 @@ server.tool("classify_task", "MANDATORY FIRST STEP for every task without except
|
|
|
1323
1323
|
rootCauseNote = "Description assumes root cause. Actual cause may differ. I will investigate before implementing fix.";
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
1326
|
-
// CHECK 4: Scope clarity
|
|
1326
|
+
// CHECK 4: Scope clarity and Acceptance Criteria
|
|
1327
1327
|
let scopeClear = true;
|
|
1328
1328
|
const scopeQuestions = [];
|
|
1329
|
+
// Ensure explicit Acceptance Criteria are provided
|
|
1330
|
+
if (!descLower.includes("acceptance criteria") && !descLower.includes("ac:") && !descLower.includes("acs:")) {
|
|
1331
|
+
scopeClear = false;
|
|
1332
|
+
scopeQuestions.push("Missing explicit Acceptance Criteria. Do not assume 'Expected Result' or 'Description' is the AC. Please provide them explicitly.");
|
|
1333
|
+
}
|
|
1329
1334
|
const wordCount = description.split(/\s+/).length;
|
|
1330
1335
|
if (descLower.includes("fix the issue") || descLower.includes("improve performance") || descLower.includes("update the service") || descLower.includes("handle the error") || wordCount < 10) {
|
|
1331
1336
|
scopeClear = false;
|