feat(policy): add per-channel channelPolicies with hot-reload list mode/lists

This commit is contained in:
2026-02-26 00:23:47 +00:00
parent 6d463a4572
commit d6f908b813
7 changed files with 68 additions and 6 deletions

View File

@@ -13,6 +13,13 @@
"humanList": ["561921120408698910"],
"agentList": [],
"endSymbols": ["🔚"],
"channelPolicies": {
"1476369680632647721": {
"listMode": "agent-list",
"agentList": ["1474088632750047324"],
"endSymbols": ["🔚"]
}
},
"noReplyProvider": "whisper-gateway",
"noReplyModel": "no-reply",
"enableDiscordControlTool": true,

View File

@@ -54,6 +54,7 @@ Environment overrides:
- `LIST_MODE` (`human-list` or `agent-list`)
- `HUMAN_LIST_JSON`
- `AGENT_LIST_JSON`
- `CHANNEL_POLICIES_JSON`
- `END_SYMBOLS_JSON`
The script: