# 2026-06-06 — API 全量巡检 B1–B6 closure

## 摘要

按 8 维清单完成 12 个 API 文件 ~122 端点巡检；修复 3 处 `server_ids` 无上限与 pending 审计缺口；0 P0/P1。

## 修复文件

- `server/api/schemas.py` — ServerCheck(50)、SyncFiles/SyncVerify/ScriptExecute(2000)
- `server/api/servers.py` — pending retry 失败审计、delete detail
- `tests/test_security_unit.py` — 回归用例

## 报告

`docs/reports/2026-06-06-api-audit-*.md` + [closure](docs/reports/2026-06-06-api-audit-closure.md)

## 验证

```bash
.venv/bin/pytest tests/test_security_unit.py tests/test_auth_refresh_reuse.py tests/test_credential_poller.py -q
```
