Commit Graph
52 Commits
Author SHA1 Message Date
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
Claude c2e353d61f Merge main; release 1.3.41
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W93y3191deGkQuh8d8QzSQ
2026-09-28 17:55:21 +00:00
Claude 13318f3534 Add in-game bug report that opens a prefilled GitHub issue (1.3.40)
"Report a bug" in the main menu writes ~/.u-jagd/bug-report.txt (version,
platform, crash-log tail with user paths anonymized) and shows a QR code
for a prefilled GitHub issue; Enter opens the issue with the log in a
browser. A crashed previous launch preselects the entry. The Windows
starter and the web settings/admin pages link to the same issue form
(.github/ISSUE_TEMPLATE/bug.yml). The crash log now notes mission starts.
No credentials are embedded; the player submits the issue themselves.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YUQrorX7mmqsn6iP1fg7qx
2026-09-28 17:52:55 +00:00
Claude d95e9bf8b8 Merge main (boat campaign 1.3.16); Windows update fix becomes 1.3.17
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:51:02 +00:00
Claude 1168b9170a Merge main (convoy attack 1.3.15); Windows update fix becomes 1.3.16
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:48:05 +00:00
Claude 78864ba005 Merge main (boat missions 1.3.14); Windows update fix becomes 1.3.15
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:30:24 +00:00
Claude 2e8afa7279 Windows self-update restarts cleanly; starter links Buy me a coffee (1.3.14)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:21:38 +00:00
Claude e3aba27cc9 README: current screenshots, latest release only; history in CHANGELOG (1.3.12)
Regenerate the uConsole (1280x720, now including the seven submarine
stations) and Remote Crew browser screenshots, embed both in the EN/DE
READMEs (the German one now uses the German images), and move the release
history into CHANGELOG.md / CHANGELOG.de.md. tools/changelog_notes.py prints
a release's entry for the GitHub release text and checks the rule;
capture_commander's lobby check counts the nine visible frigate cards.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HWJsfpgUP5DoVqBjzNbQoj
2026-09-28 09:55:36 +00:00