Initial commit: CI Agent competitive-intelligence monitoring app

FastAPI + Celery + Next.js + Postgres/Redis app with company monitoring,
source collection, LLM-based change analysis, enrichment, and account
security (Turnstile, escalating lockout, email verification).
This commit is contained in:
2026-08-05 10:48:20 -04:00
commit 1a4c80958f
365 changed files with 43541 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
"""Console provider: logs the notification instead of sending it anywhere.
Used in local dev fallback and wherever a destination type isn't yet wired
to a real transport."""
from __future__ import annotations
from app.core.logging import get_logger
from app.notifications.base import DeliveryResult, NotificationMessage
logger = get_logger(__name__)
class ConsoleProvider:
provider_name = "console"
async def send(self, message: NotificationMessage) -> DeliveryResult:
logger.info(
"console_notification",
destination=message.destination_value,
subject=message.subject,
body=message.body_text,
)
return DeliveryResult(success=True)