diff --git a/config/openclaw/openclaw.template.json b/config/openclaw/openclaw.template.json index a4d8d7d97..480bd16f2 100644 --- a/config/openclaw/openclaw.template.json +++ b/config/openclaw/openclaw.template.json @@ -196,9 +196,166 @@ { "id": "main", "default": true + }, + { + "id": "code-reviewer-opus", + "name": "Code Reviewer (Opus)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/claude-opus-4-6", + "fallbacks": [ + "cliproxy/glm-4.7" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-reviewer-sonnet", + "name": "Code Reviewer (Sonnet)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/claude-sonnet-4-5-20250929", + "fallbacks": [ + "cliproxy/glm-4.7" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-reviewer-glm", + "name": "Code Reviewer (GLM)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/glm-4.7" + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-reviewer-gpt-codex", + "name": "Code Reviewer (GPT Codex)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/gpt-5.3-codex", + "fallbacks": [ + "cliproxy/glm-4.7" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-reviewer-gemini", + "name": "Code Reviewer (Gemini Pro)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/gemini-3-pro-preview", + "fallbacks": [ + "cliproxy/glm-4.7" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-formatter", + "name": "Code Formatter", + "workspace": "__HOME__/agents/formatter", + "model": { + "primary": "cliproxy/glm-4.7" + }, + "tools": { + "allow": [ + "read", + "write" + ] + } + }, + { + "id": "security-scanner", + "name": "Security Scanner", + "workspace": "__HOME__/agents/security", + "model": { + "primary": "cliproxy/claude-opus-4-6", + "fallbacks": [ + "cliproxy/claude-sonnet-4-5-20250929" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "test-coverage", + "name": "Test Coverage", + "workspace": "__HOME__/agents/testing", + "model": { + "primary": "cliproxy/glm-4.7" + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "docs-checker", + "name": "Docs Checker", + "workspace": "__HOME__/agents/docs", + "model": { + "primary": "cliproxy/claude-sonnet-4-5-20250929", + "fallbacks": [ + "cliproxy/glm-4.7" + ] + }, + "tools": { + "allow": [ + "read" + ] + } } ] }, + "broadcast": { + "strategy": "parallel", + "120363425148909388@g.us": [ + "code-reviewer-opus", + "code-reviewer-sonnet", + "code-reviewer-glm", + "code-reviewer-gpt-codex", + "code-reviewer-gemini", + "code-formatter", + "security-scanner", + "test-coverage", + "docs-checker" + ] + }, "messages": { "queue": { "mode": "interrupt" @@ -249,7 +406,7 @@ }, "sendReadReceipts": true, "ackReaction": { - "emoji": "\ud83d\udc40", + "emoji": "👀", "direct": true, "group": "mentions" } diff --git a/config/openclaw/openclaw.tpl.json b/config/openclaw/openclaw.tpl.json index 96fc7e22c..1ab6fbea2 100644 --- a/config/openclaw/openclaw.tpl.json +++ b/config/openclaw/openclaw.tpl.json @@ -196,9 +196,166 @@ { "id": "main", "default": true + }, + { + "id": "code-reviewer-opus", + "name": "Code Reviewer (Opus)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/__CLAUDE_OPUS__", + "fallbacks": [ + "cliproxy/__GLM__" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-reviewer-sonnet", + "name": "Code Reviewer (Sonnet)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/__CLAUDE_SONNET__", + "fallbacks": [ + "cliproxy/__GLM__" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-reviewer-glm", + "name": "Code Reviewer (GLM)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/__GLM__" + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-reviewer-gpt-codex", + "name": "Code Reviewer (GPT Codex)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/__GPT_CODEX__", + "fallbacks": [ + "cliproxy/__GLM__" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-reviewer-gemini", + "name": "Code Reviewer (Gemini Pro)", + "workspace": "__HOME__/agents/code-review", + "model": { + "primary": "cliproxy/__GEMINI_PRO__", + "fallbacks": [ + "cliproxy/__GLM__" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "code-formatter", + "name": "Code Formatter", + "workspace": "__HOME__/agents/formatter", + "model": { + "primary": "cliproxy/__GLM__" + }, + "tools": { + "allow": [ + "read", + "write" + ] + } + }, + { + "id": "security-scanner", + "name": "Security Scanner", + "workspace": "__HOME__/agents/security", + "model": { + "primary": "cliproxy/__CLAUDE_OPUS__", + "fallbacks": [ + "cliproxy/__CLAUDE_SONNET__" + ] + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "test-coverage", + "name": "Test Coverage", + "workspace": "__HOME__/agents/testing", + "model": { + "primary": "cliproxy/__GLM__" + }, + "tools": { + "allow": [ + "read", + "exec" + ] + } + }, + { + "id": "docs-checker", + "name": "Docs Checker", + "workspace": "__HOME__/agents/docs", + "model": { + "primary": "cliproxy/__CLAUDE_SONNET__", + "fallbacks": [ + "cliproxy/__GLM__" + ] + }, + "tools": { + "allow": [ + "read" + ] + } } ] }, + "broadcast": { + "strategy": "parallel", + "120363425148909388@g.us": [ + "code-reviewer-opus", + "code-reviewer-sonnet", + "code-reviewer-glm", + "code-reviewer-gpt-codex", + "code-reviewer-gemini", + "code-formatter", + "security-scanner", + "test-coverage", + "docs-checker" + ] + }, "messages": { "queue": { "mode": "interrupt" @@ -249,7 +406,7 @@ }, "sendReadReceipts": true, "ackReaction": { - "emoji": "\ud83d\udc40", + "emoji": "👀", "direct": true, "group": "mentions" }