docs(wiki): park-2 event-loop stall incident + bounded-request-cost decision; Dingtian firmware retired, dev-board pinout, edge-controller memo

- concepts/park-2-event-loop-stall: /api/sessions/active ~2 s synchronous (quote() per open
  unpaid transient x664, unindexed ledger scans) froze the loop; Node runs expired timers before
  queued UDP replies, so healthy Dingtian pulses reported "timeout" and signed entries lost
  their snapshot/session row. Standing decision: bounded request cost whatever the operator data.
- Dingtian: custom firmware retired (2026-10-23), runbook shelved, vendor pinout in raw/,
  relay-proxy PoC marked retired; edge-controller hardware memo (open).
This commit is contained in:
2026-10-24 11:17:30 +02:00
parent c08e232339
commit 6eb65361a8
14 changed files with 447 additions and 31 deletions
+17
View File
@@ -44,3 +44,20 @@ The decisions treated as settled in the design notes. (See [[parking-system-arch
[[entry-exit-readers]]).
Unsettled items live in [[open-questions]].
## No custom firmware on the Dingtian relay (2026-10-23)
The [[dingtian-relay]] stays stock. The vendor locks the standard SKU, the bench unit was never
wired for a lock test, and the user chose to stop here: booth-PC resilience (the park-2 failures)
is pursued through **mini PCs**, not through turning the relay board into a proxy. The
[[relay-proxy-firmware]] PoC is retired; it remains a usable Dingtian **emulator** for the bench.
## Bounded request cost, whatever the operator's data (2026-10-24)
Request handlers must do work bounded by the **page they render**, never by the operator's
accumulated data. No per-row ledger reads in list views (fold once, price from the fold); every
identity/telemetry lookup indexed; device timeouts deferred one loop turn so they cannot race a
reply; evidence (snapshot) and projections written **before** the barrier pulse. We do not
propose cleaning up or deciding about the operator's records to make the software fast — the
owner runs the business, we provide the software. Origin: [[park-2-event-loop-stall]].