Commit Graph
805 Commits
Author SHA1 Message Date
Claude dd59cd412a Merge branch 'work/manual-e' into claude/project-thread-vth5vz
# Conflicts:
#	data/manual/00-quickstart.de.md
#	data/manual/00-quickstart.en.md
#	docs/manual/handbuch.de.pdf
#	docs/manual/manual.de.md
#	docs/manual/manual.en.md
#	docs/manual/manual.en.pdf
2026-10-03 21:20:49 +00:00
Claude 42ac4e8182 Merge branch 'work/maint-d' into claude/project-thread-vth5vz 2026-10-03 21:19:56 +00:00
Claude 9b5641ed8b Pass the datum in the swept-collision torpedo test
The test built a torpedo without a datum and relied on the removed
truth fallback to enable its seeker; real launches always pass one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 21:18:25 +00:00
db9979 f6f887ab03 Merge pull request #158: server mode crew follows the leader's unit, readable top bar (1.3.190)
Server mode: crew follows the leader's unit, readable top bar (1.3.190)
2026-10-03 23:13:10 +02:00
Claude 33358352f5 Restructure the manual into 21 chapters (quickstart, stations, submarine, reference)
Split the old quickstart/reference walls into Quickstart, Menu, Options,
nine station chapters (Purpose, Pages, Displays, Keys, Mouse, Standard
procedure, Tips, Not modelled), Submarine, Scenarios, Multiplayer, After the
mission, Tools, Editors, Language model, Reference and Glossary. Fix outdated
statements against the code; reader digits 0-9 open the quickstart and the
station chapters.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:59:10 +00:00
Claude 4ddd57db93 Bring plan-1.3 and resume up to the current file layout
plan-1.3.md named save_sonar.py, routes_v2.py, streams.py, sessions.py,
src/sonar/ai_tma.py and tests/test_bottom_types.py, none of which exist;
each item now names where the work actually landed (and the new save
validator modules). resume.md marks the removed Tk starter and
--status-file as gone since 1.3.112.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:45:41 +00:00
Claude ca5ffa8beb Close the latent truth fallback of torpedoes without a datum
A player torpedo without a commanded datum no longer measures the
distance to its hidden target to enable its seeker (it holds its course,
seeker off), and a helicopter drop without a datum runs on the
helicopter's heading instead of aiming at the target. Every launch site
passes a datum and the save validator rejects a running torpedo without
one, so no current behaviour changes; a new test proves both and that
the no-datum paths never read the target object.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:44:36 +00:00
Claude a8e9cb6761 Share the duplicated range, bearing and finite-number helpers
src/physics/geo.py holds the nautical bearing (bearing_deg) and the
distance_nm/bearing_from_frigate pair the entity classes repeated
(FrigateRelativeMixin, no slots or state); the module-level _bearing
copies become aliases of bearing_deg, and the identical strict _number
checks one limits.finite_number. Every expression is unchanged, so
results stay bit-identical. No behaviour change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:44:28 +00:00
Claude e322a63a1b Merge origin/main; fixes become 1.3.190
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 20:44:18 +00:00
db9979 93d626facf Merge pull request #160 from db9979/claude/project-thread-p4ghw0
Restart a silent local sonar stream by itself (1.3.189)
2026-10-03 22:42:53 +02:00
Claude ad6da6807b Narrow the bridge, server and catalog facades to an explicit __all__
__all__ lists exactly the names other modules, tests and tools import
through each facade; re-exports nothing reaches (the private action
handlers, parameter validators and schema helpers) are dropped, the
imports each module uses itself stay. No behaviour change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:37:29 +00:00
Claude 5fe51ea9fb Move Game.reset verbatim into ResetMixin (game_reset.py)
game.py is the composition root only again. The entity classes, Station
and CATALOG stay re-exported for the tests that import or patch them
through src.core.game; the catalog-snapshot tests also patch the new
module's CATALOG. No behaviour change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:24:18 +00:00
Claude 8d26212844 Split SaveMixin._restore_state into one restore step per block
Verbatim moves into private methods in the original order (world and
ship, mission, stores, damage, sensor pictures, helicopter, entities,
torpedoes, links and stations, RNG streams, UI focus). No behaviour
change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:22:10 +00:00
Claude b56fb413c8 Split valid_save_document into one check per save block
Verbatim moves: the 1500-line validator becomes a short sequence of
block checks; the entity groups go to save_validate_entities.py, the
helicopter, buoys and weapons in flight to save_validate_weapons.py and
the inline value helpers to save_validate_common.py. No behaviour change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:17:00 +00:00
Claude 1674776807 Merge remote-tracking branch 'origin/main' into claude/project-thread-p4ghw0
# Conflicts:
#	AGENTS.md
#	CHANGELOG.de.md
#	CHANGELOG.md
#	README.de.md
#	README.md
#	src/core/version.py
#	tests/test_packaging.py
#	tests/test_startup.py
2026-10-03 20:09:16 +00:00
Claude 5cd365da3e Merge origin/main; fixes become 1.3.189
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 20:07:18 +00:00
db9979 8438d291c0 Merge pull request #159: dependable saves and seeds, key scheme and mouse access (1.3.188)
Verlässliches Speichern, gleicher Seed gleicher Ablauf, Tastenschema und Mausbedienung (1.3.188)
2026-10-03 22:05:56 +02:00
Claude 7c7c4bc42c Restart a silent local sonar stream by itself (1.3.189)
Dominik heard the uConsole's sonar fall silent a few times while every
other sound kept playing. The pump now watches its reserved channel:
a queue slot held longer than a block (wedged channel), a channel volume
off its gain outside a fade, an exception in the worker, a dead worker
behind a full queue and a queue nobody drains each restart the stream.
The game restarts listening when its cursor is ahead of the receiver,
and the boat's sonar pans against the boat's own course. The new
counters go to audio_debug.log.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G5Zn9bYHq3uix91HaHR8nQ
2026-10-03 19:58:48 +00:00
Claude b8726c4b13 Retake manual pictures and README screenshots for 1.3.188
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 19:39:49 +00:00
Claude 5b4757dd24 Lobby seating test: the crew moves along when the unit changes
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 19:34:24 +00:00
Claude 8e67a41462 Server mode: crew follows the leader's unit; top bar keeps Add station readable (1.3.188)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 19:11:55 +00:00
Claude 29de403647 Merge remote-tracking branch 'origin/main' into claude/project-thread-vth5vz
# Conflicts:
#	CHANGELOG.de.md
#	CHANGELOG.md
#	README.de.md
#	README.md
2026-10-03 18:56:08 +00:00
db9979 b7aa6ef411 Merge pull request #157 from db9979/claude/project-thread-hx75ke
Server mode: the uConsole only serves, a browser leads (1.3.187)
2026-10-03 20:55:02 +02:00
Claude 26c17005b7 Reflow 1.3.187 notes
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 18:43:44 +00:00
Claude 3f41e3b34b Changelog: mouse access for key-only functions
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 18:43:19 +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 6b8b4c2f81 Merge remote-tracking branch 'origin/main' into claude/project-thread-vth5vz
# Conflicts:
#	CHANGELOG.de.md
#	CHANGELOG.md
#	README.de.md
#	README.md
#	docs/station-shortcuts.de.pdf
2026-10-03 18:42:53 +00:00
Claude 15775291ff Retake the manual figures for server mode
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 18:29:09 +00:00
Claude 6f39eec82f Tests name release 1.3.187
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 18:18:30 +00:00
Claude ee731dd239 Merge origin/main; server mode becomes 1.3.187
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 18:12:48 +00:00
db9979 aad7ee8962 Merge pull request #156: light day scene behind menus and overlays (1.3.186)
Light theme: day scene behind menus and overlays (1.3.186)
2026-10-03 20:11:47 +02:00
Claude 311e4744e6 Release 1.3.186: dependable runs and saves, key scheme and help fixes
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:30 +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 d1679d2142 Merge branch 'work/keys-help' into claude/project-thread-vth5vz
# Conflicts:
#	data/i18n/de.json
#	data/i18n/en.json
#	docs/station-shortcuts.de.pdf
2026-10-03 18:05:08 +00:00
Claude 2be94a995b Server mode docs, release 1.3.186, lobby without the role rail
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 18:01:57 +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 83c60416aa Merge branch 'work/core-stability' into claude/project-thread-vth5vz 2026-10-03 17:58:52 +00:00
Claude 38a409add8 Check and write the periodic and recovery autosave on a background worker
The main thread still builds and serializes the document; one on-demand
worker thread checks the text with the loader's pure validator and writes it
atomically. At most one job waits (a newer autosave replaces a queued one).
Quit waits for the worker; a mission end, reset or load cancels the queued
job and waits for the running one, so no late write lands afterwards.
Outcomes return to the main thread, which records faults in the crash log
and flashes "autosave.failed". The validator takes the OPZ chart size from
the main thread so it never touches pygame off it. Slot saves keep the
synchronous check.

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:32 +00:00
Claude 05931e244c Merge origin/main into server mode
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 17:53:43 +00:00
Claude 07e4d3a472 Server mode: the uConsole only serves, a browser leads the lobby
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 17:53:26 +00:00
Claude ae37bd8f44 Merge origin/main and bump to 1.3.186
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 17:39:29 +00:00
db9979 a3f6741b03 Merge pull request #155: responsive Remote Crew host, per-address login limits (1.3.185)
Remote-Crew-Gastgeber bleibt reaktionsfähig, Login-Sperre je Adresse (1.3.185)
2026-10-03 19:38:06 +02:00
Claude bac5b57076 Release 1.3.185: light day scene behind menus and overlays in the light theme
The main menu and every overlay sat on the dark night splash scene even in the
"Taktik Tag" theme. The splash palette and the menu/overlay veils are now
theme tokens, so the light theme shows a day scene (sun, light sky and sea)
under a light veil. Night values are unchanged. Manual figures and PDFs
retaken.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 17:17:58 +00:00
Claude a8890e1b40 Merge main (1.3.184); release as 1.3.185
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 17:06:35 +00:00
Claude 6c27c21bd2 Release 1.3.184: responsive Remote Crew host
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 17:05:39 +00:00
db9979 a7ce776c9a Merge pull request #154: browser repair-team cards, manual figures retaken (1.3.184)
UI stage 4: browser repair-team cards with names and status, manual figures retaken (1.3.184)
2026-10-03 19:05:36 +02:00
Claude ed2627efa3 Core stability: same-seed draws, checked saves, DR objective line, dead thresholds
- C16: stateless draws keyed on the entity's saved sensor_seed instead of the
  process-global entity id (MPA MAD/radar, helicopter radar, sub radar alert,
  frigate HF/DF noise, raid, scope phase, sub contact report, boat ESM level),
  so a second game with the same seed in one process runs identically.
