feat(config): add hot-reload config + listMode (human-list/agent-list)

This commit is contained in:
2026-02-26 00:18:05 +00:00
parent 0f526346f4
commit 6d463a4572
8 changed files with 79 additions and 25 deletions

View File

@@ -9,7 +9,9 @@
"config": {
"enabled": true,
"discordOnly": true,
"bypassUserIds": ["561921120408698910"],
"listMode": "human-list",
"humanList": ["561921120408698910"],
"agentList": [],
"endSymbols": ["🔚"],
"noReplyProvider": "whisper-gateway",
"noReplyModel": "no-reply",

View File

@@ -51,7 +51,9 @@ Environment overrides:
- `NO_REPLY_MODEL_ID`
- `NO_REPLY_BASE_URL`
- `NO_REPLY_API_KEY`
- `BYPASS_USER_IDS_JSON`
- `LIST_MODE` (`human-list` or `agent-list`)
- `HUMAN_LIST_JSON`
- `AGENT_LIST_JSON`
- `END_SYMBOLS_JSON`
The script:

View File

@@ -10,14 +10,14 @@
- Enable plugin with:
- `discordOnly=true`
- narrow `bypassUserIds`
- `listMode=human-list` with narrow `humanList` (or `agent-list` with narrow `agentList`)
- strict `endSymbols`
- Point no-reply provider/model to local API
- Verify 4 rule paths in `docs/VERIFY.md`
## Stage 2: Wider channel rollout
- Expand `bypassUserIds` and symbol list based on canary outcomes
- Expand `humanList`/`agentList` and symbol list based on canary outcomes
- Monitor false-silent turns
- Keep fallback model available