docs: close round-2 doc gaps — sidecar route table, printing points note, deployment markers, releases index

- sidecar.md HTTP API table now lists the LLM routes (/llm-settings GET/PUT,
  /llm-test, /feedback-summary) it had silently omitted; points at
  feedback-ai.md for contracts
- printing.md: welcome_checkin gained points/points_awarded (+10 on the first
  check-in, same branch as the badge loop; popup promises the award only when
  points_awarded)
- deployment.md: the 2026-10-07 status table is now labelled as that day's
  snapshot with a pointer to releases/ and the current 2026-10-19 bundles,
  migration, backup and rollback tags (old index-Gv3o7AW6/CocPCSGt markers were
  misleading readers about live state)
- new docs/releases/README.md index (7 files existed, docs/README linked only
  one); docs/README.md links it

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-10-19 22:23:06 +02:00
1 parent 6f13d47020
commit bd157ac4f5
5 files changed
+59 -5

No files matched your search

+14 -3
View File
@@ -123,7 +123,13 @@ worker) and stamps `last_seen_at`.
`welcome_checkin` was re-created in the same migration: identical signature and
behaviour, plus the `badge_print` enqueue for a **genuine first check-in** only,
inside the same transaction (see [rpcs.md](./rpcs.md#welcome_checkinp_attendee_qr--attendee_email-attendee_name-already)).
inside the same transaction (see
[rpcs.md](./rpcs.md#welcome_checkinp_attendee_qr--attendee_email-attendee_name-already-points-points_awarded)).
`20261019160000_welcome_points_and_toggle_restore.sql` widened its return with
`points` + `points_awarded` and gave that same first check-in its **+10** award:
badge loop and award share one `v_checked is not true` branch, so a re-welcome
neither prints nor pays, and a staff/Admin contact is still welcomed and still
printed — just with nothing to award.
### How many labels one welcome prints
@@ -149,9 +155,14 @@ times"*, from `copies`) — with **Yes/No**.
Only **Yes** runs `welcome_checkin`. The preview's `will_print` mirrors the exact
enqueue condition (first check-in **and** a layout exists), so the popup never
promises a print that won't happen; when it is `false` the popup says the person
is checked in without mentioning a label. Session check-in is unchanged and never
is checked in without mentioning a label. Since
`20261019160000_welcome_points_and_toggle_restore.sql` the preview also returns
`points_awarded`, so the same popup adds *"Checking in awards +10 points"* only
when the award will really land, and says the person does not earn points
(staff/organiser) when it will not. Session check-in is unchanged and never
prints. (Added in `20261019090000_welcome_checkin_preview.sql`, `copies` in
`20261019110000_front_desk_gate_and_badge_copies.sql`.)
`20261019110000_front_desk_gate_and_badge_copies.sql`, `points_awarded` in
`20261019160000`.)
## 5. Station tokens & security model
+10
View File
@@ -201,6 +201,16 @@ flowchart LR
| `POST` | `/run` | `{ event_id }` | **blocking** — the API-sync result (summary + errors) |
| `POST` | `/import-excel` | `multipart/form-data` (`event_id` + `file` = the `.xlsx`) | **blocking** — the Excel-import result (summary + errors) |
| `POST` | `/export` | `{ event_id, format: 'csv' \| 'xlsx' \| 'pdf', tables? }` | **blocking** — `{ filename, mime, content_base64 }` (the event report) |
| `GET` | `/llm-settings` | — | stored LLM settings (never the key itself; `has_api_key` boolean) |
| `PUT` | `/llm-settings` | `{ endpoint, model, api_key? }` | the saved public settings |
| `POST` | `/llm-test` | — | a connection **verdict** (never an exception): `{ ok, model, endpoint, latency_ms, reasoning_disabled, reasoning_tokens, content, warning, error }` |
| `POST` | `/feedback-summary` | `{ scope: 'event', event_id }` or `{ scope: 'session', event_id, session_id }` | the generated summary (stored via service role) |
`/llm-test` runs the SSRF-guarded one-shot request against the **stored**
settings — a bad form state cannot be tested because the key never reaches the
browser. The three-state reasoning verdict (reported 0 / not reported / reported
non-zero) and the redaction rules are in
[Feedback AI summaries](./feedback-ai.md).
`/run` is **blocking**: it reads the event's endpoint, fetches Sessionize,
transforms, calls the RPC, and returns the summary. The admin's "Sync" button and