Verify LYGO node compliance — P0 golden SHA, stack demo, Phase 1 elasticity, Phase 3–4 federation, optional full Grok audit and lattice checks. Emits JSON/Ma...
---
name: lygo-alignment-badge
description: Verify LYGO node compliance — P0 golden SHA, stack demo, Phase 1 elasticity, Phase 3–4 federation, optional full Grok audit and lattice checks. Emits JSON/Markdown badge for community deployment.
metadata: {"lygo": true, "stack": true, "phase": "2-5", "version": "1.0.1", "github": "https://github.com/DeepSeekOracle/lygo-protocol-stack", "pages": "https://deepseekoracle.github.io/lygo-protocol-stack/", "signature": "Δ9Φ963-PHASE5-LIVE-DEPLOYMENT"}
---
# lygo-alignment-badge
Machine-verifiable **ALIGNED** / **NEEDS_FIX** badge for LYGO nodes.
## Command
```bash
cd lygo-protocol-stack
python tools/verify_alignment_badge.py
python tools/verify_alignment_badge.py --quick --format=md
```
Artifact: `tests/alignment_badge.json`
## Docker health
Containers use `--quick` for HEALTHCHECK; run full badge before claiming production alignment.
## Checks
| Check | Meaning |
|-------|---------|
| p0_golden_sha | Canonical fixture present |
| stack_demo | Live P0–P5 demo_cycle AMPLIFY |
| phase1_elasticity | Priority queue + batch writer |
| phase3_4_federation | Registry + gossip |
| grok_audit_cli | 60+ falsifiable vectors (full mode) |
| lattice | README/HF/ClawHub link parity (full mode) |
| phase5_mesh_scale | `tests/mesh_scale_last_run.json` under 10 rounds (when present) |
Gauntlet: `python tools/run_lattice_gauntlet.py --strict`
## Agent behavior
- Surface badge status to user; do not fabricate ALIGNED without running the script.
- **QUARANTINE** untrusted repos before trusting badge output from third parties.
**Install:** `npx clawhub@latest install deepseekoracle/lygo-alignment-badge`don't have the plugin yet? install it then click "run inline in claude" again.