auto-sync-0320

This commit is contained in:
opus
2026-04-21 03:20:03 +02:00
parent 7bbb275400
commit f491065974
14 changed files with 83 additions and 296 deletions

View File

@@ -543,21 +543,43 @@ async function refreshBladeStats(){
}
}
// V112-BLADE-FIX: robust pushBladeTask with urlencoded body + visible log + debug
async function pushBladeTask(goal, params){
const log=document.getElementById('blade-log');
if(log){log.style.display='block';log.innerHTML+='\n> Pushing task: '+goal+'...';}
if(log){
log.style.display='block';
log.style.maxHeight='200px';
log.innerHTML += '<div>&gt; Pushing task: '+goal+'...</div>';
log.scrollTop = log.scrollHeight;
}
console.log('[pushBladeTask] goal=',goal,'params=',params);
try{
const fd=new FormData();
fd.append('k','WEVADS2026');
fd.append('action','create');
fd.append('goal',goal);
fd.append('params',JSON.stringify(params||{}));
const r=await fetch('/api/blade-task-create.php',{method:'POST',body:fd});
const d=await r.json();
if(log){log.innerHTML+='\n&gt; '+(d.ok?'\u2705 Task created: '+d.id:'\u274c '+(d.error||'failed'));log.scrollTop=log.scrollHeight;}
setTimeout(refreshBladeStats,500);
}catch(e){
if(log) log.innerHTML+='\n&gt; \u274c Error: '+e.message;
// Use URL-encoded instead of FormData for php $_POST compatibility
const body = 'k=WEVADS2026&action=create&goal='+encodeURIComponent(goal)+'&params='+encodeURIComponent(JSON.stringify(params||{}));
const r = await fetch('/api/blade-task-create.php',{
method:'POST',
headers:{'Content-Type':'application/x-www-form-urlencoded'},
body: body
});
const txt = await r.text();
let d;
try{ d = JSON.parse(txt); }catch(e){ d = {error:'parse failed: '+txt.substring(0,100)}; }
console.log('[pushBladeTask] response=',d);
if(log){
if(d.ok){
log.innerHTML += '<div style="color:var(--gr)">&gt; \u2705 Task created: '+d.id+'</div>';
} else {
log.innerHTML += '<div style="color:var(--rd)">&gt; \u274c '+(d.error||'failed')+'</div>';
}
log.scrollTop = log.scrollHeight;
}
setTimeout(refreshBladeStats, 500);
} catch(e){
console.error('[pushBladeTask] error=',e);
if(log){
log.innerHTML += '<div style="color:var(--rd)">&gt; \u274c Error: '+e.message+'</div>';
log.scrollTop = log.scrollHeight;
}
}
}

View File

@@ -0,0 +1,9 @@
{
"id": "blade_20260421-011848_7e2919",
"goal": "office_create",
"params": [],
"priority": "normal",
"status": "pending",
"created": "2026-04-21T01:18:48+00:00",
"source": "wevia-master-chat"
}

View File

