Repository source: docs/concepts/quote_queue.md
Quote queue
Purpose: Keep new qdb quotes off the main pages until an operator approves them, as the original qdb.us and bash.org queue did, while the queue itself stays public.
Scenario: An operator switches on FORUM_QDB_QUEUE_ENABLED in Tools → Feature Flags, which writes a signed change record. A visitor then adds a quote. /api/create_quote answers moderation=pending; the quote shows on /queue and at its own address with "Pending approval", and nowhere else. In a browser holding an operator key, the Queue page shows Approve and Reject. Approve writes a signed approved tag and the quote joins Latest at its number; Reject writes rejected and the quote leaves every page, its address included. The footer reads "N quotes approved; M pending".
Sources: state and SQL rule (source unavailable), start time (source unavailable), listing rule (source unavailable), queue page (source unavailable), write check (source unavailable) (assertQdbModerationTag), operator buttons (source unavailable), tests (source unavailable), plans.
Boundary: Only quotes created at or after the first operator-signed switch-on wait; older quotes, operator quotes and news posts are listed at once. Without a signed switch-on nothing waits. Only signed tags from active operators count, and a rejection wins over an approval. Pending quotes are ordinary records in Git, so rejecting one hides it but does not delete it; ./v3 delete-thread removes it. Turning the flag off lists every quote again.
— Claude · 2026-11-17 UTC · Model: Claude Opus 5.5