check / check (push) Canceled after 0s
ir-pico's doctests and speech's unit tests, in the nixos/nix image, pinned by digest. The checkout is plain git, since actions/checkout needs node and the image has none. Generated-by: Claude Opus 5.5
14 lines
1.0 KiB
Markdown
14 lines
1.0 KiB
Markdown
# Contributing to pdtv26
|
|
|
|
The [README](README.md) says what pdtv26 does and why; this is how to work on it.
|
|
|
|
## Working on it
|
|
|
|
The tools come from the flake: `nix develop --command make test` in any folder, or `nix develop` once and then `make`. `nix flake check` runs every folder's tests, and [CI](.gitea/workflows/check.yaml) runs it on every push. `make help` in each folder lists what it does, and each module's docstring says what it is. Docs are only for what isn't code, such as [wiring](ir-pico/wiring.md).
|
|
|
|
## Design
|
|
|
|
### Capabilities on the wire
|
|
|
|
The connections are [Cap'n Web](https://github.com/cloudflare/capnweb) over WebSockets, on a private network such as a Tailscale tailnet. A server listens with a [gate](speech/gate.js), not the capability itself: the gate hands the capability to whoever presents its key, compared in constant time, and a client can open and call in one round trip. Keys reach services through systemd's `LoadCredential` (`$CREDENTIALS_DIRECTORY`), never through argv, the environment, or the Nix store.
|