docs: research Zara daemon and ZeroMQ voice service #135

Closed
lost-rob0t wants to merge 1 commit from research/daemon-zeromq-voice-service into master
lost-rob0t commented 2026-08-21 23:43:13 +00:00 (Migrated from github.com)

Summary

Adds the RAGE research baseline for the long-lived Zara daemon epic.

The research defines:

  • zara --daemon / client architecture around the existing RuntimeHost and TurnCoordinator rather than a second runtime;
  • ZeroMQ DEALER client ↔ ROUTER daemon topology;
  • versioned ZARA/1 multipart framing with a JSON control envelope plus opaque binary payload frames;
  • initial handshake, command/event, audio, sequencing and reconnect semantics;
  • CURVE + ZAP authentication with server-side principal mapping and client server-key pinning;
  • authorization, quotas, bounded framing, audit/redaction and safe listener rules;
  • strict principal-scoped conversation/context/memory isolation for multi-user operation;
  • client-owned microphone/playback and cross-process barge-in direction;
  • an explicit minimum feature matrix for replacing the core day-to-day ChatGPT Voice workflow;
  • migration phases and non-goals.

Tracking

Parent epic: #127

Derived implementation issues:

  • #128 daemon lifecycle/supervisor
  • #129 ZARA/1 protocol + shared client SDK
  • #130 CURVE/ZAP auth + authorization/security controls
  • #131 principal-scoped conversation/context/memory
  • #132 streaming audio + cross-process barge-in
  • #133 CLI/desktop client migration + reconnect
  • #134 Voice replacement/security/fuzz/soak/latency release gate

The master roadmap #1 has also been updated to queue the daemon work as Phase 9.

Scope

Research/documentation only. No runtime behavior changes are introduced by this PR.

Validation

GitHub Actions / the repository's normal CI is authoritative for this docs-only branch.

## Summary Adds the RAGE research baseline for the long-lived Zara daemon epic. The research defines: - `zara --daemon` / client architecture around the existing `RuntimeHost` and `TurnCoordinator` rather than a second runtime; - ZeroMQ DEALER client ↔ ROUTER daemon topology; - versioned `ZARA/1` multipart framing with a JSON control envelope plus opaque binary payload frames; - initial handshake, command/event, audio, sequencing and reconnect semantics; - CURVE + ZAP authentication with server-side principal mapping and client server-key pinning; - authorization, quotas, bounded framing, audit/redaction and safe listener rules; - strict principal-scoped conversation/context/memory isolation for multi-user operation; - client-owned microphone/playback and cross-process barge-in direction; - an explicit minimum feature matrix for replacing the core day-to-day ChatGPT Voice workflow; - migration phases and non-goals. ## Tracking Parent epic: #127 Derived implementation issues: - #128 daemon lifecycle/supervisor - #129 `ZARA/1` protocol + shared client SDK - #130 CURVE/ZAP auth + authorization/security controls - #131 principal-scoped conversation/context/memory - #132 streaming audio + cross-process barge-in - #133 CLI/desktop client migration + reconnect - #134 Voice replacement/security/fuzz/soak/latency release gate The master roadmap #1 has also been updated to queue the daemon work as Phase 9. ## Scope Research/documentation only. No runtime behavior changes are introduced by this PR. ## Validation GitHub Actions / the repository's normal CI is authoritative for this docs-only branch.
nsaspy changed title from WIP: docs: research Zara daemon and ZeroMQ voice service to docs: research Zara daemon and ZeroMQ voice service 2026-08-28 03:31:13 +00:00
Owner

Superseded: the daemon research here predates the implemented daemon slices #128-#133 (ZARA/1 protocol, CURVE/ZAP security, principal isolation, live voice, client migration), all merged and closed. The design questions this doc raised are answered in rage/daemon-*.org evidence. Closing; branch preserved as historical research.

Superseded: the daemon research here predates the implemented daemon slices #128-#133 (ZARA/1 protocol, CURVE/ZAP security, principal isolation, live voice, client migration), all merged and closed. The design questions this doc raised are answered in rage/daemon-*.org evidence. Closing; branch preserved as historical research.
nsaspy closed this pull request 2026-09-04 14:40:04 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.