Commit Graph
9 Commits
Author SHA1 Message Date
Thomas KarnerandClaude Opus 5 5a098e44d8 UI: record decisions for language, theme, 2FA, stack and seed data
Closes SPEC section 10 questions 11, 13, 14 and 16 in a new TODO 3.0.

- Language: de + en from the first component. No user-facing string
  literal in a component, ever.
- Theme "blue" is a dark navy; token table recorded. Contrast still has
  to be measured against WCAG AA rather than assumed.
- 2FA: build TOTP now, optional per user, enforced for admin. "The UI
  does not need it" and "I need outside access" describe the same
  surface; what differs is whether the path is Tailscale or a public
  domain. Retrofitting it later reopens login, sessions, the user model
  and the audit log at once.
- Stack stays React + TypeScript, with the no-TS-experience starting
  point treated as a real constraint on how it gets written. Jinja2 +
  HTMX stays a valid fallback and the API does not change.
- Placeholder captures are generated by a seed command, not downloaded:
  no licensing question, no binaries in git, and it can produce the
  volume the virtualised grid needs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 00:59:16 +02:00
Thomas KarnerandClaude Opus 5 5d16ded553 Server: verify Phase 1 end to end against PostgreSQL 17
Set up the dev environment (uv-managed CPython 3.14.7, postgres:17 in a
Podman container) and ran the skeleton for real: migrations apply, the
API serves /api/v1/health and /healthz, the worker claims a job and
drains it, 12/12 tests pass with nothing skipped.

The schema-drift test failed on its first real run and found a genuine
problem: Postgres reflects a varchar default as 'x'::character varying
while the model renders 'x', so all ten string defaults read as
permanent drift. Left alone that is the failure mode where you learn to
ignore the test and then miss the one real change. Add schema_compare.py,
a normaliser shared by migrations/env.py and the test so autogenerate and
the test can never disagree about what counts as a difference. A real
default change still fails it.

Also: ruff import-order fix in captures.py, and the README gains the
uv + Podman dev setup, the expected test count, and the CREATE DATABASE
privilege the drift test needs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 00:30:52 +02:00
Thomas Karner 8a51e3d95e Server: basic implementation. Not tested => no python installed; bugfix in ESP (uvicorn on port 8090) 2026-09-20 23:49:40 +02:00
Thomas Karner 3694cdf207 dev: re-create TODO.md; Dockerization in mind but postponed 2026-09-20 23:26:51 +02:00
Thomas Karner e191f59f6f remove oboslete TODOs 2026-09-20 22:53:45 +02:00
tom 1718c9c05e Normalisiere Zeilenenden (CRLF → LF) für Linux
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-20 20:30:25 +02:00
Thomas Karner 6bda641ce8 ESP: first implementation; compiles fine; not tested with MCU 2026-09-20 18:55:26 +02:00
tom 5bdcb51bff Dockerization TODO added 2026-06-03 01:03:24 +02:00
tom c8aab35910 Initial commit; 1st TODO added 2026-06-03 00:49:12 +02:00