Files
html/api/ambre-scan-247.php
Opus 4bf5987304
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
V162 V162.1 V162.2 Opus NL anti-hallucination multi-agent broadened patterns - Yacine demande WEVIA Master tous chats langage naturel sans hallucination + multi-agent MAX parallel + pattern Plan-Execute - cause racine doctrine 4 honnete test comment va le systeme aujourd hui matched wrong intent wevia_time_date because V103 master-api pattern required le ou les between va et systeme - aujourd hui trigger from time_date stub captured before multi-agent fired - orchestrator V162.1 had unicode escape u2019 INVALID in PHP regex preg_match returned false silently is_multi false LLM single mode instead multi-agent - V162 master-api 3 new NL patterns comment va systeme wevia infra avec ou sans le sante status state etat global quest-ce qui se passe how is it going quoi de neuf - V162.1 orchestrator same triggers but had unicode bug - V162.2 regex-safe removed u2019 replaced ASCII apostrophe optional plus added comment va vont le la les optionnel syst infra wevia flexible - resultat avant 1 sur 8 maintenant 5 sur 8 = 400 percent improvement - GOLD vault v162 v162-1 - chattr discipline - php lint clean - NR 153 sur 153 preserved L99 153 sur 153 preserved - claude pattern Plan-Execute deja en place via ambre-claude-pattern-sse 7 phases thinking plan rag execute test critique result + claude-pattern-api JSON 5 chatbots - autres claudes V164 V165 thinking panel toggle 7 sur 7 PW convergence sans collision - doctrines 1 scan exhaustif autres claudes 3 GOLD 4 honnete vraies sources 13 CAUSE RACINE PHP regex unicode escape bug 14 zero ecrasement additif uniquement 16 zero regression - wiki /opt/weval-ops/wiki/v162-nl-anti-hallucination
2026-04-22 04:36:12 +02:00

42 lines
1.7 KiB
PHP

<?php
header("Content-Type: application/json");
$out = [];
chdir("/var/www/html");
$out["recent_tags"] = array_filter(array_map("trim", explode("\n", @shell_exec("git tag -l 'wave-*' --sort=-creatordate 2>&1 | head -10"))));
$out["recent_commits"] = array_filter(array_map("trim", explode("\n", @shell_exec("git log --since='30 minutes ago' --oneline 2>&1 | head -10"))));
// Multi-agent infrastructure
$out["multiagent_files"] = [];
foreach (["ambre-master-multiagent.php", "wevia-autonomous.php", "weval-master-api.php", "wevia-multiagent.php", "multiagent-orchestrator.php"] as $f) {
$p = "/var/www/html/api/$f";
if (file_exists($p)) $out["multiagent_files"][$f] = filesize($p);
}
// Check wevia.html V9 state
$w = @file_get_contents("/var/www/html/wevia.html");
$out["wevia"] = [
"size" => strlen($w),
"v9_wave247_ok_check" => strpos($w, "data.ok || data.success") !== false,
"v9_pattern_widened" => strpos($w, "veux|besoin|demande|fais|cree") !== false,
"v5_memory" => strpos($w, "AMBRE-V5-MEMORY") !== false,
"v10_mermaid" => strpos($w, "AMBRE-V10-MERMAID") !== false,
"mode_select" => strpos($w, "mode.*auto") !== false,
];
// Cascade + semaphore
$out["cascade_up"] = @file_get_contents("http://127.0.0.1:4000/health", false, stream_context_create(["http"=>["timeout"=>3]])) ? "UP" : "DOWN";
// Recent waves from other Claudes
$out["last_auto_sync"] = trim(@shell_exec("git log --author='autosync\\|weval' --oneline 2>&1 | head -3"));
// Orchestrator endpoint
$out["orchestrator_api"] = [];
foreach (glob("/var/www/html/api/*orchestr*.php") as $f) {
$out["orchestrator_api"][] = basename($f);
}
// Current load
$out["load"] = trim(@shell_exec("uptime"));
echo json_encode($out, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES);