Fleet console

Orrery

The Copal fleet's console: the wall, the seat, and the verbs.

Richeson: Orrery — Systems

Summary—A web console, a full-screen terminal seat, and a native museum interface — three faces on one read model, served by the warden. Zero dependencies, Rust.

Orrery is the console for a Copal fleet: a room of small machines on a LAN that never reaches the internet. An orrery is a clockwork model that shows many bodies at once and lets you turn a handle to see where they will be. That is the wall; the rest of the program grew out of wanting to reach through it. It has three faces on one read model: the wall, a web page for a gallery screen or a phone; the seat, one node full screen in the terminal you are already in; and the museum interface, a native window with a room of machines, a row of verbs, and the panes they open.

It builds with cargo build --release and can be tried with no fleet at all: orrery --demo serves the wall from a fixture museum of eight nodes, and orrery --gui --demo --operator x opens the museum interface. Against a real fleet the wall listens on the LAN, the operator opens the window on their own machine, and orrery --seat museum-01 dials one node's screen. --frame renders any screen to a picture with no compositor.

Every node id, address and fact comes out of copal fleet state; a node that is not in that document cannot be dialled. A console that discovered nodes for itself would be a second fleet. Read-mostly is a default, not a ceiling: without an operator token the write route does not exist rather than answering 403, and in the native window the gallery posture's table of verbs is simply empty.

In the museum interface the operator selects tiles, or a scene or a tag in the rail, and the bar shows only the verbs that can apply to that selection: Control, Terminal and Exchange for one node; Send, Message, Run, Scene, Snapshot and Power for many, each with a result per node. Control on a selection is refused, because keystrokes broadcast to eight machines make divergent state nobody can see. Observe is refused too: a node capturing its screen every few seconds would be a capture daemon on every machine in the museum.

A fleet node builds its own software offline, so a dependency is a fetch that fails on the one machine it must run on. Orrery therefore has an empty [dependencies] and writes its own HTTP, JSON, Wayland client, software canvas, cryptography, SSH, SFTP, TLS 1.3 and RDP: 25,700 lines of Rust in an 817 KB binary, with each protocol proved against somebody else's implementation (a real sshd, OpenSSH's sftp-server, openssl s_server and xrdp).

Highlights

  • Three faces on one read model, and no second way of knowing anything
  • The wall: a web page for a gallery screen or a phone
  • The seat: one node, full screen, in your terminal
  • The museum interface: a native window with SSH, SFTP and RDP
  • Verbs appear only when they can apply to the selection
  • Zero dependencies: 25,700 lines of Rust, an 817 KB binary

At a Glance

TABLE I Orrery
LanguageRust
PlatformLinux
Version0.1.0
LicenseMIT
Sourcegithub.com/vonglurt/orrery

Pictures

Fig. 1. The museum interface with one node selected, showing the verbs that mean one machine

Fig. 2. The wall in the gallery posture, from the demo fixture: eight nodes, a stranger, and no write verbs.

Fig. 3. The seat drawing a simulated node's screen in half-blocks, in a terminal.

Fig. 4. Three nodes selected: only the verbs that act on many remain.

Fig. 5. Media, the SD-card ledger: each card, its token, and whether its node is up.

Fig. 6. The same wall on a phone, filtered to one tag.