@torus-engineering/tas-kit 1.9.0 → 1.10.0

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.
@@ -8,7 +8,13 @@ Kiểm tra bảo mật codebase, lưu báo cáo vào docs/security-report.md.
8
8
  ## Hành động
9
9
 
10
10
  ### Bước 1 — Xác định scope
11
- `$ARGUMENTS` có thể là: file path, directory, hoặc để trống (scan toàn bộ codebase).
11
+ `$ARGUMENTS` có thể là:
12
+ - File path hoặc directory → scan scope chỉ định
13
+ - Để trống → scan toàn bộ codebase
14
+ - `--staged` → chỉ scan các file đang staged (giống pre-commit hook), nhanh + dùng để self-test trước khi commit
15
+
16
+ Với `--staged`: lấy danh sách từ `git diff --cached --name-only --diff-filter=ACM` và chỉ review các file đó. Dùng chung regex patterns với `.tas/hooks/security-scan.js` rồi bổ sung deep review bằng agents bên dưới.
17
+
12
18
  Đọc `.tas/checklists/security.md` để lấy checklist.
13
19
 
14
20
  ### Bước 2 — Parallel Security Scan