HydraIssues

Offer a local experience only to heads that declare they can launch it
open improvement Project: hydracluster Parent: #833 Reporter: 18 Oct 2026 18:54

Description

The gap

#833 filters stream_mode: local experiences BY HEAD TYPE, keeping them to the flatscreen bucket. That is not precise enough, and the counterexample is already live.

Venue mobile-kit, district bxl1-test-2, holds TWO flatscreen heads: cheeky-cactus-86, which has MendelCraft installed, and cranky-toaster-86, which does not. Both pass a head-type filter, so cranky-toaster is offered a tile it can never launch. It fails legibly (no local_apps entry for mendelcraft on this head) instead of hanging, but it is still a dead tile on an online head.

The type filter is also redundant work: a head ALREADY knows exactly what it can launch, because local_apps in its own config.yaml is the list.

Proposal

The head reports its local_apps keys (names only, never the commands: those are machine paths and of no interest to the server). hydracluster then serves a local experience only to a head whose reported list contains it.

  • Exact: no head sees a tile it cannot start.
  • No whitelist to maintain. AllowedExperiences is a per-head whitelist that has to be edited on every OTHER head whenever a venue gains an experience, and a forgotten one silently hides the lot.
  • Supersedes the type filter entirely, so canRunLocalExperiences and its tests come out when this lands.

Carry the names on the existing heartbeat rather than adding an endpoint.

Until then

The type filter sits unreleased on branch 833-local-experiences in hydracluster. It is a real improvement for the seven non-flatscreen heads in that venue and can ride the next cluster release. It was deliberately NOT tagged on its own: restarting the fleet control plane was not worth cosmetics in a test district.

Session Context

Venue
mobile-kit