Skip to content

feat: use generic OpenClaw plugin config#102

Merged
rapids-bot[bot] merged 5 commits into
NVIDIA:mainfrom
willkill07:wkk_openclaw-generic-plugin-config
May 13, 2026
Merged

feat: use generic OpenClaw plugin config#102
rapids-bot[bot] merged 5 commits into
NVIDIA:mainfrom
willkill07:wkk_openclaw-generic-plugin-config

Conversation

@willkill07
Copy link
Copy Markdown
Member

@willkill07 willkill07 commented May 13, 2026

Overview

Pivot the OpenClaw NeMo Flow plugin to use the generic NeMo Flow plugin initialization document under config.plugins. This is a breaking configuration change that removes the OpenClaw-specific exporter sections and routes exporter setup through the built-in observability plugin component.

  • I confirm this contribution is my own work, or I have the right to submit it under this project's license.
  • I searched existing issues and open pull requests, and this does not duplicate existing work.

Details

  • Replace the specialized OpenClaw output config with a wrapper that owns only OpenClaw controls plus a generic plugins document.
  • Reject removed fields such as atif, telemetry, and nemoFlow.pluginConfig with migration errors.
  • Pass configured plugin components directly to nemo-flow-node/plugin.initialize and degrade runtime health when plugin-host validation or initialization fails.
  • Remove duplicate OpenClaw-owned ATIF, OpenTelemetry, and OpenInference lifecycle wiring.
  • Derive nemoFlow.status output health from configured generic observability components.
  • Update OpenClaw, plugin, adaptive, and observability docs with the new shape and a note that generic plugin config keys are always snake_case.
  • Update OpenClaw tests, including an E2E test that exports ATIF through the real generic observability component.

Where should the reviewer start?

Start with integrations/openclaw/src/config.ts for the new wrapper shape, then integrations/openclaw/src/runtime-state.ts for generic plugin-host validation and initialization behavior. The E2E coverage is in integrations/openclaw/src/__tests__/config.test.ts.

Validation run:

  • npm run build --workspace=nemo-flow-openclaw
  • npm run typecheck --workspace=nemo-flow-openclaw
  • npm test --workspace=nemo-flow-openclaw
  • npm run pack:check --workspace=nemo-flow-openclaw
  • just docs

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

  • Closes: NMF-120

Summary by CodeRabbit

  • Documentation

    • Updated guides/READMEs to show observability configured via the generic plugin/component shape using snake_case keys; OpenClaw examples, verification, and troubleshooting updated.
  • Refactor

    • Migrated OpenClaw from legacy telemetry/ATIF config to a plugin-host observability model; simplified health reporting, runtime state, and plugin-host validation.
  • Tests

    • Removed or revised telemetry/ATIF test suites and helpers to match the plugin-based config.
  • Chores

    • Updated package publication files and dependency range; added a justfile helper for updating npm dependency versions.

@willkill07 willkill07 requested a review from a team as a code owner May 13, 2026 21:03
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Migrates OpenClaw observability from legacy top-level atif/telemetry fields into the generic NeMo Flow plugin-host model (plugins.entries["nemo-flow"].config.plugins.components[]); removes ATIF/telemetry modules and wiring; updates schema/types/runtime health/validation; adapts tests and documentation to the new observability component and snake_case config keys.

Changes

OpenClaw → NeMo Flow plugin-host migration

Layer / File(s) Summary
Config schema and types / parse
integrations/openclaw/openclaw.plugin.json, integrations/openclaw/src/config.ts
Replace legacy nemoFlow/atif/telemetry with plugins: NemoFlowPluginHostConfig in JSON schema and TS types; add generic plugin-host $defs; parseConfig() now rejects legacy fields and normalizes from raw.plugins.
Plugin host validation contract
integrations/openclaw/src/runtime-state.ts
Add validatePluginHostConfig(modules, hostConfig, logger) returning `{ ok:true, report }
Health snapshot computation
integrations/openclaw/src/health.ts
Compute enabled outputs by scanning config.plugins.components for kind === "observability"; removed session/atif-based degradation logic; health now marks outputs degraded when plugin host has failed.
Hook-replay backend: remove ATIF wrapper
integrations/openclaw/src/hooks-backend.ts
Drop withAtifCapture/exportAtifJson usage and ATIF-related fields from HookReplayBackendOptions; emit replay events directly under session scope; remove ATIF-related session export on closeSession.
Session state / counters
integrations/openclaw/src/hook-replay/session.ts
Remove SessionState.atif and atifFilesWritten counter; remove session-manager ATIF helpers (resolvedAtifOutputDir, markOutputDegraded).
Runtime module surface
integrations/openclaw/src/modules.ts
Narrow NemoFlowRuntimeModule to exclude AtifExporter/OpenTelemetrySubscriber/OpenInferenceSubscriber; remove related exported type aliases.
Telemetry/ATIF implementation removal
integrations/openclaw/src/atif-capture.ts, integrations/openclaw/src/telemetry.ts, integrations/openclaw/package.json
Delete ATIF capture and telemetry subscriber modules; remove them from package "files" whitelist; adjust nemo-flow-node dependency range.
Tests — adapt, remove, and refactor
integrations/openclaw/src/__tests__/*
Remove ATIF/telemetry-specific tests (atif-capture.test.ts, telemetry.test.ts); update many tests to use plugins.components[].config; refactor mocks to a plugin-host mock that records validate/initialize/clear; update live-smoke tests to verify ATIF via the real plugin-host component.
Docs and examples / naming guidance
README.md, docs/*, integrations/openclaw/README.md, docs/integrate-frameworks/openclaw-plugin.md
Revise wording and example configs to route observability through plugins.entries["nemo-flow"].config.plugins.components[] using snake_case keys; update verification/troubleshooting paths and runtime mapping notes.
Build helper: npm package version helper
justfile
Add set_npm_package_dependency_version helper and update package-node to apply node package versions and update integrations/openclaw nemo-flow-node dependency via the helper.

Sequence Diagram

sequenceDiagram
  participant Config as Config (plugins.entries["nemo-flow"].config)
  participant Runtime as Nemo Flow Runtime
  participant PluginHost as Plugin Host / Components
  participant HookBackend as HookReplayBackend
  participant Exporter as Observability exporters (FS/OTLP/OpenInference)

  Config->>Runtime: start with plugin-host observability config
  Runtime->>PluginHost: validatePluginHostConfig(plugins.config)
  PluginHost-->>Runtime: ok / diagnostics / error
  Runtime->>HookBackend: construct HookReplayBackend(agentVersion, config)
  HookBackend->>HookBackend: emit replay events (no ATIF wrapper)
  HookBackend->>PluginHost: deliver replay events to components
  PluginHost->>Exporter: observability component writes ATIF/OTLP/OpenInference (if enabled)
  PluginHost-->>Runtime: initialization status (initializedPluginHost, outputs healthy)
  Runtime->>Runtime: compute health snapshot from plugins.components + plugin-host status
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

  • NVIDIA/NeMo-Flow#89: Introduces the generic NeMo Flow observability plugin component and config model adopted by this change.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 65.22% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed Title follows Conventional Commits format with valid type, concise imperative summary, and stays under 72 characters.
Description check ✅ Passed Description includes all required sections: Overview with checkboxes, Details with specific changes, reviewer guidance, and related issues.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added size:XL PR is extra large Feature a new feature lang:js PR changes/introduces Javascript/Typescript code labels May 13, 2026
@willkill07 willkill07 self-assigned this May 13, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@integrations/openclaw/src/__tests__/config.test.ts`:
- Around line 308-363: The test unconditionally uses the native binding via
defaultNemoFlowModuleLoader (called in registerPlugin) and will fail where
nemo-flow-node is unavailable; add a skip guard around this spec (or move it to
an opt-in test) by checking the same feature flag used in live-smoke.test.ts
(e.g., liveSmokeEnabled or an env var) before running the body that calls
registerPlugin/createApi, and short-circuit the test with this.skip() or return
when the native binding is not present so the test only runs in environments
that opt in to native integration tests.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: d7bfce65-5d0b-41ab-b3d1-fc047286a697

