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
+25
View File
@@ -0,0 +1,25 @@
"""Basic liveness/readiness smoke tests."""
from __future__ import annotations
def test_root_health(client):
resp = client.get("/health")
assert resp.status_code == 200
assert resp.json()["status"] == "ok"
def test_v1_health(client):
resp = client.get("/api/v1/health")
assert resp.status_code == 200
body = resp.json()
assert body["status"] == "ok"
assert "app_name" in body
def test_system_status_reports_mock_providers(client):
resp = client.get("/api/v1/system/status")
assert resp.status_code == 200
body = resp.json()
assert body["llm_provider"] == "mock"
assert body["search_provider"] == "mock"