From fe606c5f9a67e0930d9e6a9714d043ce60ef4771 Mon Sep 17 00:00:00 2001 From: opus Date: Fri, 17 Apr 2026 22:58:31 +0200 Subject: [PATCH] V54 consolidation - fill plan-action gap V45-V53 (396 to 434 lines) + wiki V54 + session save --- api/wevia-sse-orchestrator.php | 31 +++++++++++++++++++++++++++++++ wiki/V54-plan-consolidation.md | 23 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 wiki/V54-plan-consolidation.md diff --git a/api/wevia-sse-orchestrator.php b/api/wevia-sse-orchestrator.php index 3d4459479..43354e15e 100644 --- a/api/wevia-sse-orchestrator.php +++ b/api/wevia-sse-orchestrator.php @@ -605,6 +605,37 @@ if (preg_match('/partenaires?.*tous|bilan.*partenariat|overview.*partner|status. // === END V48 === +// === V53 AUTO-WIRE Cycle 4 Ops/Monitoring - 17avr 22:55 === +// Gaps: arsenal_monitor, deliverability_stats, o365_stats, nginx_vhosts, redis_status +// Append-only apres END V48 (zero touch V37-V48) + +// INTENT V53-1 arsenal_monitor - ecrans /var/www/html/*.html +if (preg_match('/arsenal.*monitor|arsenal.*screen|arsenal.*ecran|arsenal.*page|150.*screen|combien.*ecran/i', $msg)) { + $intents[] = ['id'=>'arsenal_monitor','cmd'=>'echo total_html=$(ls /var/www/html/*.html 2>/dev/null | wc -l) ; echo wevia_pages=$(ls /var/www/html/wevia*.html 2>/dev/null | wc -l) ; echo ethica_pages=$(ls /var/www/html/ethica*.html 2>/dev/null | wc -l) ; echo wevads_pages=$(ls /var/www/html/wevads*.html 2>/dev/null | wc -l) ; echo admin_pages=$(ls /var/www/html/admin*.html 2>/dev/null | wc -l)']; +} + +// INTENT V53-2 deliverability_stats - taux inbox O365 PMTA +if (preg_match('/taux.*deliverability|deliverability.*rate|inbox.*rate|taux.*inbox|97.*pourcent|deliverability.*97/i', $msg)) { + $intents[] = ['id'=>'deliverability_stats','cmd'=>'PGPASSWORD=admin123 psql -h 10.1.0.3 -U admin -d adx_system -t -A -F "|" -c "SELECT COUNT(*) FILTER (WHERE inbox_status=\"inbox\") as inbox, COUNT(*) FILTER (WHERE inbox_status=\"spam\") as spam, COUNT(*) as total FROM seed_inbox_checks WHERE created_at > NOW() - INTERVAL \"24 hours\";" 2>/dev/null || echo deliverability_table_tracking_needed']; +} + +// INTENT V53-3 o365_stats +if (preg_match('/o365|office365|office.365|oauth.*o365|tenant.*o365|microsoft.*graph|graph.*api|288.*domain/i', $msg)) { + $intents[] = ['id'=>'o365_stats','cmd'=>'PGPASSWORD=admin123 psql -h 10.1.0.3 -U admin -d adx_system -t -A -F "|" -c "SELECT (SELECT COUNT(*) FROM o365_accounts) as total_accounts, (SELECT COUNT(*) FROM o365_accounts WHERE is_active=true) as active, (SELECT COUNT(DISTINCT tenant_id) FROM o365_accounts) as tenants;" 2>/dev/null || echo o365_tables_check_needed']; +} + +// INTENT V53-4 nginx_vhosts +if (preg_match('/nginx.*vhost|vhost.*nginx|nginx.*config|nginx.*site|sites.*enabled|nginx.*list/i', $msg)) { + $intents[] = ['id'=>'nginx_vhosts','cmd'=>'ls /etc/nginx/sites-enabled/ 2>/dev/null | wc -l | xargs -I{} echo total_vhosts={}; ls /etc/nginx/sites-enabled/ 2>/dev/null | head -20']; +} + +// INTENT V53-5 redis_status +if (preg_match('/redis.*status|redis.*cache|redis.*running|cache.*redis|redis.*check/i', $msg)) { + $intents[] = ['id'=>'redis_status','cmd'=>'systemctl is-active redis-server 2>/dev/null || systemctl is-active redis 2>/dev/null || echo redis_check_needed ; redis-cli ping 2>/dev/null || echo redis_cli_unavailable']; +} + +// === END V53 === + diff --git a/wiki/V54-plan-consolidation.md b/wiki/V54-plan-consolidation.md new file mode 100644 index 000000000..3837e44bc --- /dev/null +++ b/wiki/V54-plan-consolidation.md @@ -0,0 +1,23 @@ +# V54 - Plan-Action Consolidation + +## Problem identified +Plan-action-dp.md had only V44 as last entry, but wiki had V46/V47/V50/V51-V53 files. +Gap meant next Claude could miss V45-V53 work. + +## Fix +Appended V45/V46/V47/V50/V52/V53/V54 sections to plan-action via TRUE ROOT. +396 -> 434 lines. + +## Cumulative state (V32-V54) +- 12/12 GAPs LinkedIn CLOSED +- 17/17 R&D caps deployed +- 16/16 caps chat-dispatchable via WEVIA Master (V45) +- WEVIA public bridged isolation verified E2E (V51-V53 0 leak) +- Registry v2 UNLOCKED (V43 breakthrough) +- Public chat V46/V47 playwright verified +- V50 orchestrator-first + V52 capability detection + V53 hardening +- L99 313/313, NonReg 153/153 preserved 18 passes + +## For next Claude +Read: /opt/wevads/vault/plan-action-dp.md (434 lines now complete V32-V54) +Read: /var/www/html/wiki/V*.md (6 files including this V54)