mnovak f21f8d59fc [docs] Day 2 after QA: what each finding changed, the gaps left, open question 1 answered
02_via-core.md now describes the model as built after the QA fixes (service
addresses, app on:, fail-closed kill switch, the tunnel winning over going
direct, dangling references, empty narrowing keys, missing roads/), maps every
finding to its resolution, and lists what is recorded rather than fixed:
B-1 replay (Day 3 proto v2), a kill-switch file that does not parse, the
app-level /0 bypass, case-sensitive ids, no Linux run, and explain/check as
admin, which blocks the Day 5 web view.
2026-11-25 09:09:01 +01:00

via-core

The pure core of Via Domi, Domi's people-first mesh VPN: the road model, its validator, and the compiler that turns roads into exactly the peers, allowed IPs and firewall rules each device needs. Nothing else grants access.

A road is one sentence: Jana — can reach — Photos — until Sunday. Roads live one file per road in a git-tracked folder; the compiler reads them with the people directory and the device list and writes one plan per device. Deny by default: a road that does not compile cleanly grants nothing, and says why.

Crate What
roads road files, the people directory and device list snapshots, validation, the compiler, explain
proto the control-plane messages, CBOR, versioned
via-cli the via binary: via check, via compile --device <id>, via explain <device> <place>

No I/O beyond reading the store, no network, no clock in the library: now is a parameter.

cargo test --workspace

Licence: CPAL-1.0 (see LICENSE). Its Exhibit B carries the attribution notice, the same as CustosPublic's.

S
Description
Via Domi core: roads model, validator and compiler (pure Rust).
Readme 404 KiB
Languages
Rust 99.6%
C 0.2%
Nix 0.2%