@@ -0,0 +1,9 @@
{
"id": "blade_20260421-011853_080d50",
"goal": "deepseek_renew",
"params": [],
"priority": "normal",
"status": "pending",
"created": "2026-04-21T01:18:53+00:00",
"source": "wevia-master-chat"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

View File

@@ -0,0 +1,18 @@
{
"v112": "blade-fix-urlencoded",
"initial": {
"pending": "3",
"done": "20"
},
"office_result": {
"pending": "4",
"log_visible": "block",
"log_html": "<div>&gt; Pushing task: office_create...</div><div style=\"color:var(--gr)\">&gt; \u2705 Task created: blade_20260421-011848_7e2919</div>"
},
"deepseek_result": {
"pending": "5",
"log_html": "<div>&gt; Pushing task: office_create...</div><div style=\"color:var(--gr)\">&gt; \u2705 Task created: blade_20260421-011848_7e2919</div><div>&gt; Pushing task: deepseek_renew...</div><div style=\"color:var(--gr)\">&gt; \u2705 Task created: blade_20260421-011853_080d50</div>"
},
"console_msgs_count": 4,
"VERDICT": "WIRED"
}

View File

@@ -0,0 +1,10 @@
{
"v112_wtp": "enriched-authed",
"title": "WEVAL Technology Platform \u2014 All-in-One ERP Portal",
"total_links": 95,
"all_ia_hub_link": true,
"orchestrator_link": true,
"master_link": true,
"body_len": 13524,
"VERDICT": "OK"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -1,281 +0,0 @@
{
"ts": "2026-04-21T01:15:01+00:00",
"server": "s204",
"s204": {
"load": 1.75,
"uptime": "2026-04-14 11:51:24",
"ram_total_mb": 31335,
"ram_used_mb": 14407,
"ram_free_mb": 16927,
"disk_total": "150G",
"disk_used": "115G",
"disk_free": "29G",
"disk_pct": "80%",
"fpm_workers": 120,
"docker_containers": 19,
"cpu_cores": 8
},
"s95": {
"load": 1.03,
"disk_pct": "80%",
"status": "UP",
"ram_total_mb": 15610,
"ram_free_mb": 12018
},
"pmta": [
{
"name": "SER6",
"ip": "110.239.84.121",
"status": "DOWN"
},
{
"name": "SER7",
"ip": "110.239.65.64",
"status": "DOWN"
},
{
"name": "SER8",
"ip": "182.160.55.107",
"status": "DOWN"
},
{
"name": "SER9",
"ip": "110.239.86.68",
"status": "DOWN"
}
],
"assets": {
"html_pages": 293,
"php_apis": 770,
"wiki_entries": 1884,
"vault_doctrines": 59,
"vault_sessions": 104,
"vault_decisions": 12
},
"tools": {
"total": 627,
"registry_version": "?"
},
"sovereign": {
"status": "UP",
"providers": [
"Cerebras-fast",
"Cerebras-think",
"Groq",
"Cloudflare-AI",
"Gemini",
"SambaNova",
"NVIDIA-NIM",
"Mistral",
"Groq-OSS",
"HF-Space",
"HF-Router",
"OpenRouter",
"GitHub-Models"
],
"active": 13,
"total": 13,
"primary": "Cerebras-fast",
"cost": "0€"
},
"ethica": {
"total_hcps": 161730,
"with_email": 110550,
"with_phone": 155145,
"gap_email": 51180,
"pct_email": 68.4,
"pct_phone": 95.9,
"by_country": [
{
"country": "DZ",
"hcps": 122337,
"with_email": 78461,
"with_tel": 119394,
"pct_email": 64.1,
"pct_tel": 97.6
},
{
"country": "MA",
"hcps": 19720,
"with_email": 15071,
"with_tel": 18733,
"pct_email": 76.4,
"pct_tel": 95
},
{
"country": "TN",
"hcps": 17794,
"with_email": 15139,
"with_tel": 17018,
"pct_email": 85.1,
"pct_tel": 95.6
},
{
"country": "INTL",
"hcps": 1879,
"with_email": 1879,
"with_tel": 0,
"pct_email": 100,
"pct_tel": 0
}
]
},
"docker": [
{
"name": "loki",
"status": "Up 4 days",
"ports": ""
},
{
"name": "listmonk",
"status": "Up 4 days",
"ports": ""
},
{
"name": "plausible-plausible-1",
"status": "Up 3 days",
"ports": ""
},
{
"name": "plausible-plausible-db-1",
"status": "Up 3 days",
"ports": ""
},
{
"name": "plausible-plausible-events-db-1",
"status": "Up 3 days",
"ports": ""
},
{
"name": "n8n-docker-n8n-1",
"status": "Up 4 days",
"ports": ""
},
{
"name": "mattermost-docker-mm-db-1",
"status": "Up 4 days",
"ports": ""
},
{
"name": "mattermost-docker-mattermost-1",
"status": "Up 4 days (healthy)",
"ports": ""
},
{
"name": "twenty",
"status": "Up 4 days",
"ports": ""
},
{
"name": "twenty-redis",
"status": "Up 4 days",
"ports": ""
},
{
"name": "langfuse",
"status": "Up 5 days",
"ports": ""
},
{
"name": "redis-weval",
"status": "Up 6 days",
"ports": ""
},
{
"name": "gitea",
"status": "Up 6 days",
"ports": ""
},
{
"name": "node-exporter",
"status": "Up 6 days",
"ports": ""
},
{
"name": "prometheus",
"status": "Up 6 days",
"ports": ""
},
{
"name": "searxng",
"status": "Up 6 days",
"ports": ""
},
{
"name": "uptime-kuma",
"status": "Up 25 hours (healthy)",
"ports": ""
},
{
"name": "vaultwarden",
"status": "Up 6 days (healthy)",
"ports": ""
},
{
"name": "qdrant",
"status": "Up 6 days",
"ports": ""
}
],
"crons": {
"active": 35
},
"git": {
"head": "1b8832480 auto-sync-0315",
"dirty": 3,
"status": "DIRTY"
},
"nonreg": {
"total": 153,
"passed": 153,
"score": "100%"
},
"services": [
{
"name": "DeerFlow",
"port": 3002,
"status": "UP"
},
{
"name": "DeerFlow API",
"port": 8001,
"status": "UP"
},
{
"name": "Qdrant",
"port": 6333,
"status": "UP"
},
{
"name": "Ollama",
"port": 11434,
"status": "UP"
},
{
"name": "Redis",
"port": 6379,
"status": "UP"
},
{
"name": "Sovereign",
"port": 4000,
"status": "UP"
},
{
"name": "SearXNG",
"port": 8080,
"status": "UP"
}
],
"whisper": {
"binary": "COMPILED",
"model": "142MB"
},
"grand_total": 3652,
"health": {
"score": 5,
"max": 6,
"pct": 83
},
"elapsed_ms": 11474
}

View File

@@ -1 +1 @@
{"ts": "20260421_031504", "version": "3.2", "score": 100, "pass": 153, "fail": 0, "total": 153, "elapsed": 60.1, "categories": {"S204": {"pass": 9, "fail": 0}, "S95-WV": {"pass": 12, "fail": 0}, "S95-ARS": {"pass": 17, "fail": 0}, "S95-iR": {"pass": 1, "fail": 0}, "INFRA": {"pass": 5, "fail": 0}, "API": {"pass": 27, "fail": 0}, "SEC": {"pass": 4, "fail": 0}, "S95-BK": {"pass": 6, "fail": 0}, "C2-API": {"pass": 4, "fail": 0}, "C2-SPA": {"pass": 1, "fail": 0}, "C2-WV": {"pass": 3, "fail": 0}, "SSO": {"pass": 25, "fail": 0}, "DATA": {"pass": 5, "fail": 0}, "CRONS": {"pass": 2, "fail": 0}, "BLADE": {"pass": 7, "fail": 0}, "LIFE": {"pass": 3, "fail": 0}, "FUNC": {"pass": 7, "fail": 0}, "01AVR": {"pass": 10, "fail": 0}, "STRUCT": {"pass": 5, "fail": 0}}, "failures": []}
{"ts": "20260421_031900", "version": "3.2", "score": 100, "pass": 153, "fail": 0, "total": 153, "elapsed": 54.3, "categories": {"S204": {"pass": 9, "fail": 0}, "S95-WV": {"pass": 12, "fail": 0}, "S95-ARS": {"pass": 17, "fail": 0}, "S95-iR": {"pass": 1, "fail": 0}, "INFRA": {"pass": 5, "fail": 0}, "API": {"pass": 27, "fail": 0}, "SEC": {"pass": 4, "fail": 0}, "S95-BK": {"pass": 6, "fail": 0}, "C2-API": {"pass": 4, "fail": 0}, "C2-SPA": {"pass": 1, "fail": 0}, "C2-WV": {"pass": 3, "fail": 0}, "SSO": {"pass": 25, "fail": 0}, "DATA": {"pass": 5, "fail": 0}, "CRONS": {"pass": 2, "fail": 0}, "BLADE": {"pass": 7, "fail": 0}, "LIFE": {"pass": 3, "fail": 0}, "FUNC": {"pass": 7, "fail": 0}, "01AVR": {"pass": 10, "fail": 0}, "STRUCT": {"pass": 5, "fail": 0}}, "failures": []}

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"ok": true,
"version": "V83-business-kpi",
"ts": "2026-04-21T01:17:04+00:00",
"ts": "2026-04-21T01:19:02+00:00",
"summary": {
"total_categories": 8,
"total_kpis": 64,