The Identity the Engine Refused to Invent
Everything here is source-only and none of it has shipped. The network-server support this entry examines lives on an internal branch; the standing release carries none of it, and the defect at the center of the story was caught by the project's own review before any build left the house. Nobody's history was ever misfiled. What follows is an entry about a design decision, made in private, that I think deserves a public argument.
Here is a problem that sounds administrative and is actually philosophical: what does it mean for a server to come back?
The Engine's enrollment machinery — the same subsystem I wrote about two entries ago, the one where only a person may remove what a person added — keeps a modest afterlife for removed servers. Unenroll a server and its accumulated record — which tracks were witnessed playing from it, what was pending against it — is not destroyed. The playback history stays filed under the departed server's internal name, and a small dead-letter record preserves what the machinery knew about it. The design refuses destructive pruning on principle, so the question that matters is the opposite one: when a listener enrolls a server later, at whatever address, may the new enrollment inherit one of those orphaned histories? Is this the same server, returned?
For two of the three server families the Engine speaks to, there is a real answer available. A Jellyfin or Plex server mints its own identity — a machine identifier the server generates itself and reports to any client, independent of whatever address it currently answers at. The Engine captures that identifier at enrollment and stores it as corroborating evidence — the internal documentation is explicit that it is evidence only, never a credential; it gates nothing about access. When a fresh enrollment on one of those lanes completes, the machinery checks the dead-letter records for that lane whose stored identifier matches the new server's exactly. Exactly one match, and the orphaned history is re-keyed to the new enrollment — the server has returned, and its past returns with it, atomically, in one transaction. Zero matches is the ordinary case: a stranger, a fresh start. More than one match is treated as unresolvable ambiguity, and the machinery declines to guess — no tiebreaker, fresh identity, the orphans stay orphans.
One detail of that lookup carries the whole philosophy. An earlier revision searched for candidates by address — and the internal record notes this defeated the very case reattachment exists for, because a server that moved (a new DHCP lease, a rebuilt network) carries its history under the old address and would never be found from the new one. The lookup was rebuilt to search by the server-minted identifier instead, and the reasoning was written down in one sentence I would frame: the stable identity is what should survive a move, not the ephemeral one. An address is where a server is. The identifier is what a server claims to be. Only the second can come back.
Then there is the third family. The Subsonic protocol — the lingua franca of a whole ecosystem of self-hosted music servers — mints no identity at all. Nothing in its API returns a server-generated, address-independent identifier. There is, structurally, no answer to "is this the same server?" available on that lane.
An earlier revision of the code answered anyway. It manufactured an identifier from what it had: the server's address, joined with the API version the client had negotiated. The internal review that later examined this found that the second ingredient was a constant the client chooses from two possible values — so the manufactured identity was, in effect, the address wearing a lab coat. And an address is precisely the thing that gets reassigned. The failure it produced, on the internal branch where it was caught: stand up a different Subsonic server at an address a previous one had vacated — a reused DHCP lease, a re-imaged machine, a second instance on the same port — and the machinery corroborated it as the same server and handed it the departed server's entire history. Witnessed plays, pending records, all of it, refiled under an impostor. The review's own record notes there was no prompt, no confirmation, no second gate anywhere on that path: the misattribution would have been silent.
For an engine whose central claim is that it never asserts more than it has witnessed, this is about as direct a self-contradiction as the codebase could host. The internal charter has a sentence for it, quoted in the code at the site of the cure: no layer may pretend to know more than it knows. The manufactured fingerprint was a layer pretending — pretending that an address plus a client-side constant amounted to knowing who it was talking to.
What interests me is the shape of the cure, because there were three available and the project took the hardest one.
It could have kept a narrower heuristic — reattach only if the same address re-enrolls within some window of the removal, which would serve the most sympathetic case, the listener who unenrolls by accident and immediately regrets it. The recorded reasoning refuses this by name: it is still an address heuristic, now with a timer on it; the machinery would be claiming identity from recency, which it has witnessed no better than it witnessed sameness. It could have used the server's TLS key — genuinely server-presented, genuinely address-independent — and the record refuses that too, with a defeater I found persuasive: several servers behind one shared reverse proxy present one key, which rebuilds the exact misattribution on precisely the cohort most likely to be running TLS, while plain-HTTP servers on a home network present nothing at all.
What it did instead was withdraw the capability. The manufactured fingerprint was struck from the code entirely — not kept-but-ignored, struck, on the recorded reasoning that a stored identity no reader consults is a vestige and a column holding an address under the name "identity" is a standing lie. A Subsonic enrollment now stores no identity mark, and the reattachment machinery is never consulted on that lane — not called and refused; never called. Every Subsonic enrollment is a fresh identity, every time. The internal record states the consequence without flinching: on this lane, a returning server is indistinguishable from a stranger, forever, and the histories of removed servers stay orphaned under their old names. One line in the review record compresses the whole decision: the lane declines the mechanism rather than fabricate a key for it.
A process texture worth preserving: the alternatives I just recounted were not in the original decision record. They were forced onto it by an adversarial review pass dispatched after the work was sealed, which objected that a total withdrawal of a capability had no alternatives-considered on file. The refusals were always real — the code already embodied them — but the arguments were reconstructed and written down because a reviewer demanded the decision be auditable, not just correct. The record you can now read is better than the one the decision was made on. That is what a paper trail growing backward looks like, and it is rarer than it should be.
What follows is opinion.
Nearly every piece of software I can think of, facing this, ships the address heuristic. It is right nearly always — home servers keep their addresses for months, DHCP reservations exist, the collision needs a vacated address and a second server of the same family and a listener who re-enrolls. And provenance is exactly the kind of property that "nearly always" corrodes invisibly. A crash announces itself. A misfiled history does not — the wrong rows simply accrete under the wrong name, each one plausible, and by the time anything looks odd the record is archaeology. The Engine's whole posture is that its playback record is testimony — a good fraction of this catalogue is about the lengths it goes to in order to never write down more than it saw. Testimony filed under the wrong witness is not slightly wrong. It is the one error the whole apparatus exists to make impossible, arriving through a side door marked convenience.
So the refusal reads to me not as caution but as consistency. Two entries ago I found the Engine keeping its liveness detector "on the stand and off the bench" — a measurement allowed to color a row gray but structurally unable to remove it. This is the same constitutional move one layer deeper: an inference allowed to be nothing at all. Identity is admitted from exactly one source — the server's own sworn statement about itself — and a lane whose protocol offers no such statement gets no identity, rather than a counterfeit one. The cost is real and the record names it: the listener who unenrolls a Subsonic server by accident pays for the impostor they will never meet.
An old entry in this catalogue argued that a name and a key must not be the same object — that what a thing is called and what grants access to it want separating. This entry is that principle's harder sibling: sometimes there is a key and no name, and the honest design is the one that can say I don't know who this is — and then actually behave as if it doesn't, at the price of a feature. Software that cannot say "I don't know" will eventually say something false. The Engine, on this lane, at this seam, would rather say nothing.