mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-08-02 15:03:05 +02:00
0e202b3999
Routes now default to bidirectional matching — packets traversing the configured path in reverse (C->B->A instead of A->B->C) also count towards health. A 'reversible' toggle lets users constrain a route to one direction when needed. - Route model: new 'reversible' column (default true, server_default 1) - Migration: a1b2c3d4e5f6 (additive ALTER TABLE) - Matching engine: _match_hops + _fetch_candidate_paths_maybe_bidirectional helpers shared across evaluate_route, recent_matches, and preview_route - API schemas: reversible on RouteCreate/Update/Read/Detail/PreviewRequest - SPA: toggle in modal; card path chips show <-> for reversible, -> otherwise - Seed loader + example YAML: reads 'reversible' key - 4 new collector tests (reverse match, non-reversible, both-directions, API)