|
Download protocol_stack/docs/PHASE2_DEPLOYMENT.md from DeepSeekOracle/LYGO-Resonance-Engine: direct link, hf CLI and curl.
- Browser
- Download file 2.58 kB
-
https://huggingface.co/spaces/DeepSeekOracle/LYGO-Resonance-Engine/resolve/main/protocol_stack/docs/PHASE2_DEPLOYMENT.md
- Command line
-
hf download hf://spaces/DeepSeekOracle/LYGO-Resonance-Engine/protocol_stack/docs/PHASE2_DEPLOYMENT.md
-
curl -L -o PHASE2_DEPLOYMENT.md https://huggingface.co/spaces/DeepSeekOracle/LYGO-Resonance-Engine/resolve/main/protocol_stack/docs/PHASE2_DEPLOYMENT.md
2.58 kB
| # 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 | |
| ```bash | |
| 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: | |
| ```bash | |
| 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 | |
| ```bash | |
| 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 | |
| - GitHub: https://github.com/DeepSeekOracle/lygo-protocol-stack | |
| - HF Space: https://huggingface.co/spaces/DeepSeekOracle/LYGO-Resonance-Engine | |
| - Grokipedia: https://grokipedia.com/page/lygo-protocol-stack | |
| - ClawHub: `deepseekoracle/lygo-docker-deploy`, `deepseekoracle/lygo-alignment-badge` |