Skip to content

feat(cli): add nemo-flow plugins edit#98

Merged
rapids-bot[bot] merged 9 commits into
NVIDIA:mainfrom
willkill07:wkk_nemo-flow-plugins-edit
May 13, 2026
Merged

feat(cli): add nemo-flow plugins edit#98
rapids-bot[bot] merged 9 commits into
NVIDIA:mainfrom
willkill07:wkk_nemo-flow-plugins-edit

Conversation

@willkill07
Copy link
Copy Markdown
Member

@willkill07 willkill07 commented May 13, 2026

Overview

Adds a plugin-driven observability configuration flow centered on plugins.toml, including an interactive editor for the built-in Observability component and a clean removal of legacy exporter configuration surfaces.

  • 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

  • Adds nemo-flow plugins edit with user/project/global scope handling, keyboard-driven menus, preview, save, reset, clear, and schema/type-backed editor metadata from core config types.
  • Moves gateway observability setup to plugin activation from plugins.toml, removes legacy exporter flags/config parsing, and updates doctor/setup/session handling accordingly.
  • Canonicalizes plugin config discovery around plugins.toml, including layered system/project/user merge behavior, duplicate component-kind checks, and clearer legacy config errors.
  • Adds comprehensive docs for plugin configuration file behavior and updates coding-agent observability docs and examples.
  • Adds Rust and CLI coverage for Observability schema/editor behavior, plugin config path resolution and merge semantics, doctor reporting, and legacy config removal.

Validation run locally:

  • cargo fmt --check
  • cargo clippy -p nemo-flow-cli -- -D warnings
  • cargo test -p nemo-flow-cli
  • cargo test -p nemo-flow --features schema
  • just docs
  • just test-rust

Where should the reviewer start?

Start with crates/cli/src/plugins.rs for the interactive plugins.toml editor, then review crates/cli/src/config.rs for plugin file discovery and merge behavior, and docs/build-plugins/plugin-configuration-files.md for the documented operator contract.

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

  • Relates to: none

Summary by CodeRabbit

  • New Features

    • Interactive "plugins edit" terminal editor to manage scoped plugin configs (user/project/global) and observability components; preview and save TOML.
    • CLI now exposes a top-level plugins subcommand and shows exporter status in run/dry‑run output.
  • Documentation

    • Docs and guides updated to use plugins.toml, with discovery/merge/validation rules and editor workflow.
  • Breaking Changes

    • Observability/exporter settings moved to plugins.toml; legacy CLI flags, env vars, headers, and config sections removed/renamed.
  • Other

    • Optional JSON Schema/editor metadata support for plugin/observability configs (feature-gated).

Review Change Stack

Signed-off-by: Will Killian <wkillian@nvidia.com>
@willkill07 willkill07 requested review from a team as code owners May 13, 2026 17:11
@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

Replaces legacy exporter flags/env/TOML with plugin-based observability: plugins.toml discovery, interactive nemo-flow plugins edit editor, editor-schema infra and optional JSON Schema, runtime plugin JSON in configs, doctor/session/gateway refactors, tests, docs, and license attributions.

Changes

Plugin-Based Observability Configuration

