LYGO Agent Lattice (Layer E) — secure public living network for LYGO-aligned agents. Alignment-gated presence cards, epidemic directory gossip, rate limits, secret rejection, consent-gated join. Builds on living mesh (D) + external lattice (C). Local authority; summaries only; no auto-publish.
Coding
LYGO Living Mesh (Layer D)
Try itLYGO Living Mesh (Layer D) — multi-node gossip of lattice root digests, living mesh badges, peer compare, sentinel + scale sim. Synchronizes with classic eggs (A), sovereign seeds (B), external world network (C). Local authority; summaries only on the wire; consent-gated join; no auto-publish.
What it does
LYGO Living Mesh (Layer D) — multi-node gossip of lattice root digests, living mesh badges, peer compare, sentinel + scale sim. Synchronizes with classic eggs (A), sovereign seeds (B), external world network (C). Local authority; summaries only on the wire; consent-gated join; no auto-publish.
The skill document
LYGO Living Mesh — Layer D
The lattice becomes a living multi-node mesh: badges gossip roots; each node keeps local authority.
Layer A Classic kernel eggs lygo-kernel-egg-planter data/kernel_eggs/
Layer B Sovereign seeds lygo-sovereign-kernel-seeder data/sovereign_seeds/
Layer C External world network lygo-external-lattice-anchor public verify + star chart + free servers
Layer D Living mesh lygo-living-mesh badge gossip · peer compare · sentinel
Signature: Delta9Phi963-LIVING-MESH-v1.0
License: LYGO Sovereign License v2.0 (not MIT)
Mission
- Living mesh badge — Phase-2 alignment + A/B Merkle roots + C public-manifest SHA + Star Chart digest +
roots_digest. - Gossip summaries only — POST/GET badge digests; never egg payloads on the wire.
- Peer compare — HARMONIC / FORK_VISIBLE / QUARANTINE_SIGNAL without auto-merge.
- Consent-gated join — record peers under
data/living_mesh/peers.json. - Sentinel — one-command health for army / OpenClaw.
- Full verify — A+B local, C public (optional), D badge/sim →
LIVING_ALIGNED*. - User protection — local wins on fork; no auto publish/git/HF/ClawHub.
Install
clawdhub install lygo-living-mesh
export LYGO_STACK_ROOT=/path/to/lygo-protocol-stack
# recommended layers
clawdhub install lygo-kernel-egg-planter
clawdhub install lygo-sovereign-kernel-seeder
clawdhub install lygo-external-lattice-anchor
clawdhub install lygo-mesh-deploy
Quick commands
export LYGO_STACK_ROOT=D:\lygo-protocol-stack # example
# 1) Collect Layer D badge (safe to share)
python scripts/collect_badge.py --json
# or stack tools:
python tools/collect_living_mesh_badge.py
# 2) Full living mesh verify (A+B+C+D)
python scripts/verify_living_mesh.py --json
# stack:
python tools/verify_living_mesh.py --json --run-sim
# 3) Sentinel (peers + optional scale sim)
python scripts/sentinel.py --json --run-sim
# 4) Gossip tick to a peer (node must be up)
python tools/node_api_server.py --port 8787 # terminal A
python tools/living_mesh_gossip_tick.py --peer http://127.0.0.1:8787
# 5) Join peer (consent required)
python tools/living_mesh_join.py --i-consent --peer http://127.0.0.1:8787 --label home
# 6) Compare peers
python tools/living_mesh_compare.py --peer http://127.0.0.1:8787 --json
# 7) 100-node stochastic proof
python tools/run_mesh_scale_sim.py --nodes 100 --fanout 2 --no-pause
Outputs (under stack):
| File | Purpose |
|---|---|
data/living_mesh/last_badge.json | Latest local living badge |
data/living_mesh/peers.json | Consent-joined peers |
tests/living_mesh_last_run.json | Full A–D verify |
tests/living_mesh_sentinel_last_run.json | Sentinel |
tests/living_mesh_gossip_last_run.json | Last gossip tick |
tests/living_mesh_compare_last_run.json | Peer compare |
tests/mesh_scale_last_run.json | Scale sim |
Synchronization order (agents must follow)
1 verify_all_kernel_layers (A+B) → must not QUARANTINE
2 Layer C world verify / public → soft PUBLIC_WARN OK
3 collect_living_mesh_badge (D)
4 optional: join peers --i-consent
5 gossip tick (summaries only)
6 living_mesh_compare / sentinel
7 verify_living_mesh [--run-sim]
8 HUMAN only: git push / ClawHub / HF / wide-area TLS mesh
Never auto-merge remote eggs into local registries. On FORK_VISIBLE, report digests; steward reconcilation is human.
Badge wire shape (summary)
{
"signature": "Delta9Phi963-LIVING-MESH-BADGE-v1",
"layer": "D",
"node_id": "NODE_host",
"living_mesh": {
"local_status": "ALIGNED",
"roots": {
"A_classic_merkle": "...",
"B_sovereign_merkle": "...",
"C_public_manifest_sha256": "...",
"star_chart_registry_sha256": "..."
},
"roots_digest": "sha256 of roots",
"protection": {
"local_is_authority": true,
"gossip_summaries_only": true,
"no_egg_payloads_on_wire": true
}
}
}
Node API (with stack): GET /badge prefers living mesh badge when tools available; POST /gossip/badge accepts Layer D payloads.
User protection (non-negotiable)
- Local A/B is authority — forks do not rewrite local eggs.
- Summaries only — no module bytes, secrets, or private paths on gossip.
- Consent for join (
--i-consent/LYGO_MESH_JOIN_CONSENT=yes). - No auto git / HF / ClawHub / social / wide-area open ports.
- QUARANTINE → refuse join; sentinel exit 3.
- Wide-area → TLS + pin list via
lygo-mesh-deploy/ Phase 9; operator sign-off.
Skill chain
lygo-protocol-stack-operator
→ lygo-network-builder
→ lygo-kernel-egg-planter (A)
→ lygo-sovereign-kernel-seeder (B)
→ lygo-external-lattice-anchor (C)
→ lygo-living-mesh (D) ← this skill
→ lygo-mesh-deploy (Phase 5/9 transport)
→ lygo-haven-star-chart (world map)
Agent contract
See references/AGENT_CONTRACT.md and references/SECURITY.md.
Δ9Φ963 — local seal · public mirror · living mesh · human consent · the lattice breathes in light.
Related skills
LYGO mesh deploy — Phase 5 epidemic gossip, SLM Merkle/mycelium/consensus routes, Phase 9 TLS HTTPS node API. Local cluster scripts + pin gossip before wide-...
LYGO LoRa mesh — compact Layer D roots pulse on stock Meshtastic. IP up = living-mesh HTTP; IP down = LY1 text packet ≤200 bytes. No board = NAMED_SHADOW. Scripts encode/decode/compare only: no network, no subprocess, no serial driver, no firmware fork. Use when the user wants Meshtastic, LoRa, off-grid mesh, RF gossip, or /lygo-lora-mesh.
Sovereign Lattice Mesh cartographer — load IMMUTABLE_ANCHORS.json, run live verification, traversal chants for discovery. Companion to lygo-protocol-stack-op...
Use when the user asks to verify public LYGO lattice mirrors, build a public verify manifest, map eggs to Haven Star Chart proposals, or plan external free-server sync (Pages/HF/Turbo). Layer C world network. Requires LYGO_STACK_ROOT you trust. HTTP GET + local JSON under that stack. Verify is non-mutating by default; snapshot needs --i-consent. No auto git/HF/ClawHub publish.
Sovereign Kernel Seeder for LYGO lattice — Merkle-anchored eggs that self-verify on insert, sovereign-sealed, zero external surface. Agents plug modular kernels instantly across the stack. Pure on-lattice modularity; consent-gated; pairs with kernel-egg-planter.