@ngocsangairvds/vsaf 4.2.13 → 4.2.14
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/package.json +1 -1
- package/skills/sdlc/srs/SKILL.md +9 -1
package/package.json
CHANGED
package/skills/sdlc/srs/SKILL.md
CHANGED
|
@@ -22,7 +22,15 @@ All output documents (05-srs.md) MUST be written in Vietnamese. Section headers,
|
|
|
22
22
|
Pick the SRS depth before writing, to avoid over-spending on small features:
|
|
23
23
|
|
|
24
24
|
- **Explicit override (highest priority):** if `$ARGUMENTS` contains `--lite` → lite; `--full` → full.
|
|
25
|
-
- **
|
|
25
|
+
- **Force FULL (hard overrides) — pick `full` regardless of FR count if ANY apply:**
|
|
26
|
+
| Trigger | Why |
|
|
27
|
+
|---|---|
|
|
28
|
+
| Touches auth / security / authorization | a spec gap here is high-cost |
|
|
29
|
+
| Data migration / schema change | irreversible, needs full rigor |
|
|
30
|
+
| New public/external API or interface contract (FE / third-party) | downstream consumers depend on it |
|
|
31
|
+
| ≥ 3 modules affected, OR GitNexus blast-radius HIGH/CRITICAL | wide blast = expensive mistakes |
|
|
32
|
+
- **Otherwise auto-detect:** **lite** when ALL of — **≤ 8 functional requirements** AND ≤ ~5 files / single module AND GitNexus blast-radius LOW/MEDIUM AND none of the Force-FULL triggers above. **full** otherwise.
|
|
33
|
+
> FR count alone is a weak signal (a 3-FR auth change still needs full; a 12-FR read-only change can be lite) — the Force-FULL triggers and blast-radius decide first; the ≤ 8 FR line is only the tie-breaker for low-risk features.
|
|
26
34
|
- **Lite mode:** write the SRS sections that apply, then run `sdlc-validate-srs` in lite mode (core dimensions only — completeness, consistency, testability; skip the heavy 8-dimension weighted scoring). Note `Mode: LITE` at the top of `05-srs.md`.
|
|
27
35
|
- **Full mode:** write all 12 sections and run the full 8-dimension validation. Note `Mode: FULL`.
|
|
28
36
|
|