3.1 KiB
3.1 KiB
BUG 专项逐行走读 — Batch 31(2026-06-04)
标准: standards/line-walk-audit-standard-v2.md
范围
| 文件 | N | Read | H | FINDING |
|---|---|---|---|---|
server/infrastructure/__init__.py |
15 | 1..15 | 0 | 0 |
server/infrastructure/agent_url.py |
11 | 1..11 | 0 | 0 |
server/infrastructure/redis/__init__.py |
1 | 1..1 | 0 | 0 |
server/infrastructure/redis/client.py |
97 | 1..97 | 0 | 0 |
server/infrastructure/redis/script_callback_rate.py |
44 | 1..44 | 1 | 0 |
server/infrastructure/redis/script_execution_store.py |
422 | 1..422 | 10 | 0 |
server/infrastructure/subscription_parser.py |
121 | 1..121 | 0 | 0 |
server/infrastructure/telegram/__init__.py |
222 | 1..222 | 0 | 0 |
Step 3 规则扫描
自动化规则表 §四(PY/FE/SH);每命中经 Closure。
Closure 表
| 文件 | 行号 | 规则 | 判定 | 理由 |
|---|---|---|---|---|
server/infrastructure/redis/script_callback_rate.py |
39 | PY-07 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
33 | PY-08 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
33 | PY-12 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
40 | PY-08 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
58 | PY-01 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
97 | PY-12 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
159 | PY-12 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
305 | PY-08 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
328 | PY-12 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
367 | PY-08 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/infrastructure/redis/script_execution_store.py |
410 | PY-12 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
Step 8 DoD
- 登记册 batch 文件
read_range覆盖 1..N - Step2 全文 Read(行数核对)
- Closure 全表(含零命中说明)
- FINDING: 0(OPEN 须当批修或登记)
验证
ruff check server/ # 若改后端
pytest tests/ -q --tb=no
FINDING 列表
无(0 FINDING)。