📥 Commits

Reviewing files that changed from the base of the PR and between 9b14b68 and 6da441f.

📒 Files selected for processing (25)
  • README.md
  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • docs/use-adaptive-optimization/configure.md
  • integrations/openclaw/README.md
  • integrations/openclaw/openclaw.plugin.json
  • integrations/openclaw/package.json
  • integrations/openclaw/src/__tests__/atif-capture.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/__tests__/failure-model.test.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/__tests__/llm-replay.test.ts
  • integrations/openclaw/src/__tests__/telemetry.test.ts
  • integrations/openclaw/src/__tests__/tool-replay.test.ts
  • integrations/openclaw/src/atif-capture.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/hook-replay/session.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/telemetry.ts
💤 Files with no reviewable changes (9)
  • integrations/openclaw/src/tests/atif-capture.test.ts
  • integrations/openclaw/src/tests/telemetry.test.ts
  • integrations/openclaw/src/telemetry.ts
  • integrations/openclaw/package.json
  • integrations/openclaw/src/atif-capture.ts
  • integrations/openclaw/src/tests/tool-replay.test.ts
  • integrations/openclaw/src/tests/llm-replay.test.ts
  • integrations/openclaw/src/tests/failure-model.test.ts
  • integrations/openclaw/src/hook-replay/session.ts
📜 Review details
🧰 Additional context used
📓 Path-based instructions (34)
**/*.{md,rst,html,txt}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-brand-terminology.md)

**/*.{md,rst,html,txt}: Always spell NVIDIA in all caps. Do not use Nvidia, nvidia, nVidia, nVIDIA, or NV.
Use an NVIDIA before a noun because the name starts with an 'en' sound.
Do not add a registered trademark symbol after NVIDIA when referring to the company.
Use trademark symbols with product names only when the document type or legal guidance requires them.
Verify official capitalization, spacing, and hyphenation for product names.
Precede NVIDIA product names with NVIDIA on first mention when it is natural and accurate.
Do not rewrite product names for grammar or title-case rules.
Preserve third-party product names according to the owner's spelling.
Include the company name and full model qualifier on first use when it helps identify the model.
Preserve the official capitalization and punctuation of model names.
Use shorter family names only after the full name is established.
Spell out a term on first use and put the acronym in parentheses unless the acronym is widely understood by the intended audience.
Use the acronym on later mentions after it has been defined.
For long documents, reintroduce the full term if readers might lose context.
Form plurals of acronyms with s, not an apostrophe, such as GPUs.
In headings, common acronyms can remain abbreviated. Spell out the term in the first or second sentence of the body.
Common terms such as CPU, GPU, PC, API, and UI usually do not need to be spelled out for developer audiences.

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/README.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,rst,html}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-brand-terminology.md)

Link the first mention of a product name when the destination helps the reader.

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/README.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,rst,txt}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-guide.md)

**/*.{md,rst,txt}: Spell NVIDIA in all caps. Do not use Nvidia, nvidia, or NV.
Format commands, code elements, expressions, package names, file names, and paths as inline code.
Use descriptive link text. Avoid raw URLs and weak anchors such as 'here' or 'read more.'
Use title case consistently for technical documentation headings.
Introduce code blocks, lists, tables, and images with complete sentences.
Write procedures as imperative steps. Keep steps parallel and split long procedures into smaller tasks.
Prefer active voice, present tense, short sentences, contractions, and plain English.
Use can for possibility and reserve may for permission.
Use after for temporal relationships instead of once.
Prefer refer to over see when the wording points readers to another resource.
Avoid culture-specific idioms, unnecessary Latinisms, jokes, and marketing exaggeration in technical documentation.
Spell out months in body text, avoid ordinal dates, and use clear time zones.
Spell out whole numbers from zero through nine unless they are technical values, parameters, versions, or UI values.
Use numerals for 10 or greater and include commas in thousands.
Do not add trademark symbols to learning-oriented documentation unless the source, platform, or legal guidance explicitly requires them.
Do not add trademark symbols to NeMo Flow learning documentation by default.
Do not rewrite API names, package names, command flags, or code literals for style reasons.

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/README.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,markdown,rst}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-technical-docs.md)

**/*.{md,markdown,rst}: Use title case consistently in technical documentation headings
Avoid quotation marks, ampersands, and exclamation marks in headings
Keep product, event, research, and whitepaper names in their official title case
Use title case for table headers
Do not force social-media sentence case into technical docs
Use monospace formatting for code elements, commands, parameters, package names, and expressions
Use monospace formatting for directories, file names, and paths
Use angle brackets inside monospace for variables inside paths, such as /home/<username>/.login
Use quotation marks for error messages and strings in documentation
Use bold formatting for UI buttons, menus, fields, and labels in documentation
Use angle brackets between UI labels for menu paths, such as File > Save As
Use italics for new terms on first use in documentation
Use italics for publication titles in documentation
Use plain text formatting for keyboard shortcuts in documentation
Prefer [NVIDIA/NeMo](link) format for GitHub repository references over generic phrases like 'the GitHub repo'
Introduce every code block with a complete sentence
Do not make a code block complete the grammar of the previous sentence
Do not continue a sentence after a code block
Use syntax highlighting when the format supports it for code blocks
Avoid the word 'snippet' unless the surrounding docs already use it as a term of art
Keep inline method, function, and class references consistent with nearby docs, omitting empty parentheses for prose readability when no call is shown
Use descriptive anchor text that matches the destination title when possible for links
Avoid raw URLs in running text in documentation
Avoid generic link anchors such as 'here,' 'this page,' and 'read more' in documentation
Include the acronym in link text if a linked term includes an acronym
Do not link long sentences or multiple sentences in documentation
Avoid links that pull readers away from a procedure unles...

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/README.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in HTML and Markdown files using HTML comment syntax

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/README.md
  • docs/integrate-frameworks/openclaw-plugin.md
docs/**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Run ./scripts/build-docs.sh for documentation site changes

docs/**/*.md: Relevant getting-started or reference docs must be updated when examples change
Release-policy docs must point to GitHub Releases as the only release-history source of truth

docs/**/*.md: Use title case for headings in technical documentation
Introduce code blocks, tables, and lists with complete lead-in sentences in documentation

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Run Markdown link checking via lychee for README.md, CONTRIBUTING.md, and docs/ through pre-commit hooks

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/README.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,markdown,py,sh,bash,js,ts,java,cpp,go,rust}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep package names, repo references, and build commands current in documentation

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/README.md
  • integrations/openclaw/src/health.ts
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
{RELEASING.md,CHANGELOG.md,docs/**/*.md}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep release-process and release-notes guidance in repo-maintainer docs such as RELEASING.md, not as user-facing docs pages or CHANGELOG.md

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,markdown,py,sh,bash}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep stable user-facing wrappers at scripts/ root in docs and examples; only point at namespaced helper paths when documenting internal maintenance work

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/README.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,markdown,py,sh,bash,js,ts,example}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Example commands must match current package names and paths

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/README.md
  • integrations/openclaw/src/health.ts
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
{scripts/*.sh,docs/**/*.md}

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

