Files
weval-l99/wevia-autodoc.sh
Claude-P0 e45cdb2d7d P0 BUSINESS DOSSIERS: 5 dossiers opérationnels prêts pour Yacine
- Kaouther (Ethica Group) contre-offre paliers DH
- Azure AD re-register MDEnt777, AdoraReborn, pwceducation
- OVH SMS credentials procédure
- OVH S151 cancel contrat (bleeding money)
- Gmail deliverability PMTA→O365 (reco: OPTION A)

- MD file: /opt/weval-l99/wiki/P0-BUSINESS-DOSSIERS.md (5776 bytes)
- HTML preview: /p0-dossiers.php (HTTP 200, banner 4.8/10)
- WEVIA Master intent: p0_status wired (live HCPs 146668)
- Playwright: 6 sections verified
- L99: 304/304 preserved · chattr +i restored
2026-04-17 04:26:16 +02:00

17 lines
1.0 KiB
Bash
Executable File

#!/bin/bash
# WEVIA Auto-Doc — daily 06:00
DOC="/var/www/html/api/wevia-autodoc.json"
echo "{
\"date\": \"$(date +%Y-%m-%d)\",
\"engine\": $(wc -l /var/www/html/api/wevia-autonomous.php 2>/dev/null | cut -d" " -f1),
\"apis\": $(ls /var/www/html/api/wevia-*.php 2>/dev/null | wc -l),
\"scripts\": $(ls /opt/weval-l99/wevia-*.sh /opt/weval-l99/wevia-*.py /opt/weval-l99/wevia-*.php 2>/dev/null | wc -l),
\"crons\": $(crontab -l 2>/dev/null | grep -c .),
\"wiki\": $(ls /opt/weval-l99/wiki/*.json 2>/dev/null | wc -l),
\"ollama\": $(curl -sf http://127.0.0.1:11434/api/tags 2>/dev/null | python3 -c "import json,sys;print(len(json.load(sys.stdin).get(\"models\",[])))" 2>/dev/null),
\"docker\": $(docker ps -q 2>/dev/null | wc -l),
\"disk\": \"$(df -h / | awk "NR==2{print \$5}")\",
\"blade\": \"$(cat /var/www/html/api/wevia-blade-status.json 2>/dev/null | python3 -c "import json,sys;print(json.load(sys.stdin).get(\"status\",\"?\"))" 2>/dev/null)\",
\"commits\": $(cd /var/www/html && git rev-list --count HEAD 2>/dev/null)
}" > $DOC