AUTO-BACKUP 20260413-0340
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled

This commit is contained in:
WEVIA
2026-04-13 03:40:02 +02:00
parent 82350bfa44
commit 7a07fdcf01
16 changed files with 109 additions and 50 deletions

BIN
aa0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

BIN
aa5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 KiB

View File

@@ -277,7 +277,7 @@ composer.addPass(bloomPass);composer.addPass(new OutputPass());
const css2=new CSS2DRenderer();css2.setSize(innerWidth,innerHeight);css2.domElement.style.cssText='position:absolute;top:0;pointer-events:none;z-index:55';document.body.appendChild(css2.domElement);
const ctrl=new OrbitControls(cam,ren.domElement);ctrl.target.set(0,14,0);ctrl.enableDamping=true;ctrl.dampingFactor=0.08;ctrl.maxPolarAngle=Math.PI;ctrl.minPolarAngle=0;ctrl.enableZoom=true;ctrl.minDistance=10;ctrl.maxDistance=500;ctrl.enablePan=true;ctrl.zoomSpeed=1.5;ctrl.rotateSpeed=0.8;ctrl.autoRotate=false;ctrl.autoRotateSpeed=0.15;
const ctrl=new OrbitControls(cam,ren.domElement);ctrl.target.set(0,14,0);ctrl.enableDamping=true;ctrl.dampingFactor=0.08;ctrl.maxPolarAngle=Math.PI;ctrl.minPolarAngle=0;ctrl.enableZoom=true;ctrl.minDistance=10;ctrl.maxDistance=500;ctrl.enablePan=true;ctrl.zoomSpeed=1.5;ctrl.rotateSpeed=0.8;ctrl.autoRotate=true;ctrl.autoRotateSpeed=0.3;
// ARROWS
const aM=new MeshPhysicalMaterial({color:0x06b6d4,emissive:0x06b6d4,emissiveIntensity:0.5,transparent:true,opacity:0.6});
@@ -333,6 +333,61 @@ for(let i=0;i<T.length-1;i++){const g=new Mesh(new CylinderGeometry(0.025,0.025,
// === HIERARCHY LINKS — WEVIA Master → Tier Leaders → Agents ===
var hierLinks=[];
function addHierLink(fromAgent,toAgent,color,width){
var f=_agentPositions[fromAgent],t=_agentPositions[toAgent];
if(!f||!t)return;
var pts=[new Vector3(f.x,f.y+1,f.z),new Vector3((f.x+t.x)/2,Math.max(f.y,t.y)+3,(f.z+t.z)/2),new Vector3(t.x,t.y+1,t.z)];
var curve=new QuadraticBezierCurve3(pts[0],pts[1],pts[2]);
var geom=new BufferGeometry().setFromPoints(curve.getPoints(20));
var mat=new LineBasicMaterial({color:color,transparent:true,opacity:0.35,linewidth:width||1});
var line=new Line(geom,mat);
scene.add(line);
hierLinks.push({line:line,curve:curve,color:color});
}
// Build links after agents are positioned
setTimeout(function(){
// WEVIA Master → Tier 0 Strategy leaders
addHierLink("WEVIA Master","Arena",0x06b6d4,2);
addHierLink("WEVIA Master","Dynamic Resolver",0x06b6d4,2);
addHierLink("WEVIA Master","Sovereign Claude",0x06b6d4,2);
addHierLink("WEVIA Master","Chatbot",0x06b6d4,2);
// Master → Tier 1 Direction leaders
addHierLink("WEVIA Master","Director",0x8b5cf6,1.5);
addHierLink("WEVIA Master","Master Router",0x8b5cf6,1.5);
addHierLink("WEVIA Master","AutoFix",0x8b5cf6,1.5);
addHierLink("WEVIA Master","Fiability",0x8b5cf6,1.5);
addHierLink("WEVIA Master","Blade Bridge",0x8b5cf6,1.5);
// Director → Tier 2 Tactic agents
addHierLink("Director","DevOps",0xf59e0b,1);
addHierLink("Director","Security",0xf59e0b,1);
addHierLink("Director","NonReg",0xf59e0b,1);
addHierLink("Director","L99 Pilot",0xf59e0b,1);
addHierLink("Director","Monitor",0xf59e0b,1);
addHierLink("Director","Ethica",0xf59e0b,1);
// Master Router → Tier 3 Execution
addHierLink("Master Router","Ollama",0xef4444,1);
addHierLink("Master Router","Groq",0xef4444,1);
addHierLink("Master Router","Cerebras",0xef4444,1);
addHierLink("Master Router","Trinity Large",0xef4444,1);
addHierLink("Master Router","MiniMax M27",0xef4444,1);
// Animated pulse dots on links
function pulseLinks(time){
hierLinks.forEach(function(h,i){
var t=((time*0.001+i*0.3)%2)/2;
if(t>1)t=2-t;
var pt=h.curve.getPoint(t);
// Update opacity for pulsing effect
h.line.material.opacity=0.2+Math.sin(time*0.003+i)*0.15;
});
}
// Hook into animation loop
var origAnimate=window._hierPulse;
window._hierPulse=pulseLinks;
},3000);
// KPI panels moved to fixed HTML overlay
@@ -477,10 +532,10 @@ function rotB(){
setTimeout(function(){b.classList.remove('show')},4000);
});
}
setTimeout(function(){rotB();setInterval(rotB,5000)},3000);
setTimeout(function(){rotB();setInterval(rotB,2500)},3000);
// ACTIVITY DOTS
(function(){function u(){fetch('/api/agent-status.php').then(function(r){return r.json()}).then(function(d){if(!d||!d.active)return;document.querySelectorAll('.ag-card').forEach(function(c){var n=c.querySelector('.name').textContent;var old=c.querySelector('.dot');if(old)old.remove();if(d.active[n]){var dot=document.createElement('div');dot.className='dot';c.appendChild(dot)}})}).catch(function(){})}u();setInterval(u,15000)})();
(function(){function u(){fetch('/api/agent-status.php').then(function(r){return r.json()}).then(function(d){if(!d||!d.active)return;document.querySelectorAll('.ag-card').forEach(function(c){var n=c.querySelector('.name').textContent;var old=c.querySelector('.dot');if(old)old.remove();if(d.active[n]){var dot=document.createElement('div');dot.className='dot';c.appendChild(dot)}})}).catch(function(){})}u();setInterval(u,5000)})();
// === CONNECTION LINES: WEVIA Master to key agents ===
@@ -560,7 +615,7 @@ setTimeout(function(){rotB();setInterval(rotB,5000)},3000);
});
}).catch(function(){});
}
setTimeout(rKPI,10000);setInterval(rKPI,30000);
setTimeout(rKPI,10000);setInterval(rKPI,10000);
})();
@@ -633,7 +688,7 @@ var flowInfos={
scene.add(pathLine);
flowDots.push({
dot:dot, master:master.clone(), target:tgt.pos.clone(),
info:tgt.info, speed:0.3+Math.random()*0.4,
info:tgt.info, speed:0.8+Math.random()*0.6,
phase:Math.random()*Math.PI*2,
direction:idx%2===0?1:-1,
lbl:lbl, path:pathLine
@@ -664,7 +719,7 @@ function updateFlows(time){
});
}
function animate(){requestAnimationFrame(animate);ctrl.update();var t=performance.now()/1000;updateFlows(t);if(pts&&pts.rotation)pts.rotation.y+=0.0008;composer.render();css2.render(scene,cam)}
function animate(){requestAnimationFrame(animate);ctrl.update();var t=performance.now()/1000;updateFlows(t);if(pts&&pts.rotation)pts.rotation.y+=0.003;if(window._hierPulse)window._hierPulse(performance.now());composer.render();css2.render(scene,cam)}
animate();
window.addEventListener('resize',function(){cam.aspect=innerWidth/innerHeight;cam.updateProjectionMatrix();ren.setSize(innerWidth,innerHeight);css2.setSize(innerWidth,innerHeight);if(typeof composer!=='undefined')composer.setSize(innerWidth,innerHeight)});
@@ -783,7 +838,7 @@ window.addEventListener('resize',function(){cam.aspect=innerWidth/innerHeight;ca
.catch(function(e){document.getElementById('w119-upd').textContent='';});
}
updateLive();
setInterval(updateLive,30000);
setInterval(updateLive,10000);
// Keyboard shortcuts trigger Master intents via the w116 modal flow
var SHORTCUT_MAP={a:'audit complet',n:'nonreg run',g:'git push',h:'auto-heal',d:'self-diagnostic',v:'vault list'};

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +1,11 @@
{
"ts": "2026-04-13T01:31:48+00:00",
"ts": "2026-04-13T01:39:19+00:00",
"hostname": "LAPTOP-VE75QUHF",
"cpu": "40%",
"ram": "73% (16GB)",
"disk": "82% (464GB)",
"uptime": "0d 9h",
"cpu": "76%",
"ram": "76% (16GB)",
"disk": "?",
"uptime": "0d09h52m",
"user": "Yace",
"ip": "160.176.108.154",
"agent_version": "2.2"
"agent_version": "2.0"
}

View File

@@ -13,5 +13,5 @@
"Run simulation",
"CEO insights"
],
"timestamp": "2026-04-13 01:30:02"
"timestamp": "2026-04-13 01:40:01"
}

