- Shipped
- November 16, 2026 at 2:28 AM UTC
- Author
- Kamo
- Commit
- 24b2611
GET/PUT /api/kb/settings (Manage KB Settings writes; Review KB Articles reads; versioned, 409 when stale; 400 in plain words), /pulse (Health Card + Needs You counts) and /coverage (real translations per language). Every room's save is a row on the shared settings change log (key kb, knowledge-base/<tab>/<section>, section snapshots for Undo). Enforced where it happens: - Require Review: POST /articles/{guid}/publish publishes a draft directly only where review is not required (409 REVIEW_REQUIRED otherwise; the author or a reviewer). A Different Person Approves: approve refuses the author and the sender (403 SEPARATE_REVIEWER; god passes). - Reminders: hourly KbReminderSweep (singleton lock) — ONE KB_REVIEW_WAITING per reviewer listing reviews past the wait, ONE KB_ARTICLES_STALE per author listing articles past the Freshness Rule; kb_reminders makes each event one alert. - Freshness: the overview carries stale per article, staleCount and the policy (the console reads the server's answer). An edit now stamps date_updated (it never moved, so 'stale' meant 'old'); existing rows were backfilled from versions. - Default Audience: a create without the flags takes the org's defaults. - Help Center switch: the public article routes answer 404 for an org that turned it off. - Languages: the translator and the sweep translate only the chosen languages; public and help reads serve only them. Only published articles are translated (a publish asks for it, inside the transaction so the AFTER_COMMIT listener really fires).
