Commit Graph
53 Commits
Author SHA1 Message Date
Claude de09747c46 Web damage control: team cards with compartment names and status, click picks the team
The browser's repair-team list showed raw compartment keys ("engine",
"sonar") and no state. Each team card now names its destination in the
player's language (or "free"), says whether the team is standing by, on
the way (seconds left) or on scene, carries a matching stripe, frames the
team the selector holds, and a click or Enter on a card picks that team
for the next assignment. The compartment rows drop the raw key row. The
damage projection gains each team's transit_s.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 15:03:12 +00:00
Claude 3a25b0dcf7 Merge main (1.3.171 OPZ chart); operational log becomes 1.3.172
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
2026-10-03 06:38:15 +00:00
Claude 295fadc79e OPZ web: hide the display bar on every role switch; tests know the trails
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjEy6GJs4wG9N9DMGGNA9X
2026-10-03 05:44:31 +00:00
Claude 15350d1fa4 Show the uConsole's F11 log in the web operational log (1.3.169)
The Remote Crew "Einsatzprotokoll" only ever carried a few browser alerts
(damage, threat, mission end, proposals) and so looked empty. Every station
now gets its side's F11 log: the frigate's event feed for the frigate's
stations, the crewed boat's log for the submarine's, numbered once by the
bridge, with time stamp and category tag, up to 200 entries like F11.
Unchanged logs are not re-encoded; the browser keeps rows already shown.
The open log drawer has a fixed height, so a long log scrolls inside it
instead of pushing the chart away. On the uConsole, F11 now opens the
boat log on the submarine side too (with wheel scrolling).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
2026-10-03 05:13:24 +00:00
Claude 13d8997771 Fix browser and cache flakes: real-time page probes, host command after side switch, pure ray caches
- 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
2026-10-02 23:22:15 +00:00
Claude c417a6ee7b Test: compare the stopped OPZ sweep only after its last redraw
The ended/radars-off check took its reference frame a fixed 80 ms after
the state change; a one-time layout redraw landing later on a loaded
runner read as a moving sweep. It now waits for two equal frames first,
so a sweep that keeps turning still fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VQkTBZ6nNCXjyAJvYjDofk
2026-10-02 15:57:20 +00:00
Claude 05c56f2584 Damage control: side profile, cross-section and U-boat cutaway (1.3.154)
The frigate's damage plan is now an F125-style side profile with the
compartments at their real height, water tilted by trim, the outside
waterline and draft marks, visible holes with inflow jet, patch plate and
pump discharge, plus a cross-section that heels with the list. The U-boat
damage page and the browser engine console show a Type VII-style cutaway
of the pressure hull. Display only: save stays v48, no rule changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VQkTBZ6nNCXjyAJvYjDofk
2026-10-02 12:47:47 +00:00
Claude ed0cf3b4ad Noise discipline with microphone, enemy commander characters and a daily mission
- Noise discipline: crew mishaps (rarer under silent running, more with a
  tired crew), slower work under quiet orders, and the players' voices from
  the uConsole microphone (option) or the browser's (opt-in /noise-mic.js,
  level only, POST /api/v2/mic) with a meter and thresholds; loud crews add
  noise the enemy can hear and both sides report what they hear.
- Enemy commanders get one of four characters (daring, fox, cautious,
  hunter) from the seed; HQ sometimes hints at it, the debrief names it.
- Daily mission: one fixed mission per side and day in the day's real sea
  area, best score kept in the logbook for 30 days.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HQwtegBu8afg7BWtsCx7tt
