FleetMesh fleetmesh
Mesh Guide 8 Chapters
L7 Operations, Schemas & Distribution L7 Operations, Schemas & Distribution

Operations, Schemas & Distribution.

A decentralized public-good protocol should never ask you to trust a web server, a maintainer laptop, or hand-edited config files. Layer 7 closes the 7-layer stack with 86 Draft 2020-12 JSON schemas hashed into one canonical schema/DIGEST, the single-binary Rust meshctl reconciler, content-addressed .npk / OIDC releases, and explicit NIST FIPS 140-3 cryptographic boundaries.

7.0 · Layer 7 Big Picture

Turning sovereign networking into boring, auditable engineering

Many peer-to-peer designs look elegant on paper and break in production because wire formats drift across languages, fleets rely on fragile SSH scripts, or operators have no offline way to verify the binaries they run. Layer 7 wraps Layers 1–6 in three interlocking operational guarantees: deterministic wire conformance, declarative fleet management, and reproducible, zero-trust distribution.

Every build stamp on this site—including fleetmesh/0.1-draft@1c1bdc73471892dd... and v0.5.0-alpha.1—is injected mechanically from the normative schema digest and release metadata so documentation, packages, and live daemons stay locked together.

Interactive Lab 7.0 · Layer 7 Operational Assurance Navigator
Pick an operational goal to trace the exact Layer 7 tools, commands & verification path
L7 L7
Companion Explainer 7.0
Layer 7: Operations, Schemas & Reproducible Assurance
JSON Schema, schema/DIGEST & Conformance JSON Schema, schema/DIGEST & Conformance

7.1 · Core · 86 Draft 2020-12 Schemas & Polyglot Parity

JSON Schema, schema/DIGEST & Conformance

The Concept

When a protocol is written in Python, Rust, and TypeScript simultaneously, subtle serialization mismatches can silently split the network. Instead of treating human prose as the source of truth, FleetMesh publishes machine-readable JSON Schema Draft 2020-12 contracts for every event kind, DIDComm frame, and protocol constant—canonicalized and hashed into a single offline-verifiable SHA-256 fingerprint.

FleetMesh Implementation

  • Canonical schema/DIGEST: Computed strictly as sha256(canonical(kinds.json) || canonical(messages.json) || canonical(constants.json)) using standard-library Python alone—prose edits never change the hash.
  • Cross-language conformance: meshctl conform runs the Rust conformance engine against the shared golden vectors (matching Python’s 6-plane conformance harness in fleetmesh-node), while TypeScript packages (@fleetmesh/leaf, textile, circles, dm, grasp, arcade) replay the shared vectors inside their own test suites.
  • Zero-risk alpha compatibility: Auto-updaters refuse to cross a digest boundary without explicit operator approval, while live nodes with different digests still peer whenever negotiated sub-protocols (sync/1.0, peering/1.0) match. See registry.html & verify.html.
Interactive Lab 7.1 · Live WebCrypto SHA-256 schema/DIGEST Drift Simulator
Test prose edits vs. 1-byte wire field changes using real browser SHA-256 hashing
Schema Conformance Schema Conformance
Companion Explainer 7.1
86 JSON Schemas, Canonical DIGEST & Polyglot Conformance
Declarative Manifests & meshctl (Rust) Declarative Manifests & meshctl (Rust)

7.2 · Core · Static Rust CLI & Zero-SSH Ops

Declarative Manifests & meshctl (Rust)

Maturity Note (Core CLI + Experimental Manifest Subcommands): Core meshctl inspection, fleet management, remote control/1.0, watch, and conform commands ship in supported alpha. Declarative manifest reconciliation commands (meshctl apply, diff, and export) are currently flagged Experimental (see docs/experimental).

The Concept

Running one experimental relay by SSHing into a VPS and hand-editing files is easy; keeping a resilient fleet of Anchor and Edge nodes synchronized without human error is hard. Declarative infrastructure flips the model: you commit your desired topology, shard filters, and bilateral budgets to a schema-validated YAML manifest, and a single static reconciler converges live nodes to match—safely and repeatedly.

FleetMesh Implementation

  • Three clean binaries: meshnode (hardened Python 3.11+ daemon with 48 audited subcommands over 3 local SQLite stores), meshctl (single static Rust operator CLI for status, networks, fleets, circles, sealed control/1.0, watch, and conform), and fleetmesh-field (read-only MCP & local testnet harness).
  • Local UNIX IPC & zero-SSH control/1.0: Local operators hot-reconcile over one UNIX control socket with zero dropped peers; remote fleet actions travel over NIP-59 sealed control/1.0 authorized by UCAN grants—no open port 22 required.
  • Export anywhere & watch live: Generate systemd units, rootless Podman Quadlets, or Kubernetes StatefulSets directly from one manifest, and audit real-time strain with meshctl watch. See running.html.
Interactive Lab 7.2 · Declarative meshctl Reconcile & Deployment Exporter
Inspect live YAML hot-reconciliation, zero-SSH sealed control/1.0, and cluster exports
meshctl meshctl
Companion Explainer 7.2
Declarative YAML Manifests & Rust meshctl Operations
Sidecars, npack, OIDC & FIPS 140-3 Sidecars, npack, OIDC & FIPS 140-3

7.3 · Core & Compliance · npack, OIDC Provenance & NIST FIPS 140-3

Reproducible .npk, OIDC & NIST FIPS 140-3

Two Different Systems Named FIPS: This section covers NIST FIPS 140-3 (the U.S. federal standard for CMVP-validated cryptographic modules under FedRAMP/FISMA/CMMC; FIPS 140-2 moved to historical status in September 2026). For the decentralized IPv6 routing overlay of the same acronym covered in Chapter 2, see Chapter 2.2 and fips-peering.html.

The Concept

Even a mathematically sound protocol can be subverted at install time if attackers hijack a website, DNS record, or developer laptop. Reproducible packaging, OIDC trusted publishing, and cryptographic publisher pinning let any operator verify every byte offline—while explicit NIST FIPS 140-3 cryptographic module boundaries let regulated organizations run validated ciphers internally without forking the open protocol.

FleetMesh Implementation

  • Content-addressed .npk & OIDC releases: npack builds deterministic sidecar bundles; lockstep releases across PyPI, npm, crates.io, and Docker Hub carry keyless GitLab OIDC provenance and CycloneDX SBOMs.
  • Pin the publisher key, never DNS: Nodes verify kind 9900 release announcements against did:nostr:69bf0fbc8211488fc321bee5bfa07bae184a881b0b16c3fb6e13a4b1dda28124 directly in local config; _@fleetmesh.org NIP-05 is a lookup aid only.
  • NIST FIPS 140-3 boundary architecture: SHA-256, TLS 1.3 AES-256-GCM, Ed25519, and P-256 ECDH run inside CMVP-validated modules inside the perimeter, while a boundary gateway isolates native secp256k1 BIP-340 traffic outside without splitting schema/DIGEST. See fips-140.html.
Interactive Lab 7.3 · Supply-Chain Verification & NIST FIPS 140-3 Boundary Inspector
Audit offline release verification and compare Inside-Perimeter vs. Open-Mesh crypto boundaries
Reproducible .npk & FIPS 140-3 Reproducible .npk & FIPS 140-3
Companion Explainer 7.3
Reproducible .npk, OIDC Provenance & NIST FIPS 140-3 Boundaries