feat(kerykeion): node discovery, mesh topology graph, and peer tracking#60
Merged
forkwright merged 1 commit intomainfrom Mar 22, 2026
Merged
feat(kerykeion): node discovery, mesh topology graph, and peer tracking#60forkwright merged 1 commit intomainfrom
forkwright merged 1 commit intomainfrom
Conversation
Add petgraph-backed mesh topology with SNR-weighted edges, packet processor dispatching NODEINFO/POSITION/TELEMETRY/NEIGHBORINFO/ TRACEROUTE packets, active+passive node discovery with stale detection, MeshEvent→GeoSignal conversion, and gateway auto-detection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
Consider splitting into smaller PRs for easier review. Not a blocker, just a signal. |
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.
Summary
MeshTopologybacked by petgraphStableGraphwith SNR-weighted directed edges, Dijkstra shortest-path, connected component detection, and JSON snapshot persistencePacketProcessordispatching NODEINFO, POSITION, TELEMETRY, NEIGHBORINFO, TRACEROUTE, and ROUTING packets with passive link learning from packet metadataMeshEvent→GeoSignalconversion for the broadcast channel using existingMeshDetailvariants with metadata discriminationGatewayDetectorwith manual config + auto-detection from ROUTER_CLIENT role and wifi/MQTT status, best-gateway scoring by hop distance and SNRTest plan
cargo fmt --all— cleancargo clippy --workspace --all-targets -- -D warnings— cleancargo test --workspace— 457 tests pass (100 in kerykeion)cargo test --workspace --doc— clean