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
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
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
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
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>
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>
A pattern (2x2 field, barrier across the waypoint bearing, circle; up to
four of the remaining buoys) is a queue of drop points the helicopter flies
one after the other with the ordinary single drop. The MAD run (30 m, 90 kn,
dome stowed) detects a submerged hull within 400 m slant range on a stateless
draw and publishes a MAD position fix without depth or course. Keys X and
Shift+M, browser controls and commands, helo save fields, manual updated.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Damage control can counter-flood the high hull side against a list of 5 deg
or more (0.5 %/s, cap 60 %, valve closes below 1 deg); fore/aft floodwater
trims the ship and costs 0.5 kn per degree plus bow-sonar noise bow down.
The engine room selects the plant: AUTO (as before), DIESEL (18 kn, -4 dB,
-10 % fuel) or TURBINE (+3 dB, +25 % fuel). Keys C and G, browser controls
and commands, damage.stability and propulsion.plant_mode projections,
save v15 fields compartments.counterflood and ship.plant_mode. Calibration
77/77 with the AUTO plant.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
frigate_torp_mk2 (55 kn, 8 NM) shares the tubes with Mk1 through a two-magazine
ownship loadout (2:1 split); selecting a type retasks a tube. Each torpedo
carries its terminal search pattern (snake, circle, helix) and seeker enable
point (0.6-3.0 NM); a salvo of two opens a +/-8 deg spread with rotated datums.
Keys W/X/,/./Y, browser settings card and command, weapon_settings save block,
manual and catalogs updated. Calibration 77/77 (defaults reproduce 1.0.0).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Browsers went silent after any host key press: every input-owner change bumped
the world epoch, the server cleared the audio ring and restarted numbering at
1, and the AudioWorklet dropped every "old" block until the count passed its
last sequence. Numbering is now monotonic per role for the server lifetime; a
cleared ring and a retuned receiver skip one number so browsers crossfade,
reconnects resume with ?after=<sequence>, duplicates are counted, and the audio
socket tolerates a six-second send stall.
Buffers sized for the 16 GB device: local lead 1.5 s with a 5 s queue, browser
lead 2 s with a 6 s maximum, refill 1 s, stale 3 s, SIM_CATCHUP_MAX_S 2.5 s
(queue >= lead + catch-up + block, pinned by a test), SDL mixer buffer 2048
samples. Remote Crew publication no longer spikes the main thread: sonar history
rows are cached per station with identical results, role states are shallow
copies, the compact sonar state is built from the dict, the roster is read at
4 Hz. New counters (mixer channel idle, late pump iterations, input gaps,
per-phase frame times, server stream stats) and tools/audio_soak.py, which runs
the game headless with simulated browsers or as a Wi-Fi client and reports
stream continuity. Docs, manual and install guide updated.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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>
A submarine at periscope depth with its mast or snorkel up (crew mast,
snorkelling or at radio depth) returns a tiny, clutter-limited echo to
the surface radar. It shows only as a glowing dot without symbol or
track; clicking it (uConsole or browser OPZ) or pressing B marks it
into a radar track that later echoes update. Blips and marks are
transient; the AI and calibration are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
The submarine commander draws on the boat's own transient plot (never
the frigate's; the boat's sonar room has none). The web station gets
telegraph buttons. A chart check along the ordered course reports land
or a seabed shallower than the boat within 5 NM, and the water under
the keel is shown on web and uConsole. The manual gains the "Not
modelled" list for the crewed boat.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ping and torpedo alarms carry the boat's own measured (noisy,
deterministic) bearing. At periscope depth the crew can raise a mast
whose ESM reports sweeping radars; it lowers itself when diving. The
commander can ping and take a BT without a sonar operator. The tube
arc is drawn on the web and uConsole charts, the sonar's designated
target is preselected and fire readiness shows boat reasons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Crew shots take a run depth (5-300 m) and one torpedo or a +/-4 degree
spread, each with its own datum.
- Every crew torpedo runs on a wire (transient, cut by a load): the crew
moves its datum and the wire turns it on until the seeker acquires; the
frigate's spool/tension rules apply with the boat's limits (10 kn,
1.5 deg/s); broken wires are logged; the crew can cut a wire.
- Remote Crew: uboot_fire gains depth_m/salvo, new uboot_wire_steer and
uboot_wire_cut; own_weapons publish wire state and datum; web fire
controls and wire panel. Local: T depth, Y spread, F bearing then
range, W steer, Shift+W cut. Help, manual (EN/DE) and tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
- 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>