Process 10 — Moderation decision (admin)
Process 10 — Moderation decision (admin)
Section titled “Process 10 — Moderation decision (admin)”Parent spec: 10-admin-console · Consumes: 03-ad-moderation §6–§7.
Notes
- The CF Access JWT is verified at the edge; the
Cf-Access-Authenticated-User-EmailandCf-Access-Jwt-Assertionheaders are injected before any worker code runs. - Optimistic locking is not a new primitive — it reuses
03 §E9(WHERE state='pending'). The admin UI sends noIf-Match; conflicts surface asad.state-conflict. - The
moderation_claimssoft lock prevents two admins reviewing the same ad. Implicit release on decision; explicitDELETEon navigate-away. - Audit row stores
sub(stable) andemail(display). Email may change;subdoes not. bump_strike=trueissues a strike via02— only used onrevokefor policy/copyright; not on initial reject.