LYGO-Resonance-Engine / protocol_stack /docs /PHASE2_DEPLOYMENT.md
DeepSeekOracle's picture
Phase 2 community deploy UI + stack bundle v4
5f65366 verified
|
Raw
History Blame Contribute Delete
2.58 kB

A newer version of the Gradio SDK is available: 6.19.0

Upgrade

Phase 2 β€” Community Deployment Guide

For Grokipedia / public docs Β· Signature: Ξ”9Ξ¦963-PHASE2-DEPLOYMENT

Overview

Phase 2 makes it frictionless to run a sovereign LYGO node with the same P0–P5 stack used on GitHub and the Hugging Face Ethical Guardian. Phase 1 Infrastructure Elasticity (priority ethical queue + mycelium batching) and Phase 3–4 federation runtime (registry, gossip, horizontal workers) ship in-tree.

Docker installation

git clone https://github.com/DeepSeekOracle/lygo-protocol-stack.git
cd lygo-protocol-stack
docker compose build lygo-node
docker compose up -d lygo-node
curl -s http://127.0.0.1:8787/badge | jq .

Optional Phase 4 workers:

docker compose --profile scale up -d

One-click setup

OS Command
Linux / macOS bash setup.sh
Windows powershell -ExecutionPolicy Bypass -File setup.ps1

Setup installs Python deps, regenerates the 60+ falsifiable vector suite, runs P0 pytest, and emits an alignment badge.

Alignment badge verification

python tools/verify_alignment_badge.py
  • ALIGNED β€” node matches golden P0 SHA, stack demo, elasticity/federation modules, Grok audit, lattice links.
  • NEEDS_FIX β€” inspect tests/alignment_badge.json and re-run verify_lattice_alignment.py.

Docker health checks use verify_alignment_badge.py --quick.

Architecture (Phase 1 components)

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  Ethical queries ─►│ PriorityEthicalQueue β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β–Ό
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚ MyceliumBatchWriter │──► P1 scatter()
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

  Phase 3 NodeRegistry ◄──► MeshGossip (badge summaries)
  Phase 4 HorizontalWorkerPool ──► parallel audit vectors

Twin Gate (text + byte) remains the public HF visibility layer; community nodes expose /health, /badge, /demo, /elasticity, /federation on port 8787.

Links