Files
Nexus/docs/archive/audits/2026-06-04-line-walk/audit-bug-line-walk-2026-06-04-batch26.md
T
Nexus Deploy 0100ab2582 docs: consolidate archive, SSOT guide, and agent entry stubs
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.
2026-06-04 23:01:03 +08:00

4.5 KiB
Raw Blame History

BUG 专项逐行走读 — Batch 262026-06-04

标准: standards/line-walk-audit-standard-v2.md

范围

文件 N Read H FINDING
server/infrastructure/database/engine_compat.py 23 1..23 0 0
server/infrastructure/database/migrations.py 180 1..180 6 0
server/infrastructure/database/password_preset_repo.py 38 1..38 2 0
server/infrastructure/database/platform_node_repo.py 83 1..83 7 0
server/infrastructure/database/push_schedule_repo.py 95 1..95 6 0

Step 3 规则扫描

自动化规则表 §四(PY/FE/SH);每命中经 Closure。

Closure 表

文件 行号 规则 判定 理由
server/infrastructure/database/migrations.py 39 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/migrations.py 48 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/migrations.py 55 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/migrations.py 68 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/migrations.py 89 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/migrations.py 164 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/password_preset_repo.py 15 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/password_preset_repo.py 19 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/platform_node_repo.py 15 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/platform_node_repo.py 19 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/platform_node_repo.py 23 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/platform_node_repo.py 49 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/platform_node_repo.py 53 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/platform_node_repo.py 57 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/platform_node_repo.py 63 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/push_schedule_repo.py 15 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/push_schedule_repo.py 19 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/push_schedule_repo.py 23 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/push_schedule_repo.py 51 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/push_schedule_repo.py 60 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
server/infrastructure/database/push_schedule_repo.py 68 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)

Step 8 DoD

  • 登记册 batch 文件 read_range 覆盖 1..N
  • Step2 全文 Read(行数核对)
  • Closure 全表(含零命中说明)
  • FINDING: 0OPEN 须当批修或登记)

验证

ruff check server/  # 若改后端
pytest tests/ -q --tb=no

FINDING 列表

无(0 FINDING)。