Each new SimLog row made the server re-encode every role's whole history
(up to 9 x 2 MB), a stall every 10 s that grew to 1.4 s on the uConsole
after seven minutes. The server now caches each entry's compact JSON and
joins the published document from it (byte-identical), and the bridge
deep-copies a row's truth once instead of once per role.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
With SimLog on and a browser connected, the bridge encoded every role's
whole SimLog history as JSON on every frame just to check its size, and
once the history reached SIMLOG_MAX_BYTES it re-encoded it once per
trimmed row. On the uConsole this took the main thread to 6-12 fps after
about six minutes. Each entry is now encoded once and its size cached;
the trimmed history and the byte bound are unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
- 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>
- New preference operator_assist (off by default / training), display and
projection only; a test proves it never changes the simulation.
- LOFAR/DEMON: free frequency cursor (Z/X), K marks the fundamental or the
DEMON shaft/blade lines (blade count and RPM from the operator's marks),
Q integration 2 (FFT)/8/16/64 s, Shift+Q 20 Hz vernier at native 0.5 Hz,
Ctrl+Z/X free band-pass edges, Shift+N notch at the cursor.
- Off: no automatic peak labels, received-line lists, DEMON blade-rate/RPM
proposals, catalog ranking or "low evidence" verdicts (uConsole and web).
- ESM off: unranked library range lookup instead of scored platform
candidates; radar type, threat and range estimate left to the operator;
C cycles the library in name order.
- Remote Crew: tool state, integrated spectra and vernier in the sonar
projection; new sonar commands; EloKa candidates may be unscored.
- Manual (EN/DE), help keys and abbreviations updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Previously uncommitted work: the game always runs in real time (no pause
or time acceleration), web client fixes (plot smoothing, spectrum peak
labels shared with the uConsole), regenerated contact-analysis images,
docs and manual updates.
UI/realism review, phase 1 (no truth leaks):
- Sonar CIC domain follows only the operator classification; new TORPEDO class.
- Torpedo alarm from intercepts only (launch transient, HF seeker pulses),
used by Bridge, Autocrew and the web Bridge threat block.
- ASM cue from measured speed/altitude or a jamming strobe; CIWS/ESSM/ECM
resolve missiles through their own M- tracks.
- HFDF fixes publish no domain; lookout domain needs recognition.
- No "hostile ping"/"submarine sunk" reports: breaking-up noises on a
bearing; score only in the debrief.
- Helicopter layer shown only after the dome passed it; web Bridge gets
published rows only.
Phase 2 (uConsole screen and text):
- Status ticker (default) frees 158 px; F11 event log/telemetry overlay
(display only); docked band selectable in the options.
- Layout helpers fall back to catalog abbreviations (<key>.short) before
any ellipsis; feed wraps, ticker scrolls; zero truncations EN/DE.
- Localised telemetry and OPZ affiliation/domain codes, bounded map labels.
Web: role map and chart draw NATO affiliation frames with domain glyphs.
Tests: truth boundary, text fit, session-wide preferences isolation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Weather & sonar analysis (key 0, uConsole full screen and every Remote
Crew station): own-ship atmosphere derived from the weather system
(barometer leading the sea with WMO tendency and storm warning, air
temperature with cold outbreaks, snow and icing, gusts, Beaufort, cloud
ceiling, twilight from sun elevation, moon phase), weather effects, and a
helicopter flight decision (CLEAR/LIMITED/NO-GO; gusts, ceiling and icing
now limit launch and dipping, light icing costs fuel). The ocean profile
(layer, sound-speed curve, SOFAR axis, rays and shadow zone) appears only
after a sonar bathythermograph measurement and is always that
measurement. Rain freshens a surface lens in the Mackenzie sound speed;
ray profiles and the BT continue to the seabed (to 1500 m) so a deep
sound channel can form. New common v2 block `weather_station`, browser
validator and dialog, protocol docs, manual EN/DE.
Also included from the parallel session: selectable 30/60 FPS frame-rate
preference with bounded catch-up of slow frames, elastic sonar audio
buffering (local mixer and AudioWorklet), and a German presentation of
the simulation under docs/presentation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- data/manual: EN/DE chapters (quickstart, nine stations, reference)
- src/core/manual.py: Markdown subset -> text lines, HTML, export;
key tables and SOPs expand from src/core/help.py
- F1 overlay: station SOP, fourth "Manual" category, ? opens help
- Remote Crew serves /manual-en|de; guide and station help link to it
- tools/build_manual.py exports docs/manual (--check for CI)
- tests/test_manual.py guards EN/DE parity, key coverage, numbers
- AGENTS.md/README: documentation sync rule and links
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>