Use root ./scripts/*.sh commands in docs and contributor guidance as documented, with implementations under scripts/third-party/

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/openclaw-plugin.md
{docs/**,examples/**,crates/adaptive/**,python/nemo_flow/**,go/nemo_flow/**,**/{example,component}.{ts,tsx,js,rs,py,go}}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Any new adaptive component kind must have documentation, examples, and binding coverage across all supported languages

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/openclaw-plugin.md
{README*,CHANGELOG*,docs/**/*.{md,rst,txt},examples/**/*,*.md}

📄 CodeRabbit inference engine (.agents/skills/rename-surfaces/SKILL.md)

Update documentation, examples, and getting-started guides with new package/module/crate names after rename operations

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,txt,rst}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

**/*.{md,txt,rst}: Ensure commands, package names, file paths, and APIs in documentation are correct and not stale; flag incorrect or outdated information as blocking issues
Ensure examples and procedures in documentation will execute successfully with current APIs and commands
Use consistent user-facing terminology throughout documentation that matches current repo terminology
Capitalize NVIDIA correctly in all documentation and public-facing text
Format code, commands, paths, and filenames as inline code (monospace) in documentation
Use descriptive anchor text for links instead of bare URLs or weak labels like 'here' in documentation
Prefer active voice, present tense, short sentences, and plain English in documentation
Structure documentation procedures as imperative steps that are easy to scan and not too long for a single sequence
Prefer 'after' instead of 'once' for temporal references in documentation
Use 'can' instead of 'may' when describing possibility (rather than permission) in documentation
Avoid ambiguous numeric dates and ordinal dates in documentation body text

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/README.md
  • docs/integrate-frameworks/openclaw-plugin.md
{README.md,docs/**/*.md,examples/**/*.{js,ts,py,go,rs}}

📄 CodeRabbit inference engine (.agents/skills/maintain-packaging/SKILL.md)

Keep documentation and examples synchronized with current install, import, and build commands

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{py,js,ts,tsx,go,rs,md}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

Format changed files with the language-native formatter before the final lint/test pass

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/README.md
  • integrations/openclaw/src/health.ts
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
{README.md,CONTRIBUTING.md,docs/**/*.md}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

For docs-only changes, run targeted checks only if commands, package names, or examples changed. Use just docs for docs-site builds and just docs-linkcheck when links changed

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • docs/integrate-frameworks/openclaw-plugin.md
{docs/**,README.md,CONTRIBUTING.md,RELEASING.md,SECURITY.md}

⚙️ CodeRabbit configuration file

{docs/**,README.md,CONTRIBUTING.md,RELEASING.md,SECURITY.md}: Review documentation for technical accuracy against the current API, command correctness, and consistency across language bindings.
Flag stale examples, missing SPDX headers where required, and instructions that no longer match CI or pre-commit behavior.

Files:

  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/use-adaptive-optimization/configure.md
  • docs/export-observability-data/observability-plugin.md
  • README.md
  • docs/integrate-frameworks/openclaw-plugin.md
{docs/use-adaptive-optimization/**,**/{test,spec,validate}.{rs,py,go,ts,tsx,js},**/validation.{rs,py,go}}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Ensure validation and report behavior remains documented and tested

Files:

  • docs/use-adaptive-optimization/configure.md
README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update README.md to reflect current workspace members and top-level documentation for changes affecting public behavior, bindings, examples, or workspace structure

Files:

  • README.md
**/README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update relevant crate or package README when that surface changed

Relevant package or crate README.md files must be updated when examples or binding guidance changes

Files:

  • README.md
  • integrations/openclaw/README.md
{README.md,docs/index.md}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

{README.md,docs/index.md}: Update entry-point docs when examples or reading paths change
README.md or docs/index.md must be updated when entry points change

Files:

  • README.md
{README.md,docs/index.md,**/README.md}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

Update entry-point documentation (README.md, docs/index.md, package READMEs, binding-level source READMEs) whenever public behavior changes

Files:

  • README.md
  • integrations/openclaw/README.md
**/*.{js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use camelCase naming convention for Node.js code

Files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{rs,go,js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in all Rust, Go, JavaScript, and TypeScript source files using C-style comment syntax

Files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{rs,py,go,js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use SONAR_IGNORE_START / SONAR_IGNORE_END markers only for documented false positives that cannot be resolved in code; keep ignored blocks small, add explanatory comments, and require reviewer sign-off

Files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/{integrations,integration,*-integration}/**

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

**/{integrations,integration,*-integration}/**: Keep NeMo Flow optional in framework integrations
Preserve the framework's original behavior when NeMo Flow is absent
Wrap tool and LLM paths at the correct framework boundary
Integration pattern must follow docs/integrate-frameworks/adding-scopes.md

Files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/README.md
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/openclaw.plugin.json
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
{crates/adaptive/**,python/nemo_flow/{adaptive,plugin}.py,go/nemo_flow/{adaptive,**}/*.go,**/*.{ts,js,wasm}}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Keep adaptive config schema, plugin lifecycle, and bindings in sync across crates/adaptive, core, bindings, Python (python/nemo_flow/adaptive.py and python/nemo_flow/plugin.py), Go (go/nemo_flow/adaptive and go/nemo_flow), and Node/WebAssembly helpers

Files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{js,ts,tsx,jsx,py,rs,go,java,c,cpp,h,cc,cxx,cs,rb,php,swift,kt}

📄 CodeRabbit inference engine (.agents/skills/prepare-pr/SKILL.md)

Changed files must be formatted with the language-native formatter

Files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

If Node.js language surface changed, always run Node.js test target even when Rust core did not change

Files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{rs,py,js,ts,tsx,go}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

During iteration, prefer uv run pre-commit run --files <changed files...> for targeted validation

Files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
docs/integrate-frameworks/**/*.md

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

Documentation must be updated if activation or usage of the integration changed

Files:

  • docs/integrate-frameworks/openclaw-plugin.md
**/{config,schema,adaptive}.{yaml,yml,json,ts,tsx,py,go,rs}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Ensure dynamic config shape matches the documented canonical model in docs/use-adaptive-optimization/configure.md

Files:

  • integrations/openclaw/src/config.ts
🧠 Learnings (1)
📚 Learning: 2026-05-07T18:04:44.387Z
Learnt from: mnajafian-nv
Repo: NVIDIA/NeMo-Flow PR: 67
File: integrations/openclaw/src/modules.ts:1-2
Timestamp: 2026-05-07T18:04:44.387Z
Learning: In NVIDIA/NeMo-Flow, TypeScript source files should use `//` line comments for SPDX headers (e.g., `// SPDX-FileCopyrightText: ...` and `// SPDX-License-Identifier: ...`) rather than C-style block comments (`/* ... */`). The repo’s copyright checker enforces this mapping, so `//` SPDX headers in `.ts` files should not be flagged as a style violation.

Applied to files:

  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
🔇 Additional comments (26)
docs/build-plugins/plugin-configuration-files.md (1)

17-22: LGTM!

README.md (1)

148-149: LGTM!

docs/export-observability-data/observability-plugin.md (1)

16-21: LGTM!

docs/build-plugins/basic-guide.md (1)

14-19: LGTM!

docs/use-adaptive-optimization/configure.md (1)

48-53: LGTM!

integrations/openclaw/src/modules.ts (1)

24-24: LGTM!

docs/integrate-frameworks/openclaw-plugin.md (1)

11-12: LGTM!

Also applies to: 70-88, 109-121, 126-142, 150-167, 175-192, 232-233, 269-269, 317-319

integrations/openclaw/openclaw.plugin.json (1)

15-15: LGTM!

Also applies to: 23-23, 25-28, 83-109, 110-132, 133-155, 157-157

integrations/openclaw/README.md (1)

1-277: LGTM!

integrations/openclaw/src/config.ts (3)

