109 Commits
Author SHA1 Message Date
Claude 3f69d5bc74 1.3.305: the real night sky of Tiefenkontakt in the eyepieces
The Yale bright stars (986, V < 4.6, packed by Tiefenkontakt) in their real
places for the sector's latitude, the day of the year and the ship's clock,
at their true angles; magnitude, B-V colour, extinction and reddening low
down, twinkling, moonlight, clouds, fog and rain; a seeded faint scatter for
the optics and the Milky Way added in linear light to the shaded sky.
src/ui/stars.py and its browser twin views/stars.js (parity test), sky
fields hour/latitude/day_of_year, docs, manual, figures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUgHR8PXDGer54DH6ie
2026-11-26 14:38:34 +00:00
Claude 6ac8230216 1.3.303: shaded sea of Tiefenkontakt in binoculars and periscope
Port Tiefenkontakt's ocean (wave trains from waves.ts, the ocean shader's
Fresnel sky reflection, deep water, glitter, foam, spindrift, rain and haze)
into the 2D sight pictures (src/ui/ocean.py) and the browser
(data/commander/js/views/ocean.js), shaded in cells and scaled up. The
Economy graphics level keeps the wave rows. The wake is drawn as
translucent churned water over either sea. capture_commander waits for
the engine-room boat to reach snorkel depth instead of a fixed 90 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUgHR8PXDGer54DH6ie
2026-11-26 11:25:11 +00:00
Claude 0cb9b8d4dd Real coasts and mountains on the horizon from ETOPO1 land heights (1.3.302)
The binoculars, the lookout strip and the periscope show the land of every
real sea area at its real height in staggered ranges, coloured by height,
slope and the snow line as in Tiefenkontakt; the browser draws the same
land from a packed profile in the lookout states.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUgHR8PXDGer54DH6ie
2026-11-26 09:19:55 +00:00
Claude 32f134e6fc Tiefenkontakt ship and submarine models in the eyepieces and analyzer (1.3.301)
The ships of Tiefenkontakt (the browser submarine game, Three.js) come
over as polygon meshes for our painter: tools/tiefenkontakt/export_models.mts
writes the opaque triangles of 22 designs from a Tiefenkontakt checkout,
tools/build_tk_models.py snaps, decimates the smooth submarine hulls,
joins coplanar faces of one colour, shares a 40-colour palette and keeps
the navigation lamps (data/unit_models/tiefenkontakt.json.gz, commit
embedded).

src/ui/tk_models.py maps catalog types to designs: corvettes, frigates
and destroyers up to 160 m, container ships, tankers, bulk carriers,
reefers, RoRo/car carriers, general cargo, heavy lift, ferries, tugs,
trawlers and all submarines (79 of 111 types); carriers, cruisers, big
destroyers, cruise ships, auxiliaries and aircraft keep their own models.
Each is stretched to its type's beam and draught; light positions come
from the design. The browser loads one module per design
(views/tk/<name>.js) and stretches it the same way (parity test in
Chromium).

uConsole: a detailed partition is built in a background thread on first
sight while the flat silhouette shows (model_bsp.tree_if_ready), and
eyepiece sprites grow in ~4 % steps (scene_length). By day the models
show their paint (scene_vivid), fading to the steel outline at night and
in haze, on both renderers.

