Compare commits

..
2 Commits
Author SHA1 Message Date
dckc 429bafe9c0 feat(speech): the speech capability over Cap'n Web, behind a gate
check / check (push) Canceled after 0s
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:52:23 -06:00
dckc 646dfee4c6 ci: nix flake check on every push
Every check in flake.nix, starting with ir-pico's doctests, 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
2026-12-02 15:52:18 -06:00
+17 -2
View File
@@ -2,9 +2,24 @@
The [README](README.md) says what pdtv26 does and why; this is how to work on it. The [README](README.md) says what pdtv26 does and why; this is how to work on it.
## Working on it ## Development
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) 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](ir-pico/wiring.md). The tools come from the flake. To run every folder's tests, as [CI](.gitea/workflows/check.yaml) should on each push:
```
nix flake check
```
To work in one folder:
```
cd speech
nix develop
make help
make test
```
Each module's docstring says what it is. Docs are only for what isn't code, such as [wiring](ir-pico/wiring.md).
## Design ## Design