secufusion-mcp 1.0.18 → 1.0.19
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/README.md +7 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -756,15 +756,16 @@ The **mandatory first step** for every task without exception. Classifies a task
|
|
|
756
756
|
| `description` | string | Yes | Full task description / problem statement — paste everything |
|
|
757
757
|
| `task_type` | enum | Yes | `bug` \| `user_story` \| `feature` \| `hotfix` \| `refactor` \| `chore` |
|
|
758
758
|
|
|
759
|
-
**The
|
|
759
|
+
**The analysis passes:**
|
|
760
760
|
|
|
761
761
|
| Pass | What it does |
|
|
762
762
|
|---|---|
|
|
763
|
-
| **Pass 1 — Weighted signal tiers** | Tier 1: service names = 10pts each
|
|
764
|
-
| **Pass 2 — Negation detection** | Scans each sentence. `"not a UI issue"` → frontend penalty.
|
|
765
|
-
| **Pass 3 — Root-cause phrase extraction** | 25 backend patterns + 9 frontend patterns matched via regex.
|
|
766
|
-
| **Pass 4 — Bug disambiguation matrix** | For `task_type: bug`: data-correctness → +15 backend, exception/crash → +15 backend, auth/permission → +12 backend
|
|
767
|
-
| **Pass 5 —
|
|
763
|
+
| **Pass 1 — Weighted signal tiers** | Tier 1: service names = 10pts each. Tier 2: tech constructs = 5pts. Tier 3: domain terms = 2-3pts. Tier 4: generic words = 1pt. |
|
|
764
|
+
| **Pass 2 — Negation detection** | Scans each sentence. `"not a UI issue"` → frontend penalty. Each negated sentence subtracts 8pts from the relevant domain. |
|
|
765
|
+
| **Pass 3 — Root-cause phrase extraction** | 25 backend patterns + 9 frontend patterns matched via regex. |
|
|
766
|
+
| **Pass 4 — Bug disambiguation matrix** | For `task_type: bug`: data-correctness → +15 backend, exception/crash → +15 backend, auth/permission → +12 backend. |
|
|
767
|
+
| **Pass 4.5 — Problem Statement Validation** | **NEW (v1.0.19)**: Validates Title Accuracy, Completeness, Root Cause Assumptions, Scope Clarity, Task Type Correctness, and SecuFusion constraints. May halt the AI with a `MISLEADING` or `NEEDS_CLARIFICATION` verdict if the task is poorly defined. |
|
|
768
|
+
| **Pass 5 — Confidence gate** | `HIGH` only when dominant score ≥ 1.8× second-place **AND** at least one Tier 1/2 signal matched. |
|
|
768
769
|
|
|
769
770
|
**Output — `allowed_next_action`:**
|
|
770
771
|
|