feat(status): a status page, for the phone of whoever looks after the box

Is the box up, and speech, and the brain; how many conversations,
turns, IR presses, and looks, today and all time. Counts and times
only: no transcripts.

- status/status.js: what the events and checks add up to, and the page
- status/status-server.js: the page, the box's events and heartbeat,
  and a TCP check of each part every 30 s; events kept in a file
- status/pdtv26-status.service and Makefile: sudo make install on the
  home server, answering only the private network
- checks: status (its tests)

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-12-02 17:16:02 -06:00
1 parent 84d2816f24
commit 469d642902
8 files changed
+489

No files matched your search

+2
View File
@@ -45,6 +45,8 @@ The agent has two parts: the box within reach of the couch, with an IR emitter o
5. With the same `speech` capability, the box has the speech server voice the brain's reply (piper), and plays the WAV.
6. When the brain can't fix something, `report_problem` opens an issue on one repository, using a fine-grained token that can do nothing else, so the person who looks after the box gets mail.
Whoever looks after the box can check a [status page](status/status.js) from a phone: whether the box, speech, and the brain are up, and counts of conversations, turns, IR presses, and looks. No transcripts.
The brain is Claude Code today, by way of its channels feature; the capabilities don't depend on it, and another harness that speaks MCP could take its place. Its [instructions](brain/instructions.md) say how to work the TV; a household file says who's who.
## Capabilities and confinement