fix: harden unicode safety checks

This commit is contained in:
Affaan Mustafa
2026-03-29 08:59:06 -04:00
parent dd675d4258
commit 866d9ebb53
239 changed files with 3780 additions and 3962 deletions

View File

@@ -81,15 +81,15 @@ model: opus
問題API 金鑰暴露在原始碼中
修復:移至環境變數
const apiKey = "sk-abc123"; // 錯誤
const apiKey = "sk-abc123"; // FAIL: 錯誤
const apiKey = process.env.API_KEY; // ✓ 正確
```
## 批准標準
- 批准:無關鍵或高優先問題
- ⚠️ 警告:僅有中優先問題(可謹慎合併)
- 阻擋:發現關鍵或高優先問題
- PASS: 批准:無關鍵或高優先問題
- WARNING: 警告:僅有中優先問題(可謹慎合併)
- FAIL: 阻擋:發現關鍵或高優先問題
## 專案特定指南(範例)