refine: cleanup remaining whispergate refs, improve docs and TASKLIST formatting

- Fix enableWhispergatePolicyTool → enableDirigentPolicyTool in config schema and example
- Fix whisper-gateway → dirigentway in install script
- Add v0.2.0 changelog entry
- Improve README with scheduling identifier docs and English text
- Clean up plugin README with moderator handoff format docs
- Reformat TASKLIST with cleaner done markers
This commit is contained in:
zhi
2026-03-03 10:13:39 +00:00
parent af33d747d9
commit fd1bf449a4
7 changed files with 75 additions and 59 deletions

View File

@@ -2,6 +2,8 @@
Rule-based no-reply gate + turn manager for OpenClaw (Discord).
> Formerly known as WhisperGate. Renamed to Dirigent in v0.2.0.
## What it does
Dirigent adds deterministic logic **before model selection** and **turn-based speaking** for multi-agent Discord channels:
@@ -13,8 +15,13 @@ Dirigent adds deterministic logic **before model selection** and **turn-based sp
4. Otherwise → route to no-reply model/provider
- **End-symbol enforcement**
- Injects instruction like: `你的这次发言必须以🔚作为结尾…`
- In group chats, also injects: “无关/不需要回应就 NO_REPLY
- Injects instruction: `Your response MUST end with 🔚…`
- In group chats, also injects: "If not relevant, reply NO_REPLY"
- **Scheduling identifier (moderator handoff)**
- Configurable identifier (default: `➡️`) used by the moderator bot
- Handoff format: `<@TARGET_USER_ID>➡️` (non-semantic, just a scheduling signal)
- Agent receives instruction explaining the identifier is meaningless — check chat history and decide
- **Turn-based speaking (multi-bot)**
- Only the current speaker is allowed to respond
@@ -22,8 +29,8 @@ Dirigent adds deterministic logic **before model selection** and **turn-based sp
- Turn advances on **end-symbol** or **NO_REPLY**
- If all bots NO_REPLY, channel becomes **dormant** until a new human message
- **Moderator handoff (optional)**
- When the current speaker NO_REPLYs, a moderator bot can post a handoff message to wake the next speaker
- **Agent identity injection**
- Injects agent name, Discord accountId, and Discord userId into group chat prompts
- **Per-channel policy runtime**
- Policies stored in a standalone JSON file
@@ -39,7 +46,7 @@ Dirigent adds deterministic logic **before model selection** and **turn-based sp
- `plugin/` — OpenClaw plugin (gate + turn manager + moderator presence)
- `no-reply-api/` — OpenAI-compatible API that always returns `NO_REPLY`
- `discord-control-api/` — Discord 管理扩展 API私密频道 + 成员列表)
- `discord-control-api/` — Discord admin extension API (private channels + member list)
- `docs/` — rollout, integration, run-mode notes, turn-wakeup analysis
- `scripts/` — smoke/dev/helper checks
- `Makefile` — common dev commands (`make check`, `make check-rules`, `make test-api`, `make smoke-discord-control`, `make up`)
@@ -61,7 +68,7 @@ node scripts/render-openclaw-config.mjs
```
See `docs/RUN_MODES.md` for Docker mode.
Discord 扩展能力见:`docs/DISCORD_CONTROL.md`
Discord extension capabilities: `docs/DISCORD_CONTROL.md`.
---
@@ -92,6 +99,7 @@ Common options (see `docs/INTEGRATION.md`):
- `listMode`: `human-list` or `agent-list`
- `humanList`, `agentList`
- `endSymbols`
- `schedulingIdentifier` (default `➡️`)
- `channelPoliciesFile` (per-channel overrides)
- `moderatorBotToken` (handoff messages)
- `enableDebugLogs`, `debugLogChannelIds`