Layer / File(s) Summary
Configuration Type Model & CLI Commands
crates/cli/src/config.rs
Removes legacy exporter types/TOML shapes; replaces exporter CLI/env flags with plugin_config JSON; adds Plugins subcommand, PLUGINS_TOML constant, and plugin config path helpers; hard-fails on legacy observability sections.
Editor Schema Infrastructure & Core Types
crates/core/src/config_editor.rs, crates/core/src/plugin.rs, crates/core/src/lib.rs
Adds compile-time editor metadata (EditorFieldKind/Spec/Schema, EditorConfig trait, editor_config! macro); exports config_editor module; optional schemars JSON Schema derives behind schema feature; plugin_config_schema() helper.
Observability Component Schema & Editor Metadata
crates/core/src/observability/plugin_component.rs
Adds editor metadata for observability sections, conditional schemars::JsonSchema derives, and observability_config_schema() helper with enum schema helpers.
Interactive Plugin Editor Implementation
crates/cli/src/plugins.rs
TTY-only interactive editor: scope selection, menu UI, schema-driven field prompts, preview, validate (validate_plugin_config), prune defaults, and persist plugins.toml.
Doctor, Session, & Gateway Updates
crates/cli/src/doctor.rs, crates/cli/src/session.rs, crates/cli/src/gateway.rs
doctor now validates/deserializes plugin_config and probes observability component sections (writable dirs, named HTTP probes); session lifecycle removes observer/ATIF snapshot/flush plumbing; upstream URL normalization delegated to normalize_openai_path_for_base.
Setup Wizard, Launcher Display, Main CLI, & Installer
crates/cli/src/setup.rs, crates/cli/src/launcher.rs, crates/cli/src/main.rs, crates/cli/src/installer.rs
Wizard no longer emits [exporters]; build_config emits agent blocks only; launcher prints Exporters status derived from plugin config; main wires plugins subcommand; installer/header forwarding drops exporter-specific headers.
Test Fixtures & Schema Validation Tests
crates/cli/tests/coverage/*, crates/core/tests/unit/*
Adds plugins_tests.rs for editor behavior and schema tests; updates many tests to remove exporter expectations and exercise plugin-based config and validation.
Documentation & Integration Guides
crates/cli/README.md, docs/build-plugins/plugin-configuration-files.md, docs/integrate-frameworks/*, integrations/*
Adds plugin-configuration-files guide; updates CLI and agent integration docs to use plugins.toml and nemo-flow plugins edit; removes --atif-dir/--openinference-endpoint examples and env var recommendations.
Dependencies & License Attribution
ATTRIBUTIONS-Rust.md, crates/cli/Cargo.toml, crates/core/Cargo.toml
Adds console dependency to CLI; adds optional schemars feature to core; updates ATTRIBUTIONS-Rust with added dependencies' license blocks.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~75 minutes

Possibly related PRs

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

@github-actions github-actions Bot added size:XL PR is extra large Feature a new feature lang:rust PR changes/introduces Rust code labels May 13, 2026
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: 4

Caution

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

⚠️ Outside diff range comments (2)
crates/cli/src/launcher.rs (1)

505-510: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Update stale live-status doc comment to match plugin-based output.

The comment still says the banner shows ATIF/OpenInference fields, but the implementation now shows plugin configuration status.

Proposed doc-comment fix
-    // Prints a compact pre-launch status banner so users see at a glance where their observability
-    // data is going (gateway URL, ATIF dir, OpenInference endpoint) before the agent's own UI takes
+    // Prints a compact pre-launch status banner so users see at a glance where their observability
+    // data is going (gateway URL and plugin configuration status) before the agent's own UI takes
🤖 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 `@crates/cli/src/launcher.rs` around lines 505 - 510, Update the stale doc
comment above the compact pre-launch status banner in launcher.rs to reflect
that the output now shows plugin configuration status (plugin names and
enabled/disabled state) rather than ATIF/OpenInference fields; keep the details
that the banner is emitted on stderr, is compact and pre-launch, and is
suppressed when stdout is not a TTY, and mention that it’s distinct from the
verbose `print()`/`--print` output. Reference the existing comment block that
documents the banner behavior near the banner-printing code so you update its
wording to describe "plugin configuration status" instead of
"ATIF/OpenInference" while preserving the notes about stderr/TTY and distinction
from `print()`.
crates/cli/tests/coverage/session_tests.rs (1)

137-159: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Remove the disconnected filesystem assertion from this test.

This test now verifies unknown terminal events are ignored in memory, but the temp-dir ATIF assertion is unrelated to configured output paths and always passes.

Suggested cleanup
 #[tokio::test]
 async fn terminal_retry_for_unknown_session_is_ignored() {
-    let temp = tempfile::tempdir().unwrap();
     let config = session_test_config();
     let manager = SessionManager::new(config);

@@
     assert!(manager.inner.lock().await.is_empty());
-    assert!(!temp.path().join("retry-session.atif.json").exists());
 }
🤖 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 `@crates/cli/tests/coverage/session_tests.rs` around lines 137 - 159, The test
terminal_retry_for_unknown_session_is_ignored currently creates a temp dir and
asserts a nonexistent ATIF file doesn't exist, which is unrelated; remove the
disconnected filesystem assertion and its temp dir setup: delete the let temp =
tempfile::tempdir().unwrap(); line and the final
assert!(!temp.path().join("retry-session.atif.json").exists()); line so the test
only verifies the in-memory SessionManager behavior (references:
terminal_retry_for_unknown_session_is_ignored, tempfile::tempdir, the path join
and existence assert).
🤖 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 `@ATTRIBUTIONS-Rust.md`:
- Around line 6360-6364: The attribution blocks (e.g., the "## console - 0.16.3"
heading and its license fence) violate markdown lint rules by lacking
surrounding blank lines and using unlabeled fenced blocks; fix by inserting a
blank line before and after each heading and before and after each fenced
license block, and change the fence from ``` to ```text so the license block is
labeled. Apply the same normalization to the other new sections called out
(lines referenced in the review: 8330-8334, 25853-25857, 25882-25886,
27100-27104) and any other newly added attribution sections in
ATTRIBUTIONS-Rust.md.

In `@crates/cli/src/doctor.rs`:
- Around line 513-521: The observability component probe collection should be
skipped when the component is explicitly disabled: update the code path that
currently does `if let Some(config) =
observability_component_config(plugin_value) {
collect_observability_component_checks(&mut checks, config).await; } else { ...
}` to first check `config.enabled` (treating absence as true) and only call
`collect_observability_component_checks` when `enabled == true`; if `enabled ==
false` push an Info check like "Observability plugin" with "component disabled"
details. Apply the same enabled-guard logic to the other occurrence that calls
`collect_observability_component_checks` (the analogous block later in the file)
so disabled components no longer run endpoint/directory probes.

In `@crates/cli/src/plugins.rs`:
- Around line 255-261: The ensure_tty function currently only checks stdin;
update it to verify both stdin and stdout are TTYs before enabling interactive
plugin editing by calling the same terminal check used for stdin on stdout
(e.g., std::io::stdout().is_terminal()) and return the same
CliError::Config("interactive plugin editing requires a TTY".into()) if either
is not a TTY; modify the ensure_tty function to perform both checks so the menu
renderer (Term::stdout()) cannot fail mid-session.

In `@crates/cli/tests/coverage/doctor_tests.rs`:
- Around line 262-263: The test currently only asserts the presence of any
warning (assert!(checks.iter().any(|check| check.status == Status::Warn))) which
allows unrelated warnings to satisfy the expectation; update this to assert that
the specific ATIF-directory check is the one with Status::Warn by locating the
check in checks (e.g., using checks.iter().find(|c| c.name.contains("ATIF") ||
c.name.contains("ATIF directory")) or matching the check's unique identifier)
and then assert that that check.status == Status::Warn while keeping the
assert!(!missing.exists()) as-is.

---

Outside diff comments:
In `@crates/cli/src/launcher.rs`:
- Around line 505-510: Update the stale doc comment above the compact pre-launch
status banner in launcher.rs to reflect that the output now shows plugin
configuration status (plugin names and enabled/disabled state) rather than
ATIF/OpenInference fields; keep the details that the banner is emitted on
stderr, is compact and pre-launch, and is suppressed when stdout is not a TTY,
and mention that it’s distinct from the verbose `print()`/`--print` output.
Reference the existing comment block that documents the banner behavior near the
banner-printing code so you update its wording to describe "plugin configuration
status" instead of "ATIF/OpenInference" while preserving the notes about
stderr/TTY and distinction from `print()`.

In `@crates/cli/tests/coverage/session_tests.rs`:
- Around line 137-159: The test terminal_retry_for_unknown_session_is_ignored
currently creates a temp dir and asserts a nonexistent ATIF file doesn't exist,
which is unrelated; remove the disconnected filesystem assertion and its temp
dir setup: delete the let temp = tempfile::tempdir().unwrap(); line and the
final assert!(!temp.path().join("retry-session.atif.json").exists()); line so
the test only verifies the in-memory SessionManager behavior (references:
terminal_retry_for_unknown_session_is_ignored, tempfile::tempdir, the path join
and existence assert).
🪄 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: 1c1c99bd-d2a0-4f8e-bd52-e4ec0721bd0f

📥 Commits

Reviewing files that changed from the base of the PR and between 4107db0 and 29d0619.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (43)
  • ATTRIBUTIONS-Rust.md
  • crates/cli/Cargo.toml
  • crates/cli/README.md
  • crates/cli/src/config.rs
  • crates/cli/src/doctor.rs
  • crates/cli/src/gateway.rs
  • crates/cli/src/installer.rs
  • crates/cli/src/launcher.rs
  • crates/cli/src/main.rs
  • crates/cli/src/plugins.rs
  • crates/cli/src/session.rs
  • crates/cli/src/setup.rs
  • crates/cli/tests/cli_tests.rs
  • crates/cli/tests/coverage/config_tests.rs
  • crates/cli/tests/coverage/doctor_tests.rs
  • crates/cli/tests/coverage/gateway_tests.rs
  • crates/cli/tests/coverage/installer_tests.rs
  • crates/cli/tests/coverage/launcher_tests.rs
  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/server_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
  • crates/cli/tests/coverage/setup_tests.rs
  • crates/core/Cargo.toml
  • crates/core/src/config_editor.rs
  • crates/core/src/lib.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • docs/about/concepts/plugins.md
  • docs/build-plugins/about.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/export-observability-data/observability-plugin.md
  • docs/getting-started/configuration.md
  • docs/index.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-codex.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/claude-code/README.md
  • integrations/coding-agents/codex/README.md
  • integrations/coding-agents/cursor/README.md
💤 Files with no reviewable changes (3)
  • crates/cli/tests/coverage/server_tests.rs
  • crates/cli/src/installer.rs
  • crates/cli/tests/coverage/launcher_tests.rs
📜 Review details
🧰 Additional context used
📓 Path-based instructions (39)
**/*.{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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

  • docs/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.md
{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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.md
{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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • ATTRIBUTIONS-Rust.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • crates/core/src/lib.rs
  • crates/cli/src/main.rs
  • docs/export-observability-data/observability-plugin.md
  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/README.md
  • crates/cli/tests/coverage/doctor_tests.rs
  • crates/cli/src/gateway.rs
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/cli/src/launcher.rs
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • integrations/coding-agents/README.md
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • integrations/coding-agents/cursor/README.md
  • ATTRIBUTIONS-Rust.md
  • integrations/coding-agents/claude-code/README.md
  • crates/core/src/config_editor.rs
  • crates/cli/src/doctor.rs
  • docs/integrate-frameworks/coding-agent-cursor.md
  • crates/cli/tests/cli_tests.rs
  • crates/cli/src/plugins.rs
  • crates/cli/tests/coverage/gateway_tests.rs
  • docs/integrate-frameworks/coding-agent-hermes.md
  • crates/cli/tests/coverage/installer_tests.rs
  • docs/integrate-frameworks/coding-agent-codex.md
  • crates/cli/src/setup.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/config_tests.rs
  • crates/cli/tests/coverage/setup_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
  • crates/cli/src/config.rs
{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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.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/getting-started/configuration.md
  • docs/index.md
  • docs/about/concepts/plugins.md
  • docs/build-plugins/plugin-configuration-files.md
  • docs/build-plugins/about.md
  • docs/export-observability-data/observability-plugin.md
  • docs/integrate-frameworks/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.md
**/Cargo.{toml,lock}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Run cargo deny check for Rust dependency auditing as configured in deny.toml

Files:

  • crates/core/Cargo.toml
  • crates/cli/Cargo.toml
**/*.toml

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in TOML files using TOML comment syntax

Files:

  • crates/core/Cargo.toml
  • crates/cli/Cargo.toml
crates/{core,adaptive}/**

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

Changes to crates/core or crates/adaptive must run the full language matrix

Files:

  • crates/core/Cargo.toml
  • crates/core/src/lib.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
{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:

  • docs/index.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:

  • docs/index.md
  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • integrations/coding-agents/claude-code/README.md
**/*.rs

📄 CodeRabbit inference engine (.agents/skills/test-ffi-surface/SKILL.md)

**/*.rs: Run cargo fmt --all for FFI work as it is Rust work
Run just test-rust for FFI validation
Run cargo clippy --workspace --all-targets -- -D warnings to enforce warnings-as-errors linting

**/*.rs: Run cargo fmt --all for Rust code formatting
Run cargo clippy --workspace --all-targets -- -D warnings to enforce Rust linting with no warnings
Run just test-rust as the shared-runtime build/test wrapper for Rust changes

Use Rust snake_case naming convention for Rust code

**/*.rs: Any Rust change must run just test-rust
Any Rust change must run cargo fmt --all
Any Rust change must run cargo clippy --workspace --all-targets -- -D warnings

**/*.rs: Run cargo fmt --all for Rust code formatting when Node changes touch Rust files
Run cargo clippy --workspace --all-targets -- -D warnings to enforce strict linting when Rust files changed as part of Node work

**/*.rs: Always run just test-rust when any Rust code changes
Always run cargo fmt --all when any Rust code changes
Always run cargo clippy --workspace --all-targets -- -D warnings when any Rust code changes

Files:

  • crates/core/src/lib.rs
  • crates/cli/src/main.rs
  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/doctor_tests.rs
  • crates/cli/src/gateway.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/cli/src/launcher.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
  • crates/cli/src/doctor.rs
  • crates/cli/tests/cli_tests.rs
  • crates/cli/src/plugins.rs
  • crates/cli/tests/coverage/gateway_tests.rs
  • crates/cli/tests/coverage/installer_tests.rs
  • crates/cli/src/setup.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/config_tests.rs
  • crates/cli/tests/coverage/setup_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
  • crates/cli/src/config.rs
**/*.{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:

  • crates/core/src/lib.rs
  • crates/cli/src/main.rs
  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/doctor_tests.rs
  • crates/cli/src/gateway.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/cli/src/launcher.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
  • crates/cli/src/doctor.rs
  • crates/cli/tests/cli_tests.rs
  • crates/cli/src/plugins.rs
  • crates/cli/tests/coverage/gateway_tests.rs
  • crates/cli/tests/coverage/installer_tests.rs
  • crates/cli/src/setup.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/config_tests.rs
  • crates/cli/tests/coverage/setup_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
  • crates/cli/src/config.rs
**/*.{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:

  • crates/core/src/lib.rs
  • crates/cli/src/main.rs
  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/doctor_tests.rs
  • crates/cli/src/gateway.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/cli/src/launcher.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
  • crates/cli/src/doctor.rs
  • crates/cli/tests/cli_tests.rs
  • crates/cli/src/plugins.rs
  • crates/cli/tests/coverage/gateway_tests.rs
  • crates/cli/tests/coverage/installer_tests.rs
  • crates/cli/src/setup.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/config_tests.rs
  • crates/cli/tests/coverage/setup_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
  • crates/cli/src/config.rs
**/*.{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:

  • crates/core/src/lib.rs
  • crates/cli/src/main.rs
  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/doctor_tests.rs
  • crates/cli/src/gateway.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/cli/src/launcher.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
  • crates/cli/src/doctor.rs
  • crates/cli/tests/cli_tests.rs
  • crates/cli/src/plugins.rs
  • crates/cli/tests/coverage/gateway_tests.rs
  • crates/cli/tests/coverage/installer_tests.rs
  • crates/cli/src/setup.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/config_tests.rs
  • crates/cli/tests/coverage/setup_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
  • crates/cli/src/config.rs
{crates/core,crates/adaptive}/**/*.rs

📄 CodeRabbit inference engine (.agents/skills/test-wasm-binding/SKILL.md)

If the change touched shared runtime semantics in crates/core or crates/adaptive, also use validate-change

Files:

  • crates/core/src/lib.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
crates/core/**/*.rs

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

When crates/core changes, run the full validation matrix across Rust, Python, Go, Node.js, and WebAssembly

crates/core/**/*.rs: Use Json = serde_json::Value in Rust-facing runtime APIs where the existing code expects JSON payloads.
Use Result<T> with FlowError in core runtime paths. Keep errors explicit and binding-appropriate at the wrapper layer.

Files:

  • crates/core/src/lib.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
**/*.{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:

  • crates/core/src/lib.rs
  • crates/cli/src/main.rs
  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/doctor_tests.rs
  • crates/cli/src/gateway.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/cli/src/launcher.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
  • crates/cli/src/doctor.rs
  • crates/cli/tests/cli_tests.rs
  • crates/cli/src/plugins.rs
  • crates/cli/tests/coverage/gateway_tests.rs
  • crates/cli/tests/coverage/installer_tests.rs
  • crates/cli/src/setup.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/config_tests.rs
  • crates/cli/tests/coverage/setup_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
  • crates/cli/src/config.rs
crates/{core,adaptive}/**/*.rs

⚙️ CodeRabbit configuration file

crates/{core,adaptive}/**/*.rs: Review the Rust runtime for async correctness, scope isolation, middleware ordering, and event lifecycle regressions.
Pay close attention to task-local/thread-local scope propagation, callback lifetimes, stream finalization, and root_uuid isolation.
Public API changes should preserve existing behavior unless tests and docs show the intended migration path.

Files:

  • crates/core/src/lib.rs
  • crates/core/src/plugin.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/config_editor.rs
{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}

⚙️ CodeRabbit configuration file

{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}: Tests should cover the behavior promised by the changed API surface, including error paths and cross-request isolation where relevant.
Prefer assertions on lifecycle events, scope stacks, middleware ordering, and binding parity over shallow smoke tests.

Files:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/doctor_tests.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/cli/tests/cli_tests.rs
  • crates/cli/tests/coverage/gateway_tests.rs
  • crates/cli/tests/coverage/installer_tests.rs
  • crates/cli/tests/coverage/config_tests.rs
  • crates/cli/tests/coverage/setup_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
**/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:

  • crates/cli/README.md
  • integrations/coding-agents/codex/README.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • integrations/coding-agents/claude-code/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/coding-agents/codex/README.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/cursor/README.md
  • integrations/coding-agents/claude-code/README.md
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/coding-agent-gateway.md
  • docs/integrate-frameworks/coding-agent-claude-code.md
  • docs/integrate-frameworks/coding-agent-cursor.md
  • docs/integrate-frameworks/coding-agent-hermes.md
  • docs/integrate-frameworks/coding-agent-codex.md
{crates/adaptive/**/*.rs,python/nemo_flow/plugin.py,go/nemo_flow/**/*.go,**/{context,plugin}.{ts,tsx,js,rs}}

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

Keep plugin context surfaces aligned across all language implementations

Files:

  • crates/core/src/plugin.rs
ATTRIBUTIONS-Rust.md

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

Regenerate ATTRIBUTIONS-Rust.md with ./scripts/generate_attributions.sh rust if Cargo metadata changed and committed attribution files must stay fresh

Files:

  • ATTRIBUTIONS-Rust.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:

  • crates/cli/src/config.rs
🪛 LanguageTool
docs/build-plugins/plugin-configuration-files.md

[style] ~125-~125: The double modal “requires elevated” is nonstandard (only accepted in certain dialects). Consider “to be elevated”.
Context: ...flow/plugins.toml` and usually requires elevated filesystem permissions. The editor men...

(NEEDS_FIXED)

🪛 markdownlint-cli2 (0.22.1)
ATTRIBUTIONS-Rust.md

[warning] 6360-6360: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 6363-6363: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Above

(MD022, blanks-around-headings)


[warning] 6363-6363: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 6364-6364: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


[warning] 6364-6364: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


[warning] 8330-8330: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 8333-8333: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Above

(MD022, blanks-around-headings)


[warning] 8333-8333: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 8334-8334: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


[warning] 8334-8334: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


[warning] 25853-25853: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 25856-25856: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Above

(MD022, blanks-around-headings)


[warning] 25856-25856: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 25857-25857: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


[warning] 25857-25857: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


[warning] 25882-25882: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 25885-25885: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Above

(MD022, blanks-around-headings)


[warning] 25885-25885: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 25886-25886: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


[warning] 25886-25886: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


[warning] 27100-27100: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 27103-27103: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Above

(MD022, blanks-around-headings)


[warning] 27103-27103: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 27104-27104: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


[warning] 27104-27104: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🔇 Additional comments (49)
crates/core/Cargo.toml (1)

18-18: LGTM!

Also applies to: 51-51

crates/cli/src/gateway.rs (1)

580-588: LGTM!

Also applies to: 866-884, 875-884

integrations/coding-agents/codex/README.md (1)

44-45: LGTM!

Also applies to: 56-60, 72-85, 99-100

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

1-259: LGTM!

docs/index.md (1)

185-185: LGTM!

docs/about/concepts/plugins.md (1)

158-160: LGTM!

docs/build-plugins/about.md (1)

36-36: LGTM!

docs/getting-started/configuration.md (1)

31-35: LGTM!

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

62-147: LGTM!

crates/core/src/config_editor.rs (1)

1-158: LGTM!

crates/core/src/lib.rs (1)

60-60: LGTM!

crates/cli/src/main.rs (1)

16-16: LGTM!

Also applies to: 25-25, 71-76

crates/cli/Cargo.toml (1)

26-26: ⚡ Quick win

No action needed. The version specification console = "0.16" is valid and will resolve to the latest compatible version (0.16.3) via semantic versioning. Patch-level updates are handled automatically by Cargo.

crates/cli/README.md (1)

106-117: LGTM!

Also applies to: 118-130

crates/cli/tests/coverage/installer_tests.rs (1)

118-119: LGTM!

crates/cli/src/launcher.rs (1)

568-575: LGTM!

integrations/coding-agents/README.md (1)

47-50: LGTM!

Also applies to: 88-106

crates/core/src/plugin.rs (1)

78-79: LGTM!

Also applies to: 103-104, 131-132, 149-150, 167-168, 178-179, 201-219, 223-224, 900-905

docs/integrate-frameworks/coding-agent-hermes.md (1)

24-25: LGTM!

Also applies to: 58-79, 100-101

crates/cli/tests/coverage/gateway_tests.rs (1)

5-5: LGTM!

Also applies to: 83-83, 108-136

integrations/coding-agents/cursor/README.md (1)

42-43: LGTM!

Also applies to: 69-82, 96-97

integrations/coding-agents/claude-code/README.md (1)

36-37: LGTM!

Also applies to: 63-77, 90-91

crates/cli/tests/coverage/doctor_tests.rs (1)

188-189: LGTM!

Also applies to: 243-257

docs/integrate-frameworks/coding-agent-codex.md (1)

25-26: LGTM!

Also applies to: 56-57, 62-79, 86-87, 151-152

crates/cli/tests/coverage/setup_tests.rs (1)

78-92: LGTM!

Also applies to: 145-146, 189-190, 201-205

crates/cli/tests/coverage/plugins_tests.rs (1)

1-122: LGTM!

crates/core/tests/unit/observability/plugin_component_tests.rs (1)

11-13: LGTM!

Also applies to: 58-79, 112-154, 201-281

crates/core/src/observability/plugin_component.rs (1)

102-103: LGTM!

Also applies to: 144-145, 157-158, 179-180, 228-229, 235-236, 280-354, 408-445

docs/integrate-frameworks/coding-agent-gateway.md (1)

98-99: LGTM!

Also applies to: 115-133, 145-147

docs/integrate-frameworks/coding-agent-cursor.md (1)

27-28: LGTM!

Also applies to: 61-77, 85-86, 135-136

crates/cli/src/session.rs (1)

157-158: LGTM!

Also applies to: 359-359, 465-467, 471-471, 496-500

crates/cli/tests/cli_tests.rs (1)

112-113: LGTM!

Also applies to: 139-141, 156-157, 238-239

docs/integrate-frameworks/coding-agent-claude-code.md (1)

18-19: LGTM!

Also applies to: 51-72, 79-80, 132-133

crates/cli/src/doctor.rs (1)

639-665: LGTM!

crates/cli/tests/coverage/config_tests.rs (1)

151-191: LGTM!

Also applies to: 193-260, 263-300, 303-518, 706-717, 726-761

crates/cli/src/plugins.rs (1)

63-145: LGTM!

Also applies to: 147-253, 264-946

crates/cli/src/setup.rs (5)

14-14: LGTM!


6-8: LGTM!

Also applies to: 86-89, 122-126, 288-289


186-188: LGTM!


299-299: LGTM!

Also applies to: 303-303, 506-506, 658-658


410-412: LGTM!

crates/cli/src/config.rs (8)

4-4: LGTM!

Also applies to: 6-6, 9-9


80-82: LGTM!

Also applies to: 151-182


192-201: LGTM!


525-526: LGTM!


543-551: LGTM!

Also applies to: 949-965


659-674: LGTM!


915-940: LGTM!


247-248: LGTM!

Also applies to: 415-416, 422-422, 456-457, 561-561, 605-607, 829-829, 863-863

Comment thread ATTRIBUTIONS-Rust.md
Comment thread crates/cli/src/doctor.rs
Comment thread crates/cli/src/plugins.rs
Comment thread crates/cli/tests/coverage/doctor_tests.rs Outdated
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 `@crates/cli/src/plugins.rs`:
- Around line 482-487: The Reset shortcut currently calls reset_section whenever
reset_selected_field returns false, which wipes the section even if the "Back"
row is highlighted; change the handling inside the
MenuResponse::Shortcut(MenuShortcut::Reset, selected) arm so you only call
reset_section when the selected index actually corresponds to a real field
(i.e., not the "Back" entry). Concretely, either check that fields.get(selected)
is Some (or selected < fields.len()) before calling reset_section, or add a
small helper like is_field_selected(config, section, fields, selected) and only
call reset_section when that guard is true; otherwise just continue without
making destructive changes.
🪄 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: b4eb50ce-0bd1-4d15-bb12-6ba6bf1ba4c1

📥 Commits

Reviewing files that changed from the base of the PR and between 29d0619 and 948a01d.

📒 Files selected for processing (2)
  • crates/cli/src/plugins.rs
  • crates/cli/tests/coverage/plugins_tests.rs
📜 Review details
🧰 Additional context used
📓 Path-based instructions (7)
**/*.rs

📄 CodeRabbit inference engine (.agents/skills/test-ffi-surface/SKILL.md)

**/*.rs: Run cargo fmt --all for FFI work as it is Rust work
Run just test-rust for FFI validation
Run cargo clippy --workspace --all-targets -- -D warnings to enforce warnings-as-errors linting

**/*.rs: Run cargo fmt --all for Rust code formatting
Run cargo clippy --workspace --all-targets -- -D warnings to enforce Rust linting with no warnings
Run just test-rust as the shared-runtime build/test wrapper for Rust changes

Use Rust snake_case naming convention for Rust code

**/*.rs: Any Rust change must run just test-rust
Any Rust change must run cargo fmt --all
Any Rust change must run cargo clippy --workspace --all-targets -- -D warnings

**/*.rs: Run cargo fmt --all for Rust code formatting when Node changes touch Rust files
Run cargo clippy --workspace --all-targets -- -D warnings to enforce strict linting when Rust files changed as part of Node work

**/*.rs: Always run just test-rust when any Rust code changes
Always run cargo fmt --all when any Rust code changes
Always run cargo clippy --workspace --all-targets -- -D warnings when any Rust code changes

Files:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/src/plugins.rs
{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}

⚙️ CodeRabbit configuration file

{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}: Tests should cover the behavior promised by the changed API surface, including error paths and cross-request isolation where relevant.
Prefer assertions on lifecycle events, scope stacks, middleware ordering, and binding parity over shallow smoke tests.

Files:

  • crates/cli/tests/coverage/plugins_tests.rs
🔇 Additional comments (1)
crates/cli/tests/coverage/plugins_tests.rs (1)

1-139: LGTM!

Comment thread crates/cli/src/plugins.rs
Signed-off-by: Will Killian <wkillian@nvidia.com>
@github-actions github-actions Bot added size:XXL PR is very large and removed size:XL PR is extra large labels 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: 3

🤖 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 `@docs/integrate-frameworks/coding-agent-codex.md`:
- Around line 127-130: The TOML examples use the invalid token “[features].hooks
= true”; fix by replacing every occurrence of that token with a valid TOML
form—either a single-line dotted key "features.hooks = true" or an explicit
table header "[features]" followed by "hooks = true" on the next line—so that
the hooks flag is properly nested under the features table in the docs.

In `@integrations/coding-agents/codex/README.md`:
- Around line 34-35: The README shows an invalid TOML key `[features].hooks =
true`; update the documentation and any setup logic that writes to
.codex/config.toml so it uses the correct dotted-key form (features.hooks =
true) when enabling hooks and ensure the text still references merging hook
entries into .codex/hooks.json; change any occurrence of `[features].hooks` to
`features.hooks` (e.g., in the README and the setup description that writes to
.codex/config.toml) to match the features.hooks flag referenced earlier.

In `@integrations/coding-agents/README.md`:
- Around line 28-29: The README contains an invalid TOML example using
`[features].hooks = true`; update the snippet to use valid TOML either by
converting it to a dotted key `features.hooks = true` or by using a table block
with `[features]` on one line and `hooks = true` on the next, so users copying
the example won't encounter TOML parse errors.
🪄 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: 36b481ab-5241-48fd-bf55-8c0529d72cc4

📥 Commits

Reviewing files that changed from the base of the PR and between 948a01d and 493fc69.

📒 Files selected for processing (7)
  • crates/cli/src/launcher.rs
  • crates/cli/src/plugins.rs
  • crates/cli/tests/coverage/launcher_tests.rs
  • crates/cli/tests/coverage/plugins_tests.rs
  • docs/integrate-frameworks/coding-agent-codex.md
  • integrations/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (29)
**/*.{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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

  • integrations/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/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/coding-agents/README.md
  • integrations/coding-agents/codex/README.md
  • docs/integrate-frameworks/coding-agent-codex.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/coding-agents/README.md
  • integrations/coding-agents/codex/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/coding-agents/README.md
  • crates/cli/tests/coverage/plugins_tests.rs
  • integrations/coding-agents/codex/README.md
  • crates/cli/tests/coverage/launcher_tests.rs
  • crates/cli/src/launcher.rs
  • docs/integrate-frameworks/coding-agent-codex.md
  • crates/cli/src/plugins.rs
**/*.rs

📄 CodeRabbit inference engine (.agents/skills/test-ffi-surface/SKILL.md)

**/*.rs: Run cargo fmt --all for FFI work as it is Rust work
Run just test-rust for FFI validation
Run cargo clippy --workspace --all-targets -- -D warnings to enforce warnings-as-errors linting

**/*.rs: Run cargo fmt --all for Rust code formatting
Run cargo clippy --workspace --all-targets -- -D warnings to enforce Rust linting with no warnings
Run just test-rust as the shared-runtime build/test wrapper for Rust changes

Use Rust snake_case naming convention for Rust code

**/*.rs: Any Rust change must run just test-rust
Any Rust change must run cargo fmt --all
Any Rust change must run cargo clippy --workspace --all-targets -- -D warnings

**/*.rs: Run cargo fmt --all for Rust code formatting when Node changes touch Rust files
Run cargo clippy --workspace --all-targets -- -D warnings to enforce strict linting when Rust files changed as part of Node work

**/*.rs: Always run just test-rust when any Rust code changes
Always run cargo fmt --all when any Rust code changes
Always run cargo clippy --workspace --all-targets -- -D warnings when any Rust code changes

Files:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/launcher_tests.rs
  • crates/cli/src/launcher.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/launcher_tests.rs
  • crates/cli/src/launcher.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/launcher_tests.rs
  • crates/cli/src/launcher.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/launcher_tests.rs
  • crates/cli/src/launcher.rs
  • crates/cli/src/plugins.rs
**/*.{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:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/launcher_tests.rs
  • crates/cli/src/launcher.rs
  • crates/cli/src/plugins.rs
{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}

⚙️ CodeRabbit configuration file

{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}: Tests should cover the behavior promised by the changed API surface, including error paths and cross-request isolation where relevant.
Prefer assertions on lifecycle events, scope stacks, middleware ordering, and binding parity over shallow smoke tests.

Files:

  • crates/cli/tests/coverage/plugins_tests.rs
  • crates/cli/tests/coverage/launcher_tests.rs
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/integrate-frameworks/coding-agent-codex.md
{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/integrate-frameworks/coding-agent-codex.md
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/coding-agent-codex.md
{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/integrate-frameworks/coding-agent-codex.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/integrate-frameworks/coding-agent-codex.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/integrate-frameworks/coding-agent-codex.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/integrate-frameworks/coding-agent-codex.md
{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/integrate-frameworks/coding-agent-codex.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/integrate-frameworks/coding-agent-codex.md
🔇 Additional comments (5)
crates/cli/src/launcher.rs (1)

8-9: LGTM!

Also applies to: 296-298, 526-540, 581-587, 602-683, 757-777

crates/cli/tests/coverage/launcher_tests.rs (1)

229-249: LGTM!

Also applies to: 252-309

crates/cli/src/plugins.rs (2)

334-340: Interactive mode still does not guard the output terminal stream.

ensure_tty checks only stdin, but the menu renderer uses Term::stderr(). Redirected stderr can still fail mid-session.


492-497: Reset shortcut still clears the whole section from non-field rows.

When reset_selected_field returns false, the code still calls reset_section, so pressing r on rows like Back remains unexpectedly destructive.

crates/cli/tests/coverage/plugins_tests.rs (1)

6-158: LGTM!

Comment thread docs/integrate-frameworks/coding-agent-codex.md Outdated
Comment thread integrations/coding-agents/codex/README.md Outdated
Comment thread integrations/coding-agents/README.md Outdated
Signed-off-by: Will Killian <wkillian@nvidia.com>
@willkill07 willkill07 self-assigned this May 13, 2026
@willkill07 willkill07 added this to the 0.2 milestone May 13, 2026
PR NVIDIA#98 moved gateway LLM traffic onto the managed core execution APIs. Non-streaming calls still close before returning, but streaming calls now rely on LlmStreamWrapper to emit the LLM end event. When Codex drops or cancels a streaming response before the stream is fully polled, the wrapper was dropped without closing the LLM span.

Close streaming LLM spans from LlmStreamWrapper::drop so partial streams still emit an end event. Also close any remaining CLI sessions before gateway plugin teardown so Codex transparent runs that do not emit a native SessionEnd still pop active tool, subagent, and agent scopes while exporters are registered.

Add focused regression coverage for partial stream drops and Codex gateway shutdown without a SessionEnd hook.

Signed-off-by: Ajay Thorve <athorve@nvidia.com>
@AjayThorve AjayThorve force-pushed the wkk_nemo-flow-plugins-edit branch from 9d2a885 to 74a30c5 Compare May 13, 2026 18:38
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 `@crates/cli/src/session.rs`:
- Around line 333-343: close_all currently aborts teardown on the first
close_for_shutdown error, leaving remaining sessions unclosed; change close_all
to iterate all sessions returned from self.inner.lock().await.drain() and
attempt session.close_for_shutdown(reason).await for each, capturing errors but
not returning immediately; after the loop, if any session close returned Err,
return that error (or aggregate/convert to a single CliError), otherwise return
Ok(()). Reference the close_all method and the close_for_shutdown call to locate
where to implement per-session error capture and deferred return.
🪄 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: 8ae40c19-033e-415f-8389-18e5772a3b0d

📥 Commits

Reviewing files that changed from the base of the PR and between deda038 and 74a30c5.

📒 Files selected for processing (5)
  • crates/cli/src/server.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/session_tests.rs
  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
📜 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). (28)
  • GitHub Check: WebAssembly / Test (windows-arm64)
  • GitHub Check: WebAssembly / Test (linux-arm64)
  • GitHub Check: Python / Test (linux-amd64)
  • GitHub Check: WebAssembly / Test (windows-amd64)
  • GitHub Check: Go / Test (macos-arm64)
  • GitHub Check: WebAssembly / Test (macos-arm64)
  • GitHub Check: Node.js / Test (windows-amd64)
  • GitHub Check: WebAssembly / Test (linux-amd64)
  • GitHub Check: Python / Test (windows-amd64)
  • GitHub Check: Python / Test (windows-arm64)
  • GitHub Check: License Diff / Run
  • GitHub Check: Python / Test (linux-arm64)
  • GitHub Check: Node.js / Test (linux-arm64)
  • GitHub Check: Node.js / Test (windows-arm64)
  • GitHub Check: Python / Test (macos-arm64)
  • GitHub Check: Node.js / Test (linux-amd64)
  • GitHub Check: Rust / Test (windows-arm64)
  • GitHub Check: Rust / Test (linux-arm64)
  • GitHub Check: Go / Test (linux-amd64)
  • GitHub Check: Rust / Test (windows-amd64)
  • GitHub Check: Node.js / Test (macos-arm64)
  • GitHub Check: Rust / Test (linux-amd64)
  • GitHub Check: Documentation / Build
  • GitHub Check: Rust / Test (macos-arm64)
  • GitHub Check: Go / Test (linux-arm64)
  • GitHub Check: Go / Test (windows-arm64)
  • GitHub Check: Go / Test (windows-amd64)
  • GitHub Check: OpenClaw / Test
🧰 Additional context used
📓 Path-based instructions (12)
**/*.rs

📄 CodeRabbit inference engine (.agents/skills/test-ffi-surface/SKILL.md)

**/*.rs: Run cargo fmt --all for FFI work as it is Rust work
Run just test-rust for FFI validation
Run cargo clippy --workspace --all-targets -- -D warnings to enforce warnings-as-errors linting

**/*.rs: Run cargo fmt --all for Rust code formatting
Run cargo clippy --workspace --all-targets -- -D warnings to enforce Rust linting with no warnings
Run just test-rust as the shared-runtime build/test wrapper for Rust changes

Use Rust snake_case naming convention for Rust code

**/*.rs: Any Rust change must run just test-rust
Any Rust change must run cargo fmt --all
Any Rust change must run cargo clippy --workspace --all-targets -- -D warnings

**/*.rs: Run cargo fmt --all for Rust code formatting when Node changes touch Rust files
Run cargo clippy --workspace --all-targets -- -D warnings to enforce strict linting when Rust files changed as part of Node work

**/*.rs: Always run just test-rust when any Rust code changes
Always run cargo fmt --all when any Rust code changes
Always run cargo clippy --workspace --all-targets -- -D warnings when any Rust code changes

Files:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
  • crates/cli/src/server.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/session_tests.rs
**/*.{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:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
  • crates/cli/src/server.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/session_tests.rs
**/*.{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:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
  • crates/cli/src/server.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/session_tests.rs
**/*.{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:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
  • crates/cli/src/server.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/session_tests.rs
crates/{core,adaptive}/**

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

Changes to crates/core or crates/adaptive must run the full language matrix

Files:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
{crates/core,crates/adaptive}/**/*.rs

📄 CodeRabbit inference engine (.agents/skills/test-wasm-binding/SKILL.md)

If the change touched shared runtime semantics in crates/core or crates/adaptive, also use validate-change

Files:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
crates/core/**/*.rs

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

When crates/core changes, run the full validation matrix across Rust, Python, Go, Node.js, and WebAssembly

crates/core/**/*.rs: Use Json = serde_json::Value in Rust-facing runtime APIs where the existing code expects JSON payloads.
Use Result<T> with FlowError in core runtime paths. Keep errors explicit and binding-appropriate at the wrapper layer.

Files:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
**/*.{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:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
  • crates/cli/src/server.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/session_tests.rs
**/*.{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:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
  • crates/cli/src/server.rs
  • crates/cli/src/session.rs
  • crates/cli/tests/coverage/session_tests.rs
crates/{core,adaptive}/**/*.rs

⚙️ CodeRabbit configuration file

crates/{core,adaptive}/**/*.rs: Review the Rust runtime for async correctness, scope isolation, middleware ordering, and event lifecycle regressions.
Pay close attention to task-local/thread-local scope propagation, callback lifetimes, stream finalization, and root_uuid isolation.
Public API changes should preserve existing behavior unless tests and docs show the intended migration path.

Files:

  • crates/core/src/stream.rs
  • crates/core/tests/integration/stream_tests.rs
**/{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:

  • crates/core/tests/integration/stream_tests.rs
{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}

⚙️ CodeRabbit configuration file

{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}: Tests should cover the behavior promised by the changed API surface, including error paths and cross-request isolation where relevant.
Prefer assertions on lifecycle events, scope stacks, middleware ordering, and binding parity over shallow smoke tests.

Files:

  • crates/core/tests/integration/stream_tests.rs
  • crates/cli/tests/coverage/session_tests.rs
🔇 Additional comments (2)
crates/core/src/stream.rs (1)

213-217: LGTM!

crates/core/tests/integration/stream_tests.rs (1)

207-257: LGTM!

Comment thread crates/cli/src/session.rs
Document nemo-flow-cli as the published install path and keep the README wording concise.

Lead the coding-agent gateway docs with the new agent shortcut commands while keeping the explicit run form for custom launchers.

Remove the benchmark/eval recipe from user-facing docs.

Signed-off-by: Ajay Thorve <athorve@nvidia.com>
close_all drained every session but returned on the first close_for_shutdown failure, so any later drained sessions skipped shutdown cleanup.

Capture the first close error, keep closing the remaining sessions, and return the captured error after the loop. Add a regression test that proves a later valid session still closes after an earlier close fails.

Signed-off-by: Ajay Thorve <athorve@nvidia.com>
Copy link
Copy Markdown
Contributor

@AjayThorve AjayThorve left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Collaborator

@Salonijain27 Salonijain27 left a comment

Choose a reason for hiding this comment

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

Approved from a dependency point of view

@willkill07
Copy link
Copy Markdown
Member Author

/merge

@rapids-bot rapids-bot Bot merged commit d5798c2 into NVIDIA:main May 13, 2026
64 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:rust PR changes/introduces Rust code size:XXL PR is very large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants