Équipe technique · Académiques
Ce qui tourne réellement en production, exposé publiquement.
Architecture, endpoints, edge functions, planificateur, catalogue vivant, KPIs calculés en direct.
Architecture en couches
Couche données
indicators · indicator_values · documents · recommendations · briefs · anomalies
Couche ingestion
Edge functions ingest-worldbank, ingest-imf — déclenchées par cron hebdomadaire.
Couche intelligence
ai-summarize · ai-extract-recos · generate-brief · detect-anomalies (Lovable AI Gateway).
Couche diffusion
Pages publiques /observatoire, /recommandations, /actualites + API /api/public/*.
Couche redevabilité
Cycle de vie des recommandations + journal d'updates horodaté.
Endpoints publics /api/public/*
10 endpoints de lecture + 7 hooks internes déclenchés par cron. JSON, sans clé, CORS ouvert.
Lecture publique
- /api/public/indicators
- /api/public/recommendations
- /api/public/briefs
- /api/public/anomalies
- /api/public/documents
- /api/public/insights
- /api/public/strategies
- /api/public/evidence
- /api/public/subscribe-brief
- /api/public/unsubscribe-brief
Hooks (cron uniquement)
- /api/public/hooks/sync-worldbank
- /api/public/hooks/sync-imf
- /api/public/hooks/detect-anomalies
- /api/public/hooks/generate-brief
- /api/public/hooks/weekly-brief
- /api/public/hooks/precompute-insights
- /api/public/hooks/synthesize-recommendations
Edge functions (23)
Toutes hébergées sur Lovable Cloud, appelées depuis les hooks, l'admin ou le copilote. Modèles IA via Lovable AI Gateway (google/gemini-2.5-flash par défaut).
Ingestion
- ingest-worldbank
- ingest-imf
- ingest-undp
- ingest-ins-cameroun
- ingest-pnrd
- ingest-peers
- ingest-pdf
- fetch-strategy-pdfs
Intelligence
- ai-chat
- ai-consultation
- ai-embeddings
- ai-summarize
- ai-extract-recos
- ai-recommend
- generate-brief
- detect-anomalies
- precompute-insights
- forecast-indicators
Synthèse & revue
- synthesize-recommendations
- critic-recommendations
- propose-alignment
- extract-strategy-tree
- open-cases
Planificateur pg_cron (18 jobs actifs)
Tous les jobs pointent vers /api/public/hooks/* du site publié. Fuseau UTC. Hebdomadaires = lundi.
| Job | Cron | Fréquence |
|---|---|---|
| weekly-ingest-worldbank | 0 3 * * 1 | Lun 03:00 |
| weekly-ingest-imf | 15 3 * * 1 | Lun 03:15 |
| weekly-ingest-undp | 30 3 * * 1 | Lun 03:30 |
| weekly-ingest-peers | 45 3 * * 1 | Lun 03:45 |
| weekly-ingest-ins-cameroun | 0 4 * * 1 | Lun 04:00 |
| weekly-ingest-pnrd | 30 4 * * 1 | Lun 04:30 |
| weekly-detect-anomalies | 30 4 * * 1 | Lun 04:30 |
| weekly-synthesize-recos | 0 5 * * 1 | Lun 05:00 |
| weekly-critic-recos | 15 5 * * 1 | Lun 05:15 |
| weekly-open-cases | 45 5 * * 1 | Lun 05:45 |
| weekly-forecast-2035 | 0 6 * * 1 | Lun 06:00 |
| weekly-brief | 0 7 * * 1 | Lun 07:00 |
| obs-sync-worldbank | 0 3 * * 1 | Lun 03:00 |
| obs-sync-imf | 30 3 * * 1 | Lun 03:30 |
| obs-detect-anomalies | 0 4 * * * | Quotidien 04:00 |
| precompute-insights-daily | 15 3 * * * | Quotidien 03:15 |
| obs-generate-brief | 0 6 * * * | Quotidien 06:00 |
| synthesize-recommendations-weekly | 0 4 * * 1 | Lun 04:00 |
Catalogue d'indicateurs
Tous les indicateurs alimentés par les pipelines automatiques (comptage live ci-dessous). Les codes INS_* sont issus du scraping IA INS Cameroun + PNRD ; les autres proviennent de World Bank, IMF, UNDP et notations souveraines.
Chargement…
KPIs de la plateforme
Chargement…