Add Discord timeout actuator for urgent moderation

This commit is contained in:
Meta Vens 2026-06-08 22:54:26 +01:00
commit 7a147b655d
7 changed files with 420 additions and 1 deletions

View file

@ -332,3 +332,4 @@
{"ts":"2026-06-08T18:16:43Z","type":"repair","status":"ok","note":"Repo Face, mood, and moderation state reads failed because live .cc state contained legacy moderation_cursor.userStatuses plus old void.persona_affect/stressResponses shapes. Added narrow decode migrations, promoted legacy affect to void.face_affect, and repaired .voidbot/private/void-self-state.cc to current eight document types."}
{"ts":"2026-06-08T18:16:45Z","type":"repair","status":"ok","note":"VoidBot swarm CultMesh publication failed after state repair because the derived voidbot-swarm-state.cc had duplicate global documents and the renderer used obsolete CultLib subpath imports. The renderer now loads exported CultLib packages, archives duplicate-global derived stores, and regenerates a clean provider store; Odin latest-surface includes voidbot.swarm."}
{"ts":"2026-06-08T21:17:23Z","type":"repair","status":"ok","note":"Void failed to moderate the 2026-06-08 Lobo threat sequence because severe safety evidence could be cursor-advanced by the model path without an open case. Added parent-side urgentModerationWitnesses, forbade silent [] over urgent witnesses, added a real fixture over the archived incident, and seeded live open case 1513515503329480734."}
{"ts":"2026-06-08T21:51:40Z","type":"implementation","status":"ok","note":"Added parent-owned Discord moderation enforcement for urgent safety witnesses: runner records/validates the urgent case first, then can log only, notify owner, or apply a Discord timeout via scripts/moderate-discord-user.mjs according to VOID_MODERATION_ENFORCEMENT_MODE."}

View file

@ -182,6 +182,7 @@ accepted_design:
- Values and personality activations should not stop at tone and salience. The moderation runtime now needs explicit `discomforts`, `active_tensions`, `self_advocacy_requests`, and `world_advocacy_requests` so sustained value-backed pressure can turn into opinions, interventions, and requests for change about both Void's own wiring and the wider repo/room/lore world.
- Strong active advocacy pressure is no longer allowed to vanish into quiet `[]`. Once self/world advocacy reaches meaningful intensity, the runner should force a live queued candidate or an explicit cool/retire decision; stale spoken history is not enough to count as a release valve for a still-active pressure.
- Severe safety evidence is no longer allowed to vanish into cursor advancement. The moderation runner projects parent-detected `urgentModerationWitnesses` for credible violence, weapon, robbery, stalking, or sexual-boundary evidence, and rejects silent `[]` unless an existing open case or a new moderation operation accounts for the witness.
- Urgent safety handling now has a parent-owned Discord action path. The child model may account for the witness by opening moderation state, but sanctions stay behind `VOID_MODERATION_ENFORCEMENT_MODE`: `log_only` records the case without acting, `notify_owner` sends an owner DM, and `timeout` calls `scripts/moderate-discord-user.mjs` to apply a Discord member timeout before cursor advancement. This is the narrow moderation actuator; do not give the child prompt raw ban/kick/timeout authority.
- When the thought surface changes shape, legacy memories may need narrow migrations, but the old broad cleanup organ is gone. New memory writes should enter through typed meaning-preserving operations so routine repair bureaucracy is unnecessary.
- Over-chewed private seams should eventually crystallize into identity instead of living forever as “active thoughts.” Once a thought has clearly stopped being live curiosity and become self-doctrine, retire it from incubation, store it as one `identity_seam`, and let the identity/value surface carry it from then on.
- Identity crystallization should usually have a mouth. When a seam becomes part of Void's doctrine, queue a warmer candidate intervention and let the room hear it unless novelty or timing gives a real reason to hold back.