Saltar al contenido
Outer
Esc
↑↓navegar↵abrir⌘Jvista previa
En esta página

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

  1. Expect oxc string extraction: strings of 2+ copy-like letters; imports, URLs, CSS, comments, and identifiers stay skipped.
  2. Cover .html, .md, and .txt files.
  3. Cover JSON strings under public/ plus manifest.webmanifest.
  4. Cover SVG text nodes.
  5. Cover SQL string literals in migrations and seeds.
  6. Cover prerendered dist/ HTML.
  7. Cover the slug plus app name.

Respect extraction caps and dedup

  1. Stay under 3000 files, 256 KiB per file, and 8 MiB of text.
  2. Expect larger inputs to block as too_large_to_review.
  3. Hash each chunk with sha256 and skip chunks already cleared for the app.
  4. 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

  1. Read each finding as {path, line, excerpt, category, signal, score} with a user_message.
  2. Quote the excerpt verbatim (the chunk’s first 100 characters, unmasked).
  3. Relay user_message verbatim to the person.
  4. Fix flagged lines and commit again; a block counts as a code change and never becomes a rollback target.
  5. Expect brand fragments (paypal, apple, bank, login, whole or embedded) refused at claim time.
  6. Expect fail-closed review_unavailable when Jev is down; localhost dev without the Cloudflare pair passes with a warning.
  7. 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. Relay user_message verbatim instead of inventing a workaround.

Respect after-live enforcement

  1. 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.
  2. 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.
  3. 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 clean configure_app review crawl, or an admin restore lifts it.
  4. 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).
  5. Expect flagged apps to land in the admin moderation queue; an admin can hold or suspend the app, and suspension stops its fleet.
  6. 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.
  7. Expect /.outer/report on every app host to take abuse reports (rate-limited per client); reports queue for the admin and trigger a re-crawl.
  8. Relay hold and suspend messages verbatim.

For the person-side walkthrough, see Follow the content rules.

¿Te ha resultado útil esta página?