wiki: passage confirmation scope and relay maps, crossing-line editor, desktop WS hello fix, cameras push to the dev machine

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RZgP5oMncSaVmKRKk1UvN4
This commit is contained in:
2026-11-19 12:38:53 +01:00
parent b69faec547
commit d3649669ee
5 changed files with 101 additions and 5 deletions
+28
View File
@@ -3731,3 +3731,31 @@ either end. Built: a neighbours route per camera snapshot (`{ older, newer }`, `
the date in the caption; the tile stays on the newest. Verified in headless Firefox with four
snapshots on one camera, including a slow load (caption keeps the shown picture's date) and a
missing still ("unavailable"). Updated [[camera-live-view]].
## [2026-11-17] query | Passage confirmation — scope decided for phase 1
User raised the abandoned-open case again (subscriber read opens, driver turns back; same for exit)
and asked to draw A→B lines and close via R2. That is [[passage-confirmation]]. Decided: park-lab
one lane/one barrier, park-2/park-buzi two; every open is watched (a ticket taker who drives off
too); phase 1 = the close only, ledger later; R1/R2 interlock believed but unverified, R3/R4 not
interlocked. Recorded the phase-1 shape (per-barrier watch, explicit close relay, dry run first,
hub frames, possible lane area) and a step 0 for the interlock in the test plan.
## [2026-11-19] query | Passage confirmation — relay maps, crossing-line editor built
User gave the relay maps. park-2: R1 entry open, R2 exit open. park-buzi (offline): the same, plus
R3 for the entry ticket button. So no close relay exists outside park-lab. They restated that the
line is a Hikvision-style Line Crossing rule (A → B / B → A / A ↔ B) we draw ourselves. Built,
uncommitted: Setup's *Crossing line* editor over the live picture, stored as camera
`config.crossing` and validated on save. Checked in headless Firefox against `.6`, with server
tests for save, keep and clear. Updated [[passage-confirmation]].
## [2026-11-19] query | Desktop footer showed one device — the WS `hello` was dropped
User saw the desktop app's footer list only the entry camera while the browser was complete.
Cause: `tauri-plugin-websocket`'s JS wrapper only lets a listener attach after `connect()`
resolves, but the native reader starts at the handshake, so the server's immediate `hello` could be
lost. Fixed (uncommitted) in `platform-ws.ts`: the plugin's commands are called directly, with our
own channel from the start, and early frames are held until the open. Not yet checked in the
desktop app. Also recorded that both park-lab cameras now push to the dev machine. Updated
[[desktop-shell-tauri]], [[camera-live-view]], [[passage-confirmation]].