Docs: manual (bridge, editors), changelog, README, notices, AGENTS;
screenshots and manual figures regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUgHR8PXDGer54DH6ie
2026-11-26 08:18:42 +00:00
Claude 43d80ee966 Sonar watchdog: a gap from the mixer's own clock is not a pump gap
Reproduced the CI soak failure under load (2 of 12 runs): with on-time
pump iterations and a full buffer, SDL's starved audio thread fell
behind (the queued block still waiting when the handed-over audio
should have reached it) and then mixed the current and queued block
faster than real time, so the channel ran dry between two iterations.
The engine now tracks when the handed-over audio ends in real time and
counts such an idle channel as channel_idle_clock, like an idle after a
late pump. Drops the unproven stranded/wedged allowance from the
previous commit; keeps the soak's 'when' lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUgE4DkkdXAKDfmCVEy
2026-11-25 20:58:16 +00:00
Claude f9a752eb72 Audio soak: a single recovered mixer stall is not a gap (1.3.300)
main 5d30cef failed the soak with one idle channel after the warm-up while
the pump ran on time. On time, the only paths that count an idle channel
are the pump's stranded-queue replay and wedged-channel restart: the SDL
callback that promotes a queued block waits for the GIL, or the dummy
driver stops advancing, on a loaded runner. The soak now subtracts those
recoveries from the idle count, allows one, fails on a second, and prints
when each counted event happened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUgE4DkkdXAKDfmCVEy
2026-11-25 15:11:36 +00:00
Claude ef1ad8341f Smoke test: the forced TMA submarine stays clear of a shallow real seabed
Seed 1234 now plays the real North Sea (about 40 m); the smoke test put the
submarine at 55 m, under the seabed, and lost the contact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUgE4DkkdXAKDfmCVEy
2026-11-25 13:04:00 +00:00
Claude 483945a8c9 Real ocean: ETOPO1 depths and WOA 2023 surface layer per sea area (1.3.299)
Every real coastline sector gets its real seabed (NOAA ETOPO1, 33 x 33 grid,
mean water depth per ~15 NM cell) and its monthly sea surface temperature
and mixed-layer depth (World Ocean Atlas 2023, decav, 1 degree);
data/coastlines/real_ocean.json.gz is built by tools/build_real_ocean.py.
Fictional shoals stay on the shelf only. Own maps and the fixed region keep
the synthetic sea. The calibration and the mechanics tests run in the
synthetic reference sea (real_ocean.reference_sea); tools/fairness.py gains
--world and --synthetic-sea. Fairness on real sectors: frigate 10/40 with
the synthetic sea, 9/40 with the real one. No save format change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUgE4DkkdXAKDfmCVEy
2026-11-25 12:58:23 +00:00
Claude fb5d252b83 Nightly soak: saves of torpedoes homing on merchants or on a long search run load again
- A hostile torpedo whose seeker holds a merchant (a boat's shot at a convoy)
  saves it as civilian:<id>; the save used to drop the target and was refused.
- A saved torpedo's travel may exceed the catalog range: searching at the
  quiet seeker speed stretches the store (torpedo_dyn.travel_bound_nm).
- Restoring torpedo cues no longer reads a stale loop variable: with no own
  torpedo in the water every load with an audible intercept was refused.
- Soak tool: both loaded copies continue from the same class-wide entity ID
  counters (sharing them in one process faked a divergence); a diverging save
  is kept and its first differing field reported.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtppCtPn57jRcgnW6cBnFR
2026-10-07 11:00:06 +00:00
Claude 180dfb1dcc Audio soak: count mixer starvation after a 2 s warm-up (1.3.287)
main's Tests failed on #219's merge: an 8 s cold first frame on the runner
starved the local mixer once before the stream ran, so 1.3.285 never
released. The soak now takes its baseline 2 s after the first frame
(--warmup); a stall later in the run still fails it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tk5v1FfvkLKPYqPVE98DaY
2026-10-07 02:09:08 +00:00
Claude ed2cb0ac51 Add the talk key: ask the executive officer by voice from every station
Shift+Space at any station of both sides (and in the browser) records a
question, an OpenAI-compatible /audio/transcriptions service turns it into
text and the executive officer answers it as an ordinary question; the
answer shows in a bubble over the station and is spoken by the XO voice.
A KI button in the top bar opens the chat directly. Speech input is set up
on a new page 5 of the Sprachmodell options (off by default, key only in
~/.u-jagd/stt_key or U_JAGD_STT_KEY). The talk key only asks, never orders,
and the noise discipline never hears it. Version 1.3.259.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xRzy1rfrYr4fpd43PyBa8
2026-10-06 16:11:15 +00:00
Claude ca03efbfc6 Add tools/fairness.py: AI-against-AI fairness runs, one process per game
Twenty seeds by default; --crewed runs the submarine as the crewed boat
manned entirely by the crew assist, --short the short variants. Each game
runs in a fresh spawned process so module state never carries over.
A small test covers the argument parsing and one short run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-06 03:29:23 +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 556456ff51 Calibration measures sonar ranges on the reference submarine
The patrol now always brings the old diesel boat, so the sonar ranges of
the golden record were measured against a different hull. Build the
reference AIP boat with the course and sensor seed the mission drew for
both the sonar and the submarine metrics (77/77 again).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 20:43:48 +00:00
Claude 1c76eb7c2e Merge branch 'pkg1-int' into claude/project-thread-wdqjl1 2026-10-05 19:44:17 +00:00
Claude bdec774d70 Merge package 1 (game fixes) onto main 2026-10-05 18:44:21 +00:00
Claude f209743f2b F3 follow-up: the calibration harness builds its reference AIP submarine
The patrol now always draws the old diesel, so the golden metrics of the
AIP boat were no longer measured. The harness builds that boat from the
catalog with the same profile and difficulty instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 16:02:12 +00:00
Claude 6a83d5d80c Make the test suite and web host work on Windows
The Windows pytest job found real Windows bugs: the web host crashed on its
first password (no os.fchmod) and refused its own credential file later
(POSIX mode check), the Remote Crew listener let a second program bind its
port (SO_REUSEADDR), and a fresh Windows settings file paired graphics
"full" with the line switch off. The soak tool now runs without the
resource module and prints POSIX paths. Tests run against the uConsole
graphics default on every platform; the uConsole-only hotspot and updater
helpers are skipped off Linux.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 15:54:20 +00:00
Claude 3594b31073 Merge main (1.3.214) into the release-safety branch, keep 1.3.215
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 15:00:24 +00:00
Claude f7f5462265 Release only after green tests, CI on Windows and Python 3.13, required update checksum (1.3.215)
The publish job now waits for the Tests workflow of its commit and gives up
on a failure, so a red main never reaches the updaters. A failed Windows
build no longer holds back the uConsole/macOS release; older releases are
kept while the new one lacks the Windows program. Windows/macOS updates are
offered only with GitHub's SHA-256 digest. Tests: pytest on Windows and
Python 3.13, browser tests selected by the browser marker, pytest-timeout
with a 15 min default, calibration split per section.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3tXxmJcADkJ8r7XDY1dq8
2026-10-05 14:46:20 +00:00
Claude bdf5afa8a2 Finer coastlines from Natural Earth 1:10m (WIP) 2026-10-05 13:27:06 +00:00
Claude 8ad3738bf8 Give the frigate helicopter a 5-minute start preparation; keep bearing rose labels inside the rose (1.3.195)
The launch order prepares the helicopter in the hangar for HELO_PREP_S
(300 s); it lifts off at the next launch window after that. H again or
the recall stops it; every launch after a landing needs it again. The
AI hunters' own wait before the order is halved to keep their mean time
to launch. Saved as helo.prep_s (save v51, migration step and v50
samples). uConsole and browser show the time left.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PzyBGr4fb4t7wkYb6zpTJH
2026-10-04 11:00:22 +00:00
Claude 66fc80127d Check shipped boat consistency in the catalog validator only
Older save snapshots and user edits keep loading; the packaged data is still
held to its machine and endurance by tools/gen_contacts.py.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-04 08:50:27 +00:00
Claude 7b410ed723 Merge branch 'work/mouse-c1' into claude/project-thread-vth5vz
# Conflicts:
#	data/i18n/de.json
#	data/i18n/en.json
#	docs/station-shortcuts.de.pdf
2026-10-03 18:43:03 +00:00
Claude 0f3dab9df3 Mouse: game menu, overlay close boxes and key chips for key-only orders
- Top bar (frigate and submarine): a menu icon beside the theme switch opens
  a compact game menu (help, options, save/load, weather, plot, autocrew,
  crew assist, simlog, XO, analyzer, Remote Crew, nations, quit); each row
  calls what its key calls. The open menu owns the pointer ("popup" layer);
  a click beside it or any key closes it.
- Every overlay (help, options, save/load, quit, nations, live traffic,
  weather 0, autocrew F3, simlog F4) has a close box acting as Esc; the
  F3/0/F4 overlays now pass clicks to the pointer targets.
- Sonar: chips C/T/G/M/Y/Shift+Y under the contact cards (boat: C/T/M).
- OPZ target page: chips M, G, left/right; group page: Y F H X W Shift+A
  Shift+W hints clickable. ESSM and consort ASROC stay keys (fire by click
  only at station 3).
- Submarine weapons: chips Shift+M, Ctrl+M, V; tube lamps load (M) or
  flood (Shift+M), only at the weapons station.
- help.py, manual EN/DE, station shortcut sheet, catalogs; tests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 18:05:19 +00:00
Claude 3bda344987 Keys and help: one key, one meaning (audit 2026-10-03, P-02..P-19)
- Submarine F (fire by bearing): Enter confirms the distance, only
  Ctrl+Enter fires; the keypad's Enter cell is Ctrl+Enter in that entry.
- F1 page 0 shows the submarine's own global keys on the boat side and
  the menu keys in menus (help.py _UBOOT_GLOBAL_HELP, _MENU_HELP; manual
  markers keys:uboot_global, keys:menu).
- Submarine ESM: C (Shift+C back) classifies, arrows kept.
- Helicopter W: waypoint on the selected contact, as the patrol aircraft.
- W/R/F act only on the main menu and the scenario pages; the real
  sector moves with [ / ], page keys scroll the lists.
- Radio Tasks page: Enter accepts the selected task.
- OPZ page 5: Backspace resets the row, Shift+Backspace every row.
- Submarine order keys ignore Shift/Ctrl unless they have a variant;
  Shift+A at Command sends the active ping.
- Help: OPZ page-3 keys say "Page 3:", "S / L (OPZ: L = fusion)",
  logbook footer with every key (clickable).
- Remove dead STATION_COMMAND_HINTS and its control.hint.* texts.
- Tests for all of the above; manual and shortcut sheet regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 17:58:55 +00:00
Claude d87c16d2ad Merge main (1.3.177 three-column stations); manual becomes 1.3.178
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 12:17:32 +00:00
Claude f5388a4770 Stage 3a: three-column grid for sonar, OPZ and submarine weapons (1.3.177)
Sonar and OPZ get a contacts/tracks card column left, the main display
in the centre and details/controls right. The submarine weapons page
shows contact cards, a fire-control plate and the tube grid. Web
submarine depth canvas no longer overlaps its labels.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 11:07:35 +00:00
Claude fce962200a Manual figures in the light theme with one rerunnable script
tools/capture_manual_figures.py captures uConsole and browser in Tactical
Day, keeps exactly the pictures the manual uses in docs/manual/figures and
rebuilds the Markdown and PDF manuals. README screenshots retaken in the new
design.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 10:13:16 +00:00
Claude 33fd94c037 Merge main (1.3.176 colour themes); manual becomes 1.3.177
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 10:03:00 +00:00
Claude faf45607b7 Merge main 1.3.175; stage 1 becomes 1.3.176, red light greys the colours
Under the red light every themed colour turns to its grey brightness
(uConsole palette and a generated web token block), so the new green
accent no longer goes almost black under the red multiply. README
screenshots, manual PDFs and the station shortcuts are regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 09:32:15 +00:00
Claude 01158bf464 Colour themes: Tactical Night and Tactical Day with shared tokens (1.3.175)
One set of semantic colour tokens (src/ui/theme.py) drives the uConsole
and, generated into tokens.css, the Remote Crew browser. Night (default),
day (light, paper LOFARgram waterfall) and high contrast; a Dark/Light pill
in the top bar and the Options row switch it, red light forces night. The
theme is a preference only, saves stay v50. Panels are rounded with an
accent title mark, tabs are pills and key hints chips.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 08:51:39 +00:00
Claude 7d7cf1aa8a WIP manual figures 2026-10-03 08:48:26 +00:00
Claude 7f5f2a523a Fix review findings: web observer, key leaks, sub drift, dead code, help texts (1.3.173)
- Remote Crew: observer admin action allowed, direct fire for U-boat weapons,
  U-boat station help texts and manual links, select controls not rebuilt
- Keys: Shift+A / Ctrl+R at Weapons never fire, Shift+A on the U-boat never
  toggles silent running
- Simulation: lurking submarine steers into the current, decoy speed units
  in the sonar Doppler term
- Remove dead functions, constants and imports found by the audit
- Help and catalog wording (Submarine/U-Boot, German grammar), shortcut sheets

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 07:10:08 +00:00
Claude 5bf595d336 OPZ: richer chart and a Display page of settings (1.3.169)
Page 5 (Display) sets track trails, vector length, labels, a bearing
scale with the own course, range rings, bearing lines, furthest-on
circles, depths and grid, radar afterglow and the selected track's CPA.
Arrow keys or clicks set them, chips under the chart switch layers on
every page, and settings.json keeps them. The browser OPZ gets the same
buttons and drawing (trails from the chart history in the projection).
Display only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjEy6GJs4wG9N9DMGGNA9X
2026-10-03 05:02:44 +00:00
Claude 19b6d551f8 Merge origin/main (1.3.163) into the branch
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 22:28:04 +00:00
Claude 6b7b394a99 Click status lamps, key hints and readings to trigger their keys (1.3.163)
Status lamps, key hints in station text, page tabs, list rows and the
bottom status line readings now act on a mouse click on both sides, by
sending the same key event as the keyboard (fire stays clickable only at
the weapons station). The submarine's sonar takes clicks, the element
under the mouse gets a thin frame, and Remote Crew sonar, helicopter and
engine lamps press their buttons. Manual, help, shortcut sheet,
changelog and README updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017N4wRun1ibqyXWHJDrTqVv
2026-10-02 21:52:00 +00:00
Claude bde6304657 Soak: diagnose and keep saves that do not load; soak every scenario
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 21:13:11 +00:00
Claude 917226ee6a tools/bench_draw.py: headless frame-cost benchmark of every station on both sides
Times game.update and game.draw separately at each frigate station and each
boat station page (sonar room included), optionally with silent running
and a cProfile of one side's draws.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155H3YRuWcMBKL8jqWWBEZn
2026-10-02 05:36:47 +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
Claude ced280cda0 Nightly soak test; fix loading a boat save with a selected contact (1.3.128)
tools/soak_game.py plays every scenario on both sides with a seeded random
operator, checks save/load continuation and memory; .github/workflows/soak.yml
runs it nightly and files an issue on failure. Its first run found that the
crewed boat's selected sonar contact was looked up by the wrong key on load.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
2026-10-01 05:49:47 +00:00
Claude d6565fca00 Older saves load again: lift v38-v43 saves to v44 (1.3.127)
src/core/save_migrate.py lifts a save of format v38 (1.3.98) or newer step
by step to the current format; the strict validation and candidate restore
then run as for any save. Frozen samples written by the real releases of
each older format (tools/make_save_sample.py, catalog split off) are loaded
and played on by tests/test_save_migrate.py. The update notice warns about
saves only when the new release cannot lift them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
2026-10-01 05:32:47 +00:00
Claude 138c373319 Fix two CI flakes: random incident in the snorkel test, host stalls in the audio soak
test_snorkel_valve_stops_charging_and_battery_gas_halves_it failed 5 of 40
runs: start_new_game() draws a fresh seed, so the random incident timer could
start another gas or valve incident at the gas's end time. The test now
counts only its explicit incidents.

The audio soak failed on 'mixer channel idle events: 1' after a 3 s first
frame on CI: the worker was starved, the gap was the host's. A dry channel
after a late iteration is now counted as channel_idle_late beside pump_late.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
2026-10-01 05:24:37 +00:00
Claude 5f6c443920 Towed buoy antenna for the submarine (1.3.122, save v42)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WNUMLgbMpcvSCHdNehwvh
2026-09-30 20:43:35 +00:00
Claude 955fa9e0dd Smoke test: the custom difficulty now leads to the briefing
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WNUMLgbMpcvSCHdNehwvh
2026-09-30 19:15:31 +00:00
Claude a7f7fa89a8 Show water columns, fire, smoke and sinkings in the eyepieces; moving chart marks
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017YR7xGwbpmkYJFGyiMJBvo
2026-09-30 16:09:26 +00:00
Claude 9a1258c3a1 1.3.113: full mouse control, chart history, label layout, merchant lanes
- uConsole fully playable by mouse: key-bar legends, station tabs, dials,
  numeric keypad, clickable menu/dialog rows, wheel and right-click cancel
- Charts draw own track, earlier contact positions and bearings (display only)
- Chart labels are placed without overlapping (uConsole and web)
- Cargo ships, tankers and passenger ships run lanes between ports and edge
  exits, give way under COLREG-style rules and flee nearby detonations
  (stateless, no save change)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JrUuYqTA8k76Uf572FDStg
2026-09-30 14:23:05 +00:00
Claude 3652ddf4ca Start straight into the game: --multiplayer flag, no Windows starter window
- main.py: one --multiplayer flag opens the multiplayer lobby after the
  splash, as the main-menu entry does; --remote-crew stays as a hidden
  alias, --solo-crew as a hidden advanced flag (the only way into solo
  mode); --play-sub and --status-file are removed.
- Windows: U-Jagd-Windows.exe runs main.main() directly (a leading --game
  is ignored), removes a stale <exe>.new first, passes the game's exit code
  through and runs update.launch_install on update.UPDATE_EXIT_CODE when a
  downloaded <exe>.new exists. The Tk starter (src/launcher/app.py), its
  GUI self-test, tests and all launcher.* catalog keys are gone; the
  PyInstaller spec excludes tkinter.
- CommanderConsole no longer writes a launcher status file.
- README usage sections, coop docs, manual (EN/DE) and AGENTS.md updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
2026-09-30 11:27:57 +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