Every rule holaclaw check reports, what it checks, how severe it is and how to fix it.
9 min readUpdated November 17, 2026
Server
Reference
Configuration
holaclaw check validates the config directory, the secrets and the environment the daemon will run in, and reports each problem as a finding with a rule id. Rule ids are stable: an id never changes meaning and a retired one is never reused.
Each finding reads <rule> <severity>: <file>: <key>: <message> (fix: <hint>). The (fix: …) part is left out when there is no hint.
Severity
Meaning
error
The daemon cannot run safely, or at all, with this.
warning
It runs, but probably not the way you want.
info
A choice worth keeping visible. It never changes the exit code.
check exits with 2 when there is any error, 1 when the worst finding is a warning, and 0 otherwise.
--offline skips every rule that needs the network, such as asking a model endpoint for its context window (MOD002) or the browser sidecar's socket (BRW004).
--only and --skip take a comma-separated list of rule ids or prefixes: SEC selects every SEC rule.
--json prints the findings as JSON.
Config files (CFG)
These come from loading the config files. A CFG error stops the daemon from starting, and stops every command that reads the config to find the daemon. check itself still runs and lists them.
Rule
Checks
CFG001
An unknown key. The hint suggests the closest valid key.
CFG002
A key in the wrong file. The message names the right one.
CFG003
A value of the wrong type.
CFG004
A value outside the allowed set.
CFG005
A required key is missing.
CFG006
A reference to something that does not exist: a model's provider, a role's model, a channel's agent, or an agent's connector.
CFG007
version is missing, not an integer, or not the current version. Run holaclaw config migrate.
CFG008
The files of one directory carry different versions.
CFG009
A literal secret where only an env:VAR reference is allowed. Store it with holaclaw auth set.
CFG010
An unknown tool name, in tools or [policy.tools]. A connector id in tools gets a hint to move it to connectors.
CFG011
A malformed value: TOML that does not parse, a bad duration, a count that is not positive, a bad connector id or one that is a built-in tool name, or a connector granted twice.
CFG012
A file in the config directory is missing or unreadable. Often the command ran as a user who cannot read it.
Secrets (SEC)
Rule
Severity
Checks
Fix
SEC001
error
auth.toml is readable by group or others, or is not a regular file.
chmod 600 <path>
SEC002
error
A provider with auth = "api-key" has no key, neither an env:VAR that is set nor an entry in auth.toml.
holaclaw auth set providers.<name> api_key
SEC003
error
A channel has no credential: bot_token for Telegram, bot_token and app_token for Slack, service_account for Google Chat.
holaclaw auth set channels.<name> <key>
SEC004
warning
auth.toml has an entry for a provider, channel or connector no longer in the config.
holaclaw auth rm <providers, channels or connectors>.<name>
SEC005
error
The config directory, or a file in it, is world-writable.
chmod o-w <path>
SEC006
warning
A WhatsApp channel is not linked: its session database is missing or holds no device.
A provider without auth = "api-key" has a key, which is never sent.
Set auth = "api-key", or holaclaw auth rm providers.<name> api_key
Network (NET)
Rule
Severity
Checks
Fix
NET001
error
server.listen is off loopback, with no tls_cert and tls_key, and allow_insecure_transport is not set.
Set both, listen on loopback, or set allow_insecure_transport = true behind a TLS proxy.
NET002
error
tls_cert or tls_key is set, but the file is missing or unreadable.
Point it at a readable file.
NET003
error
A provider with a key is reached over plain http on a host that is not loopback.
Use https, or a loopback address.
Access and policy (ACC, POL)
Rule
Severity
Checks
Fix
ACC001
error
A channel has dm = "open" or rooms = "open" while its agent's guest policy allows exec, write or external.
Deny all three in [policy.guest], or close access.
ACC002
warning
reply = "always" with rooms = "open".
Set reply = "mention".
ACC003
warning
A Google Chat channel has reply = "always". Chat delivers only @-mentions in spaces, so it never fires in a room.
Set reply = "mention".
POL001
warning
An agent's policy has exec = "allow".
Use "ask" with exec_allow.
POL002
info
An agent lists the exec tool while its policy denies exec.
Remove "exec" from tools.
Models and prompt budget (MOD, BUD)
Rule
Severity
Checks
Fix
MOD001
warning
A model's context is under 4096.
Raise it, or use a bigger model.
MOD002
error or info
The configured context is larger than what the endpoint (Ollama, llama.cpp) actually allocated. Needs the network.
Start the endpoint with a larger window, or lower context.
BUD001
warning or error
An agent's fixed prompt (system prompt and tool schemas) is over 1500 tokens, or over a quarter of the chat model's window. Connectors are not counted here.
Drop tools, or shorten the prompt.
BUD002
warning
An agent's connector tools take more than a quarter of the chat model's window.
Grant fewer connectors, or use a model with a larger window.
Data (DAT)
Rule
Severity
Checks
Fix
DAT001
error
The data directory cannot be created or is not writable.
Make it writable, or set server.data_dir.
DAT002
warning
The database file is readable by group or others.
chmod 600 <path>/holaclaw.db
Browser (BRW)
Rule
Severity
Checks
Fix
BRW001
error
[browser] is configured but there is no usable browser: browser.binary is missing or not executable, nothing is on PATH, or the version is too old.
Install Chromium, or set browser.binary.
BRW002
error
browser.headless = false (the default) and Xvfb is not on PATH.
Install Xvfb, or set browser.headless = true.
BRW003
error
Chromium's sandbox cannot start, because unprivileged user namespaces are off or restricted by AppArmor.
Run the sysctl in the finding, or add an AppArmor profile. In a container, add --security-opt seccomp=unconfined.
BRW004
warning
Nothing listens on browser.socket. Skipped with --offline.
Start the browser sidecar.
BRW005
warning
An agent can use browser.do with no browser.allow, so it may open any site.
Set browser.allow in agent.toml, or accept it.
BRW006
warning
An agent can use browser.do with no decide model, so the chat model decides every step.
Set models.decide to a decision model in agent.toml.