Commit Graph

2 Commits

Author SHA1 Message Date
julian 726dd9803a wiki: passage confirmation — zone PoC, flow and relay rules, trials, hardening list
- passage-confirmation: unexplained passages as the audit witness and the
  phase-1 order (2026-11-19), first recordings, and the decisions of
  2026-11-22: the zone flow (last crossing counts, no decision while the zone
  is busy, an uncrossed open is abandoned) and the read-then-fire relay rules.
- zone-anpr-poc: the prototype on park-lab, its builds, the live R2 trials and
  the turn-back judged as passed; park-lab as the worst-case site.
- zone-anpr-plate-trials: plate reading measured (inverting does not help; the
  still is the main reader; the plate reads only on a short stretch of the
  approach), the day and wet-night trials, and the two fixes that followed.
- zone-anpr-poc-review: the code review of 2026-11-21 with a status table of
  what the later builds fixed.
- vision-hardening: the work list the user deferred to another session.
- zkteco-cmp200-barrier, append-only-event-chain, reconciliation,
  open-questions, overview, index, log: cross-references and updates.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RZgP5oZdzvo92Eouc9eRv5
2026-11-22 18:24:48 +01:00
julian bfe64032d8 Initial scaffold: Turborepo monorepo + design wiki
Turborepo (pnpm workspaces) with all dependencies pinned to latest
mutually-compatible versions: turbo 2.9, TypeScript 6, Fastify 5,
React 19, Vite 8, better-sqlite3 12 + Drizzle ORM 0.45.

Layout:
- apps/server   Fastify backend (local JWT auth + role guard, /health)
- apps/web      React 19 + Vite 8 operator SPA
- packages/db   Drizzle schema on SQLite/WAL; append-only events + users
- packages/devices  reader/printer/relay adapter interfaces (intent-only relay)
- packages/shared   shared domain types

Architecture constraints from the design wiki are encoded in the scaffold:
append-only hash-chained + signed event log, device-agnostic adapters,
"a barrier is not a door" (relay expresses intent only), fully-local
offline-first auth.

wiki/ is an LLM-maintained Obsidian knowledge base (28 pages) ingested
from the architecture & design notes, with its own maintenance schema.

Verified: pnpm install, full turbo build (5/5), server boots and serves
/health, drizzle-kit generates the initial migration.
2026-06-14 00:34:11 +02:00