Update OPERATIONS.md

This commit is contained in:
k
2026-09-21 21:57:38 +02:00
parent 43003957eb
commit 836995824a
+10 -4
View File
@@ -112,11 +112,17 @@ creates a row in the `reports` table with a content snapshot (survives later
edits/deletion of the chat), the model, and the reporter. edits/deletion of the chat), the model, and the reporter.
- Reporter: capped at 20 open (`open` + `reviewing`) reports (429 beyond). - Reporter: capped at 20 open (`open` + `reviewing`) reports (429 beyond).
- Admin: **Reports** tab in the Admin Center (badge counts open reports) — Reporting the same message twice returns the existing report (409
filter by status, expand for the full snapshot + reporter details, and set `already reported`).
`open → reviewing → resolved / dismissed` with an internal note. - Admin: **Reports** tab in the Admin Center (badge counts open reports,
excluding shadow-banned reporters) — filter by status, expand for the full
snapshot + reporter details, and set `open → reviewing → resolved /
dismissed` with an internal note. An admin can also **shadow-ban** a
noisy reporter (toggle on the report detail, with confirm): their reports
are still accepted but flagged unreliable and hidden from the badge.
- Routes: `POST /api/reports` (Bearer), `GET /api/admin/reports`, - Routes: `POST /api/reports` (Bearer), `GET /api/admin/reports`,
`PATCH /api/admin/reports/:id` (admin). `PATCH /api/admin/reports/:id`,
`POST /api/admin/users/:id/shadowban` (admin).
## Key recovery via email (optional) ## Key recovery via email (optional)