2026-10-02 08:27:43 +00:00
Claude 1daf9cf422 Show hits in a small picture and make a homing torpedo's terminal phase audible
Hit picture: when a side's eye sees a hit (fireball, warhead column, a ship
going down) a small eyepiece window trained on it opens for eight seconds at
every station; a hit only heard shows the bearing with the noise instead
(uConsole and browser, display only, from the side's own observations).

Torpedo terminal phase: a seeker pings slowly while searching and four times
faster once locked on, on its measured bearing; the crew reports the lock with
a rough clock to impact (range guessed by ear) and once when the bearing
stands. Frigate and crewed submarine alike; sound and reports only, the
weapon behaves as before.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HQwtegBu8afg7BWtsCx7tt
2026-10-02 08:02:51 +00:00
Claude 284b7ee529 Consort weapons on Shift+W (Shift+F stays the OPZ filter); tests follow the fourth OPZ page and 22 scenarios; lobby team colours as tokens
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
2026-10-01 21:57:07 +00:00
Claude 7a87dfaa76 Fix helicopter deck gauge layout, freeze map marks after the mission
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017YR7xGwbpmkYJFGyiMJBvo
2026-09-30 17:52:36 +00:00
Claude ea5ba4b705 Red light and alarm lamps, debrief replay, bioluminescence, knuckles, wreck echoes, thunderstorms, deck motion windows
Save format v41 (knuckles root key, ship deck_quiet_s).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017YR7xGwbpmkYJFGyiMJBvo
2026-09-30 16:53:46 +00:00
Claude aff561e700 Remote Crew: the holder decides a station request; roster drops C/D/U
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
2026-09-30 10:15:26 +00:00
Claude 6cc074d76f Multiplayer lobby with ready ticks and a shared start (1.3.101)
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
2026-09-30 07:58:03 +00:00
Claude 003308e70a Sonar stations in the console style (WIP): lamps, bearing rose, framed plots; helicopter sonar phosphor and dipping scope
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mw8VFBVXLPPiwM3WU2r78D
2026-09-30 05:31:15 +00:00
Claude 352f62d358 Merge main (1.3.98, saves v38); release as 1.3.99
Also: a short Counterflood lamp label, and the direct-fire browser test
re-reads the damage canvas before each click, since the plan can resize
after a command result.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161qauFZojcsY5nBpnj1k1C
2026-09-29 21:53:01 +00:00
Claude 0317411db6 ASW rocket launcher with attack and torpedo-defence salvoes (save v37)
Six-round salvoes 0.4-3 NM on a fresh range fix, or a shallow line along
a torpedo warning's bearing that destroys a torpedo it goes off next to.
Splashes warn every submarine within 3 NM: AI boats evade, the crewed
boat's sonar room reports the bearing. The AI hunter uses both.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ezHkjXB8fqbp1sWev2J9D
2026-09-29 18:50:46 +00:00
Claude 17c516f56f Sonar class library sorted by fit to the operator's line marks
The DEMON page lists the three catalogue classes that fit the operator's
shaft, blade and LOFAR marks best; F8 lists the whole catalogue by fit.
Same library in the submarine's sonar room and on the web sonar station.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ezHkjXB8fqbp1sWev2J9D
2026-09-29 18:41:30 +00:00
Claude 21dc75f371 Helicopter radar switch, patrol aircraft MAD passes, AI boats raid merchants (save v32)
AI submarines with a raised mast go deep on an aircraft radar and put off
snorkeling; patrol submarines of the frigate scenarios torpedo merchants
far from the frigate, and a lost merchant costs score.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 16:59:12 +00:00
Claude a7ae4a49be Merge main (1.3.83); release as 1.3.84
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 16:58:46 +00:00
Claude a219411e92 Smoother wake edge; browser session fixture carries speed_kn
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
2026-09-29 15:53:12 +00:00
Claude 70ee54eb63 Allow a small margin on the helicopter plot height check
On the CI runner's Chrome the 1280x720 plots come out at 199.2 px against
the 200 px floor; 190 px still catches a collapsed view.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 13:14:41 +00:00
Claude c6699baad9 Let the real-role browser test move on only after the browser checked a role
The host switched roles after a fixed number of presence polls; a slow
runner was still checking the helicopter plots when its view was hidden.
The page now reports the roles it has fully checked. CI runs the real-time
browser session file on two workers of its own.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 12:52:18 +00:00
Claude 61af96afa0 Wait for the helicopter LOFAR layout in the real-role browser test
The LOFAR canvas was measured once right after the role switch; on a slow
runner the layout had not settled yet. Wait for it like the broadband and
DEMON plots.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 11:47:59 +00:00
Claude 29abc6c76e Give the helicopter a surface-search radar (1.3.64)
While airborne with the dipping sonar stowed the helicopter searches from
150 m: ships out to 40 NM, surfaced boats and raised masts inside its
radar horizon, published to the OPZ as RADAR-HELO tracks. The MPA radar
and the helicopter share one sweep (_airborne_radar_sweep); the MPA's
draw keys are unchanged. Helicopter page 2 and the Remote Crew
helicopter view show whether the radar searches.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
2026-09-29 06:05:22 +00:00
Claude 02f35cf5d9 Give the frigate its own ASROC and depth charges (1.3.63)
Weapons station: A fires one of four ASROC at the designated submarine's
observed position (1-10 NM, fresh range) and drops the helicopter's
lightweight torpedo there; Z drops a five-charge pattern over the stern
(20 in the rack, 45 s reload, at least 10 kn) that sinks to the preset
depth and damages by shock factor. Remote Crew weapons page gets both as
direct-fire actions. Saves are now v29 (asw.depth_charges, own_stores).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
2026-09-29 06:05:16 +00:00
Claude f045681c29 Suggest OPZ correlations of two own sensors on one bearing (1.3.53)
U fuses the top suggestion on the uConsole OPZ, Shift+U dismisses it;
the Remote Crew OPZ lists up to four with Fuse and Dismiss.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:16:18 +00:00
Claude d653d2d0d5 Give the frigate an autopilot route with waypoints and search patterns (1.3.52)
Bridge: right click adds a waypoint (up to 8), W starts a zigzag or an
expanding square, Backspace clears; any helm order takes over. Remote Crew
bridge gets an Autopilot route card and a chart mode for waypoints.
Saves are now v28 with the route block.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:15:00 +00:00
Claude 0973b2b58c Phone lookout: browser schema, session roles, tests 2026-09-28 19:00:20 +00:00
Claude 8b1133f306 Sea by line of sight and heading: wave rows run into, down or across the view; pitch and roll by heading to the sea
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
2026-09-28 18:24:23 +00:00
Claude 672277cb83 Tests: bridge lookout block in browser fixtures, splash theme colours
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
2026-09-28 17:15:52 +00:00
Claude 88ac554a7b Directional hearing: pan detonations, echoes and pings by bearing (1.3.32)
Detonations, returning echoes and foreign active pings are placed left or
right of the frigate's or the crewed submarine's head from their measured
bearing, on the uConsole mixer and in the browser (StereoPannerNode). The
frigate also plays a submarine's ping, and the crewed submarine hears a
hunter's ping on its hull. Sound cue rows carry a quantized pan.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 15:28:03 +00:00
Claude 747feff0fd Sonar: variable-depth sonar (VDS) as a third array (1.3.4, save v23)
The frigate gets a towed body that is lowered and recovered with Shift+Y
(3-15 kn, sea state up to 5, lost above 24 kn) and set to 20-300 m with
U/V while it is the selected array. It listens and pings from its own
depth, so below the layer it gains the deep bonus the hull array lacks,
and fusion takes the better of hull and VDS as the unambiguous reference
for the towed array's side. Remote Crew sonar gets the deploy button, the
depth form and the VDS array option. Saves move to v23 for the VDS state;
calibration stays 77/77.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 07:15:23 +00:00
Claude 5c8c191aea Radio room for the crewed boat, aircraft radars in the boat ESM (1.3.1)
- New seventh boat station uboot_radio (uConsole key 7, browser role):
  HQ broadcast every 10 min with a contact report on the frigate, copied
  with the mast up at periscope depth; situation reports go out on HF for
  20 s and can be borne by the frigate's HF/DF; radio log saved.
- Catalog emitters for the helicopter and patrol-aircraft search radars;
  the boat's ESM hears them (helicopter airborne and not dipping, MPA with
  its radar on).
