Commit Graph
17 Commits
Author SHA1 Message Date
Claude 1a5462e4d2 Merge main; release 1.3.24
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 12:36:09 +00:00
Claude 28cdbe6c03 Boat atmosphere: hull creaks, heard detonations, red light in silent running (1.3.22)
The crewed boat hears its hull creak deep down and crack when it fails,
hears detonations close aboard or far off (logged with a bearing), and
rigs its uConsole and browser screens for red light in silent running.
The boat's browsers get its own cues; the SAR alarm cue is now known to
the browser.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 12:19:22 +00:00
Claude e127c27b10 Draw every overlay over the start screen's night scene
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 12:07:46 +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 de0a9e7497 Add HQ radio tasks: distress calls, identification, datums, replenishment, EMCON
HQ offers up to six tasks per built-in mission over the teletype. The
radio room (and the Remote Crew radio station) accepts or declines them;
accepted positions are plotted on every chart. Tasks progress on the
slow simulation cadence with detrand draws, are scored at mission end
and are saved in the new save v21 root field "tasking".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 16:51:35 +00:00
Claude 3d7df84681 Crewed boat: damage control with compartments and two teams (stage D)
Six compartments with depth-dependent leaks, spill through open
bulkheads, fire, chlorine gas from a flooded battery and power loss; two
damage-control teams seal, pump and fight fire; shut bulkheads contain
water, fire and gas. Floodwater feeds the trim model; flooded, burning or
gassed compartments take out the tubes, masts, diesels or half the speed.
Damage page on the uConsole engine room, damage-control card in the web
station. Save format v20.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 14:58:44 +00:00
Claude 020c7c95aa Crewed boat: ballast tanks, trim and high-pressure air (stage C)
Main ballast, regulating and trim tanks with fill levels; an HP air store
for several blows, refilled while snorkelling; torpedo launches and flooding
shift weight and trim, pumps are audible. Tanks page on the uConsole engine
room, cross-section card in the web station. Save format v19.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 13:41:56 +00:00
Claude bbb3345e9a Boat Mast & ESM station: emitter list, cross-fix, mast warning (stage B)
The crewed boat's mast now intercepts real radar signals through
scan_for_signals with the boat as observer. The crew keeps an emitter
list (fingerprint association, agile hops merged), classifies emitters
against the library, sees the bearing history, a Gauss-Newton cross-fix
from own motion with a 95 % error ellipse, the level trend, a warning
when a radar can see the mast and a recommended mast time from the sea
state. Bearing lines and fixes appear on the boat chart and web map and
can be transferred to the boat plot. Save format v18 (crew.esm).

The uConsole boat contact list shows quality as a percentage instead of
the bare "q0.98".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 12:37:40 +00:00
Claude 1bee8ca91b Boat engine room: energy balance, diesel, charge rate and air stores (save v17)
Stage A of the boat-station plan. Conventional boats now carry diesel
(300 h of generator output, 65 % at start, burned only while the diesels
run), a crew-ordered snorkel charge rate (full / half / air only, with
matching noise and diesel lines) and a modelled atmosphere (O2 down, CO2 up
dived; absorber sets, oxygen candles, airing while snorkelling). Stale or
foul air slows the crew (reload); AI boats manage their air and come up
when it turns foul.

The web engine room gets an Energy & stores card (bars, energy balance,
endurance table by telegraph step, air, orders). The uConsole engine room
gets a second page Stores with R / A / O. Remote Crew actions
uboot_charge_rate, uboot_absorber and uboot_o2_candle (engine room only).
Battery phase and engine telegraph now display translated.

