Vitalis_Core / templates /ripple.html
FerrellSyntheticIntelligence
feat: implement cryptographic integrity, DAG-reasoning engine, and JIT-optimized generative backbone
7fe0a1c
<!DOCTYPE html>
<html>
<head><title>Sovereign Logic Map</title>
<style>
body { background: #000; color: #0f0; font-family: monospace; }
#graph-container { display: flex; flex-direction: column; padding: 20px; }
.node { border: 1px solid #0f0; margin: 5px; padding: 10px; }
</style>
</head>
<body>
<div id="graph-container"></div>
<input id="inputBox" placeholder="Query the sovereign core..." style="width:100%"/>
<script>
document.getElementById('inputBox').addEventListener('keydown', async e=>{
if(e.key!=='Enter') return;
const res = await fetch('/ripple', {method:'POST', body:JSON.stringify({text:e.target.value})});
const data = await res.json();
const container = document.getElementById('graph-container');
container.innerHTML = data.steps.map(s => `<div class="node">[${s.operation}] Conf: ${s.confidence.toFixed(2)} - ${s.text}</div>`).join('');
});
</script>
</body>
</html>