- Save format v22 (crew.radio), app version 1.3.1; help, manual EN/DE,
  web schema and plan updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 04:54:42 +00:00
Claude dcae316dcb U-boat: threat picture, evasion, boat debrief, speech and lessons
- Counter-detection picture from the boat's own measurements: hull,
  dipping and buoy pings with received level, buoy splashes, torpedo
  alarms; Threat page (Command 4, Navigation 2), browser card, chart rays.
- Evasion order (key I, uboot_evade action): stern to the pinger or
  torpedo on the quarter, layer crossing, silent running or decoy.
- Boat debrief (own track, frigate truth, pings taken, spans the frigate
  held the boat), boat outcomes (won, escaped, survived, trained, lost).
- Spoken crew reports from the boat's log when the uConsole plays it.
- Two boat training lessons with a scripted pinging frigate.
- Fix stale browser session fixtures (callouts, mpa, crew).

Save stays exact v21; all new boat state is transient.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 21:05:00 +00:00
Claude 2c34d6da5b Fix the two failing Remote Crew browser tests
- 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
2026-09-27 09:28:02 +00:00
db9979andClaude Fable 5.1 8e34068edb Release 1.3.0: version, release notes, closeout verification
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>
2026-09-27 08:54:02 +02:00
db9979andClaude Fable 5.1 e2efa060f9 Tests: hand-built session mocks carry the observer flag
Browser probes that fake the session body must match the v2 session
schema, which now has the observer field (phase 12).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 05:49:07 +02:00
db9979andClaude Opus 5.5 9e5d32d0c1 Radar: a raised mast or snorkel is a bare blip the OPZ must mark
A submarine at periscope depth with its mast or snorkel up (crew mast,
snorkelling or at radio depth) returns a tiny, clutter-limited echo to
the surface radar. It shows only as a glowing dot without symbol or
track; clicking it (uConsole or browser OPZ) or pressing B marks it
into a radar track that later echoes update. Blips and marks are
transient; the AI and calibration are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 20:13:17 +02:00
db9979andClaude Opus 5.5 064a2fb063 Crewed submarine: six stations (command, sonar, weapons, engine, ESM, nav)
The boat gets weapons, engine room, mast & ESM and navigation stations
beside command and sonar. Each boat order is accepted only from the
station that owns it (fire, wire and decoys from weapons; snorkel from
the engine room; the mast from ESM; plot and course from navigation).
The browser shows each station's cards on the shared boat panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 18:27:23 +02:00
db9979andClaude Opus 5.5 f6b1223c8e Web radio room, admin room and manual pages in the CIC design
- Radio station without the chart: HF/DF bearing scope (strobe fan per
  intercept, logged bearings dashed, own course), HF receiver channels with
  digital frequency, ground/sky-wave badge, S-meter and log button, and a
  message teletype. No contact dock; the contact detail opens under the
  station panel when a channel is selected.
