Repository navigation
fix(openclaw_agent): install a Node runtime OpenClaw actually supports - #3621
Conversation
The local Node.js fallback in setup_openclaw fetched 22.15.0, which OpenClaw rejects: it declares engines.node ">=24.16.0 <25 || >=26.1.0". Any host without a system npm therefore ended up with an unusable runtime. Pin 24.21.0, the newest release of the Node 24 LTS line that OpenClaw's own installer provisions on Linux (NODE_LINUX_DEFAULT_MAJOR). Bump the pinned openclaw package to 2026.9.4 and let the environment override both versions via OPENCLAW_VERSION and OPENCLAW_NODE_VERSION, so an operator can retarget a run without editing the config. Version resolution no longer falls back to "@latest": an explicit version is always resolved, keeping the reproducibility invariant that the config field documents. Split the 37-line ensure_openclaw into single-concern helpers for version resolution, PATH mutation, discovery, npm install and Node provisioning. This drops the triplicated PATH-prepend, the repeated which() probing, and collapses the three PATH-recovery attempts into one loop. Two incidental fixes fall out: the Node tarball is now removed via try/finally instead of leaking when download or extraction fails, and npm's global bin is checked with is_dir() before PATH is mutated rather than after. Signed-off-by: Pedro Larroy <[email protected]>
_node_dist_url hardcoded node-vX.Y.Z-linux-x64.tar.xz, so the local Node
fallback only ever worked on Linux x64. On macOS or Windows, and on any
arm64 host, it downloaded a Linux x64 tarball and the install failed
obscurely well after the point the mistake was made.
Derive the archive from the running interpreter instead. _node_platform
maps sys.platform to nodejs.org's OS token (linux/darwin/win) and a
lowercased platform.machine() to its arch token (x64/arm64), accepting the
spellings CPython actually reports: x86_64, AMD64, x64, aarch64, arm64.
Unsupported combinations now raise naming the offending value and pointing
at the manual workaround, rather than 404ing on a URL nobody constructed
deliberately.
Getting the URL right is not sufficient on its own, because Windows differs
in two further ways:
- it ships a .zip rather than a .tar.xz, so _extract_node_archive
dispatches on the suffix;
- its launchers sit at the root of the extracted tree with no bin/
subdirectory, so _node_bin_dir resolves the launcher directory per
platform. That also fixes _adopt_npm_global_bin, which appended "bin"
to npm's global prefix unconditionally.
Probe for executables with shutil.which(..., path=...) rather than
Path.is_file(), so node.exe and openclaw.cmd resolve through PATHEXT.
_flatten_extracted_node raised a bare StopIteration when an archive did not
contain the expected node-* directory; it now raises RuntimeError naming the
prefix.
Verified: all six URLs the mapping can produce return HTTP 200 and match
SHASUMS256.txt for v24.21.0. The win-x64 zip was downloaded and inspected to
confirm node.exe and npm.cmd sit at the tree root with no top-level bin/.
Add tests/test_setup_openclaw.py, which the module previously lacked
entirely: all six platform pairs, zip-versus-tar selection, both error
paths, real tar.xz and zip extraction round-trips, the flatten helper, and
the version resolvers.
Signed-off-by: Pedro Larroy <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Pedro Larroy <[email protected]>
platform.machine() reports the architecture of the running interpreter, not the host: an x64 python.exe under emulation on ARM64 silicon gets AMD64. CPython 3.13+ makes it worse by consulting WMI first and silently falling back to PROCESSOR_ARCHITECTURE (the emulated image) when the WMI service is slow, so on one ARM64 host the value flipped between ARM64 and AMD64 across processes and the toolchain download alternated between the win-arm64 and win-x64 zips. Detect the host machine via kernel32.IsWow64Process2 (Windows 10+) and fall back to platform.machine() only when the API is absent. A valid but unmapped kernel answer raises the actionable error instead of silently trusting platform.machine(). Signed-off-by: Pedro Larroy <[email protected]>
Signed-off-by: Pedro Larroy <[email protected]>
| def _install_node_locally(node_version: str) -> Path: | ||
| """Unpack a private Node.js toolchain and return the directory holding ``node``.""" | ||
| bin_dir = _node_bin_dir(_LOCAL_PREFIX) | ||
| if shutil.which("node", path=str(bin_dir)): |
There was a problem hiding this comment.
Could we validate Node before reusing either this cache or system npm? Existing 22.15.0 caches are never upgraded; I also reproduced requesting 24.21.0 and reusing 25.9.0, which the new OpenClaw pin does not support. Please validate the cached version and provision a compatible runtime when needed.
| RuntimeError: the install reported success but ``openclaw`` is still not | ||
| resolvable, or no ``npm`` could be provisioned. | ||
| """ | ||
| if _openclaw_on_path() or _adopt_user_local_bin(): |
There was a problem hiding this comment.
This early return skips the new OPENCLAW_VERSION override whenever OpenClaw is already installed, so changing the override can silently keep running the old version. Could we resolve and check the requested version before accepting an existing executable?
Addresses review feedback on NVIDIA-NeMo#3621: - _ensure_npm only reuses system npm when its node satisfies openclaw's engines.node range (OPENCLAW_ENGINES_NODE); otherwise a private toolchain is provisioned. Node 25.9.0 / 22.15.0 hosts no longer poison the install. - _install_node_locally re-provisions the cached toolchain unless its node runs and reports exactly the requested version; corrupt or stale caches are wiped instead of reused forever. - ensure_openclaw resolves the requested version first and only accepts an existing install whose 'openclaw --version' matches it, so changing OPENCLAW_VERSION (or the config pin) takes effect on the next startup. Tests: TestSatisfiesRange, TestEnsureNpmValidatesNode, TestInstallNodeLocallyValidatesCache, TestEnsureOpenclawRespectsRequestedVersion (54 pass). Real smoke: ensure_openclaw reinstalled 2026.6.11 -> 2026.9.4 and honored a subsequent OPENCLAW_VERSION=2026.6.11 override. Signed-off-by: Pedro Larroy <[email protected]>
|
Both review comments addressed in d79a153: Comment 1 (validate Node before reusing cache / system npm):
Comment 2 (override skipped when openclaw already installed):
Validation:
|
|
Some environments consume the implementation here - anyswe_agent for example, installs a different version, so now with this change, a reinstall will be done on every rollout, slowing down training and evaluation using this environment. I think we should either update the pins in cvdp, anyswe, anyterminal, harness_agent, and any other consumers, or allow a preinstalled different version here. I also think we should support multi-version training/eval in environments such as above, so maybe we should consider something flexible. |
|
Thanks for flagging this — worth pinning down precisely, because the current code doesn't do what the comment describes. No reinstall happens per rollout today. The consumers' pins already match. anyswe_agent ( Two clarifications on lifecycle:
The real risk the comment points at is pin drift with no shared source of truth. The deps-script pin ( On the proposed fixes:
What I think is actually worth doing (happy to follow up in a separate issue/PR):
Happy to take (1) as a follow-up PR if that works for you. |
yuhezhang-ai
left a comment
There was a problem hiding this comment.
Reviewed commit d79a1535e64627d401158295d90d7738e17acae6 through independent Codex and Claude passes, followed by verification of the actionable claims. I recommend changes for the startup/version-selection issues described inline. Four correction requests and two explicitly nonblocking suggestions are included.
Validation: all 118 OpenClaw agent tests passed (two process-inspection tests required a targeted rerun outside the local sandbox); Ruff lint and formatting passed for the three changed Python files, and git diff --check passed. Reduced reproductions exercised runtime selection, PATH precedence, older-pin compatibility, and version matching. These used isolated executable fixtures, not a real npm installation or model/container rollout. Representative rollout validation remains needed after the fixes.
| unknown version: not acceptable evidence of a compatible install. | ||
| """ | ||
| try: | ||
| completed = subprocess.run([openclaw_bin, "--version"], capture_output=True, text=True, timeout=120) |
There was a problem hiding this comment.
[P1] Use the configured Node runtime for the version probe
The anyterminal runner appends /agent_deps_mount/bin to PATH, while anyterminal_openclaw.yaml sets node_bin_dir to that directory. Rollouts honor that setting in OpenClawAgent._env(), but this new startup probe does not. If a task image has Node 20 earlier on PATH, the bundled OpenClaw 2026.6.11 launcher rejects that runtime before printing its version. Setup then attempts to provision Node under /nemo_gym_mount, which anyterminal mounts read-only, and agent construction fails. At the base commit, setup returned after finding the launcher and the rollout selected the compatible bundled Node 22.19.
Please pass the configured runtime into setup and use it consistently for probes and installation, preserving the runner's deliberate task-Python selection. A reduced reproduction with executable fixtures and the same PATH/read-only-directory arrangement succeeds at base and raises PermissionError at this head; I did not run a real container rollout. The upstream launcher's Node check is visible here.
There was a problem hiding this comment.
Fixed in 9bfe4e6. ensure_openclaw now receives node_bin_dir from the agent config. Setup searches this directory before PATH for openclaw, node and npm. Setup also uses this order in the environment of each probe and of npm. Setup does not change the process PATH, so the runner keeps the task Python first.
If the node in node_bin_dir does not satisfy the release range, setup stops with an error. It does not provision a private Node, because node_bin_dir comes first at rollout time.
The new test test_configured_runtime_is_used_for_probe uses your layout: Node 20 first on PATH, Node 22.19 and a launcher that rejects Node 20 in the appended directory, and a read-only prefix. Setup returns without an install and PATH does not change.
| for adopt in (lambda: True, lambda: _adopt_npm_global_bin(npm_bin), _adopt_user_local_bin): | ||
| if adopt() and (found := _openclaw_on_path()): | ||
| return found |
There was a problem hiding this comment.
[P2] Select and verify the newly installed executable before returning
The first iteration accepts any OpenClaw already on PATH, including the old executable that caused ensure_openclaw() to reinstall. When system npm installs into a different global prefix, this returns before adopting that prefix. I reproduced a successful installation of 2026.9.4 into a separate directory while setup returned successfully and command lookup still selected 2026.6.11.
Please prioritize the npm installation directory and verify that the final selected executable satisfies the requested version. Add coverage that exercises actual PATH selection: the current upgrade tests replace _expose_installed_openclaw() with a simulated result and miss this case.
There was a problem hiding this comment.
Fixed in 9bfe4e6. After the install, setup puts the npm global bin directory first. Then it tries ~/.local/bin, then the current PATH. Setup then runs openclaw --version on the selected launcher. If the launcher does not report the requested version, setup stops with an error that gives the path and both versions.
TestRealPathSelection uses real executable files and real PATH lookup, with no replacement of _expose_installed_openclaw. One test puts an old 2026.6.11 launcher first on PATH and an npm that installs 2026.9.4 into a separate prefix. The new launcher is selected. A second test uses an npm that installs nothing. Setup stops with an error.
| if npm: | ||
| LOG.info("installing openclaw via system npm (%s)", npm) | ||
| _npm_install(npm, version) | ||
| else: | ||
| LOG.info("npm not found; installing local Node.js") | ||
| bin_dir = _install_node_locally() | ||
| os.environ["PATH"] = str(bin_dir) + os.pathsep + os.environ.get("PATH", "") | ||
| npm = shutil.which("npm") | ||
| if not npm: | ||
| raise RuntimeError(f"npm not found after local Node.js install in {bin_dir}") | ||
| _npm_install(npm, version) | ||
|
|
||
| # npm install -g may put the binary in a prefix not yet on PATH | ||
| if not shutil.which("openclaw"): | ||
| npm_bin_dir = _npm_global_bin(shutil.which("npm") or "npm") | ||
| if npm_bin_dir and Path(npm_bin_dir).is_dir(): | ||
| os.environ["PATH"] = npm_bin_dir + os.pathsep + os.environ.get("PATH", "") | ||
|
|
||
| if not shutil.which("openclaw") and (local_bin / "openclaw").is_file(): | ||
| os.environ["PATH"] = str(local_bin) + os.pathsep + os.environ.get("PATH", "") | ||
|
|
||
| if not shutil.which("openclaw"): | ||
| node_version = _node_on_path() | ||
| if node_version is None or _satisfies_range(node_version, OPENCLAW_ENGINES_NODE): |
There was a problem hiding this comment.
[P2] Check the Node requirement of the requested OpenClaw release
_ensure_npm() receives no requested package version and always uses the 2026.9.4 engine range. The runnable math/reasoning examples and sandbox configs still pin 2026.6.11, whose declared requirement is >=22.19.0. A supported system Node 22.19 is therefore rejected and replaced unnecessarily.
This becomes a startup regression when npm can install from a cache/internal registry but nodejs.org is unavailable. A reduced before/after reproduction with working npm and a simulated blocked Node download succeeds at base and fails here before npm installation. Please derive/select compatibility requirements for the requested release instead of applying the newer pin's range to every configuration. The registry confirms the older requirement and newer requirement.
There was a problem hiding this comment.
Fixed in 9bfe4e6. Setup now uses the engines.node range of the requested release. OPENCLAW_ENGINES_NODE is now a table: 2026.6.11 is >=22.19.0, 2026.9.4 is >=24.16.0 <25 || >=26.1.0. For a release that is not in the table, setup runs npm view openclaw@<version> engines.node, so an internal registry also works. If that fails, setup logs a warning and uses the newest known range.
Real check on macOS with system Node 22.22.3: ensure_openclaw("2026.6.11") used the system npm and did not download Node. ensure_openclaw("2026.9.4") provisioned Node 24.21.0.
| monkeypatch.setattr(setup_openclaw, "_install_node_locally", lambda v: tmp_path / "local" / "bin") | ||
| monkeypatch.setattr(setup_openclaw, "_prepend_path", lambda _dir: None) | ||
| fake.install("npm", str(tmp_path / "local" / "bin" / "npm"), "10.9.0") | ||
|
|
||
| assert setup_openclaw._ensure_npm() == str(tmp_path / "local" / "bin" / "npm") |
There was a problem hiding this comment.
[P2] Make the recovery tests observe provisioning before exposing its result
fake.install("npm", ...local...) overwrites the fake system npm before _ensure_npm() runs. The incompatible-runtime and missing-runtime tests use the same arrangement, so these tests do not distinguish reuse from provisioning. In this broken-node case, production code actually accepts node_version is None and returns the already-visible fake local npm without calling _install_node_locally().
Please expose the replacement only when provisioning/PATH mutation happens and assert whether provisioning was called. Also reject a missing or failed Node version probe instead of treating it as compatible. An executable-fixture reproduction selected a broken system runtime with zero provisioning calls. This is an incomplete recovery guarantee rather than a new failure mode compared with base. Clearing the advertised version-override environment variables in these tests would also keep their expectations independent of the developer's shell.
There was a problem hiding this comment.
Fixed in 9bfe4e6. The provisioning fixture makes the local node and npm visible only when _install_node_locally runs. Each test checks the provisioning calls: zero for reuse, one for provisioning. A missing node, or a node --version that fails, now causes provisioning. An autouse fixture removes OPENCLAW_VERSION and OPENCLAW_NODE_VERSION.
| reported = _openclaw_reported_version(openclaw_bin) | ||
| if reported is None: | ||
| return False | ||
| requested_match = re.match(r"[\^~>=< ]*v?(\d+(?:\.\d+){0,2})", requested) |
There was a problem hiding this comment.
[P3, nonblocking] Implement npm-spec matching or explicitly restrict supported inputs
Stripping the operators and comparing numeric prefixes does not implement the npm semantics claimed by the docstring. With 2026.9.4 installed, this rejects ^2026.9.0 and >=2026.9.0, but accepts <2026.9.4 and the distinct exact pin 2026.9.4-beta.1. I checked these results directly against the helper and npm's documented range rules.
Please either support the advertised specs correctly or validate/document a narrower exact-version contract. Otherwise startup can repeatedly reinstall a satisfactory version or silently reuse an unsatisfactory one. This is nonblocking because the current repository configs use exact stable pins; it should also be considered when adding post-install verification.
There was a problem hiding this comment.
Done in 9bfe4e6. The contract is now an exact version. resolve_openclaw_version rejects values such as ^2026.9.0, >=2026.9.0, 2026.9 and <2026.9.4 with a ValueError. Setup compares the full reported version as a string, so 2026.9.4-beta.1 is not equal to 2026.9.4. All repository configs already use exact versions.
| Windows distributions place them at the root of the tree; every other | ||
| platform uses a ``bin/`` subdirectory. | ||
| """ | ||
| return prefix if _node_platform()[0] == "win" else prefix / "bin" |
There was a problem hiding this comment.
[P3, nonblocking] Determine the bin layout without validating download architecture
_adopt_npm_global_bin() also calls this helper for an already-installed system npm. Calling _node_platform() makes that lookup reject architectures outside the download map, even when no Node download is needed. For example, a simulated Linux/ppc64le host with an existing npm prefix/bin raises here; the base implementation simply returned prefix/bin.
Please select the bin layout from the OS alone and reserve architecture validation for choosing a download. This is nonblocking: the helper's rejection was reproduced, but I did not test an actual OpenClaw deployment on ppc64le or FreeBSD.
There was a problem hiding this comment.
Done in 9bfe4e6. _node_bin_dir now uses only the OS. Setup checks the architecture only when it downloads Node. A new test checks Linux/ppc64le with an existing prefix.
Signed-off-by: Yuhe Zhang <[email protected]>
|
/ok to test dda454d |
|
Model rollout completed at Host without usable npm (the load-bearing scenario),
Against the merge-base, the same node-free environment reproduces the reported bug: the old code downloads Node 22.15.0, and openclaw's preinstall aborts on every retry with Review-thread r4087043384 verified live: old Also on head One pre-existing observation (not a regression; identical at 2026.6.11): token usage is 0 because the CLI envelope carries no |
|
Thanks for adding the rollout validation. The installer fixes and native math results look good. I also ran additional real tool-use rollout validation at
This goes beyond the zero-token accounting issue noted in your report. Although the reader code is unchanged, upgrading the dependency changes the format it must read. Could we either retain the working 2026.6.11 pin for this installer fix, or add support for the new transcript format before upgrading? For the latter, please validate a real tool-using rollout and an interrupted rollout, checking that commands/results are retained and interruption is reported accurately. I'm holding approval on the version upgrade until that is addressed. |
…readable yet OpenClaw 2026.9.4 stores session history in SQLite, which this agent's JSONL session reader cannot parse: tool-using and interrupted rollouts lose commands/results from their transcripts, and completed ones report agent_transcript_unavailable. Keep 2026.6.11 as the default and config pin, keep the installer machinery version-parameterized (both engine ranges stay in OPENCLAW_ENGINES_NODE, and the unknown-release fallback keeps using the newest known range rather than the default's), and document the constraint in README. SQLite transcript support will be added separately. Signed-off-by: Pedro Larroy <[email protected]>
|
Pin reverted to What
Validation at
On the SQLite history support itself: agreed it's needed before any upgrade, and it needs more than a reader swap — the salvage path ( |
|
/ok to test 5d354d1 |
yuhezhang-ai
left a comment
There was a problem hiding this comment.
Rechecked 5d354d1. Retaining OpenClaw 2026.6.11 in both the config and installer default addresses the transcript-format blocker while preserving the runtime fixes. The author's new tool-use and interrupted-rollout validation covers the missing cases.
Independently reran all 133 OpenClaw tests, plus lint and formatting checks on the changed Python files; all passed. No remaining blocking code findings. SQLite transcript support and the version upgrade can follow separately. Merge remains gated on required CI for this head.
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37537246401 |
What does this PR do?
The local Node.js fallback in
setup_openclawfetched Node 22.15.0, which nopublished
openclawrelease accepts:openclawengines.node2026.6.11(previous pin)>=22.19.02026.9.4(upgrade candidate)>=24.16.0 <25 || >=26.1.0Any host without a system
npmtherefore ended up with a Node runtime OpenClawrefuses to start on. This PR makes that fallback path actually work.
Changes
24.21.0— newest release of the Node 24 LTS line ("Krypton"),which is the line OpenClaw's own installer provisions on Linux
(
NODE_LINUX_DEFAULT_MAJOR=24). It satisfies the engine range of both the oldand the new
openclawpin.openclawpackage at2026.6.11— 2026.9.4 was evaluatedand rolled back: it stores session history in SQLite, which this agent's JSONL
session reader cannot parse, so tool-using and interrupted rollouts lose their
transcripts. The installer machinery stays version-parameterized (both engine
ranges in
OPENCLAW_ENGINES_NODE;OPENCLAW_VERSIONstill overrides perprocess), so the bump reduces to flipping
DEFAULT_OPENCLAW_VERSIONand the configpin once the session reader supports SQLite. Tracked separately.
OPENCLAW_VERSIONandOPENCLAW_NODE_VERSION, so an operator can retarget a run without editing theconfig.
@latestfallback — a version is now always resolved explicitly,preserving the reproducibility invariant that
OpenClawAgentConfig.openclaw_versiondocuments.
ensure_openclaw(37 lines, three duplicated PATH-prepends, threerepeated
which()probes) into single-concern helpers for version resolution,PATH mutation, discovery, npm install, and Node provisioning. The three
ad-hoc PATH-recovery attempts collapse into one loop.
Two incidental fixes fall out of the refactor:
try/finallyinstead of leaking when thedownload or extraction fails.
is_dir()beforePATHis mutated, ratherthan after.
Related issue: N/A — reported directly; the failure is reproducible from the
version metadata above.
Validation
Version claims were checked against the upstream sources of truth:
Rollouts
Rollouts validating the retained 2026.6.11 pin at
5d354d168(the validation@yuhezhang-ai requested: tool-using and interrupted rollouts retain commands/results)
are at the end of this section.
Smoke rollouts on a host without a usable system npm, run at
dda454d66againstenvironments/openclaw_math/config.yaml(datasetdata/example.jsonl, limit 3,OPENCLAW_VERSION=2026.9.4,policy=qwen3-5-397b-a17bviahttps://inference-api.nvidia.com/v1).Scenario A — incompatible system Node (
v18.19.1) on PATH. The engine-range checkrejects it, so
ensure_openclawprovisions the private toolchain from scratch:.openclaw_node/created at server start (Nodev24.21.0),npm install -g [email protected]into an isolated prefix, the new launcher verified viaopenclaw --versionand selected ahead of any other on PATH. All four servers came uphealthy.
Scenario B — no node/npm/openclaw anywhere on PATH, caches removed (cold path).
_install_node_locallydownloadsnode-v24.21.0-linux-x64.tar.xzfrom nodejs.org,extracts and flattens it, and the same install/verify flow follows. All four servers
came up healthy.
Example trajectory (Scenario B, task 1, reward 1.0): the model derives
$\frac{333}{1997}$ and the verifier matches it against
expected_answer.Override check (review thread r4087043384, live probes). With openclaw
2026.6.11already installed and first on PATH,
OPENCLAW_VERSION=2026.9.4triggers a reinstall;_expose_installed_openclawputs npm's global bin first, so the newly installedlauncher (not the old one) is selected and reports
2026.9.4. Conversely, with acompatible system Node (
v24.18.0, satisfies>=24.16.0 <25) the system npm isreused and no private Node is downloaded.
Before/after against the merge-base. The pre-PR
setup_openclaw.pyon the samenode-free PATH downloads Node
22.15.0, andopenclaw's preinstall scripthard-fails on every retry: `this OpenClaw release requires Node >=24.16.0 <25 ||
Pre-existing, not a regression (checked at both versions): with this provider,
agentMeta.usageis absent from the CLI envelope, so token counts are 0 — the old pinexposes
agentMeta.lastCallUsage(also all zeros here) and the new pin has no usagekey at all;
parse_openclaw_outputwas untouched by this PR. One row returned"Agent couldn't generate a response" (
stopReason=lengthfrom the endpoint) and theidentical failure reproduces on
2026.6.11, so it is model/endpoint behavior.Retained-pin validation at
5d354d168(2026.6.11, requested in review). Samenode-free host setup (no node/npm/openclaw on
PATH, cold caches): setup provisionedNode 24.21.0 against the
>=22.19.0engine range of 2026.6.11 and installed exactly2026.6.11; all four servers healthy. Then:
--limit 3): 3/3 rollouts, mean reward 0.33, meanturns_used3.3 — up to 7exectool calls per trajectory with every command andresult retained in the response output (read from the JSONL session transcript).
The 1000-digit task went 6 turns / 7 tool calls and scored reward 1.0.
timeout=45on the hardest task): the partial session wassalvaged from disk — the in-flight
execcall and its result are present in thereturned output, so commands/results survive interruption rather than vanishing.
Unit tests and lint at
5d354d168:pytest responses_api_agents/openclaw_agent/tests133 passed;
pre-commit run --fileson the changed files passes.Compatibility and benchmark impact
npm, nothing changes —the local Node download path is not taken.
openclaw_versionremains required. New env varsOPENCLAW_VERSION/OPENCLAW_NODE_VERSIONare optional and take precedenceover the config value when set.
2026.6.11inconfigs/openclaw_agent.yamland asDEFAULT_OPENCLAW_VERSION. Scores remaincomparable to existing baselines.
Checklist
README.mddocuments both env vars.)pre-commit run --all-files).git commit -s).