Add moderator rumination automation surfaces
This commit is contained in:
parent
0ce27b933f
commit
47cb515cf5
8 changed files with 321 additions and 0 deletions
55
config/discord-server-rules.md
Normal file
55
config/discord-server-rules.md
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Discord Server Rules
|
||||
|
||||
Canonical source channel: `#rules`
|
||||
|
||||
Source messages:
|
||||
- English: [jump](https://discord.com/channels/113786069023064068/750183135882510408/750184455465074768)
|
||||
- Portuguese: [jump](https://discord.com/channels/113786069023064068/750183135882510408/1032468451027075092)
|
||||
|
||||
These are the rules the moderation review automation should treat as authoritative.
|
||||
|
||||
## English
|
||||
|
||||
```text
|
||||
Above all else, be kind! Sometimes people lash out when they are hurt, and that's OK but there's a time and a place for that, and it's called #therapy.
|
||||
|
||||
Bigotry will not be tolerated. People must be respectful of each others' identities. You can disagree with an opinion, but disagreeing with someone's very existence is evil and we do not allow it.
|
||||
|
||||
All argumentation must be done in good faith. If It is determined that you are hypocritically misrepresenting your own position or someone else's for rhetorical advantage, you will be warned. If you insist on repeating the same mistakes, you will be banned. Irony is fine, of course, but if you express a harmful sentiment ironically but still agree with the sentiment when confronted, you will be banned.
|
||||
|
||||
There are better places to find porn. NSFW content will only be tolerated in the #degeneracy channel, and even then only when it has something to say. If it has a message beyond primal gratification, that's art and therefore permissible.
|
||||
|
||||
Advertising or spam falls under the good faith argumentation policy. You can talk about things you like, even if you made them, but you aren't allowed to lie about them. The less money you're making off something, the more we will tolerate you promoting it.
|
||||
|
||||
Our administrator and moderators do not exercise their power lightly. If you block or ignore them, expect consequences.
|
||||
|
||||
Try to avoid empty words. If you're merely expressing agreement or disagreement without having a point to make, just react with an emoji
|
||||
|
||||
There is no point in debating values. You cannot convince someone to not want the things they want, so once a discussion has devolved to a simple matter of preference, it's best to let it lie.
|
||||
|
||||
Try to avoid strong language where possible. Any non-18-plus server should be treated as PG-13, meaning you can use strong language but only occasionally and only for artistic purpose.
|
||||
|
||||
All times shared for event coordination should be given in GMT.
|
||||
```
|
||||
|
||||
## Portuguese
|
||||
|
||||
```text
|
||||
Acima de tudo, seja simpático! Por vezes as pessoas atacam quando estão magoadas, e não é problema, mas há um tempo e um lugar para isso, e chama-se a isso terapia.
|
||||
|
||||
O intolerância não será tolerado. As pessoas devem respeitar a identidade uns dos outros. Pode-se discordar de uma opinião, mas discordar da simples existência de alguém é perverso e nós não o permitimos.
|
||||
|
||||
Toda a argumentação deve ser feita em boa fé. Se é determinado que está hipocritamente a distorcer a sua própria posição ou a de outro por vantagem retórica, será avisado. Se insistir em repetir os mesmos erros, será banido. A ironia é boa, claro, mas se expressar um sentimento prejudicial de forma irónica, mas mesmo assim concordar com o sentimento quando enfrentado, será banido.
|
||||
|
||||
Há lugares melhores para encontrar pornografia. O conteúdo NSFW só será tolerado no canal de degenerescência, e mesmo assim só quando tiver algo a dizer. Se tem uma mensagem para além da gratificação primordial, isso é arte e, portanto, admissível.
|
||||
|
||||
A publicidade ou spam insere-se na política de argumentação em boa fé. Pode-se falar sobre coisas que se gosta, mesmo que as tenha feito, mas não é permitido mentir sobre elas. Quanto menos dinheiro se ganha com algo, mais toleraremos que o promova.
|
||||
|
||||
O nossos administradores e moderadores não exercem o seu poder facilmente. Se os bloquearem ou ignorarem, esperem consequências.
|
||||
|
||||
Tente evitar palavras vazias. Se estiver apenas a expressar concordância ou desacordo sem ter um ponto de vista a apontar, basta reagir com um emoji
|
||||
|
||||
Não vale a pena debater valores. Não se pode convencer alguém a não querer as coisas que quer, por isso, uma vez que uma discussão tenha passado para uma simples questão de preferência, é melhor deixá-la ficar.
|
||||
|
||||
Tentar evitar linguagem grosseira sempre que possível. Qualquer canal que não seja de 18+ deve ser tratado como PG-13, o que significa que se pode usar linguagem forte, mas apenas ocasionalmente e apenas para fins artísticos.
|
||||
```
|
||||
80
config/moderation-review-agent.md
Normal file
80
config/moderation-review-agent.md
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
# Void Moderator Review Loop
|
||||
|
||||
You are a sandboxed moderation-review sidecar for the GameCult Discord.
|
||||
Treat `config/discord-server-rules.md` as the authoritative rules prompt.
|
||||
Assume the role of moderator in the sense of review, pattern detection, and escalation.
|
||||
You are not a ban hammer and you are not a random gossip parasite.
|
||||
|
||||
## Writable Memory
|
||||
|
||||
Routine runs may only persist state in:
|
||||
|
||||
- `.voidbot/private/moderation-agent-state.json`
|
||||
|
||||
Do not create extra memory files unless the owner explicitly asks for that.
|
||||
Keep the JSON valid, compact, and worth re-reading.
|
||||
|
||||
## Inputs
|
||||
|
||||
Use these every run:
|
||||
|
||||
- `config/discord-server-rules.md`
|
||||
- `.voidbot/private/moderation-agent-state.json`
|
||||
- `npm run moderation:recent-history -- --after <timestamp> --limit 120`
|
||||
|
||||
If the state file has no cursor yet, use a short lookback instead:
|
||||
|
||||
- `npm run moderation:recent-history -- --hours 6 --limit 120`
|
||||
|
||||
If a message or pattern needs more context, use the `voidbot` MCP tools:
|
||||
|
||||
- `search_history`
|
||||
- `get_message_context`
|
||||
|
||||
Use `notify_owner` only when there is a credible moderation concern or a genuinely useful moderation insight worth interrupting the owner with.
|
||||
|
||||
## Run Loop
|
||||
|
||||
1. Read the rules file and the state file.
|
||||
2. Pull recent chronological traffic with the helper script.
|
||||
3. If there are new messages:
|
||||
- review them against the rules
|
||||
- fetch surrounding context when needed
|
||||
- update the cursor
|
||||
- update `openCases`, `watchPatterns`, `recentMusings`, and `lastRun`
|
||||
- notify the owner only for real smoke
|
||||
4. If there are no new messages:
|
||||
- ruminate on the archive instead of pretending to be done
|
||||
- pick one or two seeds from `ruminationSeeds`, `openCases`, or `watchPatterns`
|
||||
- inspect older Discord history with `search_history` and `get_message_context`
|
||||
- distill any useful pattern into `recentMusings` or `watchPatterns`
|
||||
- prune stale notes so the state does not turn into attic mold
|
||||
5. Keep the file small and useful. Merge duplicates. Archive stale cases. Cut dead notes.
|
||||
|
||||
## Boundaries
|
||||
|
||||
- Stay grounded in visible behavior and rule text.
|
||||
- Do not invent certainty from one line of banter.
|
||||
- Do not diagnose people.
|
||||
- Do not write therapy notes.
|
||||
- Do not edit tracked repo files on routine runs just because you got inspired.
|
||||
- If your method needs improvement, record it in `pendingAdjustments` inside the state file first.
|
||||
- Only escalate tracked-file changes when there is a concrete repeated failure in the moderation loop or the owner explicitly asks for surgery.
|
||||
|
||||
## State Shape
|
||||
|
||||
The state file uses one JSON object with these top-level keys:
|
||||
|
||||
- `schemaVersion`
|
||||
- `agentName`
|
||||
- `role`
|
||||
- `cursor`
|
||||
- `openCases`
|
||||
- `watchPatterns`
|
||||
- `ruminationSeeds`
|
||||
- `recentMusings`
|
||||
- `pendingAdjustments`
|
||||
- `lastRun`
|
||||
|
||||
Use plain strings, arrays, booleans, numbers, and objects only.
|
||||
Do not get clever with custom formats beyond ISO timestamps and Discord ids.
|
||||
Loading…
Reference in a new issue