- Radio projection publishes the measured HF carrier (frequency_khz) and
  propagation mode, as the uConsole tooltip already shows; browser validator,
  projection test and schema test updated.
- /admin (setup, login, room, crew, options) and /manual-en|de restyled on the
  shared tokens and fonts; the PDF build keeps its own print stylesheet.
- Fix: the CIC grid now always fills the viewport height (the operations grid
  row no longer collapses to content when the tab list is hidden).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 13:13:54 +02:00
db9979andClaude Opus 5.5 4dd23bc242 Web client: CIC redesign with ES modules and bundled fonts
- 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>
2026-09-26 12:02:01 +02:00
db9979andClaude Opus 5.5 71c6a7e461 Crewed hostile submarine: Remote Crew roles and local U-boat side
- Remote Crew roles "uboot" (command) and "uboot_sonar" bind the living
  hostile submarine with the smallest id; the binding is transient (never
  saved) and hands the boat back to the AI on release, load or reset.
- Manual Sub mode: course/speed/depth orders within the physics limits,
  checked fire (arc, tubes, stores), decoy, active ping, emergency blow.
- SonarStation extracts the operator state; the boat gets its own full
  sonar workstation (observer adapter, frigate acoustic source), audio
  stream and projections with the frigate's shape, without towed array.
- Options page 2 chooses the uConsole side (frigate default, never saved;
  only outside a mission); --play-sub for one launch.
- uConsole U-boat command station in the Bridge layout: shared chart
  geography with the boat, its contacts and own torpedoes, threat bar,
  Navigation (water column) and Weapons & contacts pages, boat log and
  telemetry in the configured bottom band; chart zoom/follow/drag.
- Web: the boat's own torpedoes on the U-boat chart (own_weapons).
- Sonar view reads the active workstation's observer, never the frigate
  truth, while the boat's sonar is shown.
- Tests: determinism with equal entity-id starts, truth guard while
  drawing, chart/page controls, schema with own_weapons, web-host rooms
  hold the nine frigate stations only. Manual EN/DE and help updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 09:16:36 +02:00
db9979andClaude Opus 5.5 5bcb880e6f German umlauts, banner language, own weapons on the OPZ chart
- German catalog: 648 entries move from ae/oe/ue/ss transliteration to
  real umlauts and sharp s (Brücke, zurück, Größe, außerhalb); genuine
  sequences (Feuer, neue, Quelle, Frequenz, aktuell), English words and
  {placeholders} stay. The translator also resolves the old ASCII
  spellings of code literals, in both languages.
- The whole draw pass runs in the game's translation scope: the flash
  banner in the top bar was rendered by the process-wide English
  translator while the game ran in German.
- OPZ shows own commanded weapons: torpedoes from ship, helicopter or
  ASROC (T<n>), ASROC and ESSM on the native chart, and the same torpedo/
  ASROC/Nixie rows in the web OPZ own_assets (strict client schema).
