Commit Graph
63 Commits
Author SHA1 Message Date
Claude 42ac4e8182 Merge branch 'work/maint-d' into claude/project-thread-vth5vz 2026-10-03 21:19:56 +00:00
Claude 4ddd57db93 Bring plan-1.3 and resume up to the current file layout
plan-1.3.md named save_sonar.py, routes_v2.py, streams.py, sessions.py,
src/sonar/ai_tma.py and tests/test_bottom_types.py, none of which exist;
each item now names where the work actually landed (and the new save
validator modules). resume.md marks the removed Tk starter and
--status-file as gone since 1.3.112.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 20:45:41 +00:00
Claude 7c7c4bc42c Restart a silent local sonar stream by itself (1.3.189)
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
2026-10-03 19:58:48 +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 dd56b98b42 Merge main (1.3.85, save v32) and release as 1.3.86
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
2026-09-29 18:12:42 +00:00
Claude ac88386aed Stepped deckhouses, wheelhouses with bridge wings, streamlined sails
Deckhouses rise in deck tiers (warships drawn in and raked, passenger ships in
terraces, merchant ships with a short wheelhouse and bridge wings); submarine
sails are lofted with a round leading edge. Screenshots, manual PDFs and
release notes updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
2026-09-29 17:32:51 +00:00
Claude 6c98598c5b Merge main (1.3.84); release as 1.3.85
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
2026-09-29 17:25:31 +00:00
Claude 2852c06338 Release 1.3.84: solid 3D models; screenshots, manual PDFs, changelog
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
2026-09-29 17:24:52 +00:00
Claude a7ae4a49be Merge main (1.3.83); release as 1.3.84
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 16:58:46 +00:00
Claude a57bd30625 Merge main; release as 1.3.80
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
2026-09-29 15:48:07 +00:00
Claude 9b49e083f8 Give every ship, submarine and aircraft type its own 3D model
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
2026-09-29 15:47:27 +00:00
Claude d7aeec7837 Merge main (1.3.78 3D models); release as 1.3.79
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 14:14:22 +00:00
Claude c09a5bf5ce 3D models in the lookout, binoculars and periscope, turned by the judged angle on the bow
The lookout and the periscope crew judge a made-out ship's angle on the bow
in 10 degree steps (transient, never saved); the eyepieces on the uConsole,
in the browser and on the phone draw the analyser's model turned by it from
16 px, cut at the waterline, with the navigation lights projected.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
2026-09-29 13:24:23 +00:00
Claude f1d91f06fc WIP: 3D models in the analyser and unit editor (1.3.78) 2026-09-29 13:11:12 +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 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 8a87edcc26 Merge main; release 1.3.36
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JnHejbUDyia6RJESsBKnhm
2026-09-28 16:42:04 +00:00
Claude 30b2ca522c Sonar audio: recover a queued block stranded on an idle mixer channel
pygame's endsound_callback reads the channel queue without the GIL; a
Channel.queue() landing in that window leaves the channel idle with a
sound queued forever, and the buffered sonar pump waited for that queue
slot for good (silence until audio was toggled off and on). The pump now
replays such a stranded sound after seeing it on two iterations, and
play_sonar restarts a dead sonar worker. audio_debug.log reports both.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JnHejbUDyia6RJESsBKnhm
2026-09-28 16:41:49 +00:00
Claude 9a56c8bb07 Skip the uConsole update check when offline (1.3.26)
A threaded TCP probe to github.com:443 (or the HTTPS proxy) decides within
2.5 s, even when name resolution hangs; offline, the launcher skips the
whole update check and starts the game at once. git network calls run with
a 60 s timeout, no credential prompt and a low-speed abort.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i
2026-09-28 12:59:36 +00:00
db9979andClaude df3a0c7100 Tidy documentation, release 1.3.25 (#48)
Claude-Session: https://claude.ai/code/session_01BaSSauHUiPFtNTbLECdtxW

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-28 14:58:05 +02:00
Claude 7fc3fac809 Merge main into the overlay branch; release 1.3.23
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 12:27:30 +00:00
Claude 3819b9ce90 Merge main into the overlay branch; release 1.3.22
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 12:26:46 +00:00
Claude 1d2be2a47d Release 1.3.21: overlays in the start screen's look
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 12:23:53 +00:00
Claude 51aee3a3ec uConsole start window and single-instance start (1.3.19)
The launcher now opens a small start window at once that shows the current
step (checking/downloading/installing the update, starting) and closes when
the game presents its first frame (the game closes the inherited pipe via
src/core/launch_signal.py). The lock file names its holder, so a second
start while U-Jagd is starting or running shows "already running" instead
of opening the game twice, and a start during the background update waits.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i
2026-09-28 11:39:05 +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 bf36c0f35b Screenshots: render after three simulated minutes, editor with example mission (1.3.13)
The uConsole captures ran six simulated seconds, so waterfalls, plots and
contact lists were nearly empty, and the Mission Editor showed an empty
library. Warm up for 180 s, save the packaged editor template into the
temporary user store, add the seeded-preview capture, and link the menu and
editor views from both READMEs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HWJsfpgUP5DoVqBjzNbQoj
2026-09-28 10:03:02 +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
Claude adf7abe3b8 Merge main (installer 1.3.10); Windows program becomes 1.3.11
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 09:39:17 +00:00
Claude e15489118a Merge main (uConsole installer 1.3.9); Windows program becomes 1.3.10
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 09:37:57 +00:00
Claude a5f33e547d Installer: update a checkout that predates it (1.3.10)
An existing ~/games/u-jagd older than 1.3.9 has no u_jagd_updater.py, so
install.sh stopped with "can't open file". It now fast-forwards such a
checkout to main first (only on branch main, never over local changes).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i
2026-09-28 09:35:52 +00:00
Claude c0931c0b98 uConsole installer with automatic updates (1.3.9)
One-command installer (curl ... | sh) for the uConsole: clones or adopts
~/games/u-jagd, creates the venv, a menu entry, a desktop shortcut, the
u-jagd command and a systemd user timer. Every start first updates to the
newest GitHub release (tag vX.Y.Z, same source as the Windows starter),
falls back to origin/main without releases, starts the installed version
offline, and rolls back a version whose main.py --version fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i
2026-09-28 09:28:23 +00:00
Claude 88f5132f22 Support link, guides brought up to date (1.3.8)
Support: a QR code of buymeacoffee.com/zquu1xu570 in the uConsole main
menu (src/ui/support.py, rows generated offline by
tools/gen_support_qr.py), a small link on the Remote Crew pairing, lobby
and settings screens and the web-host admin page (never inside
#operations), .github/FUNDING.yml and a badge and Support section in both
READMEs.

Guides: the reference chapter lists 31 kn, VDS +/-4 deg and a VDS glossary
entry and how a solo browser picks the submarine; the READMEs list the VDS
keys and the mission editor's actual runtime subset (the DE README gets its
missing 1.3.1 paragraph and current versions); the co-op, protocol and
web-host guides cover the solo side choice, the seven submarine roles,
sonar_set_vds_depth and the admin shutdown; help strings say submarine
crew 1-7 and that a lowered VDS listens in parallel. Manual, shortcuts and
manual PDFs regenerated. Saves stay v23.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 09:08:13 +00:00
Claude 8c7fb95f4b F-217 at 31 kn, web admin "End game now" (1.3.7)
The frigate's top speed (FLANK) is its real 31 kn. The brake power is
scaled so drag, acceleration and turning up to 25 kn are unchanged; own
noise and wake keep their 1.0.0 scale below 25 kn and only grow further
up to 31 kn. The Nixie's cable still parts above 25 kn.

The web-host admin page gets an "End game now" card: after a confirmation
the main thread ends the game process after a short grace period, so a
web-hosted game does not keep running in the background.

Manual, station shortcuts and manual PDFs regenerated. Saves stay v23.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 08:47:34 +00:00
Claude b813115069 Start screen, animated silhouettes, web solo side choice (1.3.6)
The start screen becomes an animated night hunt: the frigate F-217 with
turning radar, funnel smoke, bow wave and towed array, the helicopter with
its dipping sonar, and a submarine below the layer that lights up when the
hull sonar pulse reaches it; the title carries "by Dominik Bornhäußer" and
the version. The same scene, dimmed, lies behind the main menu. A shared
silhouette library (src/ui/silhouettes.py) draws detailed class profiles
that pitch, turn radar and rotors and trail a wake; the periscope and the
bridge binoculars use it. In Remote Crew solo mode the New Game dialog now
picks the side (frigate or submarine). Station shortcuts, manual PDFs and
the contact-analysis images are regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 08:10:28 +00:00
Claude 747feff0fd Sonar: variable-depth sonar (VDS) as a third array (1.3.4, save v23)
The frigate gets a towed body that is lowered and recovered with Shift+Y
(3-15 kn, sea state up to 5, lost above 24 kn) and set to 20-300 m with
U/V while it is the selected array. It listens and pings from its own
depth, so below the layer it gains the deep bonus the hull array lacks,
and fusion takes the better of hull and VDS as the unambiguous reference
for the towed array's side. Remote Crew sonar gets the deploy button, the
depth form and the VDS array option. Saves move to v23 for the VDS state;
calibration stays 77/77.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 07:15:23 +00:00
Claude 9f6264940d Web client: paint waterfalls in an OffscreenCanvas worker (1.3.3)
Heatmap rasters (LOFAR/BTR/DEMON waterfalls) are packed into typed-array
jobs and painted by a module worker into an OffscreenCanvas, which hands
back an ImageBitmap. The main thread keeps drawing the previous bitmap at
its anchor until the new one arrives, keeps one job in flight per plot and
falls back to the shared synchronous painter when Worker/OffscreenCanvas
is missing or the worker fails. Headless Chrome stays on the synchronous
path unless opted in, because workers stall its virtual time.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 06:49:07 +00:00
Claude a989ac87c7 Mission editor: pick the reference sector from a list (1.3.2)
The World tab's Kind and Reference rows are now closed choices: Enter
opens a pick list (FieldRow.choices in the shared FieldList) instead of
free text. Reference lists the 128 packaged sectors with their countries;
picking one makes the world a 500 NM reference world. The preview draws
the chosen sector's coast from a once-per-process sector cache.

Closes the Phase 13 deviation "text field instead of sector selection".
App 1.3.2, saves stay v22. EN/DE catalog, manual and README updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 06:03:19 +00:00
db9979andClaude Fable 5.1 8e34068edb Release 1.3.0: version, release notes, closeout verification
Plan 1.3 closeout. APP_VERSION 1.3.0, README EN/DE release paragraph,
AGENTS authority line, station shortcuts regenerated, test expectations
of this run brought up to the current contracts (observer session field,
voice default, transport DOM rule, browser mocks with the new role
fields, convergence zones may be empty), run log and verification log
entries. No build, no push (decision of the run).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 08:54:02 +02:00
db9979andClaude Fable 5.1 8b70654d31 Mission editor: runtime scope flags and phase 13 documentation
The static preview reports runtime_effective, the field metadata names
the runtime scope, the browser and preview show editor.runtime_scope;
AGENTS limits, manual and run log describe the mission runtime.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 08:16:19 +02:00
db9979andClaude Fable 5.1 1fe8f21182 Remote Crew: observer role, debrief timeline with export, voice on by default
Phase 12 of plan 1.3. The host makes up to two browsers read-only
observers (F9 roster key O, web-host admin): no lease, any station of
either unit viewable through activate with generation 0, every command
rejected, SimLog included, never persisted. The SimLog page shows
observers and the solo host a debrief timeline (snapshot ticks, marks for
own and hostile torpedo launches, own damage, new contacts and losses,
click to scrub) and a JSON export stripped of RNG, credential, token and
settings keys. Voice in the web-host room starts enabled. Docs, manual,
catalogs and tests updated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 05:46:46 +02:00
db9979andClaude Fable 5.1 952c4a35d4 Web client: state push over WebSocket, generated schema allowlists, chart culling probe
Phase 11 of plan 1.3. /ws/v2/state pushes the active role's projection
(same bytes as GET /api/v2/state, at most 4 Hz, heartbeat 2 s, latest
state only) with the sonar stream's Origin/cookie/subprotocol rules; the
browser consumes pushed states in its poll loop, keeps polling presence,
chart and feeds on a slow cadence, falls back to full polling after two
missed heartbeats and retries every 10 s. src/commander/v2/schema.py is
the single allowlist rendered into schema.js by tools/gen_web_schema.py
(--check in CI). The browser chart culls tracks in world coordinates
before transforming and exposes a frame-time probe. OffscreenCanvas is
deferred (documented in docs/resume.md).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 05:28:49 +02:00
db9979andClaude Fable 5.1 9351393a94 Graphics: anti-aliased chart lines option, chart light of the hour, weather hatch, shared horizon
Phase 10 of plan 1.3. Preferences.aa_lines (default off, options page 2)
routes chart and plot primitives through src/ui/lines.py, which uses
pygame.gfxdraw for one-pixel lines and polygon edges when enabled. The
chart water darkens in three stages from the game clock
(atmosphere.daylight_stage, theme.WATER_TINT) on the frigate, boat and
browser charts; rain and storms hatch the chart with dashed diagonals
(display only, both sides). src/ui/horizon.py is the shared horizon
renderer of the periscope and the new binoculars strip on the bridge
lookout page. Manual and catalogs updated; tests/test_graphics_1_3.py.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 05:14:17 +02:00