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:
66
TASKLIST.md
66
TASKLIST.md
@@ -2,48 +2,42 @@
|
||||
|
||||
> Note: Project rename from WhisperGate → Dirigent implies updating all code/docs references (plugin/tool names, strings, files, configs).
|
||||
|
||||
## 1) Identity Prompt Enhancements
|
||||
- ✅ Added Discord userId to identity injection via `resolveDiscordUserId()`.
|
||||
- Identity format now: `You are <name> (Discord account: <accountId>, Discord userId: <userId>).`
|
||||
## 1) Identity Prompt Enhancements ✅
|
||||
- Current prompt only includes agent-id + discord name.
|
||||
- **Add Discord userId** to identity injection.
|
||||
- **Done**: `buildAgentIdentity()` now resolves and includes Discord userId via `resolveDiscordUserId()`.
|
||||
|
||||
## 2) Scheduling Identifier (Default: ➡️)
|
||||
- ✅ Added `schedulingIdentifier` config field (default: `➡️`) to `DirigentConfig` and `openclaw.plugin.json`.
|
||||
- ✅ Updated `buildEndMarkerInstruction()` to explain scheduling identifier semantics to agents:
|
||||
- The identifier itself is meaningless.
|
||||
- When receiving `<@USER_ID>` + identifier, check chat history and decide whether to reply.
|
||||
- If nothing to say, reply `NO_REPLY`.
|
||||
## 2) Scheduling Identifier (Default: ➡️) ✅
|
||||
- Add a **configurable scheduling identifier** (default: `➡️`).
|
||||
- Update agent prompt to explain:
|
||||
- The scheduling identifier itself is meaningless.
|
||||
- When receiving `<@USER_ID>` + scheduling identifier, the agent should check chat history and decide whether to reply.
|
||||
- If no reply needed, return `NO_REPLY`.
|
||||
- **Done**: Added `schedulingIdentifier` config field; `buildSchedulingIdentifierInstruction()` injected for group chats.
|
||||
|
||||
## 3) Moderator Handoff Message Format
|
||||
- ✅ Moderator no longer sends semantic messages.
|
||||
- Handoff format is now: `<@TARGET_USER_ID>` + scheduling identifier (e.g., `<@123>➡️`).
|
||||
## 3) Moderator Handoff Message Format ✅
|
||||
- Moderator should **no longer send semantic messages** to activate agents.
|
||||
- Replace with: `<@TARGET_USER_ID>` + scheduling identifier (e.g., `<@123>➡️`).
|
||||
- **Done**: Both `before_message_write` and `message_sent` handoff messages now use `<@userId>` + scheduling identifier format.
|
||||
|
||||
## 4) Prompt Language
|
||||
- ✅ All prompts converted to English:
|
||||
- `buildEndMarkerInstruction()` — English with scheduling identifier explanation
|
||||
- `buildAgentIdentity()` — English format
|
||||
- Slash command help text — English
|
||||
- Error messages — English
|
||||
- Code comments — English
|
||||
## 4) Prompt Language ✅
|
||||
- **All prompts must be in English** (including end-marker instructions and group-chat rules).
|
||||
- **Done**: `buildEndMarkerInstruction()` and `buildSchedulingIdentifierInstruction()` output English. Slash command help text in English.
|
||||
|
||||
## 5) Full Project Rename
|
||||
- ✅ Plugin id: `whispergate` → `dirigent`
|
||||
- ✅ Plugin name: `WhisperGate` → `Dirigent`
|
||||
- ✅ Tool name: `whispergate_tools` → `dirigent_tools`
|
||||
- ✅ Config type: `WhisperGateConfig` → `DirigentConfig`
|
||||
- ✅ Config lookup key: `entries.whispergate` → `entries.dirigent`
|
||||
- ✅ Channel policies file: `whispergate-channel-policies.json` → `dirigent-channel-policies.json`
|
||||
- ✅ Log prefixes: `whispergate:` → `dirigent:`
|
||||
- ✅ Slash command: `/whispergate` → `/dirigent`
|
||||
- ✅ Gateway browser/device identifier: `whispergate` → `dirigent`
|
||||
- ✅ Scripts renamed: `install-whispergate-*` → `install-dirigent-*`
|
||||
- ✅ All docs, configs, examples updated
|
||||
- ✅ dist/ folder: `dist/whispergate/` → `dist/dirigent/`
|
||||
- ✅ package.json names updated
|
||||
- ✅ README.md, CHANGELOG.md updated
|
||||
- ✅ Version bumped to 0.2.0
|
||||
## 5) Full Project Rename ✅
|
||||
- Project name changed to **Dirigent**.
|
||||
- Update **all strings** across repo:
|
||||
- plugin name/id → `dirigent`
|
||||
- tool name → `dirigent_tools`
|
||||
- slash command → `/dirigent`
|
||||
- docs, config, scripts, examples
|
||||
- any text mentions
|
||||
- dist output dir → `dist/dirigent`
|
||||
- docker service → `dirigent-no-reply-api`
|
||||
- config key fallback: still reads legacy `whispergate` entry if `dirigent` not found
|
||||
- **Done**: All files updated.
|
||||
|
||||
---
|
||||
|
||||
## Open Items / Notes
|
||||
- User requested the previous README commit should have been pushed to `main` directly (was pushed to a branch). Address separately if needed.
|
||||
- **Migration note**: Existing deployments need to update their `openclaw.json` config from `plugins.entries.whispergate` → `plugins.entries.dirigent` and rename the channel policies file.
|
||||
|
||||
Reference in New Issue
Block a user