Work Writing About Contact ↗
← All writing

Systems · 15 October 2026 · 4 min read

The quiet engineering of show control

On deterministic state, cue ownership, and the parts of a live system nobody sees when it works.

When a show works, nobody in the room thinks about the control layer. The cue lands, the light changes, the audience looks at the stage. The engineering that made it boring is invisible, and it is easiest to see in the questions that only come up when something goes wrong. Where is the show right now? Who is allowed to send? What happens to the cue that was due while the machine was down?

Those are the questions behind PCHI Studio , part of PCHI . It does not render video, generate sound or replace a lighting desk. It is the layer that calls them.

State you can name

In PCHI Studio a show is a small state machine. Scenes are joined by transitions: on an input such as GO, after a delay, or on a condition. Inside each scene are lanes of timed cues.

Because the show is data, it can be checked before the night. Validation rejects an unknown starting scene, a transition to nowhere, an unreachable scene, and two unguarded transitions on the same event from one scene, since the second could never fire. These are dull errors. Finding them in an afternoon is much better than finding them with the house lights down.

The runtime owns the clock. If the browser showing the editor or operator screen closes or crashes, cues keep firing, because the show never lived in the browser.

Determinism here has a practical meaning. Inputs, context changes, cue times, deliveries, live edits and decisions are logged. A recording can be played back through the show, which must then go where the recording says it went. If it does not, the recording was edited or the show has changed in a way that matters.

A cue belongs to something

Every cue has an owner in several senses. It sits in a lane that belongs to a department, and optionally to one device. It carries the number a stage manager calls. It is timed from the moment its scene is entered, so it belongs to that scene too: leave the scene and the cues that have not fired are cancelled. A stale cue arriving late in the wrong scene is a special kind of horror, and cancellation is how it is avoided.

People have ownership as well. With a roster, each person has their own key and role. An operator can press GO. An editor can change the show but cannot press GO or arm a laser. A laser safety officer can arm lasers and cannot touch the rest. An agent can look, rehearse and propose, and its edit waits until a person approves it. The record then says who did what, which one shared password never can.

Only one hand on the output

The hardest ownership question is which computer is allowed to send. A standby can copy the primary's log and take over if the primary dies. But silence is ambiguous: the primary may be gone, busy, stuck or merely out of reach. Two runtimes sending at once is worse than a pause.

So PCHI can use a witness, a third process that grants one thing: the right to send, as a lease. A runtime that cannot renew its lease pauses. The standby may take over only after the lease is granted to it, and a replaced primary is fenced.

The cost is deliberate. If the witness is down, nothing can take over, and the active runtime pauses when its lease runs out. The show stops rather than doubles. Without a witness, a cut between the two runtimes can leave both sending, and the documentation says exactly that.

Late is not the same as pending

Restarting mid-show, the runtime can resume the same scene with its context. Cues still ahead will fire. Cues that came due while it was down are skipped and listed, never fired late. If the show file no longer matches the recorded run in a way that matters, resume is refused with the reason.

Lasers start disarmed after a restart. Nothing about having been armed a minute ago is treated as permission now. Stopping them needs no key.

It is tempting to call recovery successful when the process is running again. The better test is whether the room can trust what it does next.

Sent is not done

"Sent" means a message left the runtime. UDP has no acknowledgement, so only a device's own feedback says it acted. A system that blurs those two will show a green light over a dark stage.

The same honesty applies to testing. A doors check walks every cue against the rig before the audience arrives, and a safety drill provokes trouble on a copy of the show without sending anything. A drill that does not apply is skipped and says why, which is not a pass. And it cannot tell you about the venue network, the fixtures or the people.

At the time of writing, the project's own proof document lists none of its tool profiles as yet tried against the real tool. Timing, routing and recovery have been measured or tested in software. Takeover has been tested on one machine, not on a venue network. Those lines stay open until someone checks them on real equipment.

The quiet part

Good show control is mostly a set of refusals decided in advance. Do not fire the late cue. Do not let two machines drive. Do not arm after a restart. Do not let an agent change the show on its own. Do not report more than you know.

When all of that holds, the audience notices nothing, which was the point.