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
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
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>
- 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>
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>
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>
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>
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
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
- 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
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
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
- 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
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
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
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
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
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
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
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
- 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
- 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
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
uConsole frigate ship plan: water level, fire glow and wreck hatching in
the compartments, lamp cards with state/flood/fire LEDs, bars and team
badges, LED legend. Submarine Damage page: compartment mimic with LEDs
and team badges plus lamps for the selected compartment and power.
Browser Damage card: annunciator panel, side view of the ship and
list/trim/total gauges.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161qauFZojcsY5nBpnj1k1C
Frigate: the telegraph becomes a column of lit steps beside a large speed
gauge, shaft RPM and noise gauges and plant lamps; the Systems page gets
an annunciator panel with a master lamp, the fuel bunker as a tank
column, roll/pitch/list gauges and a mimic of the ship's sections with
water level, LEDs and numbered team badges. Submarine: the Plant page
shows speed, battery (depth on a nuclear boat) and noise gauges with mode
lamps; Stores shows tank columns and endurance bars. The shared parts
live in src/ui/console.py (display only).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161qauFZojcsY5nBpnj1k1C
Hits, fire, flooding and gas wound people at the sonar, weapons and
damage-control stations of the frigate and every submarine; empty posts
slow recognition, reloading and repairs. Both sides send the medical
team and re-man the worst station from the resting watches; AI ships
re-man on their own.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ezHkjXB8fqbp1sWev2J9D
Per-type variants from public dimensions (data/unit_models/variants.json),
drawn in the analyser, unit editor and every eyepiece; the lookout,
binoculars and periscope show the type the eye sees. Browser variants load
lazily in three groups. The web client drops a late pushed state older than
its last polled one instead of reconnecting.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC