Commit Graph
5 Commits
Author SHA1 Message Date
Claude 5adc97bd12 Handover browser test reports its cause and no longer races the lease (1.3.255)
The test failed twice on main (1.3.247, 1.3.250) as ('holding', None):
the probe was still waiting when the host loop gave up, so it never said
why, and no release was published for either merge.

- The probe's waits now fit inside the host's budget after the request,
  so a failure always carries its own message.
- Losing the station before the prompt is reported as such.
- The 15 s presence lease is lifted for this test: a browser starved on a
  loaded runner must not lose the station before the request reaches it
  (lease expiry has its own tests).
- The failure message lists the page dataset and both sessions' lease and
  request on weapons.
- page_dataset also treats a dropped DevTools WebSocket as "no read yet".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JVnJn1auJiS3FRATib8EGp
2026-10-06 14:17:31 +00:00
Claude ca262e3420 Phone lookout page: pair by code, gyroscope, swipe, voice and tap calls
The /lookout page pairs a phone onto the frigate's lookout or the boat's
periscope, trains the eyepiece with the gyroscope or a swipe, and calls
sightings by voice (Web Speech API) or by tapping them. F9 shows the phone
QR code for the HTTPS address. Calls of sightings already on the bridge
confirm as repeated reports.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018A9rdwgbRHDXhkiwVoADq7
2026-09-28 19:22:09 +00:00
Claude 213016dbe3 Stabilize the flaky audio/sonar websocket and browser tests (1.3.19)
- Server: a reconnecting client supersedes its own idle audio or sonar
  stream instead of getting 409 stream_exists while the old worker has not
  yet noticed the dead socket (root cause of the flaky
  test_audio_websocket_resumes_behind_the_browser_cursor). Regression tests
  fail on the old code.
- Web client: a push-woken poll clears the pending poll timer, so a healthy
  push no longer adds a /state request per pushed state.
- Browser tests for live audio and the state push run in real time
  (RealTimeHost: wall-clock sim steps via Game._frame_dt, DevTools reads
  off-thread) instead of fixed steps or --virtual-time-budget.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017XUBGQzKG1jnToU9vYPfwo
2026-09-28 11:41:50 +00:00
Claude 2c34d6da5b Fix the two failing Remote Crew browser tests
- 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
2026-09-27 09:28:02 +00:00
db9979andClaude Opus 5.5 4dd23bc242 Web client: CIC redesign with ES modules and bundled fonts
- 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>
2026-09-26 12:02:01 +02:00