-
Notifications
You must be signed in to change notification settings - Fork 1
ADR 0004 Terminal Control
Zlatko Lakisic edited this page Aug 3, 2026
·
1 revision
Status: Accepted
Date: 2026-08-03
Milestone: M5.4 / voice control

Users want the voice agent to put COMSTAR into a dormant mode (ignore vision and speech until hey comstar) and to change HDMI speaker volume / mute. Control must not ferry through AO’s planner as custom protocol — it should be ordinary MCP tools on the Pi.
-
Bridge owns control. Sleep state and
pactlvolume live in the Dart bridge. -
Agent API is tunnelled
client.terminalMCP (mcp/terminal_mcp), calling loopback HTTPhttp://127.0.0.1:8776/control/.... -
Sleep ≠ OS suspend. Processes keep running; attention state is
sleeping. -
Mute/volume = speaker sink (prefer
comstar_hdmi), not microphone mute. -
Guest sessions do not register
client.terminal.
- Requires AO
AGENTIC_SERVE_MCP_TUNNEL=1and a workingLocalMcpHostproxy. - Voice responder prompt must instruct tool use for sleep/volume before confirming.
- Wake word remains the only exit from sleep (Contracts — Attention).
COMSTAR AI — Not a mystical AI. A tool you engineered — transparent, hackable, fast.
Home · Architecture · Admin Console · Runbook · Contracts
Apache-2.0 · Pre-alpha · Raspberry Pi 4 terminal + local AI server
COMSTAR AI
Start here
Product
Build & configure
Interfaces
- Contracts Overview
- Bridge ↔ Kiosk
- Bridge ↔ Audio
- CodeProject.AI
- AO Reach
- MCP Tools
- Attention State Machine
Features
- Speech (STT/TTS)
- Vision & Face Enrollment
- Directory Identity
- Wake Word
- MCP Topology
- Terminal Control
- Google Workspace
Decisions (ADRs)
- ADR Index
- 0001 Audio Routing
- 0002 Render Path
- 0003 Speech on Ada
- 0004 Terminal Control
- 0005 LDAP Identity
- 0006 House Presence
- 0007 Full-Duplex AEC
- 0008 TTS Engine
- 0009 Proactivity
- 0010 Text Channel
- 0011 Road VPN
- 0012 Admin Network
- 0013 AO mTLS
- 0014 Fallback Hotspot
Operate
Plan
Meta