MASTER. The kiosk overlay is scenery today: it sits at HWND_BOTTOM, never knows what the machine is doing, and on a multi display body it is often not even on the display Sunshine captures. A visitor who taps a tile sees black until the application draws. Measured on cosmic 2026-11-09: Sunshine ran the prep hook at 10:46:08 and World of Warcraft reached Client Initialize at 10:46:22. Fourteen seconds of connected and nothing.
The owner asks for three things. The overlay should follow the new hydraheadipad white and purple interface. The moment the video opens, the viewer should be in a branded lobby that says the machine is preparing, and the application should replace it when ready. If the application dies, the viewer should fall back to the lobby rather than lose the machine.
THE PALETTE. The head interface is purple #5400A7 on white, because purple reaches 10.85 to 1 on white and only 1.93 to 1 on black. The head already has a token for exactly this moment, surfacePurpleField, documented as the full bleed canvas for a screen where the visitor waits, giving a purple step between the white catalogue and the black stream. The body never got the memo, so the seam is white, purple, BLACK, application.
THE DESIGN. Two planes. A floor that is always present, always at HWND_BOTTOM, and structurally cannot cover anything. A cover that briefly sits above a starting application and is DESTROYED rather than hidden on handover. The safety rule carries the whole argument: the overlay may always destroy the cover on its own judgment, and may never create it on its own judgment. Creation needs a fresh request from hydrabody AND the overlay's own agreement that no qualifying application window is on screen. Destruction needs any one of seven independent conditions.
Requirement D, the crash path, needs no signal at all. When the application window is destroyed the floor is revealed in the same compositor frame.
OWNER DECISIONS, 2026-11-09. The overlay stays a separate binary and a separate process, which Windows session isolation makes mandatory since hydrabody runs as SYSTEM in session 0 and cannot draw, but it stays CO-VERSIONED with hydrabody via go:embed and does not become an independently released artefact, because the two sides share a protocol and the worst failure of this feature is a lobby covering a working application because they disagree about what ready means. The cover ceiling is 10 seconds. The operator diagnostic line is shown on the room facing panel only, never to visitors. The runtime theme may override the on screen copy as well as colours and the mark.
PHASES, as children.
Also removes the 973 KB defaultbackdrop.png decode that currently runs BEFORE the overlay shows its window, which is the same class of startup work implicated in #1152.
Related: #1152 (a hung overlay blocks D3D12, fixed 2026-11-09), #586 (the backdrop aspect squash, subsumed by the programmatic floor), #674 (display index targeting, subsumed by phase 2).
Designed by a nine agent workflow. Three independent architectures were scored and one was rejected outright for allowing a convincing lobby over a running application.
Owner validated the lobby on cosmic: it works well. Two notes from watching it on a real stream, both now in 739ed0d on master (untagged, with the three commits before it).
The lockup turns the other way. A sign. In a raster the y axis points down, so the positive angle the frames were built with reads as clockwise.
It turns smoothly now, and the cause is worth recording. The phase advances on a motion tick and nowhere else, so the pump can show at most one new frame per tick. 24 frames across the 60 ticks of a three second revolution means holding one frame for three ticks and the next for two, so the mark limped at any step size. There are now 60 frames, 6 degrees apart, each shown exactly once.
Two consequences:
The direction is tested from the pixels rather than by eye: the mark's ink sits about three percent of the radius off centre, steady enough to measure an angle over a quarter turn, so a sign error or a frame count that disagrees with the angles fails the suite instead of needing a trip to a venue. The cadence is tested against the pump's own arithmetic over three revolutions.
Still untagged, so cosmic is running the previous build until there is a deploy call.
Phase 3 is built and on master. It ships OFF on every body.
The cover is a second overlay window at HWND_TOP, up only while an experience is starting, and it is the only thing in hydrabody that can put pixels over a running game. It needs
cover: trueinlobby.yamlin the body data dir plus a hydrabody restart. No body has that file.One mechanism holds it up, six take it down. It is held by a lease hydrabody renews every second, counted down on the OVERLAY's monotonic clock, so a hydrabody that dies cannot hold pixels over a game: the lease runs out. It comes down on an application window seen twice, on the lease expiring, on ten seconds whatever else is true (owner's number), on hydrabody withdrawing, on hydrabody going quiet for a second, and on the message loop stalling. Every one is evaluated inside the overlay from its own clock, so none needs a message to arrive in order to fire. That is #1152 read as a design rule: the failure that put a black screen in front of a visitor was a state nothing could contradict.
The case the decision logic cannot handle. Everything that could lower a cover runs on the message loop, so a loop that stalls while a cover is up has nothing left to lower it. A goroutine a wedged pump cannot stop watches the tick counter and exits the process, which destroys the window. That trades a few unbranded seconds against a lobby pinned over a running game, and it clears the #1152 wedge for whatever launches next.
Three defects found reviewing my own work before committing. Naming them because the first was the bad one:
raiseCoverreturned true when a cover already existed, and the caller starts the ceiling clock on true. The clock would have restarted every tick and the cover would never have reached its ceiling at all.dropCoverleft the covering flag set when the handle was already gone, which reports a cover that does not exist and eventually feeds the watchdog a reason to kill a healthy process.The decision logic shipped untested and now is not. A table covers each rule; a grid then sweeps ~10k input combinations and asserts the invariants that must hold regardless: never raise over a window, never raise on stale evidence, never outlive the ceiling, never survive a dead channel. I checked both halves have teeth by removing a clause and confirming they fail.
The honest weak point, documented as one. Nothing in Win32 reports that another process has drawn a frame. The proxy is a visible, uncloaked, top level foreign window overlapping our display. So the cover comes down when the window APPEARS, not when it has a picture: a title that creates its window early and draws late still shows its own black frames. The cover shortens that gap, it does not close it. The scan runs off the message loop, which is a safety property and not a performance one, because a scan that hangs then takes a cover DOWN instead of freezing the window.
Not yet released.
44d38e4andccfc4d9are on master, untagged. Drills are indocs/testbooks/kiosk-mode.mdstep 7c, including two deliberate sabotages: wedging the overlay with a cover up, and confirming no cover is ever raised while something is already on screen. The second is the one that matters; the others only bound how long a mistake lasts. Runbook section: The lobby cover, and why it is off.Phase 4 (the Omarchy renderer) is still open. The palette, layout, state machine, copy, spin and badge are already platform neutral, so it is a renderer and nothing else.