skip to content

For an always-on OpenClaw assistant that a household or small team relies on, how would you set its update policy, and why?

level: principalimportance: nice to knowfreq 4%

answer

  1. fast releases against quiet weekends
  2. automatic updates start switched off
  3. four channels, one never auto-applies
  4. only a managed service can take them
  5. backups and a canary make it safe

basics

~20 s

Keep the shared install on the stable channel and decide explicitly about update.auto.enabled, which is off by default. Auto-apply when nobody watches releases; otherwise update by hand in a window, after a verified backup, and try beta on a separate canary install.

solid answer

~40 s

OpenClaw ships calendar releases several times a month, so the decision is how to take fixes quickly without breaking the people who depend on it. The levers are `update.channel` (`stable`, `extended-stable`, `beta`, `dev`), `update.auto.enabled` (off by default) and `update.checkOnStart`. For a shared install I keep **stable**. If nobody will watch releases, I enable automatic updates: stable applies after a built-in delay with jitter, and an update campaign waits for active work, counts down a minute, and forces the update after 15 minutes. If someone owns the box, I prefer manual `openclaw update` in a quiet window, after a verified backup, with **beta** on a separate canary install. **extended-stable** trails stable and never auto-applies, so it suits a host that changes rarely but needs a person to update it. **dev** never runs a production Gateway.

code

json · 9 lines
json
{
  "update": {
    "channel": "stable",
    "checkOnStart": true,
    "auto": {
      "enabled": true
    }
  }
}

go deeper

for a junior

Know that OpenClaw has update channels, that stable is the recommended one, and that automatic Gateway updates stay off until you enable them.

for a middle

Explain the levers, update.channel, update.auto.enabled and update.checkOnStart, how an update campaign waits, counts down and forces after 15 minutes, and why it needs a managed service.

for a senior

Tie the policy to operations: backups before updates, a beta canary, lint checks that alert, and the limit that automatic rollback only covers schema-neutral failures.

for a principal

Choose and defend a policy per install from who watches it, how exposed it is and how costly an outage is, and record the owner, the window and the rollback trigger.

## Why this is a real decision OpenClaw moves fast: calendar-versioned releases ship several times a month, with security fixes, migrations and new behaviour mixed together. An assistant that a household or a small team messages every day has two failure modes pulling in opposite directions: - **Too slow:** a Gateway that holds chat credentials and runs tools stays on a release with a known problem for weeks. - **Too fast:** an unattended update lands a migration or a plugin incompatibility at a bad moment, and nobody notices until the assistant is silent. There is no single right answer. The job is to pick a policy that matches who is watching, and to write it down. ## The levers OpenClaw gives you | Setting | Default | What it controls | |---|---|---| | `update.channel` | `stable` for package installs | which releases the install follows | | `update.auto.enabled` | `false` | whether the Gateway applies stable or beta updates by itself | | `update.checkOnStart` | `true` | update checks and hints; `false` disables all automatic checks and applies | The same choices appear under **Settings → Updates** in the Control UI, and `OPENCLAW_NO_AUTO_UPDATE=1` disables automatic checks and applies from the environment. The four channels: - **stable**: npm dist-tag `latest`, recommended for most users. - **extended-stable**: a trailing, package-only channel. It gets read-only update hints but **never applies automatically**; installation is foreground-only. - **beta**: the newest of the beta and latest tags; stable builds usually reach beta first. - **dev**: the moving head of `main` from git, which the documentation says not to run for production gateways. ## How automatic updates behave Automatic installation needs a **managed Gateway service** that can hand off the update and restart safely; a Gateway running in a terminal only shows hints. On stable, an update campaign is announced after a built-in delay with deterministic jitter, spreading the rollout. The campaign then: 1. waits for active work to finish; 2. starts a one-minute countdown that new work does not reset; 3. applies after a **15-minute hard deadline** even if work remains; 4. lets an admin **Hold 1 h** once, or choose **Update now**. Open terminal sessions do not defer it, and the restart ends them. A failed apply ends the campaign and is reported after the Gateway returns. ## Policies that fit different owners 1. **Nobody watches releases** (a family box): stable plus `update.auto.enabled: true`. You accept a few minutes of interruption at a time you do not choose in exchange for never sitting months behind. Pair it with scheduled verified backups and a read-only `openclaw doctor --lint` check that alerts someone. 2. **One engineer owns it** (a small team): stable, automatic updates off, `openclaw update` in a quiet window after a verified backup, reading the release notes for migrations. A second, low-stakes install on **beta** acts as the canary. 3. **Change is the bigger risk** (a host many people rely on, heavy custom plugins): **extended-stable**, with a person updating on a schedule, accepting that fixes arrive later. Whichever you choose, the backup matters more than the channel: the updater rolls back automatically only when no database schema moved, and it never creates a full-state checkpoint. ## Factors that move the decision - **Who notices an outage.** If the people messaging the bot would only find out when it stops answering, unattended updates need an alert path; if one engineer checks the Control UI daily, manual updates are affordable. - **How much third-party code it loads.** Each update checks plugin availability for the new version, and an install with many custom plugins has more to break, which argues for a canary and a person in the loop. - **How exposed it is.** A loopback-only Gateway reached through a tunnel can wait for a quiet window more comfortably than one reachable from the network. - **What a bad hour costs.** A personal assistant missing a reminder is an annoyance; a team assistant running scheduled reports is a missed deliverable. ## Making the choice explicit - Set `update.channel` and `update.auto.enabled` in `~/.openclaw/openclaw.json` rather than relying on defaults nobody remembers. - Remember that `openclaw update --channel` persists, while `--tag` is a one-off. - Write down who holds the update, who watches the Control UI or logs afterwards, and what triggers a rollback. - If the Gateway is exposed beyond loopback, weigh patch speed more heavily; how to expose it safely is a separate security decision.

  • Why will an OpenClaw Gateway started with `openclaw gateway run` never install an automatic update, even with `update.auto.enabled: true`?
    Automatic installation needs a managed Gateway service that can hand the update off and restart safely. A foreground Gateway can show update hints but does not replace its own running installation, so you stop it, run `openclaw update` and start it again, or install the service with `openclaw gateway install` for unattended updates.
  • What does `update.checkOnStart: false` do to an OpenClaw install that also has `update.auto.enabled: true`?
    It wins: it disables all automatic update checks, update notices and the anonymous update ping, so nothing is discovered and nothing is applied. It is the switch for an air-gapped or strictly change-controlled host, where updates happen only when a person runs `openclaw update`.

  • The OpenClaw Gateway updates itself out of the box, so no policy is needed
  • extended-stable applies its updates automatically like stable
  • The dev channel is fine for a household's production Gateway
  • Automatic updates also work for a Gateway running in a terminal
  • Choosing a slow channel removes the need for verified backups

Assumes OpenClaw 2026.9.9: Gateway automatic updates default off, and the extended-stable channel is package-only and never auto-applies.