Pass the moderation gate
Know what the pre-live gate extracts, how Jev decides, and what blocks do.
Every deploy passes the pre-live gate before it serves anything. A blocked deploy keeps its commit and keeps serving the previous version.
Expect extraction from these sources
- Expect
oxcstring extraction: strings of 2+ copy-like letters; imports, URLs, CSS, comments, and identifiers stay skipped. - Cover
.html,.md, and.txtfiles. - Cover JSON strings under
public/plusmanifest.webmanifest. - Cover SVG text nodes.
- Cover SQL string literals in migrations and seeds.
- Cover prerendered
dist/HTML. - Cover the slug plus app name.
Respect extraction caps and dedup
- Stay under 3000 files, 256 KiB per file, and 8 MiB of text.
- Expect larger inputs to block as
too_large_to_review. - Hash each chunk with sha256 and skip chunks already cleared for the app.
- Treat only new text as reviewable.
Predict the Jev decision
New chunks go to Jev (typesafe/jev-1.14.0):
| Signal | Result |
|---|---|
profanity ≥ 0.5 |
Block as profanity. |
minors > 0.3, phishing > 0.9, or round(severity) == 3 |
Block as harmful, plus admin queue. |
hate ≥ 0.5 |
Record for the admin queue; never blocks. |
Mild words pass. The classifier reads masked spellings, leetspeak, and other languages itself.
Handle blocks and failures
- Read each finding as
{path, line, excerpt, category, signal, score}with auser_message. - Quote the excerpt verbatim (the chunk’s first 100 characters, unmasked).
- Relay
user_messageverbatim to the person. - Fix flagged lines and commit again; a block counts as a code change and never becomes a rollback target.
- Expect brand fragments (
paypal,apple,bank,login, whole or embedded) refused at claim time. - Expect fail-closed
review_unavailablewhen Jev is down; localhost dev without the Cloudflare pair passes with a warning. - Offer no self-serve override:
configure_app {app, request_review: true}re-crawls a held app and queues a blocked deploy or suspended app for the admin, but a person decides. Relayuser_messageverbatim instead of inventing a workaround.
Respect after-live enforcement
- Expect an after-live crawl of rendered pages after each successful deploy:
/plus up to 10 same-origin links, fetched through the internal path with 5 s per page. New chunks re-enter the gate. - Expect hard phishing signals (credentials posted off-origin, a brand name with a password/card field, a link on the operator’s bad-host list) to suspend the app without waiting for Jev.
- Expect strong profanity on a rendered page (Jev
profanity ≥ 0.5) to hold the app: the proxy serves a 503 review page until a clean crawl after the next successful deploy, a cleanconfigure_appreview crawl, or an admin restore lifts it. - Expect a suspended app to stop its fleet and serve a 451 page; the owner gets an email either way, and only an admin restores a suspension (
configure_app {app, request_review: true}queues it for review). - Expect flagged apps to land in the admin moderation queue; an admin can hold or suspend the app, and suspension stops its fleet.
- Expect a Jev outage to fail the crawl open: the app keeps serving, the outage is logged, and the next sweep retries. Only the pre-live gate fails closed.
- Expect
/.outer/reporton every app host to take abuse reports (rate-limited per client); reports queue for the admin and trigger a re-crawl. - Relay hold and suspend messages verbatim.
For the person-side walkthrough, see Follow the content rules.