View File

@@ -287,4 +287,8 @@ fatal: updating files failed
error: api/architecture-index.json: failed to insert into database
error: unable to index file 'api/architecture-index.json'
fatal: updating files failed
2026-04-13 01:30:02 | L99:957/957 | NR:NONREG: 153/153 (100%) | D:17 | disk:87% | hubs:29 | CLEAR
2026-04-13 01:30:02 | L99:957/957 | NR:NONREG: 153/153 (100%) | D:17 | disk:87% | hubs:29 | CLEARerror: insufficient permission for adding an object to repository database .git/objects
error: agents-archi.html: failed to insert into database
error: unable to index file 'agents-archi.html'
fatal: updating files failed
2026-04-13 01:35:02 | L99:957/957 | NR:NONREG: 153/153 (100%) | D:17 | disk:87% | hubs:29 | CLEAR

View File

@@ -1,5 +1,5 @@
{
"ts": "2026-04-13 01:30:02",
"ts": "2026-04-13 01:35:02",
"r": {
"reconcile": "OK",
"nonreg": "NONREG: 153\/153 (100%)",
@@ -7,7 +7,7 @@
"docker": 17,
"disk": 87,
"hubs": 29,
"dirty": 4,
"dirty": 8,
"pushed": true,
"alerts": [
"CLEAR"

View File

@@ -1,5 +1,5 @@
{
"timestamp": "2026-04-13 03:30:09",
"timestamp": "2026-04-13 03:35:06",
"healthy": true,
"issues": [],
"fixes": [],

View File

@@ -1,5 +1,5 @@
{
"timestamp": "2026-04-13 01:30:10",
"timestamp": "2026-04-13 01:35:09",
"healthy": false,
"checks": {
"outpost": "DOWN",
@@ -19,7 +19,7 @@
"docker:authentik-worker": "NOT_FOUND",
"docker:authentik-db": "NOT_FOUND",
"docker:authentik-redis": "NOT_FOUND",
"open_ports": 50,
"open_ports": 52,
"nginx": "OK"
},
"flow_ok": 3,
@@ -30,57 +30,57 @@
{
"level": "critical",
"msg": "Outpost DOWN 9090",
"ts": "2026-04-13T01:30:02+00:00"
"ts": "2026-04-13T01:35:02+00:00"
},
{
"level": "critical",
"msg": "Outpost STILL DOWN",
"ts": "2026-04-13T01:30:07+00:00"
"ts": "2026-04-13T01:35:07+00:00"
},
{
"level": "warning",
"msg": "Auth flow ethica.weval-consulting.com: 200",
"ts": "2026-04-13T01:30:08+00:00"
"ts": "2026-04-13T01:35:07+00:00"
},
{
"level": "warning",
"msg": "Auth flow n8n.weval-consulting.com: 200",
"ts": "2026-04-13T01:30:08+00:00"
"ts": "2026-04-13T01:35:07+00:00"
},
{
"level": "warning",
"msg": "Auth flow crm.weval-consulting.com: 200",
"ts": "2026-04-13T01:30:08+00:00"
"ts": "2026-04-13T01:35:08+00:00"
},
{
"level": "warning",
"msg": "Auth flow mm.weval-consulting.com: 200",
"ts": "2026-04-13T01:30:09+00:00"
"ts": "2026-04-13T01:35:08+00:00"
},
{
"level": "warning",
"msg": "Auth flow analytics.weval-consulting.com: 200",
"ts": "2026-04-13T01:30:09+00:00"
"ts": "2026-04-13T01:35:08+00:00"
},
{
"level": "warning",
"msg": "Auth flow deerflow.weval-consulting.com: 200",
"ts": "2026-04-13T01:30:09+00:00"
"ts": "2026-04-13T01:35:08+00:00"
},
{
"level": "warning",
"msg": "Callback location missing in nginx",
"ts": "2026-04-13T01:30:09+00:00"
"ts": "2026-04-13T01:35:08+00:00"
}
],
"fixes": [
{
"title": "Restart authentik",
"ts": "2026-04-13T01:30:02+00:00"
"ts": "2026-04-13T01:35:02+00:00"
},
{
"title": "Callback location auto-added",
"ts": "2026-04-13T01:30:09+00:00"
"ts": "2026-04-13T01:35:08+00:00"
}
]
}

View File

@@ -1,5 +1,5 @@
{
"timestamp": "2026-04-13 01:30:02",
"timestamp": "2026-04-13 01:40:01",
"version": "1.0",
"disk": 87,
"ram": 24,
@@ -14,29 +14,29 @@
"title": "Disk light cleanup 87%",
"cmd": "find \/var\/log -name '*.gz' -mtime +7 -delete; find \/tmp -mtime +3 -delete 2>\/dev\/null",
"output": "",
"time": "01:30:02"
"time": "01:40:01"
}
],
"alerts": [
{
"level": "critical",
"msg": "S204:deerflow DOWN (:2024)",
"time": "01:30:02"
"time": "01:40:01"
},
{
"level": "critical",
"msg": "S204:authentik DOWN (:9090)",
"time": "01:30:02"
"time": "01:40:01"
}
],
"log": [
"01:30:02 AUTO-FIX: Disk light cleanup 87%",
"01:30:02 Disk: 87%",
"01:30:02 SSL: 357d remaining",
"01:30:03 Docker: 17 containers",
"01:30:03 Ollama: 4 models, 4.9GB",
"01:30:03 RAM: 24%",
"01:30:03 Arch score: 100\/100"
"01:40:01 AUTO-FIX: Disk light cleanup 87%",
"01:40:01 Disk: 87%",
"01:40:01 SSL: 357d remaining",
"01:40:01 Docker: 17 containers",
"01:40:01 Ollama: 4 models, 4.9GB",
"01:40:01 RAM: 24%",
"01:40:01 Arch score: 100\/100"
],
"s204_services": 8,
"s95_mta": 5

View File

@@ -1 +1 @@
{"ts":"03:32","status":"offline"}
{"ts":"03:38","status":"offline"}

View File

@@ -1 +1 @@
{"ts": "03:30", "status": "ok"}
{"ts": "03:35", "status": "ok"}

BIN
mr0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 KiB

BIN
mr5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

View File

@@ -360,8 +360,8 @@ function dR(r){
fg.addColorStop(0,'#00000000');fg.addColorStop(1,'#00000008');
X.fillStyle=fg;X.beginPath();X.roundRect(r.x,r.y+r.h*0.6,r.w,r.h*0.4,[0,0,14,14]);X.fill();X.save();X.globalAlpha=0.04;X.fillStyle=r.cl;for(var _gx=r.x+10;_gx<r.x+r.w;_gx+=16)for(var _gy=r.y+50;_gy<r.y+r.h-30;_gy+=16){X.beginPath();X.arc(_gx,_gy,0.6,0,6.28);X.fill();}X.restore();/*gridDots*/
// Border
var _pulse=Math.sin(tk*0.05+r.x)*0.3+0.7;
X.strokeStyle=r.cl+(Math.round(_pulse*60).toString(16).padStart(2,'0'));X.lineWidth=1.5+Math.sin(tk*0.03)*0.5;X.beginPath();X.roundRect(r.x,r.y,r.w,r.h,14);X.stroke();
var _pulse=Math.sin(tk*0.12+r.x)*0.3+0.7;
X.strokeStyle=r.cl+(Math.round(_pulse*60).toString(16).padStart(2,'0'));X.lineWidth=1.5+Math.sin(tk*0.08)*0.5;X.beginPath();X.roundRect(r.x,r.y,r.w,r.h,14);X.stroke();
// Left accent bar (thicker)
if(r._st==='live'){var _lb=3+Math.sin(tk*0.06)*1.5;X.fillStyle=r.cl;X.beginPath();X.roundRect(r.x,r.y+8,_lb,r.h-16,3);X.fill();}else{X.fillStyle=r.cl+'60';X.beginPath();X.roundRect(r.x,r.y+8,3,r.h-16,3);X.fill();}/*liveBar*/
// Top header band
@@ -477,7 +477,7 @@ function drawBubble(r){
X.restore();
}
function drawAmbient(){RM.forEach(function(r){if(r._st!=='live')return;X.save();X.globalAlpha=0.15;for(var i=0;i<6;i++){var px=r.x+20+Math.sin(tk*0.02+i*1.1)*(r.w*0.4)+r.w*0.3;var py=r.y+30+Math.cos(tk*0.015+i*0.8)*(r.h*0.2)+r.h*0.3;X.fillStyle=r.cl;X.beginPath();X.arc(px,py,1.5+Math.sin(tk*0.05+i)*0.5,0,6.28);X.fill();}X.restore();});}
function drawLinks(){X.save();X.setLineDash([4,4]);X.lineWidth=0.6;X.globalAlpha=0.25;for(var i=1;i<RM.length;i++){var s=RM[0],d=RM[i];var sx=s.x+s.w/2,sy=s.y+s.h,dx=d.x+d.w/2,dy=d.y;X.strokeStyle=d.cl;X.beginPath();X.moveTo(sx,sy);X.bezierCurveTo(sx,sy+30,dx,dy-30,dx,dy);X.stroke();var _tp=(tk*0.008)%1;var _bx=Math.pow(1-_tp,3)*sx+3*Math.pow(1-_tp,2)*_tp*sx+3*(1-_tp)*_tp*_tp*dx+Math.pow(_tp,3)*dx;var _by=Math.pow(1-_tp,3)*sy+3*Math.pow(1-_tp,2)*_tp*(sy+30)+3*(1-_tp)*_tp*_tp*(dy-30)+Math.pow(_tp,3)*dy;X.fillStyle=d.cl;X.beginPath();X.arc(_bx,_by,2.5,0,6.28);X.fill();}X.setLineDash([]);X.restore();}/*bezPulse*/
function drawLinks(){X.save();X.setLineDash([4,4]);X.lineWidth=0.6;X.globalAlpha=0.25;for(var i=1;i<RM.length;i++){var s=RM[0],d=RM[i];var sx=s.x+s.w/2,sy=s.y+s.h,dx=d.x+d.w/2,dy=d.y;X.strokeStyle=d.cl;X.beginPath();X.moveTo(sx,sy);X.bezierCurveTo(sx,sy+30,dx,dy-30,dx,dy);X.stroke();var _tp=(tk*0.025)%1;var _bx=Math.pow(1-_tp,3)*sx+3*Math.pow(1-_tp,2)*_tp*sx+3*(1-_tp)*_tp*_tp*dx+Math.pow(_tp,3)*dx;var _by=Math.pow(1-_tp,3)*sy+3*Math.pow(1-_tp,2)*_tp*(sy+30)+3*(1-_tp)*_tp*_tp*(dy-30)+Math.pow(_tp,3)*dy;X.fillStyle=d.cl;X.beginPath();X.arc(_bx,_by,2.5,0,6.28);X.fill();}X.setLineDash([]);X.restore();}/*bezPulse*/
function drawMinimap(){var mw=160,mh=90,mx=8,my=(window.scrollY||0)+innerHeight-mh-40;var sx=mw/W,sy=mh/H;X.save();X.globalAlpha=0.8;X.fillStyle=window._isDark?'#1e293bdd':'#ffffffdd';X.strokeStyle=window._isDark?'#475569':'#cbd5e1';X.lineWidth=0.8;X.beginPath();X.roundRect(mx,my,mw,mh,[6]);X.fill();X.stroke();RM.forEach(function(r){X.fillStyle=r._st==='live'?r.cl+'80':r.cl+'30';X.fillRect(mx+r.x*sx,my+r.y*sy,r.w*sx,r.h*sy);X.strokeStyle=r._st==='live'?'#22c55e':r.cl+'50';X.lineWidth=r._st==='live'?1.5:0.4;X.strokeRect(mx+r.x*sx,my+r.y*sy,r.w*sx,r.h*sy);r.ag.forEach(function(a){X.fillStyle=r._st==='live'?'#059669':'#94a3b8';X.beginPath();X.arc(mx+a.px*sx,my+a.py*sy,1.2,0,6.28);X.fill();});});var vy=window.scrollY||0;X.strokeStyle='#ef4444';X.lineWidth=1;X.setLineDash([2,2]);X.strokeRect(mx,my+vy*sy,mw,innerHeight*sy);X.setLineDash([]);X.font='500 5px Nunito';X.fillStyle=window._isDark?'#94a3b8':'#64748b';X.textAlign='left';X.fillText('MINIMAP',mx+4,my+mh-4);X.restore();}
var _hist=[];function addHist(msg){_hist.unshift({t:new Date().toLocaleTimeString('fr-FR',{hour:'2-digit',minute:'2-digit'}),m:msg});if(_hist.length>5)_hist.pop();}
function drawHistory(){if(!_hist||!_hist.length)return;var hw=150,hh=70,hx=W-hw-10,hy=(window.scrollY||0)+innerHeight-hh-40;X.save();X.globalAlpha=0.75;X.fillStyle=window._isDark?'#1e293bdd':'#ffffffdd';X.strokeStyle=window._isDark?'#475569':'#cbd5e1';X.lineWidth=0.8;X.beginPath();X.roundRect(hx,hy,hw,hh,[6]);X.fill();X.stroke();X.font='600 5px Nunito';X.fillStyle='#059669';X.textAlign='left';X.fillText('HISTORY',hx+4,hy+10);X.font='400 5px Nunito';X.fillStyle=window._isDark?'#94a3b8':'#64748b';for(var i=0;i<Math.min(_hist.length,4);i++){X.fillText(_hist[i].t+' '+_hist[i].m,hx+4,hy+20+i*12);}X.restore();}
@@ -592,7 +592,7 @@ async function fetchLive(){
if(ls)ls.textContent='Agents: '+AA.length+' | Rooms: '+RM.length+' | NR: '+LIVE.nr+' | '+LIVE.uptime;
}
fetchLive();
setInterval(fetchLive,60000);
setInterval(fetchLive,15000);
draw();
@@ -685,7 +685,7 @@ var _hist=[];function addHist(msg){_hist.unshift({t:new Date().toLocaleTimeStrin
}catch(e){ console.warn('ops load fail',e); }
}
setTimeout(loadOps, 1500);
setInterval(loadOps, 30000);
setInterval(loadOps, 10000);
})();
</script>