0.8.0.13:0 — bundle Station Master v0.8.0.13

Nine fixes from the Day 1-2 playtest of 0.8.0.12, almost all of them about what
the table can see. The one that mattered moved a car: the Division Yard chips
stayed clickable while a player's board was catching up on other people's turns,
so a click submitted a real intent against a position several moves stale. They
obey the catch-up queue now, and the yard counts beside them are read from the
board on screen rather than the live game. The district picker gained a button
for your own seat and is ordered west to east as the map draws it; the Fedora
passing is announced and logged; a collision names whose district it was and who
loses the 5 Revenue; and a Depot that cannot stock another passenger says which
car it is short of instead of the action silently vanishing.

Packaging is the submodule pin, the version and the words. No action, route,
file model or interface changed — the whole release is inside the bundled game.

GAMES IN PROGRESS RESUME NORMALLY, measured rather than assumed:
`git diff v0.8.0.12..v0.8.0.13 -- src/engine/` is two ADDED lines — a
superintendentChanged variant on the GameEvent union, and the events.push that
emits it beside the actorChanged already there. Nothing was removed or edited:
check(), legal.ts and every predicate are untouched, so no once-legal move
became illegal, and events are derived by replaying a save rather than stored in
one, so widening the union cannot invalidate anything on disk. README,
instructions.md and the release notes in all five locales say so.

Two files come along that this release did not otherwise touch:
`prettier --write startos` reflowed a call in restoreSeat.ts and a return type
in serverApi.ts, formatting drift left by the 0.8.0.12 commit.

