@@ -723,7 +723,7 @@ Annotations:
723723** Error classification:**
724724- ` ValidationError ` → return Result error with user message, kind: "validation"
725725- ` BusinessRuleError ` → return Result error with user message, kind: "business"
726- - ` PlatformFailureError ` → return Result error with actionable message, kind: "platform", log to Sentry
726+ - ` PlatformFailureError ` → return Result error with actionable message, kind: "platform", log at error level
727727
728728#### ` dynamoi_resume_campaign `
729729
@@ -1313,7 +1313,7 @@ Minimal UI components:
13131313- Rate limiting (best-effort in-memory at ` /mcp ` )
13141314- Circuit breaker/backoff for Meta/Google mutations (MCP-only)
13151315- Audit logging (integrate with ` domains/audit ` ) including campaign creation
1316- - Sentry logging for ` PlatformFailureError ` + unknown only (validation/business warn-only)
1316+ - Error-level structured logging for ` PlatformFailureError ` + unknown only (validation/business warn-only)
13171317- ** Connected Apps revocation page** (` /settings/connected-apps ` redirects to ` /<locale>/settings/connected-apps ` ) — list authorized clients, revoke grants
13181318- Server instructions + prompts (dynamic resources already implemented)
13191319- Load testing
@@ -1495,7 +1495,7 @@ Then a realistic workflow:
14951495- Rate limit:
14961496 - Rapid tool calls should trigger ` 429 ` with ` Retry-After ` .
14971497- Platform failure classification:
1498- - When Meta/Google rejects a mutation, tool should return error kind: ` platform ` ( and log to Sentry) .
1498+ - When Meta/Google rejects a mutation, tool should return error kind: ` platform ` and emit error-level logs .
14991499- Circuit breaker:
15001500 - Repeated platform failures should temporarily block and return a retry-after style message.
15011501- Margin leakage:
@@ -1604,9 +1604,9 @@ Token → resolveUserFromToken() → User (AUTHENTICATED | SUPER_ADMIN)
16041604### Error Classification
16051605
16061606` ` `
1607- ValidationError → user input error , return message , kind : " validation" , no Sentry
1608- BusinessRuleError → business logic violation , return message , kind : " business" , no Sentry
1609- PlatformFailureError → Meta /Google API rejection , return actionable message , kind : " platform" , log to Sentry
1607+ ValidationError → user input error , return message , kind : " validation" , warning - level only
1608+ BusinessRuleError → business logic violation , return message , kind : " business" , warning - level only
1609+ PlatformFailureError → Meta /Google API rejection , return actionable message , kind : " platform" , log at error level
16101610` ` `
16111611
16121612### Onboarding Requirements
0 commit comments