Stale facts fixed (rocket flight 11-65 s, mortar sinks 12 m/s, torpedo reach by speed and two-speed presets, battery charge taper, helicopter radius 50 km, convergence zones by sea area). New explanations: wire limits and channels, wake homer and its counters, under-keel hits, battery taper and snorkel time, hull damage depth limit, cavitation with depth, shadow zone / CZ / bottom bounce / shipping noise and the range prediction, Doppler on tonals, correlated bearing error, heavy weather, moon and bioluminescence, surfaced boat on radar, zigzag plans, helicopter flying course, dip cycles, buoy patterns, datalink latency and dual tracks, towed array depth, head-sea speed loss. Help gets a rules section, the briefing notes deep-water sound, shipping, heavy sea, wind for the helicopter and a glowing sea. Lessons: frigate telegraph Halbe is the sixth button, buoys via Hubschrauber > Bojenlinie hier, flying course and wire limits in the steps; e2e follows (second press on a guarded FEUER, Auto-TMA before the shot). English entries; orphaned stale ones removed; handbook regenerated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Cold start: the lobby's shader warm-up (software WebGL in headless Chrome) landed right
when the lessons started and froze both tabs for ~32 s, so step 1 ticked after the test's
deadline. The test now pre-warms Vite in a throwaway tab (until no dependency re-optimization)
and waits for the lobby warm-up (prefetch.ts: warmUpDone()) before starting the lessons.
- Test: reloads are detected and logged, the hook is re-installed; main-thread stalls are
reported per step; waitFor takes one last look after its deadline; failure dumps read the
folded panel via textContent and include the torpedoes. CDP helpers moved to scripts/cdp-tab.mjs.
- Erste Feindfahrt: a shot misses when the solution's range is too long (the seeker switches on
behind the target). Step 10 now ticks on the hit only and tells the player to fire again with
the seeker on at half the distance; unit test for miss and second shot. The test re-fires
missed torpedoes and rockets (Erste Geleitfahrt already said: ping again, another rocket).
- New lesson "geleitfahrt" (apps/server/src/first-escort.ts): frigate ahead of a
three-merchant convoy, one damaged diesel boat with no captain coming the other way
deep at 10 kn; no layer, calm sea. Sim-verified: towed array hears it ~6 min in,
LFM ping ranges it at 6-7 km, one ASW rocket sinks it.
- Ten sequential steps (tutorial-geleitfahrt.ts): speed, stream 900 m, settle, deep
buoy, pick contact, classify U-Boot, divert convoy or radio, LFM ping range, rocket,
hit. Lobby button, protocol/zod lesson ids, English texts, handbook paragraph (rebuilt).
- Vitest: scenario, result rule, lobby start and a sim playthrough over three seeds.
- scripts/tutorial-e2e.mjs (npm run e2e:tutorials, CI e2e job): plays "Erste
Feindfahrt" and "Erste Geleitfahrt" side by side through the UI in headless Chrome,
asserts every step ticks (none skipped), success, no page errors. About 4.5 min.