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
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
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
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
- 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
- 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
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
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
- 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
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
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
The damage-control "Selection & teams" page now shows compartment cards
on the left (state stripe, water and fire lamps, teams on scene), the
selected compartment in the middle and the three repair teams on the
right (destination, on the way with seconds left, on scene or standing
by). A click selects a compartment or a team; Enter still sends it. On
the submarine's Mast & ESM page a click on an emitter row selects it.
Manual (EN/DE), PDFs, station shortcuts, README, changelog and
screenshots updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
EW shows intercept cards left, the threat rose in the middle and the
selected intercept with its signal and lamps right; the radio room has
HF/DF signal cards, the cross-fix chart and the DF rose with the log;
the frigate's Weapons page lists sonar contacts as cards above the
engagement stages. Card clicks select like the arrow keys. Card texts
fit their boxes (size 13 needs 19 px, also on the OPZ and submarine
cards); intercept keys show short (E12).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
Pointer actions are called with the canvas position; the top-bar theme
switch registered a bound method without it and the submarine weapons
contact cards took the position as the contact. Both raised a TypeError
on click. A regression test checks every registered action of the drawn
frames accepts the position.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
Click targets registered by an earlier test's frame in the same worker
could take the press; the test now draws its own frame and skips points
under a clickable target.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
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
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
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