openclaw/deploy/prod/clawdbot.json
Simon KP 6b1c6678ce feat(deploy): add restricted checkin-bot agent for DMs
- Add checkin-bot agent as default with tools.deny: ["*"]
- Add binding to route admin DM to main agent with full access
- Change dm.policy to "open" so anyone can DM
- Regular users get checkin-bot (no tools), admin gets main agent
2026-01-26 23:33:48 +11:00

117 lines
2.2 KiB
JSON

{
"gateway": {
"mode": "local"
},
"agents": {
"list": [
{
"id": "checkin-bot",
"default": true,
"identity": {
"name": "tobais",
"emoji": "🤖"
},
"tools": {
"deny": ["*"]
}
},
{
"id": "main",
"identity": {
"name": "tobais",
"emoji": "🤖"
}
}
],
"defaults": {
"model": {
"primary": "anthropic/claude-sonnet-4-20250514"
},
"thinkingDefault": "off",
"timeoutSeconds": 300,
"maxConcurrent": 2
}
},
"bindings": [
{
"agentId": "main",
"match": {
"channel": "discord",
"peer": {
"kind": "dm",
"id": "213199879525105664"
}
}
}
],
"channels": {
"discord": {
"enabled": true,
"groupPolicy": "allowlist",
"dm": {
"enabled": true,
"policy": "open",
"allowFrom": ["*"]
},
"guilds": {
"884603707658997780": {
"slug": "techops",
"requireMention": true,
"channels": {
"1437982793564160070": {
"allow": true,
"requireMention": false
},
"1461818628424073309": {
"allow": true,
"requireMention": false
},
"907225024753180672": {
"allow": true,
"requireMention": true
}
}
}
}
}
},
"session": {
"scope": "per-sender",
"dmScope": "per-channel-peer",
"reset": {
"mode": "idle",
"idleMinutes": 60
},
"resetTriggers": ["/new", "/reset"]
},
"messages": {
"ackReaction": "👀",
"inbound": {
"debounceMs": 2000
}
},
"skills": {
"allowBundled": ["self-improving-agent", "github"]
},
"logging": {
"level": "info",
"consoleStyle": "compact"
},
"plugins": {
"entries": {
"discord": {
"enabled": true
},
"checkins": {
"enabled": true
},
"memory-core": {
"enabled": true
}
},
"slots": {
"memory": "memory-core"
}
}
}