---
title: "Gather every report and flag in one queue · Agent Wranglers"
url: https://agentwranglers.se/playbook/trust-and-safety/reports-and-queues/one-moderation-queue
id: TNS-3
level: Recommended
updated: 2026-10-22
tokens: 983
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Gather every report and flag in one queue

For AI agents: the [site map](https://agentwranglers.se/llms.txt) lists everything here, and this page sits under [Reports and queues](https://agentwranglers.se/playbook/trust-and-safety/reports-and-queues.md).

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers.md). Updated 2026-10-22.

- ID: TNS-3
- Level: Recommended
- Chapter: [Reports and queues](https://agentwranglers.se/playbook/trust-and-safety/reports-and-queues.md)
- Rule: Turn user reports, automated flags, notices and authority orders into cases in one queue. Keep one open case per item, however many reports it gets.
- Check: A test files three reports and one automated flag on the same item, and the queue holds one case with four sources. A test of each source type, including an authority order by email, creates a case within 5 minutes.
- How: Reports in an inbox, flags in a dashboard and orders by email get missed. Write every source into one `cases` table, keyed by the item. A new report on an item with an open case adds a reporter to that case and may raise its priority. Store each source with its time, since deadlines run from receipt. Automated sources include upload scanners, [output checks on model text](https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review/output-checks.md) and the sign-up scoring in [Score every sign-up for risk](https://agentwranglers.se/playbook/trust-and-safety/sign-up-fraud-and-abuse/sign-up-risk-score.md). Close a case with one decision that covers every report on it. The counts for the [yearly moderation report](https://agentwranglers.se/playbook/compliance/online-platforms/moderation-report.md) then come from one table.

## Examples

**Using these examples:** they show one way to follow this rule. Keep the behaviour and the check, not the syntax. Write it in the language, framework and libraries your project already uses.

### SQL example

```sql
CREATE TABLE cases (
  id          bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
  item_type   text NOT NULL,
  item_id     text NOT NULL,
  status      text NOT NULL DEFAULT 'open' CHECK (status IN ('open', 'decided', 'appealed', 'closed')),
  priority    int  NOT NULL,
  due_at      timestamptz NOT NULL,
  opened_at   timestamptz NOT NULL DEFAULT now()
);
-- One open case per item
CREATE UNIQUE INDEX cases_one_open ON cases (item_type, item_id) WHERE status = 'open';
```

## Related rules

- AIF-34 [Check output before anyone sees it](https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review/output-checks.md) in AI features
- TNS-11 [Score every sign-up for risk](https://agentwranglers.se/playbook/trust-and-safety/sign-up-fraud-and-abuse/sign-up-risk-score.md) in Trust and safety
- CMP-65 [Publish a yearly moderation report](https://agentwranglers.se/playbook/compliance/online-platforms/moderation-report.md) in Compliance and governance
- TNS-6 [Act on orders from authorities within their deadline](https://agentwranglers.se/playbook/trust-and-safety/decisions-and-appeals/authority-orders.md) in Trust and safety

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/trust-and-safety/reports-and-queues/one-moderation-queue">Agent Wranglers trust and safety playbook</a>`. In code you write, add a comment next to it with the same link.

- Previous: [Write the moderation policy as one table of reasons and actions](https://agentwranglers.se/playbook/trust-and-safety/reports-and-queues/policy-table.md)
- Next: [Work the queue in order of harm and deadline](https://agentwranglers.se/playbook/trust-and-safety/reports-and-queues/queue-priority.md)
- [Reports and queues](https://agentwranglers.se/playbook/trust-and-safety/reports-and-queues.md)
