feat: mute the TV while the box listens, if the brain turns that on
check / check (push) Waiting to run

whisper hears people better without the show behind them. The brain
sets a mute code (and an unmute code, if not the same) with
mute_while_listening on its ir capability, or turns it off; ir-server
keeps the setting in its state directory.

Mute is often a toggle, and the camera can't reliably tell whether the
sound is off, so the box senses nothing: the setting is the brain's
to turn on or off.

The button service holds a connection to ir-server's conversation
socket for each conversation: ir-server mutes when it opens and
unmutes, with the same codes, when it closes. The socket's group is
the button's alone, and the button still can't send any code.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-12-03 16:49:58 -06:00
1 parent 5191ee9931
commit f50c871521
10 files changed
+269 -22

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ $(WORK)/.mcp.json: Makefile
# Pre-approve the project's one MCP server and its tools; the trust and dev-channel prompts still want a person.
$(WORK)/.claude/settings.local.json: Makefile
install -d $(dir $@)
echo '{"enabledMcpjsonServers":["box"],"permissions":{"allow":["mcp__box__reply","mcp__box__say","mcp__box__ir_listen","mcp__box__ir_send","mcp__box__report_problem","mcp__box__look","Bash(python3 -I *)"]}}' > $@
echo '{"enabledMcpjsonServers":["box"],"permissions":{"allow":["mcp__box__reply","mcp__box__say","mcp__box__ir_listen","mcp__box__ir_send","mcp__box__mute_while_listening","mcp__box__report_problem","mcp__box__look","Bash(python3 -I *)"]}}' > $@
## the box's key to ask: 160 random bits; the box needs a copy, in /etc/pdtv26/ask-key
$(CONF)/ask-key: