summaryrefslogtreecommitdiff
path: root/test-runner/src/test
diff options
context:
space:
mode:
authorClaude Agent <agent@claude.ai>2026-03-25 01:57:17 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-25 04:55:58 +0000
commit0294c6fccc5a1dac7d4fb0ac084b273683e47d32 (patch)
treecd2f23567324a1881835444ab4022efd6e2ed575 /test-runner/src/test
parente5cd0ce6bf65fff1bbbb5d8e12c4076da088ebe1 (diff)
feat(safety): log wind and current conditions at MOB activation (Section 4.6)
Per COMPONENT_DESIGN.md Section 4.6, the MOB navigation view must display wind and current conditions at the time of the event. - MobEvent: add nullable windSpeedKt, windDirectionDeg, currentSpeedKt, currentDirectionDeg fields captured at the exact moment of activation - MobAlarmManager.activate(): accept optional wind/current params and forward them into MobEvent (defaults to null for backward compatibility) - LocationService (new): aggregates live SensorData (resolves true wind via TrueWindCalculator) and marine-forecast current conditions; snapshot() provides a point-in-time EnvironmentalSnapshot for safety-critical logging - MobAlarmManagerTest: add tests for wind/current storage and null defaults - LocationServiceTest (new): covers snapshot, true-wind resolution, current-condition updates, and the latestSensor flow Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'test-runner/src/test')
0 files changed, 0 insertions, 0 deletions