The 0.8.0.12 release it follows was deployed and verified at a table: a seat was
recovered end to end from a one-time claim code minted by the StartOS action,
which is what the previous commit said had not yet been exercised.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmdqqCNoiqE7GBo6wthBnR
This commit is contained in:
Jesse
2026-09-17 05:08:10 -04:00
co-authored by Claude Opus 5
parent a70337cf8b
commit 81f9d06705
6 changed files with 207 additions and 85 deletions
+147 -72
View File
@@ -10,84 +10,140 @@ export const current = VersionInfo.of({
// — checked against the SDK's own parser rather than assumed, since every example in `versions.md`
// has three: `0.7.9.8:0` parses to upstream `[0,7,9,8]`, which sorts above `[0,7,9]`, so a box on
// 0.7.9:0 sees this as an update rather than refusing it as a downgrade.
version: '0.8.0.12:0',
version: '0.8.0.13:0',
releaseNotes: {
en_US:
'Bundles Station Master v0.8.0.12 — a player who has lost their browser storage can be put ' +
'back in their seat. **Games already running on this server resume normally**: no rule ' +
'changed. **The problem this fixes.** The only proof of who you are is kept by your own ' +
'browser, so clearing your browsing data, returning in a private window, or sitting down at a ' +
'different browser leaves you looking like a stranger — an empty lobby, no game code, no name ' +
'— while the game is still running on the server and your seat is still yours. It happened at ' +
'a real table: of two players in one game, one reloaded straight back in and the other could ' +
'not get in at all. **The fix is a new Restore a Seat action.** Pick the player from a list of ' +
'whoever is actually holding a seat, and it hands you a link. Send it to them, and opening it ' +
'in their own browser puts them straight back where they were. The link works once and expires ' +
'after 30 minutes, and whoever opens it takes that seat — so send it to that person rather ' +
'than posting it somewhere public. If it expires first, just run the action again. The link ' +
'carries a one-time code and never the seat itself, so a link left in a chat window is worth ' +
'nothing once it has been used.',
'Bundles Station Master v0.8.0.13 — nine fixes from a live playtest, almost all of them about ' +
'what the table can see. **Games already running on this server resume normally**: no rule ' +
'changed. **The one that moved a car.** While your board is catching up on turns taken by ' +
'other players the game hides the action list, because a move made against a position that ' +
'has already moved on is a move made blind — but the cars in the Division Yard stayed ' +
'clickable. One click during a bot’s turn sent a real move against a board several turns ' +
'stale, and a coach left the yard. The yard follows the same rule as every other control now, ' +
'and the car counts beside it show the board you are looking at rather than the one the game ' +
'has already raced ahead to. **You can look at your own district again.** The row of buttons ' +
'for looking at another player’s Office Area had one for everybody except you, so the player ' +
'with nothing to do but wait was the one player who could not look at their own board. Your ' +
'seat is in the row now, and the buttons are in map order — west to east along the Division — ' +
'instead of the order people joined. **The Fedora is announced when it passes.** The ' +
'Superintendent changes hands at the end of Stages 3, 6, 9 and 12, and nothing said so out ' +
'loud; now it is announced on screen and written into the history, the same as a completed ' +
'run. **A collision says whose district it was and who paid for it.** The line named the ' +
'wreck and the reason and stopped there, leaving the 5 Revenue penalty in a separate entry ' +
'further down the log. **A Depot that cannot take another passenger says why.** It needs a ' +
'loaded coach waiting in the Division Yard, and when there is none the option simply vanished ' +
'from the menu with no explanation. The shortage itself stays — running out is part of the ' +
'game — but the panel now says how much room is left, what is missing, and how many loaded ' +
'coaches are waiting in the Classification Yard. **Smaller:** the train make-up panel says ' +
'“working eastward” rather than “working left” — the same rule, but the map runs west to east ' +
'and the table is not everybody’s left; and the history panel keeps 90 lines instead of 60, ' +
'in the same amount of screen.',
es_ES:
'Incluye Station Master v0.8.0.12 — un jugador que haya perdido los datos de su navegador ' +
'puede volver a su asiento. **Las partidas en curso en este servidor se reanudan con ' +
'normalidad**: no ha cambiado ninguna regla. **El problema que corrige.** La única prueba de ' +
'quién eres la guarda tu propio navegador: si borras los datos de navegación, vuelves en una ' +
'ventana privada o te sientas ante otro navegador, apareces como un desconocido — una sala ' +
'vacía, sin código de partida ni nombre — aunque la partida siga en el servidor y el asiento ' +
'siga siendo tuyo. Ocurrió en una mesa real: de dos jugadores, uno volvió sin problemas y el ' +
'otro no pudo entrar. **La solución es la nueva acción Restaurar un asiento.** Elige al ' +
'jugador de la lista de quienes ocupan un asiento y se te entrega un enlace. Envíaselo y, al ' +
'abrirlo en su propio navegador, volverá justo donde estaba. El enlace funciona una sola vez y ' +
'caduca a los 30 minutos, y quien lo abra ocupará ese asiento: envíaselo a esa persona en ' +
'lugar de publicarlo. Si caduca antes, ejecuta la acción de nuevo. El enlace lleva un código ' +
'de un solo uso y nunca el asiento en sí, así que un enlace olvidado en un chat no sirve de ' +
'nada una vez usado.',
'Incluye Station Master v0.8.0.13 — nueve correcciones surgidas de una partida de prueba, ' +
'casi todas sobre lo que la mesa alcanza a ver. **Las partidas en curso en este servidor se ' +
'reanudan con normalidad**: no ha cambiado ninguna regla. **La que movió un vagón.** Mientras ' +
'tu tablero se pone al día con los turnos de los demás, el juego oculta la lista de acciones, ' +
'porque decidir sobre una posición que ya ha cambiado es decidir a ciegas; pero los vagones ' +
'del Patio de División seguían siendo pulsables. Un clic durante el turno de un bot envió una ' +
'jugada real contra un tablero atrasado varios turnos, y un coche salió del patio. Ahora el ' +
'patio sigue la misma regla que los demás controles, y los recuentos de vagones muestran el ' +
'tablero que estás viendo, no aquel al que la partida ya se ha adelantado. **Puedes volver a ' +
'mirar tu propio distrito.** La fila de botones para ver el Área de Oficinas de otro jugador ' +
'tenía uno para cada cual menos para ti, así que el jugador que solo podía esperar era el ' +
'único que no podía mirar su propio tablero. Tu asiento ya está en la fila, y los botones ' +
'siguen el orden del mapa — de oeste a este a lo largo de la División — en vez del orden de ' +
'llegada. **El sombrero se anuncia al pasar.** El Superintendente cambia al final de las ' +
'Etapas 3, 6, 9 y 12, y nada lo decía en voz alta; ahora se anuncia en pantalla y queda ' +
'escrito en el historial, igual que un recorrido completado. **Una colisión dice en qué ' +
'distrito fue y quién la paga.** La línea nombraba el accidente y la causa y ahí se detenía, ' +
'dejando la penalización de 5 de Ingresos en otra entrada más abajo. **Un Depósito que no ' +
'puede recibir otro pasajero explica por qué.** Necesita un coche cargado esperando en el ' +
'Patio de División, y cuando no lo hay la opción simplemente desaparecía del menú sin ' +
'explicación. La escasez se mantiene — quedarse sin material es parte del juego — pero ahora ' +
'el panel indica cuánto sitio queda, qué falta y cuántos coches cargados esperan en el Patio ' +
'de Clasificación. **Menores:** el panel de formación de trenes dice «trabajando hacia el ' +
'este» en lugar de «trabajando hacia la izquierda» — la misma regla, pero el mapa va de oeste ' +
'a este y la mesa no tiene una izquierda común; y el historial guarda 90 líneas en vez de 60, ' +
'en el mismo espacio.',
de_DE:
'Enthält Station Master v0.8.0.12 — wer die Daten seines Browsers verloren hat, kann wieder ' +
'auf seinen Platz gesetzt werden. **Laufende Spiele auf diesem Server werden normal ' +
'fortgesetzt**: keine Regel wurde geändert. **Das behobene Problem.** Der einzige Nachweis, ' +
'wer Sie sind, liegt in Ihrem eigenen Browser. Browserdaten gelöscht, im privaten Fenster ' +
'zurückgekehrt oder an einem anderen Browser gesessen — und Sie erscheinen als Fremder: leere ' +
'Lobby, kein Spielcode, kein Name, obwohl das Spiel weiterläuft und der Platz Ihnen gehört. An ' +
'einem echten Tisch geschehen: von zwei Spielern kam einer sofort zurück, der andere gar ' +
'nicht. **Die Lösung ist die neue Aktion „Einen Platz wiederherstellen".** Wählen Sie den ' +
'Spieler aus der Liste der tatsächlich besetzten Plätze, und Sie erhalten einen Link. ' +
'Schicken Sie ihn; wird er im eigenen Browser geöffnet, sitzt der Spieler wieder genau dort, ' +
'wo er war. Der Link funktioniert einmal und verfällt nach 30 Minuten, und wer ihn öffnet, ' +
'nimmt diesen Platz ein — schicken Sie ihn also dieser Person und posten Sie ihn nicht ' +
'öffentlich. Verfällt er vorher, führen Sie die Aktion einfach erneut aus. Der Link enthält ' +
'einen Einmal-Code und niemals den Platz selbst; ein Link in einem Chatfenster ist nach dem ' +
'Einlösen wertlos.',
'Enthält Station Master v0.8.0.13 — neun Korrekturen aus einer echten Testpartie, fast alle ' +
'davon darüber, was der Tisch sehen kann. **Laufende Spiele auf diesem Server werden normal ' +
'fortgesetzt**: keine Regel wurde geändert. **Die eine, die einen Wagen bewegt hat.** Während ' +
'Ihr Brett die Züge der anderen nachholt, verbirgt das Spiel die Aktionsliste — ein Zug gegen ' +
'eine Stellung, die längst weiter ist, ist ein Zug im Blindflug —, doch die Wagen im ' +
'Bezirksbahnhof blieben anklickbar. Ein Klick während des Zuges eines Bots schickte einen ' +
'echten Zug gegen ein mehrere Züge altes Brett, und ein Wagen verließ den Bahnhof. Der ' +
'Bahnhof folgt jetzt derselben Regel wie jedes andere Bedienelement, und die Wagenzahlen ' +
'daneben zeigen das Brett, das Sie sehen, statt jenes, dem das Spiel schon vorausgeeilt ist. ' +
'**Sie können wieder auf Ihren eigenen Bezirk schauen.** Die Knopfreihe zum Betrachten ' +
'fremder Bürobereiche hatte einen Knopf für jeden außer für Sie — ausgerechnet der Spieler, ' +
'der nur warten konnte, kam nicht an sein eigenes Brett. Ihr Platz ist jetzt in der Reihe, ' +
'und die Knöpfe stehen in Kartenreihenfolge — von West nach Ost entlang der Division — statt ' +
'in der Beitrittsreihenfolge. **Der Hut wird angesagt, wenn er weitergegeben wird.** Der ' +
'Superintendent wechselt am Ende der Etappen 3, 6, 9 und 12, und nichts sagte es laut; jetzt ' +
'wird es auf dem Bildschirm angesagt und in den Verlauf geschrieben, wie eine abgeschlossene ' +
'Fahrt. **Eine Kollision nennt den Bezirk und den, der dafür zahlt.** Die Zeile nannte das ' +
'Wrack und den Grund und hörte dort auf; die 5 Einnahmen Strafe stand in einem eigenen ' +
'Eintrag weiter unten. **Ein Depot, das keinen weiteren Fahrgast aufnehmen kann, sagt ' +
'warum.** Es braucht einen beladenen Personenwagen im Bezirksbahnhof, und fehlte er, ' +
'verschwand die Option kommentarlos aus dem Menü. Der Mangel bleibt — auszugehen gehört zum ' +
'Spiel —, aber die Anzeige nennt jetzt den freien Platz, das Fehlende und die Zahl der ' +
'beladenen Wagen, die im Rangierbahnhof warten. **Kleineres:** die Zugbildungsanzeige sagt ' +
'„ostwärts arbeitend“ statt „nach links arbeitend“ — dieselbe Regel, aber die Karte läuft von ' +
'West nach Ost, und der Tisch hat kein gemeinsames Links; und der Verlauf behält 90 Zeilen ' +
'statt 60, auf gleichem Raum.',
pl_PL:
'Zawiera Station Master v0.8.0.12 — gracz, który stracił dane swojej przeglądarki, może ' +
'wrócić na swoje miejsce. **Gry w toku na tym serwerze wznawiają się normalnie**: żadna zasada ' +
'się nie zmieniła. **Naprawiony problem.** Jedynym dowodem tożsamości jest to, co trzyma twoja ' +
'przeglądarka. Wyczyść dane, wróć w oknie prywatnym albo usiądź przy innej przeglądarce, a ' +
'wyglądasz jak ktoś obcy — pusta poczekalnia, brak kodu gry i nazwy — chociaż gra nadal działa ' +
'na serwerze, a miejsce wciąż należy do ciebie. Zdarzyło się to przy prawdziwym stole: z ' +
'dwóch graczy jeden wrócił od razu, a drugi w ogóle nie mógł wejść. **Rozwiązaniem jest nowa ' +
'akcja „Przywróć miejsce".** Wybierz gracza z listy osób faktycznie zajmujących miejsca, a ' +
'otrzymasz link. Wyślij mu go — po otwarciu we własnej przeglądarce wróci dokładnie tam, gdzie ' +
'był. Link działa raz i wygasa po 30 minutach, a kto go otworzy, zajmie to miejsce — wyślij ' +
'go więc tej osobie, zamiast publikować. Jeśli wygaśnie, po prostu uruchom akcję ponownie. ' +
'Link zawiera jednorazowy kod, a nigdy samo miejsce, więc link zostawiony na czacie po ' +
'wykorzystaniu jest bezwartościowy.',
'Zawiera Station Master v0.8.0.13 — dziewięć poprawek z prawdziwej partii testowej, niemal ' +
'wszystkie o tym, co widzi stół. **Gry w toku na tym serwerze wznawiają się normalnie**: ' +
'żadna zasada się nie zmieniła. **Ta, która przestawiła wagon.** Kiedy twoja plansza nadrabia ' +
'ruchy pozostałych graczy, gra chowa listę akcji, bo ruch wykonany wobec pozycji, która już ' +
'się zmieniła, to ruch na ślepo — ale wagony na Stacji Rejonowej wciąż dawały się kliknąć. ' +
'Jedno kliknięcie w czasie tury bota wysłało prawdziwy ruch wobec planszy sprzed kilku tur i ' +
'wagon opuścił stację. Teraz stacja podlega tej samej regule co każdy inny element, a ' +
'liczniki wagonów obok pokazują planszę, którą widzisz, a nie tę, do której gra już pobiegła ' +
'naprzód. **Znów możesz zajrzeć do własnego okręgu.** W rzędzie przycisków do podglądania ' +
'Biura innego gracza był przycisk dla każdego prócz ciebie, więc gracz, który tylko czekał, ' +
'jako jedyny nie mógł spojrzeć na własną planszę. Twoje miejsce jest już w rzędzie, a ' +
'przyciski są w kolejności mapy — z zachodu na wschód wzdłuż Dywizji — zamiast w kolejności ' +
'dołączania. **Przekazanie kapelusza jest ogłaszane.** Superintendent zmienia się na koniec ' +
'Etapów 3, 6, 9 i 12, a nic nie mówiło tego na głos; teraz jest ogłaszane na ekranie i ' +
'zapisywane w historii, tak jak ukończony przejazd. **Kolizja mówi, czyj to okręg i kto za ' +
'nią płaci.** Wiersz podawał wrak i przyczynę, i na tym kończył — kara 5 Przychodu trafiała ' +
'do osobnego wpisu niżej. **Dworzec, który nie może przyjąć kolejnego pasażera, mówi ' +
'dlaczego.** Potrzebny jest załadowany wagon osobowy czekający na Stacji Rejonowej, a gdy go ' +
'nie było, opcja po prostu znikała z menu bez wyjaśnienia. Sam niedobór zostaje — kończące ' +
'się zasoby to część gry — ale panel podaje teraz, ile zostało miejsca, czego brakuje i ile ' +
'załadowanych wagonów czeka na Stacji Rozrządowej. **Drobniejsze:** panel formowania składu ' +
'mówi „pracując na wschód” zamiast „pracując w lewo” — ta sama zasada, ale mapa biegnie z ' +
'zachodu na wschód, a stół nie ma wspólnej lewej strony; historia zaś zachowuje 90 wierszy ' +
'zamiast 60, na tym samym miejscu.',
fr_FR:
'Inclut Station Master v0.8.0.12 — un joueur qui a perdu les données de son navigateur peut ' +
'être remis à sa place. **Les parties en cours sur ce serveur reprennent normalement** : ' +
'aucune règle n’a changé. **Le problème corrigé.** La seule preuve de votre identité est ' +
'conservée par votre propre navigateur : effacez vos données, revenez dans une fenêtre privée ' +
'ou installez-vous devant un autre navigateur, et vous apparaissez comme un inconnu — salle ' +
'vide, ni code de partie ni nom — alors que la partie tourne toujours et que la place est ' +
'toujours la vôtre. C’est arrivé à une vraie table : de deux joueurs, l’un est revenu ' +
'directement, l’autre n’a pas pu entrer. **La solution est la nouvelle action « Restaurer une ' +
'place ».** Choisissez le joueur dans la liste de ceux qui occupent réellement une place, et ' +
'vous obtenez un lien. Envoyez-le-lui : ouvert dans son propre navigateur, il le remet ' +
'exactement où il était. Le lien fonctionne une seule fois et expire au bout de 30 minutes, et ' +
'quiconque l’ouvre prend cette place — envoyez-le donc à cette personne plutôt que de le ' +
'publier. S’il expire avant, relancez simplement l’action. Le lien porte un code à usage ' +
'unique et jamais la place elle-même : un lien laissé dans une conversation ne vaut plus rien ' +
'une fois utilisé.',
'Inclut Station Master v0.8.0.13 — neuf corrections issues d’une vraie partie de test, ' +
'presque toutes sur ce que la table peut voir. **Les parties en cours sur ce serveur ' +
'reprennent normalement** : aucune règle n’a changé. **Celle qui a déplacé un wagon.** ' +
'Pendant que votre plateau rattrape les tours des autres, le jeu masque la liste des actions, ' +
'car jouer contre une position qui a déjà avancé, c’est jouer à l’aveugle — mais les wagons ' +
'de la Gare de Division restaient cliquables. Un clic pendant le tour d’un bot a envoyé un ' +
'vrai coup contre un plateau vieux de plusieurs tours, et une voiture a quitté la gare. La ' +
'gare suit désormais la même règle que les autres commandes, et les comptes de wagons à côté ' +
'affichent le plateau que vous regardez, et non celui où la partie a déjà filé. **Vous pouvez ' +
'de nouveau regarder votre propre district.** La rangée de boutons permettant de consulter ' +
'l’Espace Bureaux d’un autre joueur en avait un pour tout le monde sauf vous : le joueur qui ' +
'n’avait qu’à attendre était le seul à ne pas pouvoir regarder son propre plateau. Votre ' +
'place y figure désormais, et les boutons suivent l’ordre de la carte — d’ouest en est le ' +
'long de la Division — plutôt que l’ordre d’arrivée. **Le chapeau est annoncé quand il ' +
'passe.** Le Superintendant change à la fin des Étapes 3, 6, 9 et 12, et rien ne le disait à ' +
'voix haute ; c’est maintenant annoncé à l’écran et inscrit dans l’historique, comme un ' +
'parcours achevé. **Une collision indique le district et celui qui paie.** La ligne nommait ' +
'l’accident et la cause puis s’arrêtait, laissant la pénalité de 5 Revenus dans une entrée ' +
'séparée plus bas. **Un Dépôt qui ne peut pas prendre un passager de plus dit pourquoi.** Il ' +
'lui faut une voiture chargée en attente à la Gare de Division, et faute de quoi l’option ' +
'disparaissait du menu sans explication. La pénurie demeure — manquer de matériel fait partie ' +
'du jeu — mais le panneau indique désormais la place restante, ce qui manque, et combien de ' +
'voitures chargées attendent à la Gare de Triage. **Plus petit :** le panneau de formation ' +
'des trains dit « en travaillant vers l’est » plutôt que « en travaillant vers la gauche » — ' +
'même règle, mais la carte va d’ouest en est et la table n’a pas de gauche commune ; et ' +
'l’historique conserve 90 lignes au lieu de 60, dans la même place.',
},
migrations: {
/**
@@ -213,6 +269,25 @@ export const current = VersionInfo.of({
* new is written to the volume, no predicate was edited, and `check()` and `legal.ts` are
* untouched, so no once-legal move became illegal. Games in progress resume, and the release
* notes say so in all five locales.
*
* v0.8.0.13 TOUCHES THE ENGINE AGAIN, AND THE WHOLE DIFF IS TWO LINES.
* `git diff v0.8.0.12..v0.8.0.13 -- src/engine/` adds a `superintendentChanged` variant to the
* `GameEvent` union (`events.ts`) and the one `events.push` in `advance.ts` that emits it beside
* the `actorChanged` that was already there — §5's handover of the Fedora, which the log had been
* dropping as turn bookkeeping. Nothing was removed and nothing was edited: `check()`, `legal.ts`
* and every predicate are untouched, so no once-legal move became illegal, and a widened event
* cannot invalidate anything on disk because events are DERIVED by replaying a `SavedGame` rather
* than stored in one — the same argument the v0.8.0.1 and v0.8.0.11 entries above make for
* theirs. Games in progress resume, and the release notes say so in all five locales.
*
* THE REST IS THE SCREEN AND THE LOG, none of it on disk: the Division Yard chips now obey the
* catch-up queue (they did not, and a click during it submitted a real intent against a stale
* board), the yard counts are read from the shown board rather than the live game, the district
* picker gained your own seat and is ordered by seat rather than by player index, collisions name
* the district's owner and the 5 Revenue they lose, a Depot that cannot stock an outbound
* passenger explains which car it is short of, and the history panel keeps 90 lines. The
* passenger case is a RULING rather than a fix — §6.3 wants a loaded coach in the Division Yard,
* and Jesse kept the shortage (Gitea#2's ruling) while ending the silence about it.
*/
up: async ({ effects }) => {},
down: IMPOSSIBLE,