Skip to content

Support OpenClaw v2026.11.13 in NeMo-Fabric's OpenClaw adapter, then update the OpenClaw image pin #14966

Done

Description

@jyaunches

Problem

v0.1.0-rc.8's security assessment blocks on 24 findings, counted across both platforms, in npm packages under /app in the openclaw image. The image copies /app from OpenClaw's published image, which OPENCLAW_IMAGE in image/fabric/Dockerfile pins by digest to release 2026.9.34. Half of the findings are in the npm 11.20.0 that OpenClaw installs as its own dependency, and half are in OpenClaw's application dependencies.

OpenClaw v2026.11.13, the latest release on 2026-12-01, depends on npm 12.2.1. Its published image, ghcr.io/openclaw/openclaw:2026.11.13 at index sha256:b32d439d8814f1390e47aaa2cdae93c1afc1d3f2ccaa6638a3fc852babf635b2, lists linux/amd64 and linux/arm64. Scanned with the same Grype database, its /app keeps 16 of the 24 findings, 8 on each platform: in npm 12.2.1's bundled undici, and in the undici and joi releases that OpenClaw locks. Those stay out of scope until an OpenClaw release fixes them.

NemoClaw can't take the update yet. Fabric's OpenClaw adapter refuses to start an OpenClaw version outside SUPPORTED_OPENCLAW_VERSIONS in adapters/python/openclaw/src/nemo_fabric_adapters/openclaw/adapter.py. That set holds only 2026.9.34 at NemoClaw's pinned NeMo-Fabric revision, 76bde16c40747062001bd6ea5f5d13cadab3d706 (v0.7.0), at main's eada275d, from 2026-11-27, and at v0.8.0-alpha.20261201. The support belongs in NeMo-Fabric's adapter; NemoClaw's build must not patch it.

Work

  1. Open a NeMo-Fabric PR that adds OpenClaw 2026.11.13 to SUPPORTED_OPENCLAW_VERSIONS, with what the adapter needs for OpenClaw's changes since 2026.9.34, such as the version-specific skills in skills.py, and the tests and docs that name the version. Keep 2026.9.34 supported, as the Hermes adapter supports two Hermes releases, so that NemoClaw can move its NeMo-Fabric pin before its OpenClaw pin.
  2. Retest from NemoClaw with that PR's head commit. In a NemoClaw branch, point imageSources.fabric at the commit's archive and SHA-256, and update OPENCLAW_IMAGE to the v2026.11.13 index digest above, following agent image maintenance: move openclaw-LICENSE in versions.json to the release's commit, update the Dockerfile's comment, and update image/fabric/OPENCLAW-SOURCES.md if v2026.11.13 changes the native components it records. Build the openclaw image, then run cargo images qualify, the docker-openclaw-hermes-interfaces live case with cargo ci live-docker on a Linux host, and the rescan below.
  3. Post the rescan's counts on the NeMo-Fabric PR, and shepherd the PR through review with the NeMo-Fabric team until it merges.
  4. Open the NemoClaw PR that pins the merged NeMo-Fabric commit and OpenClaw v2026.11.13, and rerun the rescan at that commit. Don't merge a NemoClaw pin to an unmerged NeMo-Fabric PR commit.

NeMo-Fabric main also moves the adapter contract from 0.7.0 to 0.8.0. Agree with the NeMo-Fabric team how NemoClaw takes the adapter change: together with the 0.8.0 contract, or on a NeMo-Fabric revision that keeps 0.7.0. If the lock fix for #14970 reaches NeMo-Fabric at about the same time, one NemoClaw pin update can take both.

Part of #13516.

Verification

CI doesn't run the release security assessment on pull requests, so the PR must include a rescan that shows the targeted findings failing before the change and passing after it:

  1. Before: download the affected images' SPDX assets from the v0.1.0-rc.8 draft and scan them with Grype 0.121.3 and a database under 72 hours old.
  2. After: build the changed images for linux/amd64 and linux/arm64, generate their SPDX SBOMs with Syft 1.57.1, and scan them with the same Grype binary and database.
  3. Count High and Critical findings that have a fixed version, the release gate's blocking rule. Confirm that each blocking finding this issue targets is present before and absent after, and that the change adds no new blocking finding.
  4. In the PR, report the blocking counts per image and platform before and after, with the Grype database's build time. Keep advisory IDs and scan output out of the PR, as image assessment requires for private candidates.

After the PR merges, the next release candidate's gate.json must show these findings cleared.

