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

@@ -93,7 +93,7 @@ Agent:
## Static Analysis Results
✓ ruff: No issues
✓ mypy: No errors
⚠️ black: 2 files need reformatting
WARNING: black: 2 files need reformatting
✓ bandit: No security issues
## Issues Found
@@ -171,7 +171,7 @@ with open("config.json") as f: # Good
* 高1
* 中2
建议: 在关键问题修复前阻止合并
建议:FAIL: 在关键问题修复前阻止合并
## 所需的格式化
@@ -182,9 +182,9 @@ with open("config.json") as f: # Good
| 状态 | 条件 |
|--------|-----------|
| 批准 | 无 CRITICAL 或 HIGH 级别问题 |
| ⚠️ 警告 | 仅存在 MEDIUM 级别问题(谨慎合并) |
| 阻止 | 发现 CRITICAL 或 HIGH 级别问题 |
| PASS: 批准 | 无 CRITICAL 或 HIGH 级别问题 |
| WARNING: 警告 | 仅存在 MEDIUM 级别问题(谨慎合并) |
| FAIL: 阻止 | 发现 CRITICAL 或 HIGH 级别问题 |
## 与其他命令的集成