Repository navigation
feat: integrate LatentMesh advisory communications - #5
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4
Outcome
Integrates LatentMesh as an optional authenticated communications and advisory orchestration plane. The implementation is intentionally outside every flight-control and onboard safety authority path.
Architecture
ruvnet/LatentMesh@1ff7332c17798eec3b42da5c6f1c271f355fa806Non-negotiable authority boundary
LatentMesh cannot arm, disarm, actuate, select a flight mode, publish attitude, rate, velocity, or position setpoints, override geofences or failsafes, release payloads, enter authoritative
peer_states, or drive collision avoidance.Authenticated peer facts can only reduce that peer's eligibility for new cooperative work. Learned residuals in received state envelopes reject the whole envelope without snapshot or replay change.
The review also found and fixed an existing fail-open NaN path in nearest-peer distance calculation. Nonfinite peer geometry now drives the existing emergency-diverge failsafe.
Security and availability controls
Cargo.lockand locked CIVerification
cargo test --locked --workspace: 167 passedcargo test --locked --features latentmesh --all-targets: 191 passedcargo test --locked --no-default-features --all-targets: 136 passedcargo clippy --locked --features latentmesh --all-targets -- -D warnings: passedObserveOnlypastewarning throughnalgebragit diff --checkand rustfmt checks: passedDocumentation
docs/adr/ADR-173-latentmesh-comms-orchestration.mddocs/security/latentmesh-threat-model.mdexamples/latentmesh_loopback.rsbenches/latentmesh_bench.rsRollout and rollback
Roll out through disabled, loopback, shadow receive, canary, then advisory orchestration. Any LatentMesh command-interface call, unsigned admission, replay acceptance, unbounded memory, or hash mismatch admitted as success is an automatic rollback trigger.
The feature is off by default. Rollback is local: stop the adapter/session task or compile without
latentmesh; existing flight and safety behavior remains intact.Remaining release gate
Real RF and flight hardware are not claimed. Before operational flight, run two-node HIL on the target companion computer and transport hardware, calibrate link and energy thresholds, persist replay checkpoints in rollback-protected storage, use protected signing keys, verify clock health and key rotation, and record p50, p95, p99 plus allocation bounds.