Commit Graph
9 Commits
Author SHA1 Message Date
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 28cdbe6c03 Boat atmosphere: hull creaks, heard detonations, red light in silent running (1.3.22)
The crewed boat hears its hull creak deep down and crack when it fails,
hears detonations close aboard or far off (logged with a bearing), and
rigs its uConsole and browser screens for red light in silent running.
The boat's browsers get its own cues; the SAR alarm cue is now known to
the browser.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 12:19:22 +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 b7c5697112 Add spoken crew reports on the uConsole (espeak-ng) and in Remote Crew browsers
Important feed events (torpedo in the water, new contact, breaking-up
noises, torpedo away, hit, action stations, patrol aircraft on station,
mission result) become transient callouts with bearings spoken digit by
digit. The uConsole speaks through an installed espeak-ng behind a new
option (off by default, silent without espeak); browsers get the
callouts in the common audio block and speak them with SpeechSynthesis
in their own language behind a per-viewer switch. Frigate roles only.

Also moves the main-menu test indices past the new Training and
Campaign entries.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 20:03:15 +00:00
Claude bbb3345e9a Boat Mast & ESM station: emitter list, cross-fix, mast warning (stage B)
The crewed boat's mast now intercepts real radar signals through
scan_for_signals with the boat as observer. The crew keeps an emitter
list (fingerprint association, agile hops merged), classifies emitters
against the library, sees the bearing history, a Gauss-Newton cross-fix
from own motion with a 95 % error ellipse, the level trend, a warning
when a radar can see the mast and a recommended mast time from the sea
state. Bearing lines and fixes appear on the boat chart and web map and
can be transferred to the boat plot. Save format v18 (crew.esm).

The uConsole boat contact list shows quality as a percentage instead of
the bare "q0.98".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 12:37:40 +00: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