Commit Graph
11 Commits
Author SHA1 Message Date
Claude 53f529436f Crew message box clicks win over station targets beneath it
A click on the crew message box went to a stale or underlying station
key target first (pointer layer from 1.3.113), so the confirm never
saw it. The pointer layer now leaves clicks inside the box to it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MKykUFmDdgQvfA1k3pkobE
2026-09-30 16:55:40 +00:00
Claude 1d789a8812 Hotspot: keep name and password, installer sets it up, two QR steps
The privileged helper now makes the hotspot's SSID and password once and
keeps them root-only in /var/lib/u-jagd/hotspot.json (0700 dir, 0600 file,
atomic temp+fsync+replace, symlinks never followed, strict validation,
regenerated when missing or invalid), so phones that joined once reconnect.
A new "new-password" helper subcommand (same lock, pkexec/polkit path)
renews the password and keeps the name; F9 shows it as the advanced row
"New hotspot password" while multiplayer is off.

install.sh installs the hotspot helper when NetworkManager and wlan0 exist
and sudo works; otherwise it prints a note and finishes the install.

On the hotspot, F9 and the multiplayer lobby show step 1 (Wi-Fi QR, name,
password) and step 2 (page QR, join code) together. Manual, install docs
and EN/DE catalogs 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:06:47 +00:00
Claude aff561e700 Remote Crew: the holder decides a station request; roster drops C/D/U
A browser that asks for a station a crewmate holds now also reaches the
holder: its session body lists the pending requests under `handover`
(station, requester name, ordinal, request generation; bounded, observers
and phone lookouts get none) and POST /api/v2/stations/handover lets it
hand the station over with its full rights, exactly like the host's roster
approval, or decline. Stale holder or generation is 409, malformed bodies
400, same cookie/Origin/CSRF checks as the other station routes. The web
client validates the new key and shows a "Hand over / Keep station" prompt.

The F9 roster loses the per-station command, direct-fire and sonar-audio
toggles (keys C, D, U): a station is always held with its full rights.
L (SimLog) and O (observer) stay. Manual, protocol and co-op docs updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
2026-09-30 10:15:26 +00:00
Claude a21621996a F9 as one switch: multiplayer on/off, crew list, advanced network rows
Multiplayer starts on the first LAN address or, without any, on the
uConsole's own hotspot; network mode, address and port are hidden under
advanced settings. The crew-mode row is gone (solo stays a launch choice).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
2026-09-30 09:53:33 +00:00
Claude e927625794 HTTPS listener with a self-signed certificate for the phone lookouts 2026-09-28 19:03:08 +00: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 Opus 5.5 ee17eba495 Remote Crew: free stations are taken at once with all their rights
A browser that asks for a free station gets it immediately, with every
right the station can have (command, direct fire, sonar audio). A
station a crewmate holds becomes a request the host can hand over; a
released station goes to the oldest waiting request. The host still
revokes stations or single rights. Also fixes direct-fire validation
for the submarine in the browser and helicopter audio in the admin room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 18:03:17 +02:00
db9979andClaude Opus 5.5 634e26bcb3 Operator assistance setting and manual acoustic analysis tools
- New preference operator_assist (off by default / training), display and
  projection only; a test proves it never changes the simulation.
- LOFAR/DEMON: free frequency cursor (Z/X), K marks the fundamental or the
  DEMON shaft/blade lines (blade count and RPM from the operator's marks),
  Q integration 2 (FFT)/8/16/64 s, Shift+Q 20 Hz vernier at native 0.5 Hz,
  Ctrl+Z/X free band-pass edges, Shift+N notch at the cursor.
- Off: no automatic peak labels, received-line lists, DEMON blade-rate/RPM
  proposals, catalog ranking or "low evidence" verdicts (uConsole and web).
- ESM off: unranked library range lookup instead of scored platform
  candidates; radar type, threat and range estimate left to the operator;
  C cycles the library in name order.
- Remote Crew: tool state, integrated spectra and vernier in the sonar
  projection; new sonar commands; EloKa candidates may be unscored.
- Manual (EN/DE), help keys and abbreviations updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 08:50:31 +02:00
db9979andClaude Opus 5.5 1a13d5ce5e Real-time only, measured threat cues, status ticker, text fitting, web NATO symbols
Previously uncommitted work: the game always runs in real time (no pause
or time acceleration), web client fixes (plot smoothing, spectrum peak
labels shared with the uConsole), regenerated contact-analysis images,
docs and manual updates.

UI/realism review, phase 1 (no truth leaks):
- Sonar CIC domain follows only the operator classification; new TORPEDO class.
- Torpedo alarm from intercepts only (launch transient, HF seeker pulses),
  used by Bridge, Autocrew and the web Bridge threat block.
- ASM cue from measured speed/altitude or a jamming strobe; CIWS/ESSM/ECM
  resolve missiles through their own M- tracks.
- HFDF fixes publish no domain; lookout domain needs recognition.
- No "hostile ping"/"submarine sunk" reports: breaking-up noises on a
  bearing; score only in the debrief.
- Helicopter layer shown only after the dome passed it; web Bridge gets
  published rows only.

Phase 2 (uConsole screen and text):
- Status ticker (default) frees 158 px; F11 event log/telemetry overlay
  (display only); docked band selectable in the options.
- Layout helpers fall back to catalog abbreviations (<key>.short) before
  any ellipsis; feed wraps, ticker scrolls; zero truncations EN/DE.
- Localised telemetry and OPZ affiliation/domain codes, bounded map labels.

Web: role map and chart draw NATO affiliation frames with domain glyphs.
Tests: truth boundary, text fit, session-wide preferences isolation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 06:52:32 +02:00
db9979andClaude Opus 5.5 a3b72e9475 Weather & sonar analysis station; frame-rate option, elastic sonar audio, presentation
Weather & sonar analysis (key 0, uConsole full screen and every Remote
Crew station): own-ship atmosphere derived from the weather system
(barometer leading the sea with WMO tendency and storm warning, air
temperature with cold outbreaks, snow and icing, gusts, Beaufort, cloud
ceiling, twilight from sun elevation, moon phase), weather effects, and a
helicopter flight decision (CLEAR/LIMITED/NO-GO; gusts, ceiling and icing
now limit launch and dipping, light icing costs fuel). The ocean profile
(layer, sound-speed curve, SOFAR axis, rays and shadow zone) appears only
after a sonar bathythermograph measurement and is always that
measurement. Rain freshens a surface lens in the Mackenzie sound speed;
ray profiles and the BT continue to the seabed (to 1500 m) so a deep
sound channel can form. New common v2 block `weather_station`, browser
validator and dialog, protocol docs, manual EN/DE.

Also included from the parallel session: selectable 30/60 FPS frame-rate
preference with bounded catch-up of slow frames, elastic sonar audio
buffering (local mixer and AudioWorklet), and a German presentation of
the simulation under docs/presentation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 09:24:14 +02:00
db9979 3b3753cf4e Initial Release v1.0.0 2026-09-23 12:10:58 +02:00