29-46: LGTM!

Also applies to: 134-152


88-105: LGTM!


173-196: LGTM!

integrations/openclaw/src/hooks-backend.ts (1)

61-66: LGTM!

Also applies to: 345-356, 400-414

integrations/openclaw/src/__tests__/live-smoke.test.ts (1)

32-49: LGTM!

Also applies to: 123-132

integrations/openclaw/src/__tests__/hooks-backend.test.ts (1)

350-363: LGTM!

integrations/openclaw/src/health.ts (2)

38-62: LGTM!

Also applies to: 64-104


107-115: LGTM!

integrations/openclaw/src/runtime-state.ts (3)

123-155: LGTM!


369-383: LGTM!

Also applies to: 437-448


469-487: LGTM!

integrations/openclaw/src/__tests__/config.test.ts (6)

29-47: LGTM!


49-68: LGTM!


89-102: LGTM!


196-233: LGTM!


273-306: LGTM!


593-640: LGTM!

Comment thread integrations/openclaw/src/__tests__/config.test.ts Outdated
@willkill07 willkill07 force-pushed the wkk_openclaw-generic-plugin-config branch from 6da441f to e88e890 Compare May 13, 2026 21:07
@willkill07 willkill07 added this to the 0.2 milestone May 13, 2026
Signed-off-by: Will Killian <wkillian@nvidia.com>
@willkill07 willkill07 force-pushed the wkk_openclaw-generic-plugin-config branch from e88e890 to 5f63b4e Compare May 13, 2026 21:09
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
integrations/openclaw/src/runtime-state.ts (1)

135-149: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Let initialization errors override earlier warning-only reasons.

If validation emits a warning and initialize() later reports error diagnostics, degradedReason stays pinned to "NeMo Flow plugin host config validation produced warnings". That hides the actionable initialization failure from nemoFlow.status.reason.

Suggested fix
-        if (
-          activationReport.diagnostics.some((diagnostic) => diagnostic.level === "error") &&
-          degradedReason === undefined
-        ) {
+        if (activationReport.diagnostics.some((diagnostic) => diagnostic.level === "error")) {
           degradedReason = "NeMo Flow plugin host initialization reported errors";
         }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@integrations/openclaw/src/runtime-state.ts` around lines 135 - 149, The
current logic prevents initialization errors from overwriting an earlier
validation-warning reason; update the activation-report handling so that when
modules.pluginHost.initialize(...) returns activationReport with any
diagnostic.level === "error" you set degradedReason = "NeMo Flow plugin host
initialization reported errors" regardless of degradedReason's current value
(i.e., remove the degradedReason === undefined guard around the activationReport
error branch), referencing activationReport, modules.pluginHost.initialize,
logDiagnostics, and the degradedReason variable in runtime-state.ts.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@integrations/openclaw/src/health.ts`:
- Around line 46-57: The outputs health must reflect an explicit plugin-host
failure signal instead of relying on initializedPluginHost; compute a boolean
(pluginHostFailed) from params.status.state === "degraded" &&
!params.initializedPluginHost and pass that boolean into outputHealth for each
configured output (the configuredObservabilityOutputs result) so
outputHealth(op, pluginHostFailed) is used for atif, otel, openInference, etc.,
replacing any checks that only used params.initializedPluginHost.

---

Outside diff comments:
In `@integrations/openclaw/src/runtime-state.ts`:
- Around line 135-149: The current logic prevents initialization errors from
overwriting an earlier validation-warning reason; update the activation-report
handling so that when modules.pluginHost.initialize(...) returns
activationReport with any diagnostic.level === "error" you set degradedReason =
"NeMo Flow plugin host initialization reported errors" regardless of
degradedReason's current value (i.e., remove the degradedReason === undefined
guard around the activationReport error branch), referencing activationReport,
modules.pluginHost.initialize, logDiagnostics, and the degradedReason variable
in runtime-state.ts.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: c4c8eccc-03ac-495a-b8ca-129cb8c484e8

📥 Commits

Reviewing files that changed from the base of the PR and between 6da441f and 5f63b4e.

📒 Files selected for processing (25)
  • README.md
  • docs/build-plugins/basic-guide.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • docs/use-adaptive-optimization/configure.md
  • integrations/openclaw/README.md
  • integrations/openclaw/openclaw.plugin.json
  • integrations/openclaw/package.json
  • integrations/openclaw/src/__tests__/atif-capture.test.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/__tests__/failure-model.test.ts
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/__tests__/llm-replay.test.ts
  • integrations/openclaw/src/__tests__/telemetry.test.ts
  • integrations/openclaw/src/__tests__/tool-replay.test.ts
  • integrations/openclaw/src/atif-capture.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/hook-replay/session.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/telemetry.ts
💤 Files with no reviewable changes (9)
  • integrations/openclaw/package.json
  • integrations/openclaw/src/tests/atif-capture.test.ts
  • integrations/openclaw/src/tests/telemetry.test.ts
  • integrations/openclaw/src/telemetry.ts
  • integrations/openclaw/src/atif-capture.ts
  • integrations/openclaw/src/tests/tool-replay.test.ts
  • integrations/openclaw/src/hook-replay/session.ts
  • integrations/openclaw/src/tests/llm-replay.test.ts
  • integrations/openclaw/src/tests/failure-model.test.ts
📜 Review details
🧰 Additional context used
📓 Path-based instructions (34)
**/*.{md,rst,html,txt}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-brand-terminology.md)

**/*.{md,rst,html,txt}: Always spell NVIDIA in all caps. Do not use Nvidia, nvidia, nVidia, nVIDIA, or NV.
Use an NVIDIA before a noun because the name starts with an 'en' sound.
Do not add a registered trademark symbol after NVIDIA when referring to the company.
Use trademark symbols with product names only when the document type or legal guidance requires them.
Verify official capitalization, spacing, and hyphenation for product names.
Precede NVIDIA product names with NVIDIA on first mention when it is natural and accurate.
Do not rewrite product names for grammar or title-case rules.
Preserve third-party product names according to the owner's spelling.
Include the company name and full model qualifier on first use when it helps identify the model.
Preserve the official capitalization and punctuation of model names.
Use shorter family names only after the full name is established.
Spell out a term on first use and put the acronym in parentheses unless the acronym is widely understood by the intended audience.
Use the acronym on later mentions after it has been defined.
For long documents, reintroduce the full term if readers might lose context.
Form plurals of acronyms with s, not an apostrophe, such as GPUs.
In headings, common acronyms can remain abbreviated. Spell out the term in the first or second sentence of the body.
Common terms such as CPU, GPU, PC, API, and UI usually do not need to be spelled out for developer audiences.

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
**/*.{md,rst,html}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-brand-terminology.md)

Link the first mention of a product name when the destination helps the reader.

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
**/*.{md,rst,txt}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-guide.md)

**/*.{md,rst,txt}: Spell NVIDIA in all caps. Do not use Nvidia, nvidia, or NV.
Format commands, code elements, expressions, package names, file names, and paths as inline code.
Use descriptive link text. Avoid raw URLs and weak anchors such as 'here' or 'read more.'
Use title case consistently for technical documentation headings.
Introduce code blocks, lists, tables, and images with complete sentences.
Write procedures as imperative steps. Keep steps parallel and split long procedures into smaller tasks.
Prefer active voice, present tense, short sentences, contractions, and plain English.
Use can for possibility and reserve may for permission.
Use after for temporal relationships instead of once.
Prefer refer to over see when the wording points readers to another resource.
Avoid culture-specific idioms, unnecessary Latinisms, jokes, and marketing exaggeration in technical documentation.
Spell out months in body text, avoid ordinal dates, and use clear time zones.
Spell out whole numbers from zero through nine unless they are technical values, parameters, versions, or UI values.
Use numerals for 10 or greater and include commas in thousands.
Do not add trademark symbols to learning-oriented documentation unless the source, platform, or legal guidance explicitly requires them.
Do not add trademark symbols to NeMo Flow learning documentation by default.
Do not rewrite API names, package names, command flags, or code literals for style reasons.

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
**/*.{md,markdown,rst}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-technical-docs.md)

