Commit Graph
17 Commits
Author SHA1 Message Date
Claude aad53c9c6a Short daily mission, remembered length, training progress, decisive line, ribbons
- Daily mission: always the short variant of a scenario that has one; only
  a short daily run files its best. The page names its minutes.
- The mission length last chosen (start menu, lobby, browser) is kept in
  the settings; a first launch without settings defaults to short.
- Training moves second in the main menu, ticks finished lessons (kept in
  the settings, never in a save), opens on the next one with a progress
  line, and N on the end panel starts the next lesson. Three new frigate
  lessons: air defence (an ESSM against a sea-skimmer), ESM (name a
  merchant's radar) and torpedo defence with the Nixie at HALF or FULL.
- End panel of both sides: a line saying what decided the mission, read
  from the finished debrief recording (src/core/decisive.py); none in a
  lesson. The browser debrief shows the same line.
- Logbook: one ribbon per scenario of the side, coloured once won without
  the advisor or the experimental opponent; the browser logbook shows the
  rack and the training dialog the ticks and the next lesson.
- help.py, manual (EN/DE), shortcuts PDF and manual export updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-06 03:32:44 +00:00
Claude 02df76ed9e Browser like the uConsole: sonar pulse/TMA, key parity, radio state, logbook and training
- Sonar: CW/LFM pulse (W) and TMA method (Shift+T) in the browser, same keys
  as the uConsole; the uConsole's W goes through set_sonar_pulse.
- Station keys follow the uConsole's help rows (parity test against help.py);
  + / - is the telegraph everywhere, docks/log move to Alt+, Alt+. Alt+L,
  [ ] no longer step stations; radio, damage and ELOKA get keys; key chips
  are re-marked after each render.
- Radio room: own-call state (on air / waiting / ready, with why) and the
  HF/DF cross-fix chart with error ellipses.
- Host surface: the service record (logbook, awards, known habits) and the
  training lessons (solo only; server mode answers use_lobby).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-06 00:20:34 +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 d2963d4fb1 Console browser test waits for the submarine mission, not only the side switch
The solo new-game dialog switches the side first and sends the new game
after it; the page could finish between the two, leaving the game on the
previous scenario (seen once in CI).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
2026-10-02 01:31:06 +00:00
Claude f494a04ac2 Merge main (Free patrol 1.3.135, save v46) into the group hunt branch
The free patrol stays last on each side, so the group hunts are scenario 11
and the free patrol 12. This branch's releases move to 1.3.136-1.3.140 and
its consort block to save v47 (step _v46_to_v47, frozen v46 samples).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
2026-10-01 23:46:23 +00:00
Claude 080e57dbef Add Free patrol for frigate and submarine (1.3.135, save v46)
An open-ended mission at the end of both sides' scenario lists: no time
limit, endless HQ radio tasks (frigate sector patrols; submarine attack,
landing, supply and recon orders), random encounters (submarines,
merchant groups, air raids, AI hunter leads) and incidents at sea.
Saves move to v46 with a migration step and frozen v45 samples.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RjZYXZVsZ1ryqQ9DkRDrRo
2026-10-01 21:52:53 +00:00
Claude 87ccee7059 Group hunt: a commanded consort destroyer in two new scenarios (save v46)
Scenarios s21 (frigate) and s22 (submarine) put a destroyer beside the
frigate. OPZ page 4 and the Remote Crew OPZ order it (formation station,
search, prosecute, hold, auto, active sonar, weapons free, ASROC). Its
sonar reaches the frigate only as CONSORT fixes and bearing lines. Own
torpedo seekers never home on it. Save v46 adds the root key "consort"
with a migration step and frozen v45 samples. Also documents crew versus
crew in the coop guide.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
2026-10-01 17:03:08 +00:00
db9979andClaude Opus 5.5 bf53a2418e Ten new scenarios: six for the frigate, four for the U-boat (1.3.134) (#125)
* WIP: scenarios 11-20 frame, save v45

* WIP: scenarios 11-20 lists, tests, fixes

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHVLKCa8ASEqrgMzpHu6EU

* Scenarios 11-20: tuning, manual, release notes 1.3.133

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHVLKCa8ASEqrgMzpHu6EU

* Scenarios 11-20: fairness tuning (trail, rescue, RAS, duel, homecoming), docs

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHVLKCa8ASEqrgMzpHu6EU

* Scenarios 11-20: web scenario list bound 32, tests for 1.3.134

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHVLKCa8ASEqrgMzpHu6EU

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-01 15:14:46 +02:00
Claude 81c538e5e6 List scenarios by the side the player chose (1.3.126)
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
2026-10-01 05:47:01 +00:00
Claude b813115069 Start screen, animated silhouettes, web solo side choice (1.3.6)
The start screen becomes an animated night hunt: the frigate F-217 with
turning radar, funnel smoke, bow wave and towed array, the helicopter with
its dipping sonar, and a submarine below the layer that lights up when the
hull sonar pulse reaches it; the title carries "by Dominik Bornhäußer" and
the version. The same scene, dimmed, lies behind the main menu. A shared
silhouette library (src/ui/silhouettes.py) draws detailed class profiles
that pitch, turn radar and rotors and trail a wake; the periscope and the
bridge binoculars use it. In Remote Crew solo mode the New Game dialog now
picks the side (frigate or submarine). Station shortcuts, manual PDFs and
the contact-analysis images are regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 08:10:28 +00:00
db9979andClaude Fable 5.1 a73baaef41 Tests: solo console browser test gets 300 s and its own xdist group
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 00:55:52 +02:00
db9979andClaude Fable 5.1 565ad28a33 Tests: pytest-xdist by default, browser and slow markers, hardware checklist
The suite runs in parallel (-n auto, loadgroup) with Chromium-driving modules
spread over two groups; generation and calibration modules carry the slow
marker. docs/hardware-acceptance.md collects the uConsole checkpoints that CI
cannot answer.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 00:31:10 +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 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 a3b72e9475 Weather & sonar analysis station; frame-rate option, elastic sonar audio, presentation
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>
2026-09-24 09:24:14 +02:00
db9979andClaude Opus 5.5 ca68c9b0c3 Add bilingual player manual with in-game reader and web page
- 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>
2026-09-23 12:52:16 +02:00
db9979 3b3753cf4e Initial Release v1.0.0 2026-09-23 12:10:58 +02:00