- Browser tests that drive a live host (uboot nav, console, observer
timeline, bridge glasses, map hover) ran under Chromium virtual time, which
races ahead of the Python host and hits the wall cap under load. They now
run in real time and read the probe result over DevTools (RealTimeHost).
- Direct-fire sweep check: a pending ResizeObserver redraw could land after
the "settled" sample; the probe now waits until the canvas backing store
matches its layout size and stays put.
- Remote Crew host form: after a side switch the new-game / own-mission
command was dropped silently or sent with a stale host view; it is now
sent once the console's host view matches its new world session.
- raytrace: convergence-zone and ray-picture caches computed their result
from the unrounded arguments of the first caller, so results depended on
call order. They now compute from the quantized key alone (regression test
added; calibrate 77/77 in tolerance).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
The scenario list grew to 13 rows per side and its last rows were drawn over
the world and seed lines. The scenario, own-mission, difficulty and lesson
lists now show a bounded window in a panel with a scroll bar that follows
the selection (Up/Down, wheel, PgUp/PgDn, Home/End), with the start of the
selected scenario's briefing below. Centred menu lines shrink to the screen
width, the logbook keeps clear of the sector hint, and the browser names the
free patrol in the new-game list instead of "unknown". A layout test checks
every start-menu page for overlapping or off-screen lines.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TBTN1D3wXaBi9NtJQapCXJ
An Apply button dropped its drafts on the click and the command result
cleared the rest, while the snapshot in hand still predated the command,
so a state push flipped the seeker pattern (and the frigate's torpedo
settings, engine plant and helicopter pattern) back for a moment. Drafts
now survive until the snapshot after the result, and the bridge publishes
the state a command produced in the same pump as its result.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VQkTBZ6nNCXjyAJvYjDofk
The command result can arrive before the projection that carries the new
setting; the select then fell back to the old value for a few state pushes
(intermittent in test_uboot_nav_web, on main as well). The browser now
keeps the sent pattern and enable range until a state shows them, a
rejection arrives, the world changes or 20 newer states pass without them.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS3so1jLSc2A8usgnDEEeY
The lobby's new Opponent row (AI / second crew) lets the frigate's crew play
the submarine's. Pairing browsers join the smaller team, teams are locked for
the round, each unit has its own web-host push-to-talk room, each team gets its
own result, and a host-only uConsole shows an umpire screen without any
tactical picture.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
The solo browser lists the uConsole's own missions, downloads them as
share files, uploads files, edits or plans missions on a sector map and
starts them; the New game dialog offers own missions too.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012UHht4zQhR5DrwQWsj4uRM
After choosing frigate or submarine, the uConsole scenario menu, the
multiplayer lobby and the browser New game dialog list only that side's
scenarios. The '(U-Boot)'/'(submarine)' title suffixes are dropped; Esc in
the scenario list returns to the side choice.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186HTaxcpzw21KdLa2xgUHu
A browser that asks for a station a crewmate holds now also reaches the
holder: its session body lists the pending requests under `handover`
(station, requester name, ordinal, request generation; bounded, observers
and phone lookouts get none) and POST /api/v2/stations/handover lets it
hand the station over with its full rights, exactly like the host's roster
approval, or decline. Stale holder or generation is 409, malformed bodies
400, same cookie/Origin/CSRF checks as the other station routes. The web
client validates the new key and shows a "Hand over / Keep station" prompt.
The F9 roster loses the per-station command, direct-fire and sonar-audio
toggles (keys C, D, U): a station is always held with its full rights.
L (SimLog) and O (observer) stay. Manual, protocol and co-op docs updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
A new main-menu entry "Multiplayer" opens a lobby: Remote Crew starts in
crew mode by itself, the uConsole shows QR code, address and join code,
the players with their stations and ready ticks, and the host's mission,
unit and own station. Browsers see the same crew room above the station
cards and tick Ready. The host starts a five-second countdown every
browser sees; the mission then begins for all at once and the uConsole
opens on its lobby station. A mission started from the lobby returns
everyone to the lobby. Ready ticks and the lobby are transient.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
Per-type variants from public dimensions (data/unit_models/variants.json),
drawn in the analyser, unit editor and every eyepiece; the lookout,
binoculars and periscope show the type the eye sees. Browser variants load
lazily in three groups. The web client drops a late pushed state older than
its last polled one instead of reconnecting.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
- Server: a reconnecting client supersedes its own idle audio or sonar
stream instead of getting 409 stream_exists while the old worker has not
yet noticed the dead socket (root cause of the flaky
test_audio_websocket_resumes_behind_the_browser_cursor). Regression tests
fail on the old code.
- Web client: a push-woken poll clears the pending poll timer, so a healthy
push no longer adds a /state request per pushed state.
- Browser tests for live audio and the state push run in real time
(RealTimeHost: wall-clock sim steps via Game._frame_dt, DevTools reads
off-thread) instead of fixed steps or --virtual-time-budget.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017XUBGQzKG1jnToU9vYPfwo
- Radio room: an empty DF scope now writes its "no signal" text
equivalent instead of clearing it (ELOKA already did this).
- Sonar room: the client remembers the focus it last sent, so a quick
reselection (A, B, A) is no longer dropped against the lagging
published focus.
- Role-states browser test: instrument the radio scope, log pushed
states like polled ones, wait one more presence poll per role, guard
the sonar overview check against a role switch, and read the result
over DevTools so the run ends when the probe does (about 10 s).
- Submarine sonar audio test: run Chromium in real time and read the
result over DevTools; virtual time starved the live audio socket.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011qbgcvPr4s2ohpf2qA1zNW
Plan 1.3 closeout. APP_VERSION 1.3.0, README EN/DE release paragraph,
AGENTS authority line, station shortcuts regenerated, test expectations
of this run brought up to the current contracts (observer session field,
voice default, transport DOM rule, browser mocks with the new role
fields, convergence zones may be empty), run log and verification log
entries. No build, no push (decision of the run).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Phase 12 of plan 1.3. The host makes up to two browsers read-only
observers (F9 roster key O, web-host admin): no lease, any station of
either unit viewable through activate with generation 0, every command
rejected, SimLog included, never persisted. The SimLog page shows
observers and the solo host a debrief timeline (snapshot ticks, marks for
own and hostile torpedo launches, own damage, new contacts and losses,
click to scrub) and a JSON export stripped of RNG, credential, token and
settings keys. Voice in the web-host room starts enabled. Docs, manual,
catalogs and tests updated.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Phase 11 of plan 1.3. /ws/v2/state pushes the active role's projection
(same bytes as GET /api/v2/state, at most 4 Hz, heartbeat 2 s, latest
state only) with the sonar stream's Origin/cookie/subprotocol rules; the
browser consumes pushed states in its poll loop, keeps polling presence,
chart and feeds on a slow cadence, falls back to full polling after two
missed heartbeats and retries every 10 s. src/commander/v2/schema.py is
the single allowlist rendered into schema.js by tools/gen_web_schema.py
(--check in CI). The browser chart culls tracks in world coordinates
before transforming and exposes a frame-time probe. OffscreenCanvas is
deferred (documented in docs/resume.md).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A browser that asks for a free station gets it immediately, with every
right the station can have (command, direct fire, sonar audio). A
station a crewmate holds becomes a request the host can hand over; a
released station goes to the oldest waiting request. The host still
revokes stations or single rights. Also fixes direct-fire validation
for the submarine in the browser and helicopter audio in the admin room.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Remote Crew browser client rebuilt as a dark combat-information-centre layout
for large desktop monitors: slim status bar (stations, mission, clocks, UTC,
link state), pulsing alert band, the instrument as centrepiece and
collapsible docks (contacts, station, contact detail, log drawer; keys , . L).
Four columns from 2400 px, fluid type up to 4K; guide, lookout and contact
library open as overlays (Esc closes).
- app.js split into native ES modules under data/commander/js; the transport
(net/*) no longer touches the DOM and talks to the views through synchronous
topics (core/events.js, app/bindings.js); redraws share one frame scheduler.
- style.css replaced by a token-based design system in data/commander/css.
- Inter 4.1 and JetBrains Mono 2.304 bundled unmodified (OFL-1.1) with
provenance in THIRD_PARTY_NOTICES.md; CSP allows font-src 'self'.
- Server serves the css/js/fonts trees from one asset manifest
(src/commander/assets.py); packaging, capture tool, help, manual and docs
updated; tests share tests/commander_web.py and import modules directly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>