Files
html/docs/cron-wevia-truth-builder.conf
Opus 9b77ddaf15
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
feat(v186-phase2-referentiel-unique-KPI): source-of-truth + cron 10min
PHASE 2 consolidation referentiel unique - zero ecrasement.

Decouverte majeure: infrastructure referentiel existait deja (avril 19-20)
mais source-of-truth.json etait stale 3 jours (pas de cron rebuild).

Fixes:
- Installation cron /etc/cron.d/wevia-truth-builder (rebuild 10min HTTPS)
- Enrich handler_kpi_source pour consommer source-of-truth.json primary
- Doctrine 136 documentee (3 emplacements)

Source unique officielle:
- /api/source-of-truth.json (1.1 KB, 13 KPI counts)
- /api/wevia-truth-registry.json (1.78 MB, full detail)
- /api/wtp-kpi-global-v2.php (cache 30s, synthesis)
- Builder: /api/wevia-truth-builder.php (14.9 KB)

KPI live apres rebuild:
- agents 1000 (vs 906 avant), skills 20154 (vs 15509), intents 2067 (vs 1263)
- brains 25, doctrines 19, dashboards 117, providers 15
- ethica 146694 HCPs, docker 19 UP, nonreg 100, autonomy 99.5 GODMODE

PHASE 2B future: faire refactor progressif des hubs pour consommer source-of-truth
au lieu de fetch isoles. Zero ecrasement. Hubs actuels restent tels quels.

NR 153/153 invariant - L99 340/340 invariant - zero regression
GOLD: vault-gold/opus/phase05-20260423-010548/nl-audit-handler-phase2.php
2026-04-23 01:19:01 +02:00

5 lines
231 B
Plaintext

# WEVIA TRUTH builder - rebuild every 10 min (doctrine 136 PHASE 2)
SHELL=/bin/bash
PATH=/usr/bin:/bin
*/10 * * * * root /usr/bin/curl -sk -m 20 -o /tmp/truth-build.log https://weval-consulting.com/api/wevia-truth-builder.php 2>&1