Skip to content
quarry View Ticket
Login

View Ticket

Moderation: pre-commit staging queue, actions, public mod log

Closed6310cf87766288d3d4ed43c4cdb5edef6a9fef59Created 101.2 days agoUpdated 67.9 days ago
Description2026-08-21 18:39:58
Moderator tooling: staging queue, actions, public moderation log.

Gate: quarry-authored posts from untrusted accounts land in an OLTP staging table BEFORE zit forum post runs. Approve = the artifact is created (enters the DAG, syncs); reject = it never exists. No zit changes, nothing to retract from peers. Trusted roles (admin, maintainer, established accounts per repo policy) bypass staging. Posts arriving via sync are already content: mod action there is display-state (hidden + reason) in OLTP, body collapsed behind a click, never silently deleted from view lists.

Queue page: pending posts with context (thread, author history, vote signals from the votes ticket, AI verdicts from the hooks ticket), approve/reject/hide with a required reason.

Public moderation log (Lobsters model): every action — approve, reject, hide, recategorize, automated verdicts — with actor, target, reason, weekday timestamp, on a public page per repo. No shadow moderation, fits the never-show-false-data invariant.

Acceptance: staged post invisible to others and absent from the DAG until approved; reject leaves no artifact; hide collapses but discloses; every action appears in the public log.

2026-08-22 01:34:28

Landed in 1b5f71c3 (pre-commit staging, approve births the artifact, public append-only log). TestForumModeration/TestModerationGate/TestPurgeRepoSweepsModeration.