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,11 @@
# M03 S1 Review
- Slice: S1 数据源模型、迁移与凭证密文
- Implementer: Claude Sonnet,[实现 S1](583d05d2-27ef-4bc9-9e40-cfe28866705e)
- Independent review: Gemini,[审查 S1](70b146aa-3bea-43f9-a853-6c5d2fa25448)
- Extra read-only pass: GPT,[代码审查](ef0eaf81-b33c-4e2e-907f-047854093f95)
- Verdict: PASS_WITH_WARNINGS
- Validation reported by implementer: `uv run pytest` in `services/watchman` → 84 passed, exit 0. Alembic upgrade, downgrade to `20261117_0003`, upgrade again, exit 0. Local database left at `20261117_0004`.
- Blockers: none
- Follow-up, not an S1 defect to fix now: `updated_at` does not auto-refresh on UPDATE. Handle in S3 when rows are edited. Do not rewrite the applied migration for this.
- Residual: empty plaintext is not rejected yet (S3). Do not `model_dump()` Settings. Key loss is unrecoverable. Cross-tenant UPDATE/DELETE is covered by the same RLS policy but not a separate test.