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
- LFM: equal energy to CW, so no gain against noise; its pulse-compressed
range cell cuts reverberation by 20 dB instead.
- Passive: the reference absorption credit of the torpedo-hearing figure
of merit sits outside the 0 dB path-excess bound and is no longer lost.
- Free patrol: a neutral submarine costs the frigate only when its own
torpedoes, depth charges or rockets sink it; a boat brought back as a
new encounter takes a new identity and the frigate drops what it held
on the old one.
- Release workflow: jobs time out after 30 min so a hung self-test no
longer blocks the release queue for hours.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
The app's built-in Python looked for root certificates in the build
machine's Python folder, so every update check failed verification and no
notice appeared. Windows and macOS programs now bundle certifi and add it
(and macOS /etc/ssl/cert.pem) to the default store for the update check,
the language model and live traffic. A failed check now shows its reason
on the start screen and main menu; U checks again. CI runs --tls-self-test
on both programs, on macOS with OpenSSL's default paths pointed nowhere.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTvq68YWzbEc9Yj9uKXSsM
The release workflow (windows.yml) now also builds U-Jagd.app with
PyInstaller (packaging/macos) natively for arm64 (macos-latest) and
x86_64 (macos-15-intel), since pygame and NumPy publish no universal2
wheels, self-tests it (mission + Remote Crew, the bundle swap, and the
zip as the in-game updater unpacks it) and zips it with ditto as
U-Jagd-macOS-<arch>.zip. A single final publish job creates the release
and uploads the Windows exe and both zips, then prunes older releases,
so the builds never race.
The frozen macOS app updates itself: it downloads the zip for its
processor (size and SHA-256 checked), unpacks it safely beside the
bundle (confined paths and links, bounded size, modes 755/644) into
<app>.update, and a detached sh script swaps the bundle after the game
quits (old bundle renamed aside, restored on failure, deleted only once
the new one is in place) and reopens it. Translocated or unwritable
bundles open the release page. ~/.u-jagd is never touched.
Remote Crew on macOS: SIOCGIFADDR is Linux-only, so the LAN address now
comes from the routing table there (and whenever no private interface
address was found).
README (EN/DE) gains a macOS app section with the first-start step;
the quickstart manual chapter mentions the macOS update.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
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
The Tk starter stays deleted: the frozen game installs updates itself
("windows" mode); src/launcher/entry.py takes over the starter's
UPDATE_EXIT_CODE hand-over (fetch <exe>.new if missing, launch_install).
main.py keeps --multiplayer and passes mode None to start_update_check;
launcher.* catalog keys stay removed next to the new update.* keys.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
- 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
Under the full parallel suite the runner starved the real-time and
virtual-time browser probes (a different one timed out each run). The
real PTT voice probe also gets more virtual time to pair and connect.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
The host switched roles after a fixed number of presence polls; a slow
runner was still checking the helicopter plots when its view was hidden.
The page now reports the roles it has fully checked. CI runs the real-time
browser session file on two workers of its own.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
After deleting the older releases, the Windows workflow now also deletes
every git tag vX.Y.Z older than the current version, so only the newest
release and its tag stay on GitHub. The uConsole updater fetches only the
tag of releases/latest. Tags of another form (backup tags) are kept.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
The autopilot falls back to a bounded A* chart search when a stand-off
detour does not clear a leg (channels, bays, long coasts). GitHub runs
the suite with Chromium plus the generated-file checks, calibration and
smoke test on every change. The phone lookout keeps its eyepiece when the
boot /session 401 arrives after pairing; the status bar check loads the
bundled fonts and measures on a timer. Manual: the AI hunters, not the
frigate, lack ASROC. tools/hw_report.py summarises a uConsole debug run.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
The install script paused with `timeout`, which exits at once when stdin
is redirected, so its retries ran out while the old exe was still
running: the download stayed as U-Jagd-Windows.exe.new and the old
version restarted. The script now waits with ping and retries the move
for about two minutes until both PyInstaller processes are gone, the
starter deletes a leftover .new file, and the Windows workflow tests the
swap with --update-self-test.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
Suggestions now also gate on course (35 deg when moving), speed (4 kn plus
a quarter) and operator classification (must agree; AIS never with a
submarine, biological or aircraft class), and agreeing classes rank
higher. Received AIS reports become OPZ reports of their own (reported
position dead-reckoned by COG/SOG, name) and a fusion carries its
members' course and speed. Saves are now v31 (AIS rows keep x/y).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
The boat's VLF loop copies the broadcast below the mast down to 25 m (60 s
instead of 20 s, receive only). From broadcast 2 on a broadcast may carry
an HQ order while none is open (deterministic per seed and number, at most
4): proceed to an area in deep water, send a situation report, or keep
radio silence, each with a deadline. Radio page, chart and the Remote Crew
radio card show the open order. Saves are now v30 (crew.radio version 2).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
While airborne with the dipping sonar stowed the helicopter searches from
150 m: ships out to 40 NM, surfaced boats and raised masts inside its
radar horizon, published to the OPZ as RADAR-HELO tracks. The MPA radar
and the helicopter share one sweep (_airborne_radar_sweep); the MPA's
draw keys are unchanged. Helicopter page 2 and the Remote Crew
helicopter view show whether the radar searches.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
Weapons station: A fires one of four ASROC at the designated submarine's
observed position (1-10 NM, fresh range) and drops the helicopter's
lightweight torpedo there; Z drops a five-charge pattern over the stern
(20 in the rack, 45 s reload, at least 10 kn) that sinks to the preset
depth and damages by shock factor. Remote Crew weapons page gets both as
direct-fire actions. Saves are now v29 (asw.depth_charges, own_stores).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
New waypoints and search patterns get detour points around shoal water or
land on the chart, or a feed warning; while a route runs the autopilot
looks ahead once a second and adds a detour or turns back.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
User profiles named by a mission join that mission's runtime catalog and
its save snapshot; a user submarine clones the systems of the built-in
boat of its propulsion. A placed enemy torpedo runs from the start.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
- Torpedo proximity fuze fires at the predicted closest approach instead of
on entering its radius (was 12-18 % damage at 250-370 m).
- Hostile torpedo 40 kn / 20 NM (was 28 kn / 30 NM, slower than the frigate).
- AI submarine attacks a located frigate within 10 NM even when quiet.
- Breakthrough goal 5 NM beyond the frigate, recon 3 h, convoy 8 kn with the
submarine starting about 14 NM ahead of it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0194kecE5NRxPM7veWbU8eiR
Bridge: right click adds a waypoint (up to 8), W starts a zigzag or an
expanding square, Backspace clears; any helm order takes over. Remote Crew
bridge gets an Autopilot route card and a chart mode for waypoints.
Saves are now v28 with the route block.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
A running mission is written to ~/.u-jagd/autosave.json every 5 minutes
(serialized on the main thread, written in the background) and on a normal
quit or when leaving it for the main menu. The main menu then leads with
Continue mission. A finished or new mission deletes the autosave.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
After publishing v<APP_VERSION> the Windows workflow deletes every older
release (git tags stay). tools/prune_releases.py picks only vX.Y.Z tags older
than the current version, never a newer one. Both updaters read only
releases/latest.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h