0100ab2582
Move line-walk/delta/phase2/frontend audits and legacy memory into docs/archive/, add functional development SSOT, thin AGENTS/CLAUDE stubs, and regenerate changelog/audit indexes via consolidate_docs.py.
2.7 KiB
2.7 KiB
BUG 专项逐行走读 — Batch 20(2026-06-04)
标准: standards/line-walk-audit-standard-v2.md
范围
| 文件 | N | Read | H | FINDING |
|---|---|---|---|---|
server/application/services/files_browse_service.py |
167 | 1..167 | 6 | 0 |
server/application/services/script_job_callback.py |
110 | 1..110 | 2 | 0 |
server/application/services/script_jobs.py |
125 | 1..125 | 1 | 0 |
server/application/services/server_service.py |
68 | 1..68 | 0 | 0 |
server/application/services/sync_service.py |
43 | 1..43 | 1 | 0 |
Step 3 规则扫描
自动化规则表 §四(PY/FE/SH);每命中经 Closure。
Closure 表
| 文件 | 行号 | 规则 | 判定 | 理由 |
|---|---|---|---|---|
server/application/services/files_browse_service.py |
15 | PY-03 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/application/services/files_browse_service.py |
117 | PY-03 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/application/services/files_browse_service.py |
122 | PY-08 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/application/services/files_browse_service.py |
123 | PY-03 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/application/services/files_browse_service.py |
127 | PY-08 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/application/services/files_browse_service.py |
141 | PY-12 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/application/services/script_job_callback.py |
34 | PY-08 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/application/services/script_job_callback.py |
59 | PY-12 | SAFE | 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告) |
server/application/services/script_jobs.py |
120 | PY-08 | SAFE | 已有防护/封装: secrets.compare_digest |
server/application/services/sync_service.py |
3 | PY-03 | 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)。