- C18: save slots, autosave and the crash recovery autosave check the JSON
  text with the loader's size limit and strict validator before writing; a
  rejected document keeps the previous file, is recorded in the crash log and
  flashes a save error.
- C20: the crewed boat's objective lines (custom reach, breakthrough, strait,
  swimmers, homecoming, pickup, datum) use the dead-reckoned position.
- C22: drop thresholds that never trigger (HEARD_S, SUB_REPORT_CONTACT_S);
  manual states the effective 4 minutes for AI contact reports.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 16:57:30 +00:00
Claude 21e968f1ab Remote Crew: keep slow work off the global lock, per-source auth limits
Audit 2026-10-03 (web-remote-crew sections 3-7):

- C8: apply_command_v2 revalidates and claims under the lock, runs apply()
  outside it (main thread only, so the world cannot change in between),
  then records the result in a second short section; an already completed
  command is never applied twice. Web-host setup/login run scrypt before
  the global lock; WebHostAuth has its own small lock.
- C9: publish_v2 keeps (session, epoch) per role and private events keep
  their role, so /proposals, /events and /simlog never re-parse the full
  role state.
- C10: failed logins and pairings are counted per source address (socket
  peer, or the proxy-appended X-Forwarded-For entry with --public-origin)
  in a bounded table; the web-host room no longer rotates its code on
  anonymous failures (the LAN listener still does after five).
- C11: switching stations clears an audio ring only when the switching
  session holds that station's lease, never for observers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 16:10:46 +00:00
Claude 2f25e5b619 Release 1.3.184: web repair-team cards, manual figures retaken in the light theme
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 15:37:39 +00:00
Claude c5fcd00e34 Merge remote-tracking branch 'origin/main' into claude/project-thread-ol70df
# Conflicts:
#	docs/manual/handbuch.de.pdf
#	docs/manual/manual.en.pdf
2026-10-03 15:29:58 +00:00