Activity

  1. added this to the Roadmap: GTC DC 2026 milestone on Dec 1, 2026
  2. added
    dependencies
    area: packaging
    area: security
    v1
    on Dec 1, 2026
  3. changed the title [-]Update the OpenClaw image pin to v2026.11.13[/-] [+]Support OpenClaw v2026.11.13 in NeMo-Fabric's OpenClaw adapter, then update the OpenClaw image pin[/+] on Dec 1, 2026
  4. self-assigned this
    on Dec 1, 2026
  5. rsliter commented on Dec 1, 2026

    @rsliter
    Collaborator

    Investigation supports taking a merged Fabric revision on the 0.8.0 development line, subject to the Fabric team's landing decision. The inspected 0.8.0 delta does not require a contract API migration. OpenClaw compatibility still needs native qualification before either pin moves.

    Inspected NemoClaw v1 at 0178067e6002a31180c2b137f11166140fd1d01d, its Fabric pin 76bde16c40747062001bd6ea5f5d13cadab3d706, Fabric main at 57c9f3063d0506e49948d29e84299e190ffc608c, and both OpenClaw release sources.

    Fabric update

    • The full Fabric comparison contains no changes to contract implementations, schemas, core runtime implementation, or adapter implementations. Contract and adapter versions, exact internal dependencies, lockfiles, and catalog package versions move from 0.7.0 to 0.8.0. The runtime behavior change is Harbor telemetry accepting ATIF v1.8. There are also qualification-tool, documentation, repository-policy, and TypeScript dependency-lock changes.
    • The TypeScript lock changes affect the Pi/OpenCode image inputs. Include those images in the regression assessment, especially because their Dockerfile stages retain the installed workspace dependencies. This revision still contains the nested Zod dependency tracked by Update NeMo-Fabric's TypeScript adapter lock to clear the opencode image's zod finding #14970; taking 0.8.0 does not resolve that issue automatically.
    • NemoClaw must update more than imageSources.fabric: align the Fabric Git revisions in crates/{nemoclaw-sdk,nemoclaw-fabric,fabric-provider}/Cargo.toml and Cargo.lock, regenerate image/fabric/catalog.json, and align the dummy adapter's exact contract/common dependencies. The SDK build explicitly requires the planner, image source, and catalog revisions to match.

    OpenClaw compatibility

    • Both inspected Fabric revisions still accept only 2026.9.34. Version validation applies to managed startup and connection to an existing Gateway, so retain both versions in coverage.
    • The new OpenClaw release retains Gateway protocol 4, the session RPC inputs Fabric uses, the main generated configuration fields inspected, and the plugin exports/API used by Fabric's shared-instruction plugin. This is source evidence, not a runtime compatibility result.
    • Skills need focused native qualification: discovery/containment and front-matter code changed, and per-agent learned-skill roots now come from plugin contributions. Exercise the existing real-loader tests for duplicate precedence, bundled/Custodian selection, links, parser discovery, and restart loading against both releases. Also run the native interface/configuration and session checks. Several existing session tests use a mock Gateway; they do not establish compatibility with the new native release.
    • OpenClaw upgrades @trycua/cua-driver from 0.28.2 to 0.37.0; UBJS remains 0.31.0-3 in its lock. Review and update the CUA source archive/provenance, the Dockerfile's hard-coded archive paths, and OPENCLAW-SOURCES.md. Updating only the notice would leave the retained sources describing the previous driver.

    Landing and evidence

    • release/0.7 is still at NemoClaw's current Fabric pin. Fabric's release policy allows fixes on that line, but no existing issue or open PR naming OpenClaw 2026.11.13 was found. Maintainer agreement on main versus the release line remains open; no outreach was sent during this investigation.
    • Fabric's native interface tests require FABRIC_OPENCLAW_TEST_COMMAND; ordinary green CI does not prove they ran. [Enhancement]: Run the native OpenClaw interface tests in CI against the pinned OpenClaw NeMo-Fabric#655 tracks that CI gap. Reuse the existing tests explicitly for this qualification; test: qualify OpenClaw and Hermes plugins across native interfaces NeMo-Fabric#697 is related plugin qualification work, not new-version support.
    • The rc.8 assessment, mapping, and both OpenClaw SPDX assets are accessible. Both SBOM hashes match the mapping and assessment. Location-aware reconciliation gives the issue's 12 targeted /app findings per platform, distinct from duplicate package identities in global npm. The saved assessment used Grype 0.121.3 and a database built 2026-12-01T06:28:10Z. The stated 24-to-16 result has not been independently rescanned here; freeze the exact removable findings privately during the fresh before/after comparison.
    • Existing CI defines Linux AMD64 and ARM64 build/live lanes. This Mac currently has no running Docker daemon or Syft/Grype on PATH. Manual validation on Brev is an available follow-up route; no Brev host was provisioned or qualified here. Run cargo images qualify, the existing docker-openclaw-hermes-interfaces live case, and both-platform scans against the candidate, then repeat against the merged Fabric commit. Keep the residual 16 findings distinct from this repair's removable subset.

    Next: agree on the Fabric landing line, implement and natively qualify dual-version support there, then make the coordinated NemoClaw pin/source update. Reassess the final Fabric delta if its chosen commit adds behavior beyond the revision inspected. No repository implementation changes, image builds, live deployments, or fresh scans were performed.

  6. rsliter commented on Dec 2, 2026

    @rsliter
    Collaborator

    Proceeding with a hotfix on Fabric's release/0.7, as agreed. This supersedes the earlier recommendation to consume Fabric's 0.8.0 development line. Preserve the 0.7 contract and existing release tags.

    Accepted scope and sequence

    1. Fabric compatibility: branch from release/0.7 (76bde16c40747062001bd6ea5f5d13cadab3d706 at investigation time). Demonstrate rejection of OpenClaw 2026.11.13 through adapter startup before changing production code. Support it alongside 2026.9.34, retaining refusal of unsupported versions. Change version-specific mappings only where native qualification demonstrates a mismatch.
    2. Fabric validation: explicitly run the existing native skills, configuration, shared-instruction plugin, interface, and session checks against both releases, recording skips. Include a retained-session upgrade using disposable state. Keep contract/core changes and unrelated dependency updates outside this hotfix.
    3. NemoClaw candidate: temporarily consume the Fabric PR head in an isolated branch. Align imageSources.fabric, the three Rust Fabric pins, Cargo.lock, and the generated catalog. Update the OpenClaw image/license pins and CUA source archive, extraction paths, and source notice. Preserve the dummy adapter's 0.7 dependency declarations if Fabric's package versions remain 0.7.0.
    4. Image and security evidence: build AMD64 and ARM64 images; run image qualification, the dummy lifecycle, and docker-openclaw-hermes-interfaces on Linux. Manual Brev validation is an available route using the existing scripted model. Scan the rc.8 baseline and candidate with Grype 0.121.3, Syft 1.57.1, and the same database under 72 hours old. Identify the removable findings privately, require them to disappear without new blocking findings, and publish counts and database build time only. The issue's expected reduction is eight findings across both platforms; the residual 16 remain upstream.
    5. Landing: merge Fabric first. Pin its merged commit in the NemoClaw PR, repeat validation for that commit, and verify the next release candidate's gate.json. Never merge a NemoClaw pin to an unmerged Fabric PR commit.

    Fabric owns adapter behavior and its tests; NemoClaw owns image assembly, pin consistency, deployment integration, and release assessment. Begin with focused behavioral tests, then native compatibility, then image builds and scans. Re-run affected checks after rebasing or changing the tested commit. Keep #14970 separate unless explicitly added to scope.

    Investigation supporting the plan

    • Fabric's release branch still matches NemoClaw's current pin. Its OpenClaw adapter source matches the previously inspected development source, so the compatibility investigation applies without taking 0.8 changes.
    • Both Linux CUA 0.37.0 packages identify source revision 601c55558b5e298b6a11643f2c2efe20f7af48fd; that revision contains the driver sources and runtime transformation script needed by the retained-source update.
    • The baseline private assessment and both OpenClaw SBOMs are accessible, and their hashes match the saved mapping and assessment. A fresh before/after scan remains required.
    • A representative existing Fabric base failure is test_root_readme_routes_to_primary_documentation: 5,096 passed, one failed, 529 skipped in the Linux Python 3.12 check. Classify baseline failures separately and obtain upstream disposition; do not fold unrelated repairs into this change or bypass checks.

    Stop and re-plan if native qualification requires contract/core changes, unrelated fixes, or a different OpenClaw release. Use isolated test resources and disposable retained state; preserve unrelated deployments and remove only resources created by this work. No package or image publication is part of the repair.

  7. rsliter commented on Dec 2, 2026

    @rsliter
    Collaborator

    The Fabric 0.7 hotfix is implemented in NeMo-Fabric#729, with the code and documentation owners requested for review. The vetting handoff records tested revisions and remaining gates.

    Release-base update: Current head 9b128dbb12ce64a13ec7693878c9d94b3e218bca merges updated release/0.7 base 22f728cab723d02f590ddefe0183d22b2deb564d (upstream security-dependency PR #728). Package and adapter contract remain 0.7.0. The merge is clean; no hotfix runtime behavior changed. After synchronizing the patched lockfile, focused OpenClaw regression passed 622 tests with 17 skips. The existing README assertion also passed when called directly; pytest skips it under its module-wide optional Harbor prerequisite. The prior README failure is corrected by the new base. The dependency-tree check now completes but the audit rejects an unapproved allowlist entry; all relevant lockfiles, manifests and audit scripts are byte-identical to the updated base, so this remains an upstream-baseline finding for maintainer disposition. Current-head CI remains pending. The older image/Brev/security evidence below predates this base update.

    Documentation review follow-up: commit 1a49db40 changed only the two guides. Migration and recovery procedures are excluded from the hotfix. The separate documentation proposal #731 was closed as not planned. The primary guides use 2026.11.13; legacy heartbeat configuration is at the bottom. Runtime and tests remain identical to qualified source 26e5de0; new-head review/check reports are pending.

    Compatibility evidence includes 534 focused tests, native skills checks against both OpenClaw releases, a retained-session upgrade with offline Doctor, and eight passing Linux native checks covering MCP, prompt guidance, controls and stop/crash recovery. Retained plugin permissions preserve allowed/denied and shadowed values. OpenClaw 2026.11.13 rejects the retired heartbeat setting with Doctor guidance to convert an existing monitor into a saved scheduled job.

    The AMD64 candidate passed OpenClaw, Hermes and dummy image qualification. Its distinct /app findings fell from 12 to 8, with no new blocking findings, using Grype 0.121.3 and the same database built 2026-12-01T06:28:10Z; candidate SPDX used Syft 1.57.1. This does not establish the ARM64 result.

    The refreshed guard candidate passed Brev Linux AMD64 validation: OpenClaw, Hermes and dummy image qualification, a packaged-adapter guard check, the NemoClaw bundle build, and all four selected cargo ci live-docker --hcl-cases docker-openclaw-hermes-interfaces tests. The interface scenario took 164.7 seconds, within its 180-second budget, and cleanup left no deployment containers, networks or volumes. This used Fabric 26e5de0bed8bec766e6f0d585027f15088d839ac, NemoClaw base ea4c188551a225febceaf1eeb20bf62a400c531d plus the eight prepared pin/image files, and the existing stub model. The refreshed security comparison still shows /app findings falling 12 to 8 with no added blocking advisory/package findings, using the same database and scanner versions stated above. ARM64 remains unverified.

    Remaining before the downstream change lands: upstream vetting and CI disposition, ARM64 image/security evidence, validation against Fabric's merged revision, and the next release candidate gate. The observed CI failures are the existing release-branch README assertion and an audit failure on unchanged TypeScript dependencies. The target branch's active rulesets require DCO, which passes, and CODEOWNER approval; the baseline failures remain unaccepted. No unrelated repairs or check bypasses are included, and no images or packages were published.

    Review follow-up: the approved refusal guard is pushed as 26e5de0. Fabric now rejects 2026.9.34 managed startup or service preparation when retained plugin policy contains the newer permission field, before rewriting plugin settings or their ownership record. The error directs the operator to restore the matching pre-upgrade state, workspace and configuration backup. The runtime error retains matched-backup restoration guidance; maintenance procedures are excluded from this hotfix.

    All 10 new regression cases pass, and the broader OpenClaw suites passed 622 tests with 16 skips. Native upgrade qualification passed with both actual executables: the conversation survives the upgrade, and the older executable is refused afterward with the plugin files unchanged. The prepared NemoClaw candidate pins 26e5de0, and refreshed Brev validation passed as recorded above. CodeRabbit explicitly withdrew the remaining workflow finding as a defect; maintainer acceptance of the manual recovery limitation remains pending. The CI retries are complete: macOS Python 3.11 passed with 4,658 tests and 919 skips; Python 3.13 has 5,113 passed and 545 skipped, with only the inherited README assertion failing. The original timing-race failure and stalled UV download remain recorded. The completed 26e5de0 guard-head matrix has 19 passing, 18 failing and three skipped checks. All remaining failures are the 16 inherited README assertions and two unchanged dependency audits; maintainer disposition is still required. The preceding 990c2a5 matrix completed with only the 16 inherited README assertion failures and two unchanged dependency-audit failures, all inspected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: packagingarea: securitydependenciesv1

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions