chore(openclaw): golden config snapshot + RBAC manifest in git
- Add openclaw/golden/ with stable copies of openclaw.json, SOUL.md, TOOLS.md, HOMELAB.md, kubectl-ro - Fix HOMELAB.md model roles (qwen3-es:14b=primary, llama3.1-es:8b=fallback) - Add rbac-openclaw-agent.yaml (ClusterRole read-only + binding + SA) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,220 @@
|
||||
{
|
||||
"meta": {
|
||||
"lastTouchedVersion": "2026.4.12",
|
||||
"lastTouchedAt": "2026-04-20T15:00:00.000Z"
|
||||
},
|
||||
"browser": {
|
||||
"cdpUrl": "http://localhost:9222"
|
||||
},
|
||||
"models": {
|
||||
"mode": "merge",
|
||||
"providers": {
|
||||
"ollama": {
|
||||
"baseUrl": "http://ollama.ollama.svc.cluster.local:11434",
|
||||
"api": "ollama",
|
||||
"apiKey": "ollama-local",
|
||||
"models": [
|
||||
{
|
||||
"id": "qwen3-es:14b",
|
||||
"name": "Qwen3 ES 14B",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 128000,
|
||||
"contextTokens": 32768,
|
||||
"maxTokens": 8192
|
||||
},
|
||||
{
|
||||
"id": "qwen3:14b",
|
||||
"name": "Qwen3 14B",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 128000,
|
||||
"contextTokens": 32768,
|
||||
"maxTokens": 8192
|
||||
},
|
||||
{
|
||||
"id": "llama3.1-es:8b",
|
||||
"name": "Llama 3.1 ES 8B",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 128000,
|
||||
"contextTokens": 16384,
|
||||
"maxTokens": 4096
|
||||
},
|
||||
{
|
||||
"id": "llama3.1:8b",
|
||||
"name": "Llama 3.1 8B",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 128000,
|
||||
"contextTokens": 16384,
|
||||
"maxTokens": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"agents": {
|
||||
"defaults": {
|
||||
"userTimezone": "Europe/Madrid",
|
||||
"timeFormat": "24",
|
||||
"model": {
|
||||
"primary": "ollama/qwen3-es:14b",
|
||||
"fallbacks": [
|
||||
"ollama/llama3.1-es:8b"
|
||||
]
|
||||
},
|
||||
"timeoutSeconds": 600,
|
||||
"heartbeat": {
|
||||
"every": "6h"
|
||||
},
|
||||
"workspace": "/data/workspace",
|
||||
"contextInjection": "continuation-skip",
|
||||
"bootstrapMaxChars": 4000,
|
||||
"bootstrapTotalMaxChars": 12000,
|
||||
"bootstrapPromptTruncationWarning": "once",
|
||||
"compaction": {
|
||||
"mode": "safeguard"
|
||||
},
|
||||
"startupContext": {
|
||||
"enabled": true,
|
||||
"applyOn": [
|
||||
"new",
|
||||
"reset"
|
||||
],
|
||||
"dailyMemoryDays": 1,
|
||||
"maxFileBytes": 8192,
|
||||
"maxFileChars": 800,
|
||||
"maxTotalChars": 1600
|
||||
},
|
||||
"contextPruning": {
|
||||
"mode": "cache-ttl",
|
||||
"ttl": "1h",
|
||||
"keepLastAssistants": 3,
|
||||
"softTrimRatio": 0.3,
|
||||
"hardClearRatio": 0.5,
|
||||
"minPrunableToolChars": 30000,
|
||||
"softTrim": {
|
||||
"maxChars": 2500,
|
||||
"headChars": 1000,
|
||||
"tailChars": 1000
|
||||
},
|
||||
"hardClear": {
|
||||
"enabled": true,
|
||||
"placeholder": "[Old tool result content cleared]"
|
||||
},
|
||||
"tools": {
|
||||
"deny": [
|
||||
"browser",
|
||||
"canvas"
|
||||
]
|
||||
}
|
||||
},
|
||||
"memorySearch": {
|
||||
"enabled": true,
|
||||
"provider": "ollama"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"native": "auto",
|
||||
"nativeSkills": "auto",
|
||||
"restart": true,
|
||||
"ownerDisplay": "raw"
|
||||
},
|
||||
"channels": {
|
||||
"telegram": {
|
||||
"enabled": true,
|
||||
"dmPolicy": "pairing",
|
||||
"botToken": "8611913802:AAFlrFtc0vYISOliO_W8B4c-W1ue0hG9Fio",
|
||||
"groupPolicy": "allowlist",
|
||||
"streaming": {
|
||||
"mode": "partial"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gateway": {
|
||||
"mode": "local",
|
||||
"bind": "lan",
|
||||
"controlUi": {
|
||||
"allowedOrigins": [
|
||||
"http://localhost:18789",
|
||||
"http://192.168.1.92:18789",
|
||||
"https://openclaw.chemavx.xyz"
|
||||
]
|
||||
},
|
||||
"auth": {
|
||||
"mode": "token",
|
||||
"token": "9242ad46f6604770bb98ed2bda7bded7546f21c5233f1b24",
|
||||
"rateLimit": {
|
||||
"maxAttempts": 100,
|
||||
"lockoutMs": 0
|
||||
}
|
||||
},
|
||||
"trustedProxies": [
|
||||
"10.42.0.0/16"
|
||||
]
|
||||
},
|
||||
"plugins": {
|
||||
"entries": {
|
||||
"ollama": {
|
||||
"enabled": true
|
||||
},
|
||||
"browser": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"tools": {
|
||||
"profile": "coding",
|
||||
"deny": [
|
||||
"edit",
|
||||
"write",
|
||||
"apply_patch"
|
||||
],
|
||||
"exec": {
|
||||
"host": "gateway",
|
||||
"security": "allowlist",
|
||||
"ask": "off",
|
||||
"pathPrepend": [
|
||||
"/opt/kube"
|
||||
],
|
||||
"timeoutSec": 30
|
||||
},
|
||||
"elevated": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user