feat(mcp-integrations): Phase S 架構修復 + MCP 整合基礎建設
Phase S 技術債修復 (首席架構師審查 82→完整): - S-01: generate_alert_fingerprint 移至 AlertAnalyzer.generate_fingerprint() staticmethod - S-04: 移除 Pydantic v2 deprecated json_encoders (直接用原生 datetime 序列化) Sentry MCP 整合 (Phase 23): - ADR-048: Sentry→OpenClaw AI Triage 架構決策 - sentry_webhook_service.py: parse/analyze/create_incident/build_message Service 層 - config.py: SENTRY_WEBHOOK_SECRET (Fail-Closed HMAC-SHA256) Playwright MCP 整合 (短期): - smoke.spec.ts: 5 頁面 E2E smoke test (home/dashboard/incidents/approvals/terminal) - cd.yaml: E2E Smoke Test 步驟 + Telegram 🎭 Smoke 狀態通知 長期規劃 ADR: - ADR-049: Figma Code Connect 設計系統同步 - ADR-050: Telegram 互動式 Incident 2.0 (6鍵 Inline Keyboard) - ADR-051: Context7 依賴升級顧問 (Next.js 14→15, FastAPI 0.115→0.128) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -425,6 +425,15 @@ class Settings(BaseSettings):
|
||||
HttpUrl(v)
|
||||
return v
|
||||
|
||||
# ==========================================================================
|
||||
# Phase 23 (ADR-048): Sentry Webhook → OpenClaw AI Triage
|
||||
# Sentry Issue Alert Webhook 簽章驗證 (sentry-hook-signature header)
|
||||
# ==========================================================================
|
||||
SENTRY_WEBHOOK_SECRET: str = Field(
|
||||
default="",
|
||||
description="Sentry Webhook secret for HMAC-SHA256 signature verification",
|
||||
)
|
||||
|
||||
# ==========================================================================
|
||||
# Phase 13.1: GitHub Webhook → OpenClaw 整合
|
||||
# GitHub PR/Push 事件自動觸發 AI 代碼審查
|
||||
|
||||
Reference in New Issue
Block a user