HydraIssues

MASTER: remaining work on the WiVRn lane (head client, body client, fork, experience)
open unclassified Priority: high Project: hydra-experiencenet Parent: #796 Reporter: 14 Oct 2026 20:46

Description

PyroWave streams end to end from an Omarchy body to a Quest 2 (#388, #713). The cluster matches a head to a body on xr_drivers and records the driver. What is missing is the wiring in the two clients, so today the lane only works with a person driving it by hand.

This master covers two bodies of work that ship in the same hydraheadquest release:

  1. The WiVRn-lane wiring in the two clients (below). This is the part that needs the body blocker to land first.
  2. Driver-agnostic head-client polish (#789, #790, #791). This is the leftover iPad-parity and VR-UX work, tagged TODO(#544) in the source. It does not depend on the WiVRn blocker and can land at once.

Scope broadened 2026-10-14: the original charter was the wiring and nothing else. We fold the head polish in here so the Quest client gets one coherent release instead of a wiring release and a separate polish release. Hardware is in place. Allocation redesign (#663, #753) is out of scope: the lane must work on the allocation model we have.

The single blocker (WiVRn wiring)

The body's XR state machine does not exist on Linux. tickALVR, xrStartupEvidenceCheck and superviseXROffline are all no-ops in hydrabody pkg/provider/alvr_other.go:7-13. The real engine lives in pkg/provider/alvr_windows.go behind //go:build windows.

So a WiVRn body advertises xr_drivers:["wivrn"], the cluster matches a head and writes an XR directive, and the body never reads it. wivrnArm in pkg/provider/wivrn_linux.go:14 compiles and is never reached from anywhere. The head waits for state armed until it times out.

Everything else in the wiring is small by comparison.

Children

Body client (hydrabody), the remainder of #736:

  • #782 lift the XR directive state machine out of the Windows build
  • #783 detect that the WiVRn client connected, so armed can become active
  • #784 mint and report the WiVRn pairing PIN
  • #785 render the WiVRn config from the assigned experience at arm time

Head client (hydraheadquest), WiVRn wiring:

  • #786 pass body host and PIN to the WiVRn client launch
  • #787 drop the ALVR-only xr_client_hostname pre-flight for the WiVRn lane

Head client (hydraheadquest), driver-agnostic polish (new 2026-10-14):

  • #789 close the functional parity gaps: mic relay and stream-start timing
  • #790 operator visibility: work around the Horizon OS black screenshot and enrich the diagnostics run
  • #791 VR in-stream UX: Horizon home orientation and a reliable hand-menu and exit

Cluster, small and unavoidable:

  • #788 return the session driver and PIN to the head

Already tracked, not duplicated here: #739 builds and signs the com.experiencenet.hydraxr client. Until it exists the Quest side-loads the upstream org.meumeu.wivrn.github.testing build, which is listed in the manifest queries block as a fallback.

Order

WiVRn wiring: the state machine lift (#782) and the connected-client detection (#783) are one piece of work and nothing else in the lane matters until they land. The head wiring items and the cluster item can go in parallel. PIN and config render are needed before the lane runs unattended.

Head polish (#789, #790, #791) has no dependency on the blocker and can start now. It lands in the same hydraheadquest release as #786 and #787.

Done when

WiVRn lane: a head picks an xr experience from the catalog, the cluster assigns a WiVRn body, the body arms itself, the head launches the client with the body address and PIN already filled in, the stream starts, and doffing the headset tears the session down and frees the body. No hand-editing on either machine.

Head polish: the three polish children are closed, verified on the Quest 2 by stream start (not by app launch), and shipped in the hydraheadquest release that carries the WiVRn wiring.

Sub-issues (19)

closed #801 hydracluster: head heartbeat rejects xr_drivers (array) as invalid JSON — breaks ALL Quest heads
open #791 hydraheadquest: VR in-stream UX (Horizon home orientation + reliable hand-menu and exit)
open #790 hydraheadquest: operator visibility (Horizon OS black screenshot + richer diagnostics)
open #789 hydraheadquest: close the functional parity gaps (mic relay + stream-start timing)
open #788 hydracluster: return the session driver and PIN to the head
open #787 hydraheadquest: drop the ALVR-only xr_client_hostname pre-flight for the WiVRn lane
open #786 hydraheadquest: pass body host and PIN to the WiVRn client launch
open #785 hydrabody: render the WiVRn config from the assigned experience at arm time
open #784 hydrabody: mint and report the WiVRn pairing PIN
open #783 hydrabody: detect that the WiVRn client connected, so armed can become active
open #782 hydrabody: lift the XR directive state machine out of the Windows build
open #740 Phase 6: venue readiness for a Linux body
open #739 Phase 5: build + sign the hydrawivrn WiVRn client for headsets
open #738 Phase 4: package and manage the WiVRn server
open #736 Phase 2: wivrn as a second XR driver in hydrabody
open #735 Phase 1: Linux experience lifecycle in hydrabody
open #730 hello_xr exits immediately when launched without a terminal
open #729 WiVRn server config: unknown keys are silently ignored
open #728 pyrowave: shader device features are not enabled on the compositor device

Session Context

Venue
mobile-kit

Comments (1)

api 14 Oct 2026 22:03

Consolidated 2026-10-14: every still-open issue from the WiVRn and PyroWave work now hangs here, so there is one place to look. This issue was filed narrowly as head and body client polish; the title is widened to match what it now holds.

Moved in from elsewhere:

  • #728 pyrowave shader device features not enabled on the compositor device (was under #388, fork side)
  • #729 WiVRn config: unknown keys silently ignored (was under #388, fork side; the encoder singular trap, overlaps #785)
  • #730 hello_xr exits immediately without a terminal (was under #713, hydrahelloxr)
  • #735 Phase 1 Linux experience lifecycle (was under #734)
  • #736 Phase 2 wivrn as a second XR driver, whose remainder is #782-785 (was under #734)
  • #738 Phase 4 package and manage the WiVRn server (was under #734)
  • #739 Phase 5 client distribution, the signed com.experiencenet.hydraxr APK (was under #734)
  • #740 Phase 6 venue readiness for a Linux body (was under #734)

Filed here already: #782 through #788.

#734 stays as the historical root and keeps the delivered phases #737 and #743. This issue remains its child, so nothing is orphaned and the record of how the lane was built is intact.

NOT moved: #753 (Design 6, the stream as the unit) stays under #663. It belongs to the allocation tree, and this master is deliberately scoped to work that must land on the allocation model we have. Also not moved: #713, #721, #726, #727, #743 are closed or done and stay where the history put them.

Order of work is unchanged. #782 is the blocker: the XR state machine is compiled out on Linux, so a matched WiVRn body ignores the cluster directive.