**/*.{md,markdown,rst}: Use title case consistently in technical documentation headings
Avoid quotation marks, ampersands, and exclamation marks in headings
Keep product, event, research, and whitepaper names in their official title case
Use title case for table headers
Do not force social-media sentence case into technical docs
Use monospace formatting for code elements, commands, parameters, package names, and expressions
Use monospace formatting for directories, file names, and paths
Use angle brackets inside monospace for variables inside paths, such as /home/<username>/.login
Use quotation marks for error messages and strings in documentation
Use bold formatting for UI buttons, menus, fields, and labels in documentation
Use angle brackets between UI labels for menu paths, such as File > Save As
Use italics for new terms on first use in documentation
Use italics for publication titles in documentation
Use plain text formatting for keyboard shortcuts in documentation
Prefer [NVIDIA/NeMo](link) format for GitHub repository references over generic phrases like 'the GitHub repo'
Introduce every code block with a complete sentence
Do not make a code block complete the grammar of the previous sentence
Do not continue a sentence after a code block
Use syntax highlighting when the format supports it for code blocks
Avoid the word 'snippet' unless the surrounding docs already use it as a term of art
Keep inline method, function, and class references consistent with nearby docs, omitting empty parentheses for prose readability when no call is shown
Use descriptive anchor text that matches the destination title when possible for links
Avoid raw URLs in running text in documentation
Avoid generic link anchors such as 'here,' 'this page,' and 'read more' in documentation
Include the acronym in link text if a linked term includes an acronym
Do not link long sentences or multiple sentences in documentation
Avoid links that pull readers away from a procedure unles...

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in HTML and Markdown files using HTML comment syntax

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
docs/**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Run ./scripts/build-docs.sh for documentation site changes

docs/**/*.md: Relevant getting-started or reference docs must be updated when examples change
Release-policy docs must point to GitHub Releases as the only release-history source of truth

docs/**/*.md: Use title case for headings in technical documentation
Introduce code blocks, tables, and lists with complete lead-in sentences in documentation

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Run Markdown link checking via lychee for README.md, CONTRIBUTING.md, and docs/ through pre-commit hooks

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
**/*.{md,markdown,py,sh,bash,js,ts,java,cpp,go,rust}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep package names, repo references, and build commands current in documentation

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
{RELEASING.md,CHANGELOG.md,docs/**/*.md}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep release-process and release-notes guidance in repo-maintainer docs such as RELEASING.md, not as user-facing docs pages or CHANGELOG.md

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,markdown,py,sh,bash}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep stable user-facing wrappers at scripts/ root in docs and examples; only point at namespaced helper paths when documenting internal maintenance work

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
**/*.{md,markdown,py,sh,bash,js,ts,example}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Example commands must match current package names and paths

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
{scripts/*.sh,docs/**/*.md}

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

Use root ./scripts/*.sh commands in docs and contributor guidance as documented, with implementations under scripts/third-party/

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
{docs/use-adaptive-optimization/**,**/{test,spec,validate}.{rs,py,go,ts,tsx,js},**/validation.{rs,py,go}}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Ensure validation and report behavior remains documented and tested

Files:

  • docs/use-adaptive-optimization/configure.md
{docs/**,examples/**,crates/adaptive/**,python/nemo_flow/**,go/nemo_flow/**,**/{example,component}.{ts,tsx,js,rs,py,go}}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Any new adaptive component kind must have documentation, examples, and binding coverage across all supported languages

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
{README*,CHANGELOG*,docs/**/*.{md,rst,txt},examples/**/*,*.md}

📄 CodeRabbit inference engine (.agents/skills/rename-surfaces/SKILL.md)

Update documentation, examples, and getting-started guides with new package/module/crate names after rename operations

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{md,txt,rst}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

**/*.{md,txt,rst}: Ensure commands, package names, file paths, and APIs in documentation are correct and not stale; flag incorrect or outdated information as blocking issues
Ensure examples and procedures in documentation will execute successfully with current APIs and commands
Use consistent user-facing terminology throughout documentation that matches current repo terminology
Capitalize NVIDIA correctly in all documentation and public-facing text
Format code, commands, paths, and filenames as inline code (monospace) in documentation
Use descriptive anchor text for links instead of bare URLs or weak labels like 'here' in documentation
Prefer active voice, present tense, short sentences, and plain English in documentation
Structure documentation procedures as imperative steps that are easy to scan and not too long for a single sequence
Prefer 'after' instead of 'once' for temporal references in documentation
Use 'can' instead of 'may' when describing possibility (rather than permission) in documentation
Avoid ambiguous numeric dates and ordinal dates in documentation body text

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
{README.md,docs/**/*.md,examples/**/*.{js,ts,py,go,rs}}

📄 CodeRabbit inference engine (.agents/skills/maintain-packaging/SKILL.md)

Keep documentation and examples synchronized with current install, import, and build commands

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
**/*.{py,js,ts,tsx,go,rs,md}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

Format changed files with the language-native formatter before the final lint/test pass

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • docs/integrate-frameworks/openclaw-plugin.md
  • integrations/openclaw/README.md
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
{README.md,CONTRIBUTING.md,docs/**/*.md}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

