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
This commit is contained in:
1 parent
420d83e0ec
commit
d24f0ebb88
5 files changed
+59
-5
No files matched your search
+2
-2
@@ -30,8 +30,8 @@ system works*; the root [`README.md`](../README.md) is the quick-start.
|
|||||||
| Manual event/session feedback summaries and LLM configuration | [backend/feedback-ai.md](./backend/feedback-ai.md) |
|
| Manual event/session feedback summaries and LLM configuration | [backend/feedback-ai.md](./backend/feedback-ai.md) |
|
||||||
| **Badge printing** — pgmq queue, Raspberry Pi stations, tokens, troubleshooting | [backend/printing.md](./backend/printing.md) |
|
| **Badge printing** — pgmq queue, Raspberry Pi stations, tokens, troubleshooting | [backend/printing.md](./backend/printing.md) |
|
||||||
| **Deployment — VM access (remote host for `appe.at`)** | [deployment.md](./deployment.md) |
|
| **Deployment — VM access (remote host for `appe.at`)** | [deployment.md](./deployment.md) |
|
||||||
| **2026-10-10 changes, deployment and verification** | [releases/2026-10-10.md](./releases/2026-10-10.md) |
|
| **Release records** (per day: cause, fix, tests, deploy evidence) | [releases/README.md](./releases/README.md) |
|
||||||
| **What's next (Redesign Phases 3–6 + later + open items)** | [next-steps.md](./next-steps.md) |
|
| **What's next (open items + known work)** | [next-steps.md](./next-steps.md) |
|
||||||
|
|
||||||
## Reading order
|
## Reading order
|
||||||
|
|
||||||
|
|||||||
@@ -123,7 +123,13 @@ worker) and stamps `last_seen_at`.
|
|||||||
|
|
||||||
`welcome_checkin` was re-created in the same migration: identical signature and
|
`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,
|
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
|
### 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
|
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
|
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
|
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
|
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
|
## 5. Station tokens & security model
|
||||||
|
|
||||||
|
|||||||
@@ -201,6 +201,16 @@ flowchart LR
|
|||||||
| `POST` | `/run` | `{ event_id }` | **blocking** — the API-sync result (summary + errors) |
|
| `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` | `/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) |
|
| `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,
|
`/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
|
transforms, calls the RPC, and returns the summary. The admin's "Sync" button and
|
||||||
|
|||||||
@@ -7,6 +7,16 @@ Convivo runs locally for development and on the production VM at
|
|||||||
|
|
||||||
## Production status (2026-10-07)
|
## Production status (2026-10-07)
|
||||||
|
|
||||||
|
> **This table and its evidence block describe the 2026-10-07 deploy** — its
|
||||||
|
> bundle markers (`index-Gv3o7AW6.js` / `index-CocPCSGt.js`) were superseded many
|
||||||
|
> times since. Dated deployment evidence lives in [releases/](./releases/).
|
||||||
|
> Last full deploy **2026-10-19** ([release record](./releases/2026-10-19.md)):
|
||||||
|
> served bundles `index-CvbBKcXb.js` (admin) and `index-D4o4lQL7.js` (attendee),
|
||||||
|
> both md5-identical to clean local builds of `main`; migration
|
||||||
|
> `20261019160000` in the ledger; backup
|
||||||
|
> `/home/APPE/convivo-backups/pointsfix-20261019T181646Z`; rollback tags
|
||||||
|
> `convivo-{app,admin,sidecar}:rollback-pointsfix-20261019T181646Z`.
|
||||||
|
|
||||||
| Public URL | Role | Verified result |
|
| Public URL | Role | Verified result |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `https://convivo.appe.at` | Attendee app | DNS points to `68.210.96.53`; valid TLS; HTTP 200 |
|
| `https://convivo.appe.at` | Attendee app | DNS points to `68.210.96.53`; valid TLS; HTTP 200 |
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# Release Records
|
||||||
|
|
||||||
|
One file per working day, append-only: each deploy or significant change gets a
|
||||||
|
section with **symptom → root cause → fix → tests → deployment evidence**.
|
||||||
|
Sections are written when the work is committed; a deployment section is added
|
||||||
|
when it ships (or the section says it has not shipped). Numbers in a section
|
||||||
|
(“N passed, 0 failed”) describe the run taken at that moment — if a later
|
||||||
|
measurement contradicts one, the old claim stays and a correction section is
|
||||||
|
appended, so the record shows what was believed and when it was fixed.
|
||||||
|
|
||||||
|
| Date | Contents |
|
||||||
|
|---|---|
|
||||||
|
| [2026-10-19](./2026-10-19.md) | Welcome-check-in confirmation + camera fixes; per-row check-in toggle, front-desk gate, badge copies — **deployed**; then points correctness (welcome +10, toggle restore, visible exclusions), Sessions view, AI connection test, silent refresh, tooltip containment, speaker pending-material deep link — **deployed**, incl. the corrected test numbers and the seed-drift diagnosis |
|
||||||
|
| [2026-10-18](./2026-10-18.md) | Badge print queue on the Pi stations |
|
||||||
|
| [2026-10-17](./2026-10-17.md) | Reports + event feedback work |
|
||||||
|
| [2026-10-16](./2026-10-16.md) | Pretix ticket sync live |
|
||||||
|
| [2026-10-15](./2026-10-15.md) | Leaderboard staff/admin exclusion |
|
||||||
|
| [2026-10-11](./2026-10-11.md) | Feedback AI summaries (sidecar) |
|
||||||
|
| [2026-10-10](./2026-10-10.md) | Admin magic links, speaker portal, deployment verification |
|
||||||
|
|
||||||
|
Current production state (bundles, migration ledger entry, backup + rollback
|
||||||
|
tags) is summarised at the top of
|
||||||
|
[../deployment.md](../deployment.md) and in detail in the latest release file.
|
||||||
Reference in new issue
Block a user