- Commander capture accepts the unpainted sonar and helicopter
  waterfalls (headless virtual time does not run their animation clock);
  web and native screenshots, manual (MD/PDF) and shortcut sheet are
  regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 18:22:55 +02:00
db9979andClaude Opus 5.5 7a5f94a3c2 Save v14: shared chart plot tools (marks, ruler, bearing lines, circles, DR/CPA)
- src/core/plot.py: strict, bounded plot layer (64 objects, 24-char labels),
  chart geometry (bearing/distance, DR position, CPA to own ship)
- uConsole: P toggles plot mode on the Bridge/Weapons/Helo map and OPZ chart;
  M/R/B/C/D tools, arrows/click + Enter, Backspace (Shift: clear), Esc
- Remote Crew: common "plot" projection (field "shape"), plot_add/remove/
  relabel/clear for every station, collapsible plot panel on the map
- Saved as the new root field "plot" (save v14 only; v13 rejected)
- Help, manual (reference chapter) and EN/DE catalogs updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 14:43:41 +02:00
db9979andClaude Opus 5.5 8bbd60aa7b Save v13: operator catalog assignment; manual TAS side; DEMON band, heterodyne, crew overview
- Save format v13 (u-jagd-save-v13): sonar contacts carry the operator's
  catalog assignment (player_profile) and the chosen towed-array side;
  v12 and older documents are rejected without migration.
- F8 contact analyser: Enter assigns the browsed profile to the selected
  sonar contact, Shift+Enter clears it; shown in the contact list and on
  the web (Contacts tab assign button, sonar row field).
- Towed-array left/right is the operator's decision: X shows the other
  side, Shift+X confirms (broadband/fusion pages); an own turn no longer
  resolves it silently, a wrong confirmation stays mirrored.
- Shift+F selects the DEMON carrier band, Ctrl+F the heterodyne shift
  (uConsole and web).
- Web: crew automation overview for all stations (as uConsole F3).
- AGENTS.md/READMEs, manual EN/DE, help keys updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 13:07:40 +02:00
db9979andClaude Opus 5.5 af178338e8 Web/uConsole parity and a hidden raid alert removed
- OPZ: CIWS release projected and settable from the browser (opz_set_ciws).
- Navigation projection carries the turn radius; the web Bridge shows it,
  systems down and threat track references.
- Web chart draws bearing rays from the measuring platform (buoy, dip,
  logged HFDF), as the role map does; sonar rays now appear too.
- Web shows TAS payout/handling window, ESM ambiguity, TMA bearing rate.
- uConsole radio HFDF page lists logged bearings (with observer position)
  and cross-fixes (1 sigma, age) like the Remote Crew radio.
- No "raid incoming" alert: it was derived from the hidden raider
  namespace, i.e. it named an air contact hostile.
- Direct-fire browser test expects the effective radar range (weather),
  matching the deliberate sweep length.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 10:15:26 +02:00
db9979andClaude Opus 5.5 634e26bcb3 Operator assistance setting and manual acoustic analysis tools
- 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>
2026-09-25 08:50:31 +02:00
db9979andClaude Opus 5.5 1a13d5ce5e Real-time only, measured threat cues, status ticker, text fitting, web NATO symbols
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>
2026-09-25 06:52:32 +02:00
db9979andClaude Opus 5.5 b0398d052f Bridge lookout: visual classification and "Bridge lookout" reports
The lookout now reports sightings in up to three steps (Johnson criteria
with binocular gain, scaled by silhouette size): sighted, class (merchant,
warship, carrier, fishing vessel, speedboat, surfaced sub, airliner,
military aircraft) and type (cargo, tanker, passenger, tug, frigate,
destroyer, corvette; warship/military aircraft class name). Classes are
derived from existing catalog keys/categories, so v12 saves and the
catalog snapshot stay valid; the class rides on the saved lookout track
label and is validated on load.

Reports appear as AUSG feed lines ("Brücke/Ausguck: Fregatte ... in 040°"),
torpedo wakes and surfaced subs with a banner, "land in sight" per
landmass. OPZ and chart tooltips show "Lookout: ..."; the web bridge gets
visual_class/visual_type on tactical rows and a bounded sightings list.
Observations only: no operator classification or affiliation, no merchant
names, live traffic indistinguishable. Manual EN/DE, i18n, protocol docs
and tests updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 14:19:32 +02:00