For docs-only changes, run targeted checks only if commands, package names, or examples changed. Use just docs for docs-site builds and just docs-linkcheck when links changed

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
{docs/**,README.md,CONTRIBUTING.md,RELEASING.md,SECURITY.md}

⚙️ CodeRabbit configuration file

{docs/**,README.md,CONTRIBUTING.md,RELEASING.md,SECURITY.md}: Review documentation for technical accuracy against the current API, command correctness, and consistency across language bindings.
Flag stale examples, missing SPDX headers where required, and instructions that no longer match CI or pre-commit behavior.

Files:

  • docs/use-adaptive-optimization/configure.md
  • docs/build-plugins/basic-guide.md
  • README.md
  • docs/export-observability-data/observability-plugin.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/integrate-frameworks/openclaw-plugin.md
README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update README.md to reflect current workspace members and top-level documentation for changes affecting public behavior, bindings, examples, or workspace structure

Files:

  • README.md
**/README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update relevant crate or package README when that surface changed

Relevant package or crate README.md files must be updated when examples or binding guidance changes

Files:

  • README.md
  • integrations/openclaw/README.md
{README.md,docs/index.md}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

{README.md,docs/index.md}: Update entry-point docs when examples or reading paths change
README.md or docs/index.md must be updated when entry points change

Files:

  • README.md
{README.md,docs/index.md,**/README.md}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

Update entry-point documentation (README.md, docs/index.md, package READMEs, binding-level source READMEs) whenever public behavior changes

Files:

  • README.md
  • integrations/openclaw/README.md
**/*.{js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use camelCase naming convention for Node.js code

Files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
**/*.{rs,go,js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in all Rust, Go, JavaScript, and TypeScript source files using C-style comment syntax

Files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
**/*.{rs,py,go,js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use SONAR_IGNORE_START / SONAR_IGNORE_END markers only for documented false positives that cannot be resolved in code; keep ignored blocks small, add explanatory comments, and require reviewer sign-off

Files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
**/{integrations,integration,*-integration}/**

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

**/{integrations,integration,*-integration}/**: Keep NeMo Flow optional in framework integrations
Preserve the framework's original behavior when NeMo Flow is absent
Wrap tool and LLM paths at the correct framework boundary
Integration pattern must follow docs/integrate-frameworks/adding-scopes.md

Files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/README.md
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/openclaw.plugin.json
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
{crates/adaptive/**,python/nemo_flow/{adaptive,plugin}.py,go/nemo_flow/{adaptive,**}/*.go,**/*.{ts,js,wasm}}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Keep adaptive config schema, plugin lifecycle, and bindings in sync across crates/adaptive, core, bindings, Python (python/nemo_flow/adaptive.py and python/nemo_flow/plugin.py), Go (go/nemo_flow/adaptive and go/nemo_flow), and Node/WebAssembly helpers

Files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
**/*.{js,ts,tsx,jsx,py,rs,go,java,c,cpp,h,cc,cxx,cs,rb,php,swift,kt}

📄 CodeRabbit inference engine (.agents/skills/prepare-pr/SKILL.md)

Changed files must be formatted with the language-native formatter

Files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

If Node.js language surface changed, always run Node.js test target even when Rust core did not change

Files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
**/*.{rs,py,js,ts,tsx,go}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

During iteration, prefer uv run pre-commit run --files <changed files...> for targeted validation

Files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
docs/integrate-frameworks/**/*.md

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

Documentation must be updated if activation or usage of the integration changed

Files:

  • docs/integrate-frameworks/openclaw-plugin.md
**/{config,schema,adaptive}.{yaml,yml,json,ts,tsx,py,go,rs}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Ensure dynamic config shape matches the documented canonical model in docs/use-adaptive-optimization/configure.md

Files:

  • integrations/openclaw/src/config.ts
🧠 Learnings (1)
📚 Learning: 2026-05-07T18:04:44.387Z
Learnt from: mnajafian-nv
Repo: NVIDIA/NeMo-Flow PR: 67
File: integrations/openclaw/src/modules.ts:1-2
Timestamp: 2026-05-07T18:04:44.387Z
Learning: In NVIDIA/NeMo-Flow, TypeScript source files should use `//` line comments for SPDX headers (e.g., `// SPDX-FileCopyrightText: ...` and `// SPDX-License-Identifier: ...`) rather than C-style block comments (`/* ... */`). The repo’s copyright checker enforces this mapping, so `//` SPDX headers in `.ts` files should not be flagged as a style violation.

Applied to files:

  • integrations/openclaw/src/__tests__/hooks-backend.test.ts
  • integrations/openclaw/src/__tests__/live-smoke.test.ts
  • integrations/openclaw/src/hooks-backend.ts
  • integrations/openclaw/src/modules.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/config.ts
  • integrations/openclaw/src/health.ts
🔇 Additional comments (8)
README.md (1)

148-149: LGTM!

docs/build-plugins/basic-guide.md (1)

14-19: LGTM!

docs/build-plugins/plugin-configuration-files.md (1)

17-22: LGTM!

docs/export-observability-data/observability-plugin.md (1)

16-21: LGTM!

docs/use-adaptive-optimization/configure.md (1)

48-53: LGTM!

integrations/openclaw/src/modules.ts (1)

24-24: LGTM!

integrations/openclaw/openclaw.plugin.json (1)

15-28: LGTM!

Also applies to: 83-157

docs/integrate-frameworks/openclaw-plugin.md (1)

11-13: LGTM!

Also applies to: 55-59, 71-149, 157-175, 191-193, 228-229, 276-279

Comment thread integrations/openclaw/src/health.ts
@willkill07 willkill07 force-pushed the wkk_openclaw-generic-plugin-config branch from dbb0269 to f11b7cb Compare May 13, 2026 21:26
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@integrations/openclaw/README.md`:
- Line 149: Replace the raw URL anchor text
"https://nvidia.github.io/NeMo-Flow/" with a descriptive markdown link label
that matches the destination (e.g., "the NeMo Flow documentation" or "NeMo
Flow's Observability Plugin schema documentation") so the sentence reads
naturally and the link text describes the target; update the link in README.md
to use the chosen descriptive text in standard markdown link syntax.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 0750566a-ec49-4a47-8c3a-dc48a1fd2b01

📥 Commits

Reviewing files that changed from the base of the PR and between 5f63b4e and f11b7cb.

📒 Files selected for processing (1)
  • integrations/openclaw/README.md
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Documentation / Build
  • GitHub Check: OpenClaw / Test
  • GitHub Check: License Diff / Run
🧰 Additional context used
📓 Path-based instructions (14)
**/*.{md,rst,html,txt}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-brand-terminology.md)

**/*.{md,rst,html,txt}: Always spell NVIDIA in all caps. Do not use Nvidia, nvidia, nVidia, nVIDIA, or NV.
Use an NVIDIA before a noun because the name starts with an 'en' sound.
Do not add a registered trademark symbol after NVIDIA when referring to the company.
Use trademark symbols with product names only when the document type or legal guidance requires them.
Verify official capitalization, spacing, and hyphenation for product names.
Precede NVIDIA product names with NVIDIA on first mention when it is natural and accurate.
Do not rewrite product names for grammar or title-case rules.
Preserve third-party product names according to the owner's spelling.
Include the company name and full model qualifier on first use when it helps identify the model.
Preserve the official capitalization and punctuation of model names.
Use shorter family names only after the full name is established.
Spell out a term on first use and put the acronym in parentheses unless the acronym is widely understood by the intended audience.
Use the acronym on later mentions after it has been defined.
For long documents, reintroduce the full term if readers might lose context.
Form plurals of acronyms with s, not an apostrophe, such as GPUs.
In headings, common acronyms can remain abbreviated. Spell out the term in the first or second sentence of the body.
Common terms such as CPU, GPU, PC, API, and UI usually do not need to be spelled out for developer audiences.

Files:

  • integrations/openclaw/README.md
**/*.{md,rst,html}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-brand-terminology.md)

Link the first mention of a product name when the destination helps the reader.

Files:

  • integrations/openclaw/README.md
**/*.{md,rst,txt}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-guide.md)

**/*.{md,rst,txt}: Spell NVIDIA in all caps. Do not use Nvidia, nvidia, or NV.
Format commands, code elements, expressions, package names, file names, and paths as inline code.
Use descriptive link text. Avoid raw URLs and weak anchors such as 'here' or 'read more.'
Use title case consistently for technical documentation headings.
Introduce code blocks, lists, tables, and images with complete sentences.
Write procedures as imperative steps. Keep steps parallel and split long procedures into smaller tasks.
Prefer active voice, present tense, short sentences, contractions, and plain English.
Use can for possibility and reserve may for permission.
Use after for temporal relationships instead of once.
Prefer refer to over see when the wording points readers to another resource.
Avoid culture-specific idioms, unnecessary Latinisms, jokes, and marketing exaggeration in technical documentation.
Spell out months in body text, avoid ordinal dates, and use clear time zones.
Spell out whole numbers from zero through nine unless they are technical values, parameters, versions, or UI values.
Use numerals for 10 or greater and include commas in thousands.
Do not add trademark symbols to learning-oriented documentation unless the source, platform, or legal guidance explicitly requires them.
Do not add trademark symbols to NeMo Flow learning documentation by default.
Do not rewrite API names, package names, command flags, or code literals for style reasons.

Files:

  • integrations/openclaw/README.md
**/*.{md,markdown,rst}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-technical-docs.md)

**/*.{md,markdown,rst}: Use title case consistently in technical documentation headings
Avoid quotation marks, ampersands, and exclamation marks in headings
Keep product, event, research, and whitepaper names in their official title case
Use title case for table headers
Do not force social-media sentence case into technical docs
Use monospace formatting for code elements, commands, parameters, package names, and expressions
Use monospace formatting for directories, file names, and paths
Use angle brackets inside monospace for variables inside paths, such as /home/<username>/.login
Use quotation marks for error messages and strings in documentation
Use bold formatting for UI buttons, menus, fields, and labels in documentation
Use angle brackets between UI labels for menu paths, such as File > Save As
Use italics for new terms on first use in documentation
Use italics for publication titles in documentation
Use plain text formatting for keyboard shortcuts in documentation
Prefer [NVIDIA/NeMo](link) format for GitHub repository references over generic phrases like 'the GitHub repo'
Introduce every code block with a complete sentence
Do not make a code block complete the grammar of the previous sentence
Do not continue a sentence after a code block
Use syntax highlighting when the format supports it for code blocks
Avoid the word 'snippet' unless the surrounding docs already use it as a term of art
Keep inline method, function, and class references consistent with nearby docs, omitting empty parentheses for prose readability when no call is shown
Use descriptive anchor text that matches the destination title when possible for links
Avoid raw URLs in running text in documentation
Avoid generic link anchors such as 'here,' 'this page,' and 'read more' in documentation
Include the acronym in link text if a linked term includes an acronym
Do not link long sentences or multiple sentences in documentation
Avoid links that pull readers away from a procedure unles...

Files:

  • integrations/openclaw/README.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in HTML and Markdown files using HTML comment syntax

Files:

  • integrations/openclaw/README.md
**/README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update relevant crate or package README when that surface changed

Relevant package or crate README.md files must be updated when examples or binding guidance changes

Files:

  • integrations/openclaw/README.md
**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Run Markdown link checking via lychee for README.md, CONTRIBUTING.md, and docs/ through pre-commit hooks

Files:

  • integrations/openclaw/README.md
**/*.{md,markdown,py,sh,bash,js,ts,java,cpp,go,rust}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep package names, repo references, and build commands current in documentation

Files:

  • integrations/openclaw/README.md
**/*.{md,markdown,py,sh,bash}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep stable user-facing wrappers at scripts/ root in docs and examples; only point at namespaced helper paths when documenting internal maintenance work

Files:

  • integrations/openclaw/README.md
**/*.{md,markdown,py,sh,bash,js,ts,example}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Example commands must match current package names and paths

Files:

  • integrations/openclaw/README.md
**/{integrations,integration,*-integration}/**

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

**/{integrations,integration,*-integration}/**: Keep NeMo Flow optional in framework integrations
Preserve the framework's original behavior when NeMo Flow is absent
Wrap tool and LLM paths at the correct framework boundary
Integration pattern must follow docs/integrate-frameworks/adding-scopes.md

Files:

  • integrations/openclaw/README.md
**/*.{md,txt,rst}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

**/*.{md,txt,rst}: Ensure commands, package names, file paths, and APIs in documentation are correct and not stale; flag incorrect or outdated information as blocking issues
Ensure examples and procedures in documentation will execute successfully with current APIs and commands
Use consistent user-facing terminology throughout documentation that matches current repo terminology
Capitalize NVIDIA correctly in all documentation and public-facing text
Format code, commands, paths, and filenames as inline code (monospace) in documentation
Use descriptive anchor text for links instead of bare URLs or weak labels like 'here' in documentation
Prefer active voice, present tense, short sentences, and plain English in documentation
Structure documentation procedures as imperative steps that are easy to scan and not too long for a single sequence
Prefer 'after' instead of 'once' for temporal references in documentation
Use 'can' instead of 'may' when describing possibility (rather than permission) in documentation
Avoid ambiguous numeric dates and ordinal dates in documentation body text

Files:

  • integrations/openclaw/README.md
{README.md,docs/index.md,**/README.md}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

Update entry-point documentation (README.md, docs/index.md, package READMEs, binding-level source READMEs) whenever public behavior changes

Files:

  • integrations/openclaw/README.md
**/*.{py,js,ts,tsx,go,rs,md}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

Format changed files with the language-native formatter before the final lint/test pass

Files:

  • integrations/openclaw/README.md
🔇 Additional comments (8)
integrations/openclaw/README.md (8)

1-12: LGTM!


14-33: LGTM!


34-50: LGTM!


52-148: LGTM!


151-174: LGTM!


176-186: LGTM!


188-203: LGTM!


204-237: LGTM!

Comment thread integrations/openclaw/README.md
Copy link
Copy Markdown
Contributor

@mnajafian-nv mnajafian-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I added my suggestions inline and currently running various experiments to check the intended behavior is intact

Comment thread integrations/openclaw/package.json Outdated
Comment thread integrations/openclaw/src/health.ts Outdated
Signed-off-by: Will Killian <wkillian@nvidia.com>
@willkill07 willkill07 requested a review from a team as a code owner May 13, 2026 22:07
mnajafian-nv
mnajafian-nv previously approved these changes May 13, 2026
Copy link
Copy Markdown
Contributor

@mnajafian-nv mnajafian-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested PR #102 end to end with examples that exercised LLM calls, tool calls, file reads/writes, ATIF export, and Phoenix/OpenInference export.

Validated:

  • OpenClaw plugin config using plugins.components[{ kind: "observability" }]
  • ATIF export
  • Phoenix traces on localhost:6008
  • Tool spans, LLM spans, token counts, and openclaw.session span are present

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
integrations/openclaw/src/runtime-state.ts (1)

138-143: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Do not degrade runtime status on warning-only validation diagnostics.

This branch marks startup as degraded even when validation only emits warnings and pluginHost.initialize() succeeds. That turns non-fatal config advice into an operator-visible unhealthy state. Warnings are already surfaced by logDiagnostics(...); reserve degraded for thrown/error diagnostics.

Suggested change
-      if (
-        validationReport.report.diagnostics.some((diagnostic) => diagnostic.level === "warning") &&
-        degradedReason === undefined
-      ) {
-        degradedReason = "NeMo Flow plugin host config validation produced warnings";
-      }
-
       try {
         const activationReport = await modules.pluginHost.initialize(hostConfig);
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@integrations/openclaw/src/runtime-state.ts` around lines 138 - 143, The code
currently sets degradedReason when validationReport.report.diagnostics contains
any "warning"; change this so runtime is only marked degraded for error-level
diagnostics or thrown errors: in the block that assigns degradedReason
(referencing validationReport.report.diagnostics and degradedReason), replace
the .some check for "warning" with a check for "error" (or otherwise ensure you
only set degradedReason when a diagnostic.level === "error" or when
pluginHost.initialize() throws), and keep warnings surfaced via
logDiagnostics(...) without flipping the degraded state.
♻️ Duplicate comments (1)
integrations/openclaw/package.json (1)

61-61: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Tighten the minimum nemo-flow-node version for observability compatibility.

At Line 61, >0.1.0 <1.0.0 still permits 0.1.x, which can be incompatible with this PR’s required observability plugin component and lead to degraded runtime on an otherwise “valid” install. Please set the lower bound to the first confirmed observability-capable release (likely >=0.2.0).

#!/bin/bash
set -euo pipefail

# Verify which nemo-flow-node versions contain observability/plugin-kind support.
# Read-only: fetch metadata + tarballs, then grep exported artifacts.
for v in 0.1.0 0.1.1 0.2.0 0.2.1; do
  echo "=== nemo-flow-node@$v ==="
  meta_url="https://registry.npmjs.org/nemo-flow-node/$v"
  tarball=$(curl -fsSL "$meta_url" | jq -r '.dist.tarball')
  tmpdir=$(mktemp -d)
  curl -fsSL "$tarball" -o "$tmpdir/pkg.tgz"
  tar -xzf "$tmpdir/pkg.tgz" -C "$tmpdir"
  rg -n --iglob '*.js' --iglob '*.d.ts' 'observability|listKinds|plugin' "$tmpdir/package" || true
  rm -rf "$tmpdir"
done
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@integrations/openclaw/package.json` at line 61, Update the nemo-flow-node
version range in package.json from ">0.1.0 <1.0.0" to require the first
observability-capable release by using ">=0.2.0 <1.0.0" (i.e. change the
"nemo-flow-node" dependency string) so installs cannot pull incompatible 0.1.x
releases that lack the observability/plugin-kind support.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@integrations/openclaw/src/runtime-state.ts`:
- Around line 138-143: The code currently sets degradedReason when
validationReport.report.diagnostics contains any "warning"; change this so
runtime is only marked degraded for error-level diagnostics or thrown errors: in
the block that assigns degradedReason (referencing
validationReport.report.diagnostics and degradedReason), replace the .some check
for "warning" with a check for "error" (or otherwise ensure you only set
degradedReason when a diagnostic.level === "error" or when
pluginHost.initialize() throws), and keep warnings surfaced via
logDiagnostics(...) without flipping the degraded state.

---

Duplicate comments:
In `@integrations/openclaw/package.json`:
- Line 61: Update the nemo-flow-node version range in package.json from ">0.1.0
<1.0.0" to require the first observability-capable release by using ">=0.2.0
<1.0.0" (i.e. change the "nemo-flow-node" dependency string) so installs cannot
pull incompatible 0.1.x releases that lack the observability/plugin-kind
support.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 182b219d-2736-4f2b-86ac-d9e5836635c2

📥 Commits

Reviewing files that changed from the base of the PR and between f11b7cb and d80421c.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • integrations/openclaw/package.json
  • integrations/openclaw/src/__tests__/config.test.ts
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
📜 Review details
🧰 Additional context used
📓 Path-based instructions (12)
**/{integrations,integration,*-integration}/**

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

**/{integrations,integration,*-integration}/**: Keep NeMo Flow optional in framework integrations
Preserve the framework's original behavior when NeMo Flow is absent
Wrap tool and LLM paths at the correct framework boundary
Integration pattern must follow docs/integrate-frameworks/adding-scopes.md

Files:

  • integrations/openclaw/package.json
  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
integrations/openclaw/package.json

📄 CodeRabbit inference engine (.agents/skills/update-project-version/SKILL.md)

Keep integrations/openclaw/package.json version aligned with the workspace-root package-lock.json under packages["integrations/openclaw"].version

Files:

  • integrations/openclaw/package.json
**/*.{js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use camelCase naming convention for Node.js code

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{rs,go,js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in all Rust, Go, JavaScript, and TypeScript source files using C-style comment syntax

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{rs,py,go,js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use SONAR_IGNORE_START / SONAR_IGNORE_END markers only for documented false positives that cannot be resolved in code; keep ignored blocks small, add explanatory comments, and require reviewer sign-off

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{md,markdown,py,sh,bash,js,ts,java,cpp,go,rust}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep package names, repo references, and build commands current in documentation

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{md,markdown,py,sh,bash,js,ts,example}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Example commands must match current package names and paths

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
{crates/adaptive/**,python/nemo_flow/{adaptive,plugin}.py,go/nemo_flow/{adaptive,**}/*.go,**/*.{ts,js,wasm}}

📄 CodeRabbit inference engine (.agents/skills/maintain-optimizer/SKILL.md)

Keep adaptive config schema, plugin lifecycle, and bindings in sync across crates/adaptive, core, bindings, Python (python/nemo_flow/adaptive.py and python/nemo_flow/plugin.py), Go (go/nemo_flow/adaptive and go/nemo_flow), and Node/WebAssembly helpers

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{js,ts,tsx,jsx,py,rs,go,java,c,cpp,h,cc,cxx,cs,rb,php,swift,kt}

📄 CodeRabbit inference engine (.agents/skills/prepare-pr/SKILL.md)

Changed files must be formatted with the language-native formatter

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

If Node.js language surface changed, always run Node.js test target even when Rust core did not change

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{py,js,ts,tsx,go,rs,md}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

Format changed files with the language-native formatter before the final lint/test pass

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
**/*.{rs,py,js,ts,tsx,go}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

During iteration, prefer uv run pre-commit run --files <changed files...> for targeted validation

Files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts
🧠 Learnings (1)
📚 Learning: 2026-05-07T18:04:44.387Z
Learnt from: mnajafian-nv
Repo: NVIDIA/NeMo-Flow PR: 67
File: integrations/openclaw/src/modules.ts:1-2
Timestamp: 2026-05-07T18:04:44.387Z
Learning: In NVIDIA/NeMo-Flow, TypeScript source files should use `//` line comments for SPDX headers (e.g., `// SPDX-FileCopyrightText: ...` and `// SPDX-License-Identifier: ...`) rather than C-style block comments (`/* ... */`). The repo’s copyright checker enforces this mapping, so `//` SPDX headers in `.ts` files should not be flagged as a style violation.

Applied to files:

  • integrations/openclaw/src/health.ts
  • integrations/openclaw/src/runtime-state.ts
  • integrations/openclaw/src/__tests__/config.test.ts

Signed-off-by: Will Killian <wkillian@nvidia.com>
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@justfile`:
- Around line 1078-1083: The project version update flow is missing the new
nemo-flow-node package field so running set-version can leave
integrations/openclaw stale; update the helper functions so set_project_version
and set_node_package_versions include the nemo-flow-node dependency mutation
(align with the added set_npm_package_dependency_version invocation), keep
set_node_package_version as a compatibility alias, and ensure
set_npm_package_version remains the reusable JSON helper used by
set_node_package_versions; adjust the lists/fields in set_project_version,
set_cargo_workspace_version, and set_node_package_versions to include the
nemo-flow-node entry so all targets (including integrations/openclaw) are
updated together.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: ca360298-55fe-459f-8f5d-f48b8fa1b3e9

📥 Commits

Reviewing files that changed from the base of the PR and between d80421c and 3c906d3.

📒 Files selected for processing (1)
  • justfile
📜 Review details
🧰 Additional context used
📓 Path-based instructions (2)
justfile

📄 CodeRabbit inference engine (.agents/skills/update-project-version/SKILL.md)

When editing helper code, keep set_project_version, set_cargo_workspace_version, and set_node_package_versions aligned with version-update fields; maintain set_node_package_version as a compatibility alias and set_npm_package_version as the reusable npm JSON helper

Files:

  • justfile
{.github/**,.gitlab-ci.yml,.pre-commit-config.yaml,justfile,scripts/**}

⚙️ CodeRabbit configuration file

{.github/**,.gitlab-ci.yml,.pre-commit-config.yaml,justfile,scripts/**}: Review automation changes for reproducibility, pinned versions where appropriate, secret handling, and consistency with the documented validation matrix.
Pay attention to commands that need generated native artifacts, FFI libraries, or platform-specific environment variables.

Files:

  • justfile
🔇 Additional comments (1)
justfile (1)

316-392: LGTM!

Also applies to: 1070-1076

Comment thread justfile Outdated
Signed-off-by: Will Killian <wkillian@nvidia.com>
Copy link
Copy Markdown
Contributor

@dagardner-nv dagardner-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving deps

@willkill07
Copy link
Copy Markdown
Member Author

/merge

1 similar comment
@willkill07
Copy link
Copy Markdown
Member Author

/merge

@rapids-bot rapids-bot Bot merged commit 47e3414 into NVIDIA:main May 13, 2026
65 of 66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature a new feature lang:js PR changes/introduces Javascript/Typescript code size:XL PR is extra large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants