Commit Graph
1 Commits
Author SHA1 Message Date
db9979 3122d1b276 Erste Geleitfahrt: guided frigate tutorial; both tutorials as a browser test in CI
- 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.
2026-11-23 09:59:23 +01:00