feat(datasource): 完成 M03 数据源配置与熔断巡检

交付三种引擎登记、草稿/已保存连接测试、可逆启用、每源熔断与 Cron 巡检,以及控制台页面;用户确认收尾后标 DONE_LOCAL。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
unknownandCursor committed 2026-11-18 12:50:46 +08:00
1 parent f17bf19709
commit e6d37d176d
98 files changed
+9097 -91

No files matched your search

@@ -0,0 +1,10 @@
# M03 S3 Review
- Slice: S3 数据源 API、权限与空引用
- Implementer: Claude Sonnet,[实现 S3](072e1cac-4f7f-409a-9672-6bd23edaa96c)
- First review: GPT,[审查 S3](b8304f13-65cd-4017-9723-95b0d016babb),BLOCKED。连接参数变更后仍保留旧测试结果。
- Repair and re-review: Gemini,[复审 S3](89b2c565-07c1-421b-b6c4-7f1925a39d6f),PASS_WITH_WARNINGS。
- Validation: `uv run pytest` in `services/watchman` → 175 passed, exit 0. Reviewer re-ran the suite.
- Closed: PATCH clears `last_test_*` when engine, host, port, database, username, or password actually changes.
- Not adopted: `@app_gate` / `permission_nodes` registry / `perm_diff`. This repository has no gateway scanner. Nodes stay as constants, the same way M02 did, and D19 does not add a second registry.
- Residual: a slow probe can write its result back if the row was edited or disabled during the probe. `password: null` keeps the stored secret.