wiki: users and permissions for the new booth, TypeScript with Docker

New decision page booth-users-and-permissions: identity has its home in
the platform and the booth is in constant two-way sync, local login from
the copy, product keys auth and parking, 37 proposed keys with all 44 of
today's permissions mapped, two jobs, the rules, key-pair signing, what
the platform needs, and what is left to the sync design.

Hub page event-driven-refactor: the decisions of 2026-11-23 on users and
permissions, validation and car wash out of the booth (postponed), and
the language (TypeScript with Docker; Rust abandoned).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RZgP5oZdzvo92Eouc9eRv5
This commit is contained in:
2026-11-23 17:46:58 +01:00
parent dd2dd53d7e
commit 1f63a7063c
5 changed files with 688 additions and 9 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ updated: 2026-11-23
# Index
Content catalog for the wiki. Start at [[overview]]. Maintained on every ingest.
Counts: 7 sources · 28 entities · 68 concepts · 23 decision records.
Counts: 7 sources · 28 entities · 68 concepts · 24 decision records.
## Overview & navigation
- [[overview]] — the top-level synthesis and entry point.
@@ -153,6 +153,7 @@ Counts: 7 sources · 28 entities · 68 concepts · 23 decision records.
- [[forgiven-exit]] — decision + as-built (2026-10-08): owner opens the EXIT barrier with no payment — a signed zero-amount payment carrying the forgone fee as its own Z-report line (never in cash/card), exit only, admin permission + open shift, reason optional, prints nothing.
- [[vision-service-packaging]] — the vision service lives in this monorepo (apps/vision/), separate process, wired into Turbo via a package.json shim; uv-managed Python.
- [[camera-live-view]] — BUILT 2026-11-17: booth camera tiles from the device footer — latest snapshot at rest, live video while that camera sees a vehicle; sub-stream MJPEG over RTSP, reassembled in-process (RFC 2435), one shared session per camera, latest-frame WS delivery; open tiles a user preference; large view with Live/Snapshot; 1280×720, no fps cap. Measured: ~0.1 s delay on the LAN, no extra ANPR 503s.
- [[booth-users-and-permissions]] — 🟡 OPEN (2026-11-23): users and permissions for the new booth — identity has its home in the platform and the booth is in constant two-way sync, local login from the copy, two product keys (`auth`, `parking`), 37 proposed keys, all 44 of today's permissions mapped, two jobs, the rules, signing with a key pair, what the platform needs, what is left to the sync design. Nothing built.
- [[event-driven-refactor]] — 🟡 OPEN (user, 2026-11-23): the whole repository is to be refactored along an event-driven pattern — a bus between vision, server and booth screen, no video/image work in the server, the camera as one signal among several. Waits for the user's guidelines; lists what it touches in today's code and where it meets what is built.
- [[event-streams-split]] — split the signed business ledger (ledger_events) from unsigned device telemetry (device_events).
- [[desktop-shell-tauri]] — ✅ Tauri v2 chosen over Electron for the desktop kiosk shell; thin wrapper, server keeps all logic. Best case Ubuntu 26.04 LTS (resolves WebKitGTK); worst case Windows+WSL → kiosk browser, no native shell. Auto-updater mirrors signed releases to public `mca/public_releases` (source repo is private — field appliances have no Gitea creds).