Frigate and crewed boat stand three watches relieved every hour of game
time. Action stations make the crew more alert but tire everybody;
morale moves with kills, damage and HQ tasks. The crew's performance
raises the sonar recognition threshold, needs more lookout/periscope
contrast and slows damage-control work. A fresh crew is exactly the
calibrated crew (77/77 metrics unchanged). Damage page 3, Bridge G,
boat keys B/M, Remote Crew cards and orders, save v21 "watch" and
crew.watch.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
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
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 overlay looked up "input.<mode>" and showed the raw key
(input.uboot_depth, input.uboot_course, ...) for all boat entries.
Adds the eight EN/DE labels and a regression test.
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
Engine telegraph orders, the boat's battery phase, sonar fusion states and
TMA geometry were drawn as internal names (HALF, SUBMERGED, NUR BOW, KEINE);
the web showed sonar array, tow state, ROE, tube and weapon states raw, and
the mission editor showed field.placement.* / field.reach.* keys. All now
come from EN/DE catalog entries, with regression tests.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The weather panel was frigate-only on the uConsole: aboard the crewed boat
key 0 did nothing. It now opens over the whole station area from the boat's
own instruments and BT, with the boat block (mast on radar, sighting range,
ambient noise, snorkel) instead of the helicopter flight weather.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The horizon of the bridge lookout strip, the new binoculars and the
submarine's periscope showed open sea even with a coast ahead. They now draw
the charted coast (known geography only) as far as the eye can see land:
rays cast against the coastline polygons (NumPy, cached per 0.1 NM of
position, bounded), hills an assumed 25-70 m since the chart has no
elevation, fading into the haze. The binoculars' panorama marks the coast
along its foot.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Command (station 1) may now raise the boat's mast so it can look through
the periscope it already shows (uConsole P and the web periscope card). The
uConsole eyepiece no longer spills over the bottom of its frame. On the
frigate's bridge lookout page, B raises the lookout's binoculars large over
the chart: a 16 degree trainable field (, / . or a click on the all-round
panorama) with the outlines and list of the lookout's own sightings
(display only, not saved).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The frigate reported a submarine's active ping with its exact bearing to
0.1 degree while the crewed boat's ears are ~2 degrees off. It now uses the
same deterministic error (PING_INTERCEPT_SIGMA_DEG, keyed by the saved
arrival time) and whole degrees. The browser periscope drew only when a
state arrived (2-4 Hz), so horizon and bearing stepped; it now eases
bearing and horizon toward the latest state every animation frame
(display only).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The browser periscope card said only "Mast down" and had no control, so
the Mast & ESM operator had to find the mast buttons in the card above,
and Command (who sees the periscope but does not own the mast) got no
hint who does. The card now carries the mast pair for Mast & ESM and the
hint names that station.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
- Radio room: an empty DF scope now writes its "no signal" text
equivalent instead of clearing it (ELOKA already did this).
- Sonar room: the client remembers the focus it last sent, so a quick
reselection (A, B, A) is no longer dropped against the lagging
published focus.
- Role-states browser test: instrument the radio scope, log pushed
states like polled ones, wait one more presence poll per role, guard
the sonar overview check against a role switch, and read the result
over DevTools so the run ends when the probe does (about 10 s).
- Submarine sonar audio test: run Chromium in real time and read the
result over DevTools; virtual time starved the live audio socket.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011qbgcvPr4s2ohpf2qA1zNW
The crewed boat's Remote Crew roles no longer get the frigate's helicopter
flight weather, cloud ceiling or icing. Their weather_station block carries
"boat" instead: mast radar detection range (reference surface radar, mast
RCS, sea clutter, rain, radar horizon) beside the calm-sea value, the range
a ship's lookout sights the surfaced boat in the current light/visibility/sea,
wind and rain ambient noise above the calm reference per sonar band, and the
snorkel limits (6 kn, +12 dB, 50/100 Hz diesel lines). Only environment and
own-boat data are read. The frigate block is unchanged.
The weather allowlists now live in src/commander/v2/schema.py and are
rendered into the browser validator; the browser shows the boat block for
the boat roles. EN/DE catalog keys and the reference manual are updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The frigate sounded its low warning tone, flashed and logged a submarine's
active ping in the very frame the boat transmitted, however far away it
was, so the alarm came seconds before anything could have been heard. The
intercept now waits for the one-way travel time (about 1.2 s per nautical
mile, modelled sound speed on the path). Pings still travelling are part
of the save (root field ping_intercepts), so the schema is now
u-jagd-save-v16; v15 documents are rejected without migration.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Each new SimLog row made the server re-encode every role's whole history
(up to 9 x 2 MB), a stall every 10 s that grew to 1.4 s on the uConsole
after seven minutes. The server now caches each entry's compact JSON and
joins the published document from it (byte-identical), and the bridge
deep-copies a row's truth once instead of once per role.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
With SimLog on and a browser connected, the bridge encoded every role's
whole SimLog history as JSON on every frame just to check its size, and
once the history reached SIMLOG_MAX_BYTES it re-encoded it once per
trimmed row. On the uConsole this took the main thread to 6-12 fps after
about six minutes. Each entry is now encoded once and its size cached;
the trimmed history and the byte bound are unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The anti-ship missile's active seeker is now a library emitter in the
contact catalog (emitter.air_defense.asm.seeker, role missile_seeker,
unattached to any platform); the air-defence loadout names it by key
instead of carrying its own frequency/PRF/modulation copy. ESM ranking
and the library lookup can therefore offer it, and ELOKA names it
"Anti-ship missile seeker". Saves whose catalog snapshot predates it keep
emitting the packaged signature.
The seeker's ESM emission and own-ship ECM against it now respect the
same mast-to-missile radar horizon as search radar and HOJ.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLMCsaaxZ79US83P9daHiq
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>
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>
Phase 13 step 4 of plan 1.3. Exact units may now be built-in aircraft
(a Flight of the nearest charted airbase patrolling a 10 NM box around
its spot at profile speed), animals (Animal with the authored depth and
speed) and decoys (a static Decoy at its spot; the save validator accepts
mission-placed decoys without a launching unit). Torpedoes and user unit
profiles stay rejected.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Phase 13 step 3 of plan 1.3. Seeded random groups are placed from the
static preview (a spawn event defers its group); events run in order of
their time from _update_damage_and_mission: message (verbatim feed
text), spawn, weather and objective (complete/fail). The world holds an
authored weather kind (world.weather_override, saved) for the mission
environment and weather events; pending event ids persist as the save
root field mission_events and are validated against the definition.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Phase 13 step 2 of plan 1.3. protect keeps placed friendly or neutral
units alive until the time limit (lost with the first sunk unit, won at
the limit); reach wins when the frigate enters the objective point's
radius (objective.reach: x, y, radius_nm, default 2 NM) and loses at
the limit. Placed units are remembered as mission_runtime.units in the
save so the objective survives a load; objective texts and end reasons
in both catalogs.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Phase 13 step 1 of plan 1.3. A mission with world.kind reference names a
packaged real sector as sector:<0..127>; validate_mission checks the form,
Coastline.generate takes the sector index and Game.reset selects it for
the mission (world mode real_fixed, 500 NM). Fixed-coordinate worlds keep
their previous behaviour. The editor template uses sector:17.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Browser probes that fake the session body must match the v2 session
schema, which now has the observer field (phase 12).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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 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>
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>
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>
The bathythermograph now derives its convergence-zone bands from the ray
trace of the measured profile over the charted seabed type (the five
sediment classes already carried Rayleigh bottom loss); the validator takes
bounded measured bands instead of the constant table. Shift+T on the TMA
page switches between the hypothesis method, the Ekelund range of two own
legs (Shift+K copies it) and a three-row dot stack; the method is a saved
station setting. The VDS stays unmodelled (deferred, see docs/resume.md).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>