Files
pdtv26/CONTRIBUTING.md
T
dckc 66e084afc7
check / check (push) Canceled after 0s
feat(speech): the speech capability over Cap'n Web, behind a gate
The agent's ears and voice: a server on the home server transcribes
a clip (sox, whisper.cpp) and speaks text (piper), one job at a time.
A gate hands the capability to whoever presents its key; the key comes
from systemd's credentials, not argv.

make test runs the unit tests in Nix's sandbox; make smoke starts a
real server on localhost, speaks a phrase, and hears it back.

Generated-by: Claude Opus 5.5
2026-12-02 15:46:58 -06:00

1.0 KiB

Contributing to pdtv26

The README 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 should run it on each 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.

Design

Capabilities on the wire

The connections are Cap'n Web over WebSockets, on a private network such as a Tailscale tailnet. A server listens with a gate, 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.