59 Commits
Author SHA1 Message Date
Claude 33311ac3a4 Publish job waits up to 100 min for the tests
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 17:56:34 +00:00
Claude 319edb9f67 CI: room for the main suite on a busy runner (70 min)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 17:56:23 +00:00
Claude b1635fe6ec CI: browser tests in their own job beside the main suite
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 17:07:39 +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 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 281b955a5c Drop the Intel macOS build (Apple silicon only)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-04 18:37:45 +00:00
Claude 25f32f7753 Close the remaining audit points C4, C14, C21a, C21b
- 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
2026-10-04 10:34:51 +00:00
Claude ff7f193580 Merge main (1.3.172 microphone); macOS update fix becomes 1.3.173
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTvq68YWzbEc9Yj9uKXSsM
2026-10-03 06:47:51 +00:00
Claude 940201e076 macOS app: verify HTTPS with bundled root certificates, show failed update checks (1.3.172)
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
2026-10-03 06:43:52 +00:00
Claude 40a85e9fb7 Merge branch 'worktree-agent-a78cbc6ef751485a3' into claude/project-thread-xd4r0v 2026-10-02 23:58:22 +00:00
Claude 124fd51a8f Add a macOS app built and released like the Windows program
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
2026-10-02 23:45:13 +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 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 afcd2f0aea Merge origin/main (in-game update notice) into item3
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
2026-09-30 11:33: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 04e8c4f7f5 Run the Chromium tests in a CI step of their own on two workers
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
2026-09-29 13:47:56 +00:00
Claude c6699baad9 Let the real-role browser test move on only after the browser checked a role
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
2026-09-29 12:52:18 +00:00
Claude 5fba6e000c Merge main (1.3.75 tag cleanup); release as 1.3.76
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 12:36:50 +00:00
Claude 9545789f80 Remove older version tags with their releases (1.3.75)
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
2026-09-29 11:25:15 +00:00
Claude df527fb9e0 Autopilot path search, test CI, flaky browser fixes, hardware report (1.3.74)
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
2026-09-29 11:07:06 +00:00
Claude 68f8171621 Fix the Windows self-update swap (1.3.73)
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
2026-09-29 08:54:43 +00:00
Claude 5760a32141 Merge main (1.3.64); these releases become 1.3.65 to 1.3.69
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
2026-09-29 06:44:58 +00:00
Claude ff68aff14f Let the radio room request a supply ship and transfer stores in loads (1.3.67)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
2026-09-29 06:24:38 +00:00
Claude 11aa569f6d Merge main (1.3.63 pairing); this release becomes 1.3.64
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ukuhq9bJPFqRV4JdaSWNk2
2026-09-29 06:17:13 +00:00
Claude bfc4d51285 Compare course, speed and class in OPZ correlation and add AIS (1.3.66)
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
2026-09-29 06:13:59 +00:00
Claude 735d8adfa9 Let HQ send the crewed submarine orders, received by VLF (1.3.65)
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
2026-09-29 06:09:19 +00:00
Claude 29abc6c76e Give the helicopter a surface-search radar (1.3.64)
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
2026-09-29 06:05:22 +00:00
Claude 02f35cf5d9 Give the frigate its own ASROC and depth charges (1.3.63)
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
2026-09-29 06:05:16 +00:00
Claude ae2bb7c0bb WIP: 1.3.63 docs, notices, screenshots 2026-09-29 06:04:48 +00:00
Claude 147b102171 Merge main (1.3.62 autopilot chart); this release becomes 1.3.63 2026-09-29 06:00:50 +00:00
Claude 891fb2d127 Let the autopilot plan around charted shoal water and land (1.3.62)
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
2026-09-29 05:27:09 +00:00
Claude 272c763e56 Pairing code: read it as people type it; wrong code only for a wrong code (1.3.61) 2026-09-29 05:25:05 +00:00
Claude b5207b6a4c Let Unit Editor profiles and running enemy torpedoes take effect in custom missions (1.3.61)
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
2026-09-29 05:08:16 +00:00
Claude 1af3719ba3 Balance: fuze at closest approach, faster hostile torpedo, feasible submarine missions (1.3.60)
- 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
2026-09-29 03:56:57 +00:00
Claude db08e5bd49 Merge main (1.3.50 LAN pairing fix) and move this series to 1.3.51-1.3.59
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 21:01:01 +00:00
Claude 2aa8e14451 Merge main (1.3.49 aircraft elevation) and move this series to 1.3.50-1.3.58
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:41:12 +00:00
Claude 0ee64c8257 Split the radar picture out of the simulation step and the station actions out of the Remote Crew bridge (1.3.56)
Verbatim moves: game_sim.py -> game_radar.py (RadarPictureMixin),
commander/bridge.py -> commander/actions.py (re-exported). Correct the
1.3.43 changelog entry, which repeated 1.3.42.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:23:16 +00:00
Claude 8bae3cc9dc Greet a first launch with a choice of frigate, submarine, Remote Crew or menu (1.3.55)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:19:01 +00:00
Claude cdce6db7d5 Let the submarine crew speak torpedo away, detonations, breakup, broadcasts, sightings, test depth, hits and the result (1.3.54)
Every spoken report comes from a line already in the boat's own log.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:18:41 +00:00
Claude f045681c29 Suggest OPZ correlations of two own sensors on one bearing (1.3.53)
U fuses the top suggestion on the uConsole OPZ, Shift+U dismisses it;
the Remote Crew OPZ lists up to four with Fuse and Dismiss.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:16:18 +00:00
Claude d653d2d0d5 Give the frigate an autopilot route with waypoints and search patterns (1.3.52)
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
2026-09-28 20:15:00 +00:00
Claude ef00548eb1 AI hunters take an ESM bearing on a submarine mast radar as the search line (1.3.51)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:13:17 +00:00
Claude 2bd840103b Test every published role state with the browser's validators in Node (1.3.50)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:12:57 +00:00
Claude 0ed16ffca6 Reload a Remote Crew page once after a host update (1.3.49)
The host sends X-U-Jagd-Version on every reply and names its version in the
served page; a page from before an update reloads itself once.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:12:23 +00:00
Claude 6ba8ec38b5 Autosave the running mission and offer Continue in the main menu (1.3.48)
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
2026-09-28 20:11:53 +00:00
Claude f234875bf3 Merge main; release 1.3.44
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W93y3191deGkQuh8d8QzSQ
2026-09-28 18:12:19 +00:00
Claude 3c21f2db4c Merge main; release 1.3.43
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W93y3191deGkQuh8d8QzSQ
2026-09-28 18:11:35 +00:00
Claude 46b5d237b3 Release clean-up: strip Windows line endings from tags (1.3.43)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 18:09:27 +00:00
Claude f2cfcb713e Keep only the newest GitHub release (1.3.42)
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
2026-09-28 18:04:24 +00:00
Claude 0931b33495 Merge main; release 1.3.42
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W93y3191deGkQuh8d8QzSQ
2026-09-28 17:57:07 +00:00