Skip to content

Address Crabpot OpenClaw plugin compatibility findings #2845

@jyaunches

Description

@jyaunches

Background

OpenClaw's new Crabpot compatibility harness is inspecting NemoClaw as a fixture because this repo contains a native OpenClaw plugin package under nemoclaw/.

NemoClaw is still broader than that plugin: the host CLI and blueprint orchestrate OpenShell, and OpenShell runs/sandboxes OpenClaw. Crabpot is specifically testing the OpenClaw plugin subpackage that registers /nemoclaw, the managed inference provider, and plugin hooks inside the OpenClaw runtime.

Crabpot report context: https://github.com/openclaw/crabpot

NemoClaw-side fixes to track

  • Add package metadata declaring the OpenClaw plugin API compatibility range in nemoclaw/package.json, under openclaw.compat.pluginApi or whatever exact current convention OpenClaw confirms.
  • Modernize the plugin runtime-context hook away from deprecated before_agent_start compatibility and onto the current hook phases, likely before_model_resolve and/or before_prompt_build, preserving the runtime context injection behavior.

Findings that appear to be Crabpot/inspector follow-up, not NemoClaw product fixes

  • Cold import requires dependency install and build output: nemoclaw/package.json points openclaw.extensions at ./dist/index.js, which is normal for this TypeScript package. Crabpot already models this via isolated workspace install/build before probes.
  • before_tool_call terminal/block/approval probes and runtime registration capture gaps: these are inspector coverage gaps for Crabpot/plugin-inspector, not evidence of a NemoClaw runtime failure.

Acceptance criteria

  • nemoclaw/package.json declares the OpenClaw plugin API compatibility range using the OpenClaw-approved metadata shape and range.
  • Plugin runtime-context injection no longer depends on deprecated before_agent_start, or any remaining compatibility usage is explicitly justified with a removal plan.
  • Plugin tests cover the updated hook registration/behavior.
  • cd nemoclaw && npm run build && npm test passes.
  • A Crabpot rerun no longer reports NemoClaw-specific upstream metadata/deprecation warnings for the two fix items above, aside from known inspector follow-up items.

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA TeamUATIssues flagged for User Acceptance Testing.VDRLinked to VDR findingintegration: openclawOpenClaw integration behaviorrefactorPR restructures code without intended behavior change

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions