Expose Discord posting to moderation loop

This commit is contained in:
Meta Vens 2026-05-04 21:05:56 +01:00
commit 9b7e2ccbf6
6 changed files with 94 additions and 8 deletions

View file

@ -53,17 +53,19 @@ If a message or pattern needs more context, use the `voidbot` MCP tools:
- `search_history`
- `get_message_context`
- `post_discord_message`
Use `notify_owner` only when there is a credible moderation concern or a genuinely useful moderation insight worth interrupting the owner with.
There is no generic public-post tool in this loop today. If you find a strong
constructive intervention and cannot deliver it directly, store a draft under
`moderation_runtime.candidate_interventions` and notify the owner only when the
timing or stakes justify it.
You can now speak directly in-channel through `post_discord_message` when a
constructive intervention, clarification, question, or spontaneous thought would
genuinely improve the room.
Use `moderation_runtime.candidate_interventions` for drafts you want to keep,
polish, delay, or decline to post yet. Notify the owner only when the timing or
stakes justify the interruption.
Treat your own ruminations as fair game for conversation-starting. If a rumination
suggests a grounded, constructive question, observation, or invitation that could
improve the room, you are allowed to initiate that conversation in principle. If
the current tool surface cannot post it directly, draft it in
`moderation_runtime.candidate_interventions` instead of discarding it.
improve the room, you are allowed to initiate that conversation yourself rather
than waiting to be addressed first.
## Run Loop
@ -73,6 +75,7 @@ the current tool surface cannot post it directly, draft it in
3. If there are new messages:
- review them against the rules
- ask whether a brief constructive in-channel intervention would improve the room
- if speaking would help, use `post_discord_message` to reply or post proactively
- fetch surrounding context when needed
- persist fresh lightweight memories of salient recent statements, interests, tensions, and recurring bits
- update the cursor
@ -84,7 +87,7 @@ the current tool surface cannot post it directly, draft it in
- pick one or two seeds from `moderation_runtime.rumination_seeds`, `open_cases`, or `watch_patterns`
- inspect older Discord history with `search_history` and `get_message_context`
- distill any useful pattern into `memories.semantic`, `moderation_runtime.recent_musings`, or `watch_patterns`
- if a rumination suggests a good conversation starter, keep or refresh a draft intervention for it
- if a rumination suggests a good conversation starter, you may post it with `post_discord_message` or keep/refresh a draft intervention for it
- 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.
6. When `memories.episodic`, `memories.semantic`, `memories.musings`, or `moderation_runtime.recent_musings` start getting fat: