1.8 KiB
1.8 KiB
CLAUDE.md — Via Domi
Via Domi is Domi's people-first, post-quantum mesh VPN. Arcanum is its crypto core. Read HANDOVER.md and the day's docs/NN_*.md before writing code.
Non-negotiable
- Roads are the truth: every access is subject, verb, object, conditions, in one rule store. The four views (simple, graph, sentences, expert) only read and write that store.
- Deny by default. A road that does not compile cleanly grants nothing.
- No home-made crypto. ML-KEM and X25519 from vetted crates; known-answer tests for every primitive.
- Keys never leave Custos or Tessera in plaintext. No private key in logs, files or the Nix store.
- Classic WireGuard peers are labelled "not post-quantum" everywhere they appear.
- No logs of traffic, destinations or IPs beyond what a live connection needs.
- Tests touch no real network and no real keys: fixtures and temp folders only.
Workflow
(D)TDD doc → tests → code. Branch, PR with critical self-review, merge --no-ff, push, verify. No AI attribution in commits. No binaries in git. Say which build you are describing.
This PC
- No build or test while this PC is too busy (Mark, 2026-11-25; drive limit raised 2026-11-29). Never start a
build or a test run (cargo, npm/pnpm, Playwright, fuzz, e2e, Fabrica runs on this PC) while the CPU or the RAM is
more than 90 % used, or any drive the run writes to (D:, E:, F:) is more than 95 % used. Check first; if one is
over, don't start, wait and check again. A run already going may finish. Never stop other sessions' work to make
room. Merging, pushing and editing files are not builds. In PowerShell: CPU
(Get-CimInstance Win32_Processor | Measure-Object LoadPercentage -Average).Average; RAM$o=Get-CimInstance Win32_OperatingSystem; (1-$o.FreePhysicalMemory/$o.TotalVisibleMemorySize)*100; drivesGet-PSDrive D,E,F, used / (used + free).