Save format v17 (endurance state version 2); v16 saves are rejected.
Calibration 77/77 unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 11:23:30 +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 Fable 5.1 07350d6ce8 Crewed submarine: periscope view, visual sightings, stadimeter, diesel snorkel noise
Phase 9 of plan 1.3. Third Command page and second Mast & ESM page show
the periscope (uboot_scope.py): eyepiece with day/night light, haze,
horizon motion from the wave slope, true-bearing scale and crosshair;
arrows train the scope, Enter reads the stadimeter. Sightings come from
the frigate lookout's contrast model at periscope eye height and live in
the crew block (save v15 crew.orders: scope_rel_deg, sightings,
sightings_seen). The stadimeter range becomes a VISUAL fix on the boat's
sonar contact, usable like a ping fix. Snorkelling diesels raise the
radiated level, lower the quiet factor and add 50/100 Hz lines. Web:
scope projection, canvas view, uboot_scope_bearing/uboot_scope_mark
commands and a Chromium contract. Manual, help and catalogs updated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 04:53:20 +02:00
db9979andClaude Opus 5.5 4e04c899d0 Submarine stations: depth steps, water column, ESM rose, denser panels
Command and Navigation order periscope, snorkel, above/below the
measured layer (only after the boat's own BT) and deep in one step
(browser buttons, uConsole U/J/H). The browser boat stations get a wide
dock with large readouts, coloured mode and alarm chips, a water-column
graphic, an ESM/alarm bearing rose, explicit raise/lower buttons for
mast and snorkel and a compact two-column layout; the uConsole's Mast &
ESM page gets the rose and the engine room the water column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 20:41:29 +02:00
db9979andClaude Opus 5.5 4d2500fceb Side choice: a new game asks which unit to play; solo can play the boat
The uConsole asks "Which unit do you play?" before every new game
(frigate or hostile submarine, last choice preselected). The browser
lobby first shows the unit, then its stations. A solo browser switches
all its stations to the boat's six (and back) from the host bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 18:52:15 +02:00
db9979andClaude Opus 5.5 379163b0ff Crewed submarine: plant under crew control, silent running, bottoming
- A crewed boat never ascends, snorkels or radios by itself: the endurance
  model runs in crew mode (AIP still takes the load), and the crew snorkels
  at snorkel depth to charge (max 6 kn; diving deeper stops the diesels).
- Silent running (max 5 kn) and lying on the bottom (3 m keel clearance,
  no drift, lifts off with any way/depth order) give the lurker's quiet.
- Crewed boats stop before land instead of veering; telegraph steps; boat
  log warnings for low/empty battery, shallow water and obstacles.
- Transient CrewOrders (never saved); AI behaviour unchanged (calibration
  77/77). Own rejection reasons for the submarine instead of frigate words;
  local BT notices go to the boat log, not the frigate feed.
- Remote Crew actions uboot_snorkel/silent/bottom, projection and browser
  validator fields, web mode buttons and battery warning; local keys
  G, Shift+G, N, +/-; help, manual (EN/DE) and tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 15:37:03 +02:00
db9979andClaude Opus 5.5 f7e6d05e2a Web: overlap-free status bar, h:mm:ss clocks, overlays inside the viewport
- Status bar stays one row at every desktop width: short clock labels (full
  names as tooltips), mission remaining/elapsed as h:mm:ss, connection text
  truncated with the full text as tooltip; badge, mission name and UTC give
  way on narrower windows instead of overlapping.
- Guide, lookout and contact library overlays no longer inherit the panel's
  100 % size, so they fit the viewport and the close button is visible.
- Regression tests for status-bar overlap and overlay bounds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 14:09:13 +02:00
db9979andClaude Opus 5.5 f6b1223c8e Web radio room, admin room and manual pages in the CIC design
- Radio station without the chart: HF/DF bearing scope (strobe fan per
  intercept, logged bearings dashed, own course), HF receiver channels with
  digital frequency, ground/sky-wave badge, S-meter and log button, and a
  message teletype. No contact dock; the contact detail opens under the
  station panel when a channel is selected.
- Radio projection publishes the measured HF carrier (frequency_khz) and
  propagation mode, as the uConsole tooltip already shows; browser validator,
  projection test and schema test updated.
- /admin (setup, login, room, crew, options) and /manual-en|de restyled on the
  shared tokens and fonts; the PDF build keeps its own print stylesheet.
- Fix: the CIC grid now always fills the viewport height (the operations grid
  row no longer collapses to content when the tab list is hidden).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 13:13:54 +02:00
db9979andClaude Opus 5.5 4dd23bc242 Web client: CIC redesign with ES modules and bundled fonts
- Remote Crew browser client rebuilt as a dark combat-information-centre layout
  for large desktop monitors: slim status bar (stations, mission, clocks, UTC,
  link state), pulsing alert band, the instrument as centrepiece and
  collapsible docks (contacts, station, contact detail, log drawer; keys , . L).
  Four columns from 2400 px, fluid type up to 4K; guide, lookout and contact
  library open as overlays (Esc closes).
- app.js split into native ES modules under data/commander/js; the transport
  (net/*) no longer touches the DOM and talks to the views through synchronous
  topics (core/events.js, app/bindings.js); redraws share one frame scheduler.
- style.css replaced by a token-based design system in data/commander/css.
- Inter 4.1 and JetBrains Mono 2.304 bundled unmodified (OFL-1.1) with
  provenance in THIRD_PARTY_NOTICES.md; CSP allows font-src 'self'.
- Server serves the css/js/fonts trees from one asset manifest
  (src/commander/assets.py); packaging, capture tool, help, manual and docs
  updated; tests share tests/commander_web.py and import modules directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 12:02:01 +02:00