[roads] The road model, validator, compiler and explain; proto's versioned CBOR messages; the via command

Road files in Pensum's strict header subset (unknown keys are errors, random ids), the
directory and device snapshots, deny-by-default compilation to one plan per device,
explain from the compiler's own grants, CBOR envelope v1 with version-first refusals.

Tests: the six mandatory ones (validation fixtures for every rule, revocation, the
least-privilege property against an independent oracle, determinism with golden plans,
explain, custom round-trip), QA's attack cases, the protocol and the CLI.
This commit is contained in:
2026-11-25 07:55:38 +01:00
parent f134ec652c
commit 38a2fea043
119 changed files with 9123 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
[package]
name = "via-cli"
description = "Via Domi: the via command: check, compile, explain"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
publish.workspace = true
[[bin]]
name = "via"
path = "src/main.rs"
[dependencies]
roads.workspace = true
proto.workspace = true
jiff.workspace = true
serde_json.workspace = true
[dev-dependencies]
tempfile.workspace = true
[lints]
workspace = true