Skip to content

feat: add core observability plugin#89

Merged
rapids-bot[bot] merged 4 commits into
NVIDIA:mainfrom
willkill07:wkk_observability-plugin
May 12, 2026
Merged

feat: add core observability plugin#89
rapids-bot[bot] merged 4 commits into
NVIDIA:mainfrom
willkill07:wkk_observability-plugin

Conversation

@willkill07
Copy link
Copy Markdown
Member

@willkill07 willkill07 commented May 12, 2026

Overview

Adds a built-in core observability plugin that configures first-party ATOF, ATIF, OpenTelemetry, and OpenInference exporters through the existing plugin lifecycle. The plugin is auto-registered by core plugin APIs and keeps every exporter section disabled unless that section explicitly sets enabled: true.

  • 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::observability::plugin_component with public config structs, singleton component registration, inferred subscriber names, ATOF/ATIF/OTLP wiring, and ATIF per-top-level-agent file splitting.
  • Adds FFI, Python, Node.js, Go, and WebAssembly helper surfaces for serializing observability plugin config.
  • Adds coverage-focused tests for defaults, disabled sections, invalid values, lifecycle teardown, file outputs, OTLP registration, and multi-agent ATIF isolation across native bindings.
  • Updates observability docs, README/API reference entry points, and Node docs generation to include the new plugin and configuration examples.

Validation run locally:

  • cargo test -p nemo-flow observability::plugin_component -- --test-threads=1
  • just test-rust
  • just test-python
  • just test-node
  • just test-go
  • just test-wasm
  • just docs
  • uv run pytest python/tests/test_observability_plugin.py
  • node --test --test-force-exit tests/observability_plugin_tests.mjs
  • go test -v -run 'Observability.*Atif|ObservabilityPluginAtofAndAtif|ObservabilityPluginAtif|ObservabilityAtif' ./...
  • cargo test -p nemo-flow-ffi test_ffi_observability_plugin -- --test-threads=1
  • uv run pre-commit run --all-files

Where should the reviewer start?

Start with crates/core/src/observability/plugin_component.rs, then review crates/core/tests/unit/observability/plugin_component_tests.rs and the binding-specific observability plugin tests.

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

  • Relates to: none

Summary by CodeRabbit

  • New Features

    • Built-in "observability" plugin to configure ATOF, ATIF, OpenTelemetry and OpenInference exporters from a single component; auto-registered and discoverable.
    • Cross-language helper APIs and defaults for constructing observability configs and component specs (Rust, Python, Node, Wasm, Go, FFI).
  • Documentation

    • New observability plugin guide, examples, and updated API/docs across language bindings and packaging.
  • Tests

    • Extensive unit and integration tests covering validation, file outputs, registration, and teardown.

Review Change Stack

Signed-off-by: Will Killian <wkillian@nvidia.com>
@willkill07 willkill07 requested a review from a team as a code owner May 12, 2026 18:48
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 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

This PR adds a built-in observability plugin: canonical config (ATOF, ATIF, OTLP/OpenInference), validation, runtime wiring and shutdown, automatic registration into plugin discovery, FFI helpers, language binding helpers/wrappers (Node/wasm/Python/Go), tests, and extensive docs.

Changes

Built-In Observability Plugin Implementation and Bindings

Layer / File(s) Summary
Core: config schema & ComponentSpec
crates/core/src/observability/*
Adds ObservabilityConfig/Atof/Atif/Otlp section types, defaults, OBSERVABILITY_PLUGIN_KIND, and ComponentSpec wrapper that converts into the generic PluginComponentSpec.
Core: plugin registration and runtime wiring
crates/core/src/observability/plugin_component.rs, crates/core/src/plugin.rs
Registers the built-in observability kind, implements conditional runtime registration of ATOF/ATIF/OTLP subscribers/exporters, installs shutdown hooks, and adds a one-time ensure step (ensure_builtin_plugins_registered()) invoked by list/lookup/validate/initialize flows.
Core: ATIF dispatcher & export
crates/core/src/observability/plugin_component.rs
Implements ATIF dispatcher and ManagedAtifExporter: top-level-agent session detection, scope-local subscribers, buffering, trajectory serialization (with extra.observed_events), filename-template handling, write/eviction lifecycle.
Core: parsing, validation, diagnostics, defaults
crates/core/src/observability/plugin_component.rs
Parses plugin config and emits validation diagnostics (unknown fields, required {session_id} template for ATIF, ATOF mode, OTLP transport checks), plus serde/default helpers.
Core: OTLP/OpenInference builders & feature gates
crates/core/src/observability/plugin_component.rs
Builds OTLP/OpenInference exporter configs, validates supported transports, and reports registration failures when feature gates are disabled.
FFI: C header & Rust FFI
crates/ffi/*
Adds nemo_flow_observability_plugin_kind, nemo_flow_observability_default_config_json, and nemo_flow_observability_component_spec_json FFI functions with error handling and JSON serialization.
Node/wasm helpers & tests
crates/node/*, crates/wasm/*, crates/wasm/wrappers/*
Adds observability helper modules and TypeScript declarations, updates package exports, prepare_pkg wiring, and JS/wasm tests validating config helpers, validation diagnostics, and ATOF/ATIF file outputs.
Python bindings & tests
python/nemo_flow/*, python/tests/*
Adds nemo_flow.observability dataclass-based config module and stubs, re-exports it from package root, and pytest suites covering defaults, validation, ATOF/ATIF file outputs, flush-on-clear, and multi-top-level-agent splitting.
Go bindings & tests
go/nemo_flow/*
Adds Go observability config types, constructors, ObservabilityComponent conversion to shared PluginComponentSpec, and tests covering defaults, ATOF/ATIF outputs, splitting, validation, and registry listing.
Docs & packaging
docs/*, scripts/docs/*, crates/node/package.json
Adds documentation pages/guides for configuring the Observability plugin, updates READMEs and API indexes, adds Node/wasm package exports, and extends docs build rewrites to include observability declarations.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed Title follows Conventional Commits format with lowercase 'feat' type, no scope, no breaking change marker, and is concise (35 characters).
Description check ✅ Passed Description includes all required template sections: Overview with checkbox confirmations, detailed implementation summary, reviewer guidance, and related issues reference.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

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

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

@github-actions github-actions Bot added size:XL PR is extra large Feature a new feature lang:go PR changes/introduces Go code lang:js PR changes/introduces Javascript/Typescript code lang:python PR changes/introduces Python code lang:rust PR changes/introduces Rust code labels May 12, 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: 5

🤖 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/core/README.md`:
- Around line 47-48: Replace the bare acronym "ATOF" in the README's
observability bullet with its expanded form on first mention (i.e., write the
full term followed by " (ATOF)"), so the line reads something like "Built-in
observability plugin: Configure first-party <Full Term> (ATOF), ATIF,
OpenTelemetry, and OpenInference exporters from the core crate," and thereafter
continue using "ATOF"; update only the first occurrence of ATOF in the sentence
that lists ATOF, ATIF, OpenTelemetry, and OpenInference exporters.

In `@crates/core/src/observability/plugin_component.rs`:
- Around line 525-539: When a top-level agent End event is successfully
processed, finalize and evict its per-agent state instead of keeping it forever:
in observe_scope (and after the write_atif_file(agent) succeeds in the branch
where event.uuid() == agent_uuid && event.scope_category() ==
Some(ScopeCategory::End)), remove the agent entry from self.agents and also
remove any related entry in self.scope_subscribers (and drop/clear
agent.observed_events) so completed agents don’t accumulate; keep the existing
behavior when write_atif_file returns Err (it already sets self.last_error).

In `@crates/core/src/plugin.rs`:
- Around line 736-738: The built-in registration
(ensure_builtin_plugins_registered) must be run only once to avoid taking the
registry write lock on every call; replace the current direct call to
register_observability_component() with a one-time guard using a static
synchronization primitive (e.g., std::sync::OnceLock or
once_cell::sync::OnceCell) that stores the Result<()> from
register_observability_component so subsequent calls to
ensure_builtin_plugins_registered simply return the stored Result; update
ensure_builtin_plugins_registered, and ensure callers list_plugin_kinds,
lookup_plugin, and validate_plugin_config keep calling
ensure_builtin_plugins_registered but now incur no repeated registration work.

In `@docs/getting-started/configuration.md`:
- Around line 37-39: The "Export Observability Data" link currently points to
../export-observability-data/code-examples.md but the link text implies the
section landing/about page; update the link target so the anchor text matches
the destination by changing the href for "Export Observability Data" to
../export-observability-data/about.md (alternatively, if you prefer to keep
code-examples.md, rename the anchor text to "Observability Code Examples") so
the documentation navigation is accurate.

In `@README.md`:
- Around line 67-68: Update the README top-level description to spell out ATOF
on first use: replace the standalone "ATOF" in the sentence containing "Built-in
observability plugin" with its full form followed by the acronym in parentheses
(e.g., "Automated Telemetry Observability Framework (ATOF)"), then keep using
"ATOF" thereafter; edit the line that mentions "ATOF, ATIF, OpenTelemetry, and
OpenInference exporters" to use the spelled-out term for ATOF while preserving
the rest of the phrasing.
🪄 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: 6b15eb86-d758-49b1-855c-390df166f7a7

📥 Commits

Reviewing files that changed from the base of the PR and between 3e09970 and 73261e5.

📒 Files selected for processing (40)
  • README.md
  • crates/core/README.md
  • crates/core/src/observability/mod.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/ffi/nemo_flow.h
  • crates/ffi/src/api/observability.rs
  • crates/ffi/tests/unit/api/core_tests.rs
  • crates/node/README.md
  • crates/node/observability.d.ts
  • crates/node/observability.js
  • crates/node/package.json
  • crates/node/tests/observability_plugin_tests.mjs
  • crates/wasm/scripts/prepare_pkg.mjs
  • crates/wasm/tests-js/observability_tests.mjs
  • crates/wasm/wrappers/esm/observability.d.ts
  • crates/wasm/wrappers/esm/observability.js
  • crates/wasm/wrappers/nodejs/observability.js
  • docs/about/concepts/plugins.md
  • docs/about/concepts/subscribers.md
  • docs/export-observability-data/about.md
  • docs/export-observability-data/atif.md
  • docs/export-observability-data/basic-guide.md
  • docs/export-observability-data/code-examples.md
  • docs/export-observability-data/observability-plugin.md
  • docs/getting-started/configuration.md
  • docs/index.md
  • docs/reference/api/nodejs/index.md
  • docs/reference/api/python/index.md
  • docs/reference/api/rust/index.md
  • go/nemo_flow/observability_plugin.go
  • go/nemo_flow/observability_plugin_test.go
  • python/nemo_flow/README.md
  • python/nemo_flow/__init__.py
  • python/nemo_flow/__init__.pyi
  • python/nemo_flow/observability.py
  • python/nemo_flow/observability.pyi
  • python/tests/test_observability_plugin.py
  • scripts/docs/build_node_docs_artifacts.mjs
📜 Review details
🧰 Additional context used
📓 Path-based instructions (68)
**/*.{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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

  • docs/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.md
docs/reference/**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update relevant reference documentation for any public API changes

Files:

  • docs/reference/api/rust/index.md
  • docs/reference/api/python/index.md
  • docs/reference/api/nodejs/index.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • docs/export-observability-data/basic-guide.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • crates/node/observability.d.ts
  • crates/node/observability.js
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • go/nemo_flow/observability_plugin.go
  • crates/wasm/wrappers/esm/observability.js
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • python/tests/test_observability_plugin.py
  • go/nemo_flow/observability_plugin_test.go
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • docs/export-observability-data/basic-guide.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • python/tests/test_observability_plugin.py
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • crates/node/observability.d.ts
  • crates/node/observability.js
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • crates/wasm/wrappers/esm/observability.js
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • python/tests/test_observability_plugin.py
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • docs/export-observability-data/basic-guide.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • python/nemo_flow/__init__.pyi
  • python/nemo_flow/README.md
  • docs/export-observability-data/basic-guide.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • go/nemo_flow/observability_plugin.go
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • python/nemo_flow/observability.pyi
  • go/nemo_flow/observability_plugin_test.go
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • crates/node/observability.d.ts
  • crates/core/src/observability/mod.rs
  • crates/node/observability.js
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • crates/core/src/plugin.rs
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • go/nemo_flow/observability_plugin.go
  • crates/wasm/wrappers/esm/observability.js
  • docs/about/concepts/subscribers.md
  • crates/ffi/src/api/observability.rs
  • docs/about/concepts/plugins.md
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • python/tests/test_observability_plugin.py
  • crates/ffi/tests/unit/api/core_tests.rs
  • go/nemo_flow/observability_plugin_test.go
  • docs/export-observability-data/code-examples.md
  • crates/core/src/observability/plugin_component.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.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/reference/api/rust/index.md
  • docs/index.md
  • docs/reference/api/python/index.md
  • docs/export-observability-data/atif.md
  • docs/getting-started/configuration.md
  • docs/export-observability-data/about.md
  • docs/export-observability-data/basic-guide.md
  • README.md
  • docs/reference/api/nodejs/index.md
  • docs/export-observability-data/observability-plugin.md
  • docs/about/concepts/subscribers.md
  • docs/about/concepts/plugins.md
  • docs/export-observability-data/code-examples.md
{README.md,docs/index.md}

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

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

Files:

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

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

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

Files:

  • docs/index.md
  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • README.md
crates/{python,ffi,node,wasm}/**/*

⚙️ CodeRabbit configuration file

crates/{python,ffi,node,wasm}/**/*: Treat binding changes as public API changes. Check for parity with the other language bindings, FFI ownership/lifetime safety,
callback error propagation, stable type conversion, and consistent async/stream semantics.
Flag changes that update one binding without corresponding tests or documentation for the same surface elsewhere.

Files:

  • crates/wasm/tests-js/observability_tests.mjs
  • crates/node/README.md
  • crates/node/observability.d.ts
  • crates/node/observability.js
  • crates/ffi/nemo_flow.h
  • crates/node/package.json
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • crates/wasm/wrappers/esm/observability.js
  • crates/node/tests/observability_plugin_tests.mjs
  • crates/ffi/src/api/observability.rs
  • crates/ffi/tests/unit/api/core_tests.rs
  • crates/wasm/scripts/prepare_pkg.mjs
docs/{about/concepts/subscribers,export-observability-data/about}.md

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

Ensure examples and documentation in docs/about/concepts/subscribers.md and docs/export-observability-data/about.md reflect the same lifecycle: create, register, run, deregister, flush, shutdown

Files:

  • docs/export-observability-data/about.md
  • docs/about/concepts/subscribers.md
docs/{about/concepts/subscribers,export-observability-data/{about,code-examples}}.md

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

Update documentation and examples in docs/about/concepts/subscribers.md, docs/export-observability-data/about.md, and docs/export-observability-data/code-examples.md in the same branch when making observability changes

Files:

  • docs/export-observability-data/about.md
  • docs/about/concepts/subscribers.md
  • docs/export-observability-data/code-examples.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:

  • crates/core/README.md
  • python/nemo_flow/README.md
  • crates/node/README.md
  • README.md
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/README.md
  • crates/core/src/observability/mod.rs
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.rs
python/nemo_flow/**/*.pyi

📄 CodeRabbit inference engine (.agents/skills/add-binding-feature/SKILL.md)

Update Python type stubs in the relevant python/nemo_flow/*.pyi modules when adding public API surface

Files:

  • python/nemo_flow/__init__.pyi
  • python/nemo_flow/observability.pyi
python/nemo_flow/**/*

⚙️ CodeRabbit configuration file

python/nemo_flow/**/*: Review Python wrapper changes for typed API consistency, contextvars-based scope isolation, async behavior, and parity with the native extension.
Stubs and runtime implementations should stay aligned.

Files:

  • python/nemo_flow/__init__.pyi
  • python/nemo_flow/README.md
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • python/nemo_flow/observability.pyi
crates/node/**

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

Run just test-node for the normal dev/test loop when working on Node binding changes

Files:

  • crates/node/README.md
  • crates/node/observability.d.ts
  • crates/node/observability.js
  • crates/node/package.json
  • crates/node/tests/observability_plugin_tests.mjs
README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

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

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use camelCase naming convention for Node.js code

Files:

  • crates/node/observability.d.ts
  • crates/node/observability.js
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • crates/wasm/wrappers/esm/observability.js
**/*.{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/node/observability.d.ts
  • crates/core/src/observability/mod.rs
  • crates/node/observability.js
  • crates/core/src/plugin.rs
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • go/nemo_flow/observability_plugin.go
  • crates/wasm/wrappers/esm/observability.js
  • crates/ffi/src/api/observability.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/ffi/tests/unit/api/core_tests.rs
  • go/nemo_flow/observability_plugin_test.go
  • crates/core/src/observability/plugin_component.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/node/observability.d.ts
  • crates/core/src/observability/mod.rs
  • crates/node/observability.js
  • crates/core/src/plugin.rs
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • go/nemo_flow/observability_plugin.go
  • crates/wasm/wrappers/esm/observability.js
  • crates/ffi/src/api/observability.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • python/tests/test_observability_plugin.py
  • crates/ffi/tests/unit/api/core_tests.rs
  • go/nemo_flow/observability_plugin_test.go
  • crates/core/src/observability/plugin_component.rs
{crates/adaptive/**,python/nemo_flow/{adaptive,plugin}.py,go/nemo_flow/{adaptive,**}/*.go,**/*.{ts,js,wasm}}

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

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

Files:

  • crates/node/observability.d.ts
  • crates/node/observability.js
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • go/nemo_flow/observability_plugin.go
  • crates/wasm/wrappers/esm/observability.js
  • go/nemo_flow/observability_plugin_test.go
**/*.{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/node/observability.d.ts
  • crates/core/src/observability/mod.rs
  • crates/node/observability.js
  • crates/ffi/nemo_flow.h
  • crates/core/src/plugin.rs
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • go/nemo_flow/observability_plugin.go
  • crates/wasm/wrappers/esm/observability.js
  • crates/ffi/src/api/observability.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • python/tests/test_observability_plugin.py
  • crates/ffi/tests/unit/api/core_tests.rs
  • go/nemo_flow/observability_plugin_test.go
  • crates/core/src/observability/plugin_component.rs
crates/node/**/*.{ts,tsx,js,jsx,json}

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

Format changed Node files with npm run format --workspace=nemo-flow-node

Files:

  • crates/node/observability.d.ts
  • crates/node/observability.js
  • crates/node/package.json
crates/node/**/*.{ts,tsx}

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

Run npm run check:docstrings --workspace=nemo-flow-node to validate public API docstrings when Node surface documentation changes

Files:

  • crates/node/observability.d.ts
**/*.{ts,tsx,js,jsx}

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

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

Files:

  • crates/node/observability.d.ts
  • crates/node/observability.js
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • crates/wasm/wrappers/esm/observability.js
**/*.{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/node/observability.d.ts
  • crates/core/src/observability/mod.rs
  • crates/node/observability.js
  • crates/core/src/plugin.rs
  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • go/nemo_flow/observability_plugin.go
  • crates/wasm/wrappers/esm/observability.js
  • crates/ffi/src/api/observability.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • python/tests/test_observability_plugin.py
  • crates/ffi/tests/unit/api/core_tests.rs
  • go/nemo_flow/observability_plugin_test.go
  • crates/core/src/observability/plugin_component.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

When Rust files changed as part of Python work, run cargo fmt --all, just test-rust, and cargo clippy --workspace --all-targets -- -D warnings

**/*.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/observability/mod.rs
  • crates/core/src/plugin.rs
  • crates/ffi/src/api/observability.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/ffi/tests/unit/api/core_tests.rs
  • crates/core/src/observability/plugin_component.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/observability/mod.rs
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/observability/mod.rs
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/observability/mod.rs
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.rs
crates/ffi/**

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

Rebuild the FFI crate in release mode so the shared library and header stay in sync

Files:

  • crates/ffi/nemo_flow.h
  • crates/ffi/src/api/observability.rs
  • crates/ffi/tests/unit/api/core_tests.rs
{crates/ffi/nemo_flow.h,crates/ffi/src/**/*.rs}

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

Check the generated header diff when any exported symbol or type changed in the FFI surface

Files:

  • crates/ffi/nemo_flow.h
  • crates/ffi/src/api/observability.rs
**/*.h

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Prefix C FFI exports with nemo_flow_

Files:

  • crates/ffi/nemo_flow.h
crates/ffi/nemo_flow.h

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Synchronize FFI header crates/ffi/nemo_flow.h through Cargo/build.rs; pre-commit hooks enforce this

Use nemo_flow_ prefix naming convention for C FFI functions

Files:

  • crates/ffi/nemo_flow.h
{Cargo.toml,pyproject.toml,go/nemo_flow/go.mod,package.json,package-lock.json,crates/node/package.json}

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

Maintain consistent package names, import paths, and module names across Rust, Python, Go, Node, and WebAssembly workspaces in NeMo Flow

Files:

  • crates/node/package.json
{crates/node/package.json,package-lock.json}

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

Maintain alignment between crates/node/package.json npm package version and workspace-root package-lock.json

Files:

  • crates/node/package.json
{.github/**/*.{yml,yaml},*.patch,scripts/**/*,*.sh,*.bat,Dockerfile*}

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

Update CI configuration, patch files, and build scripts with new functional identifiers after rename operations

Files:

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

⚙️ CodeRabbit configuration file

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

Files:

  • scripts/docs/build_node_docs_artifacts.mjs
{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
  • go/nemo_flow/observability_plugin.go
  • go/nemo_flow/observability_plugin_test.go
**/*.py

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

Format changed Python wrapper and test files with uv run ruff format python

**/*.py: Use Ruff with rule sets E, F, W, I for Python linting
Use Ruff formatter for Python code with line length 120 and double quotes
Use ty for Python type checking
Use snake_case naming convention for Python code
Include SPDX license headers in all Python source files using Python comment syntax

Files:

  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • python/tests/test_observability_plugin.py
python/nemo_flow/**/*.py

📄 CodeRabbit inference engine (.agents/skills/add-binding-feature/SKILL.md)

Use snake_case naming convention for Python API implementations and wrappers

Files:

  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
python/**/*.py

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

python/**/*.py: If Python language surface changed, always run Python test target even when Rust core did not change
For Python changes, use uv run ruff format python to format Python files

Files:

  • python/nemo_flow/observability.py
  • python/nemo_flow/__init__.py
  • python/tests/test_observability_plugin.py
crates/wasm/{wrappers,tests-js,scripts}/**/*.{js,ts,jsx,tsx}

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

Format changed WebAssembly JS/TS wrapper files with npm run precommit:format --workspace=nemo-flow-node -- crates/wasm/wrappers crates/wasm/tests-js crates/wasm/scripts

Files:

  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • crates/wasm/wrappers/esm/observability.js
crates/wasm/**/*.{ts,tsx,js,jsx}

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

crates/wasm/**/*.{ts,tsx,js,jsx}: If WebAssembly language surface changed, always run WebAssembly test target even when Rust core did not change
For WebAssembly TypeScript/JavaScript changes, run npm run precommit:format --workspace=nemo-flow-node -- crates/wasm/wrappers crates/wasm/tests-js crates/wasm/scripts

Files:

  • crates/wasm/wrappers/nodejs/observability.js
  • crates/wasm/wrappers/esm/observability.d.ts
  • crates/wasm/wrappers/esm/observability.js
go/nemo_flow/**/*.go

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

Format changed Go packages with cd go/nemo_flow && go fmt ./...

Use PascalCase naming convention for Go API implementations

For Go binding changes, run go fmt ./... within the Go module to format all Go files

Files:

  • go/nemo_flow/observability_plugin.go
  • go/nemo_flow/observability_plugin_test.go
**/*.go

📄 CodeRabbit inference engine (CONTRIBUTING.md)

**/*.go: Use gofmt for Go code formatting
Use go vet ./... for Go static analysis
Use PascalCase naming convention for Go code

Files:

  • go/nemo_flow/observability_plugin.go
  • go/nemo_flow/observability_plugin_test.go
{crates/adaptive/**/*.rs,python/nemo_flow/adaptive.py,python/nemo_flow/plugin.py,go/nemo_flow/**/*.go,**/{helper,constructor,builder}.{ts,tsx,js}}

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

Ensure typed helper constructors map cleanly to the same config document without divergence

Files:

  • go/nemo_flow/observability_plugin.go
  • go/nemo_flow/observability_plugin_test.go
{crates/adaptive/**/*.rs,python/nemo_flow/plugin.py,go/nemo_flow/**/*.go,**/{plugin,lifecycle}.{ts,tsx,js}}

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

Maintain consistent plugin lifecycle across all language bindings (Rust, Python, Go, Node/WebAssembly)

Files:

  • go/nemo_flow/observability_plugin.go
  • go/nemo_flow/observability_plugin_test.go
go/**/*.go

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

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

Files:

  • go/nemo_flow/observability_plugin.go
  • go/nemo_flow/observability_plugin_test.go
go/nemo_flow/**/*

⚙️ CodeRabbit configuration file

go/nemo_flow/**/*: Review Go binding changes for cgo memory ownership, race safety, callback cleanup, idiomatic exported APIs, and parity with Rust/FFI behavior.
Any API change should include focused Go tests and consider race-test behavior.

Files:

  • go/nemo_flow/observability_plugin.go
  • go/nemo_flow/observability_plugin_test.go
{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/node/tests/observability_plugin_tests.mjs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • python/tests/test_observability_plugin.py
  • crates/ffi/tests/unit/api/core_tests.rs
  • go/nemo_flow/observability_plugin_test.go
crates/ffi/src/api/**/*.rs

📄 CodeRabbit inference engine (.agents/skills/add-binding-feature/SKILL.md)

Add or update FFI wrappers in the relevant crates/ffi/src/api/*.rs module with nemo_flow_ prefix naming convention, re-export through crates/ffi/src/api/mod.rs, and ensure generated crates/ffi/nemo_flow.h stays correct

Files:

  • crates/ffi/src/api/observability.rs
**/test_*.py

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

Run focused pytest first when you know the affected area using pytest -k "<pattern>"

Files:

  • python/tests/test_observability_plugin.py
{crates/wasm/package.json,crates/wasm/Cargo.toml,crates/wasm/scripts/prepare_pkg.mjs}

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

Do not treat crates/wasm/package.json as the publishable WebAssembly package manifest unless it has an explicit version field; derive the published version from crates/wasm/Cargo.toml through wasm-pack output and crates/wasm/scripts/prepare_pkg.mjs

Files:

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

Applied to files:

  • crates/node/observability.d.ts
  • crates/wasm/wrappers/esm/observability.d.ts
🪛 markdownlint-cli2 (0.22.1)
docs/export-observability-data/code-examples.md

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

(MD031, blanks-around-fences)


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

(MD031, blanks-around-fences)


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

(MD031, blanks-around-fences)

🪛 Ruff (0.15.12)
python/nemo_flow/observability.py

[warning] 183-191: __all__ is not sorted

Apply an isort-style sorting to __all__

(RUF022)

🔇 Additional comments (15)
README.md (1)

52-53: Good scope update for plugin capabilities.

This addition clearly reflects that plugin configuration now includes observability exporters.

crates/node/observability.js (1)

15-89: Solid helper surface for the new observability component.

The config factories and ComponentSpec wrapper are consistent and provide a clean Node entry point for this plugin kind.

crates/node/observability.d.ts (1)

9-71: Type surface is well-aligned with the runtime helper API.

Interfaces and declared functions are coherent and expose the observability plugin contract clearly.

crates/node/package.json (1)

43-46: Export map update looks correct.

./observability is properly exposed with both runtime and type entry points.

crates/node/README.md (1)

35-36: Documentation updates are consistent with the new Node export surface.

The added nemo-flow-node/observability references are aligned with package exports and usage guidance.

Also applies to: 47-48, 90-91

scripts/docs/build_node_docs_artifacts.mjs (1)

51-57: Docs artifact pipeline changes are coherent.

The new module registration and declaration rewrites follow the established normalization approach for generated Node API pages.

Also applies to: 118-142

crates/wasm/wrappers/esm/observability.d.ts (1)

9-71: Wasm observability typings look well-structured and aligned.

The exported config/types and ComponentSpec declaration fit the intended wrapper surface.

python/nemo_flow/__init__.pyi (1)

33-33: Stub facade stays aligned with the new public observability surface.

This re-export keeps the top-level typing facade consistent with the runtime package surface.

python/nemo_flow/README.md (1)

47-47: README surface updates correctly include observability.

The updated feature list and package surface list match the new public module exposure.

Also applies to: 97-97

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

20-20: Module export is correctly wired for the new observability plugin component.

crates/wasm/tests-js/observability_tests.mjs (1)

10-72: Good coverage for Wasm observability helper defaults and validation behavior.

crates/node/tests/observability_plugin_tests.mjs (1)

20-178: Strong Node binding coverage for observability initialization and ATIF isolation semantics.

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

86-531: Comprehensive core test coverage for config validation, lifecycle teardown, and exporter behavior.

python/tests/test_observability_plugin.py (1)

66-160: ⚡ Quick win

Async tests are properly handled under current configuration.

The repository uses asyncio_mode = "auto" in pyproject.toml (line 104), which automatically detects and executes async test functions without requiring @pytest.mark.asyncio decorators. These tests will be collected and run as intended.

docs/export-observability-data/code-examples.md (1)

212-212: Static analysis false positive: MyST syntax is valid.

The markdownlint warnings about missing blank lines around fenced code blocks are false positives. The ::: markers are MyST directive closers for the tab-set syntax, not regular Markdown content. This pattern is correct for Sphinx-based documentation.

Also applies to: 241-241, 275-275

Comment thread crates/core/README.md Outdated
Comment thread crates/core/src/observability/plugin_component.rs Outdated
Comment thread crates/core/src/plugin.rs
Comment thread docs/getting-started/configuration.md
Comment thread README.md Outdated
@willkill07 willkill07 added this to the 0.2.0 milestone May 12, 2026
Copy link
Copy Markdown
Contributor

@mnajafian-nv mnajafian-nv left a comment

Choose a reason for hiding this comment

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

Thanks for the detailed implementation and cross-binding coverage. I focused on the ATIF dispatcher lifecycle, binding parity, and docs consistency.

The main issues I found are around ATIF behavior under long-running workloads: filesystem writes happen under the dispatcher mutex, completed agents appear to remain retained after write, raw observed_events is unbounded, and last_error globally stops future collection. I also found one concrete Go binding parity issue where enabled:false is omitted and therefore becomes enabled again in Rust due to the default.

One non-blocking follow-up: ensure_builtin_plugins_registered is called from list/lookup/validate/initialize flows, and idempotency currently depends on matching "already registered" in an error string. A Once/OnceLock-style registration path would avoid repeated registry write-lock work and remove the dependency on error-message wording.

The docs/API comments are smaller and should be straightforward.

Comment thread crates/core/src/observability/plugin_component.rs Outdated
Comment thread crates/core/src/observability/plugin_component.rs Outdated
Comment thread crates/core/src/observability/plugin_component.rs
Comment thread crates/core/src/observability/plugin_component.rs
Comment thread crates/core/src/observability/plugin_component.rs
Comment thread go/nemo_flow/observability_plugin.go
Comment thread docs/export-observability-data/observability-plugin.md
@mnajafian-nv
Copy link
Copy Markdown
Contributor

mnajafian-nv commented May 12, 2026

One small follow-up on the Go enabled:false comment: go/nemo_flow/plugin.go also needs the same fix for PluginComponentSpec.Enabled. Otherwise enabled:false can still be omitted before the config reaches Rust.

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.

♻️ Duplicate comments (1)
README.md (1)

67-68: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Spell out ATIF on first use; ATOF already flagged.

ATIF is introduced at line 46 and reused here without being spelled out. Since this PR adds both ATOF and ATIF exporter configuration, spell out ATIF either at its first mention (line 46) or reintroduce the full term here. As per coding guidelines, "Spell out a term on first use and put the acronym in parentheses unless the acronym is widely understood by the intended audience."

The ATOF issue is already covered by the existing review comment.

Suggested fix for line 67
-- ✅ **Built-in observability plugin**: Configure ATOF, ATIF, OpenTelemetry,
+- ✅ **Built-in observability plugin**: Configure ATOF, Agent Trajectory Interchange Format (ATIF), OpenTelemetry,

Or spell out ATIF at line 46 and keep the acronym here.

🤖 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 `@README.md` around lines 67 - 68, The README currently uses the acronym ATIF
without spelling it out; update the documentation so ATIF is spelled out on
first use (e.g., "Azure Telemetry Ingestion Framework (ATIF)") either where ATIF
is first introduced or by expanding it in the sentence with the "Built-in
observability plugin" mention that also lists ATOF and OpenTelemetry; ensure the
acronym appears in parentheses on first mention and leave subsequent mentions as
ATIF.
🤖 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.

Duplicate comments:
In `@README.md`:
- Around line 67-68: The README currently uses the acronym ATIF without spelling
it out; update the documentation so ATIF is spelled out on first use (e.g.,
"Azure Telemetry Ingestion Framework (ATIF)") either where ATIF is first
introduced or by expanding it in the sentence with the "Built-in observability
plugin" mention that also lists ATOF and OpenTelemetry; ensure the acronym
appears in parentheses on first mention and leave subsequent mentions as ATIF.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: c7ae642e-890c-4a3e-9089-d2c58b025829

📥 Commits

Reviewing files that changed from the base of the PR and between 73261e5 and 16567d9.

📒 Files selected for processing (2)
  • README.md
  • docs/index.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (23)
**/*.{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/index.md
  • README.md
**/*.{md,rst,html}

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

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

Files:

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

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

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

Files:

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

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

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

Files:

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

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

  • docs/index.md
  • README.md
docs/**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

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

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

Files:

  • docs/index.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/index.md
  • README.md
**/*.{md,markdown,py,sh,bash,js,ts,java,cpp,go,rust}

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

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

Files:

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

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

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

Files:

  • docs/index.md
  • README.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/index.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/index.md
  • README.md
**/*.{md,markdown,py,sh,bash,js,ts,example}

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

Example commands must match current package names and paths

Files:

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

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

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

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

Files:

  • docs/index.md
  • README.md
{README.md,docs/**/*.md,examples/**/*.{js,ts,py,go,rs}}

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

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

Files:

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

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

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

  • README.md
**/README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update relevant crate or package README when that surface changed

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

Files:

  • README.md
🔇 Additional comments (2)
docs/index.md (1)

198-198: Good docs navigation update.

This entry is clear, correctly placed under Export Observability Data, and uses descriptive title-case link text that matches the new guide path.

README.md (1)

52-53: LGTM: observability exporters added to plugin capabilities.

The addition of "observability exporters" to the reusable runtime behavior list is accurate and aligns with the new built-in observability plugin surface.

@coderabbitai coderabbitai Bot added the DO NOT MERGE PR should not be merged; see PR for details label May 12, 2026
@willkill07 willkill07 removed the DO NOT MERGE PR should not be merged; see PR for details label May 12, 2026
@willkill07 willkill07 force-pushed the wkk_observability-plugin branch from dee4f7d to da59841 Compare May 12, 2026 21:46
Signed-off-by: Will Killian <wkillian@nvidia.com>
@willkill07 willkill07 force-pushed the wkk_observability-plugin branch from da59841 to 4151567 Compare May 12, 2026 21:49
Copy link
Copy Markdown
Contributor

@mnajafian-nv mnajafian-nv left a comment

Choose a reason for hiding this comment

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

LGTM overall. Only remaining suggestion from my review is docs consistency: advanced-guide.md still has the old OpenInference gRPC note. Updating that to match the new observability plugin doc should close out my comment.

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: 2

🤖 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/core/README.md`:
- Around line 47-49: The README line containing "ATOF, ATIF, OpenTelemetry" uses
the acronym ATIF without expansion; update that phrase to spell out Agent
Trajectory Interchange Format (ATIF) on first mention (e.g., "ATOF, Agent
Trajectory Interchange Format (ATIF), OpenTelemetry") so ATIF is defined before
subsequent uses—edit the text containing "ATOF, ATIF, OpenTelemetry"
accordingly.

In `@README.md`:
- Around line 67-69: Update the README line that mentions ATOF and ATIF to spell
out ATIF on first use—e.g., change "ATIF" to "Agent Trajectory Interoperability
Format (ATIF)" so it mirrors the existing expansion for ATOF; modify the
sentence containing "Agent Trajectory Observability Format (ATOF), ATIF,
OpenTelemetry, and OpenInference exporters" to include the full phrase for ATIF
before the acronym.
🪄 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: 2763a936-f661-4361-a9ac-62e9346aa366

📥 Commits

Reviewing files that changed from the base of the PR and between dee4f7d and da59841.

📒 Files selected for processing (5)
  • README.md
  • crates/core/README.md
  • crates/core/src/observability/plugin_component.rs
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
📜 Review details
🧰 Additional context used
📓 Path-based instructions (30)
**/*.{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:

  • crates/core/README.md
  • README.md
**/*.{md,rst,html}

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

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

Files:

  • crates/core/README.md
  • README.md
**/*.{md,rst,txt}

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

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

Files:

  • crates/core/README.md
  • README.md
**/*.{md,markdown,rst}

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

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

Files:

  • crates/core/README.md
  • README.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

  • crates/core/README.md
  • README.md
**/README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update relevant crate or package README when that surface changed

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

Files:

  • crates/core/README.md
  • 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:

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

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

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

Files:

  • crates/core/README.md
  • README.md
**/*.{md,markdown,py,sh,bash}

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

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

Files:

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

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

Example commands must match current package names and paths

Files:

  • crates/core/README.md
  • 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:

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

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

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

Files:

  • crates/core/README.md
  • README.md
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/README.md
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/README.md
  • README.md
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.rs
README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

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

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

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

Files:

  • README.md
{README*,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:

  • README.md
{README.md,docs/**/*.md,examples/**/*.{js,ts,py,go,rs}}

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

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

Files:

  • README.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:

  • README.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:

  • 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

When Rust files changed as part of Python work, run cargo fmt --all, just test-rust, and cargo clippy --workspace --all-targets -- -D warnings

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

Comment thread crates/core/README.md
Comment thread README.md
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.

♻️ Duplicate comments (2)
README.md (1)

67-69: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Spell out ATIF on first mention.

ATIF is used without expansion. For consistency with ATOF and per coding guidelines, spell out the full term on first use.

As per coding guidelines, "Spell out a term on first use and put the acronym in parentheses unless the acronym is widely understood by the intended audience."

📝 Suggested fix
-- ✅ **Built-in observability plugin**: Configure Agent Trajectory Observability
-  Format (ATOF), ATIF, OpenTelemetry, and OpenInference exporters without
-  registering subscribers by hand.
+- ✅ **Built-in observability plugin**: Configure Agent Trajectory Observability
+  Format (ATOF), Agent Trajectory Interchange Format (ATIF), OpenTelemetry, and
+  OpenInference exporters without registering subscribers by hand.
🤖 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 `@README.md` around lines 67 - 69, The README line mentions the acronym ATIF
without expansion; update the first occurrence of "ATIF" in the sentence listing
"Agent Trajectory Observability Format (ATOF), ATIF, OpenTelemetry, and
OpenInference exporters" to spell out the full term for ATIF followed by the
acronym in parentheses (e.g., "Agent Telemetry Interchange Format (ATIF)") so it
matches the existing ATOF expansion and coding guidelines; edit the phrase
containing ATOF/ATIF/OpenTelemetry/OpenInference to replace the bare "ATIF" with
its expanded form and keep the acronym in parentheses.
crates/core/README.md (1)

47-49: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Spell out ATIF on first mention.

ATIF appears without expansion. The acronym should be spelled out on first use, matching the pattern used for ATOF.

As per coding guidelines, "Spell out a term on first use and put the acronym in parentheses unless the acronym is widely understood by the intended audience."

📝 Suggested fix
-- ✅ **Built-in observability plugin**: Configure first-party Agent Trajectory
-  Observability Format (ATOF), ATIF, OpenTelemetry, and OpenInference exporters
-  from the core crate.
+- ✅ **Built-in observability plugin**: Configure first-party Agent Trajectory
+  Observability Format (ATOF), Agent Trajectory Interchange Format (ATIF),
+  OpenTelemetry, and OpenInference exporters from the core crate.
🤖 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/core/README.md` around lines 47 - 49, The README line that lists
observability formats uses the acronym "ATIF" without expanding it; update the
sentence that currently mentions "Agent Trajectory Observability Format (ATOF),
ATIF, OpenTelemetry, and OpenInference exporters" so that ATIF is spelled out on
first use and followed by the acronym in parentheses (matching how ATOF is
presented). Locate the list in the "Built-in observability plugin" sentence and
replace the bare "ATIF" with its full form followed by "(ATIF)" so the pattern
matches ATOF.
🤖 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.

Duplicate comments:
In `@crates/core/README.md`:
- Around line 47-49: The README line that lists observability formats uses the
acronym "ATIF" without expanding it; update the sentence that currently mentions
"Agent Trajectory Observability Format (ATOF), ATIF, OpenTelemetry, and
OpenInference exporters" so that ATIF is spelled out on first use and followed
by the acronym in parentheses (matching how ATOF is presented). Locate the list
in the "Built-in observability plugin" sentence and replace the bare "ATIF" with
its full form followed by "(ATIF)" so the pattern matches ATOF.

In `@README.md`:
- Around line 67-69: The README line mentions the acronym ATIF without
expansion; update the first occurrence of "ATIF" in the sentence listing "Agent
Trajectory Observability Format (ATOF), ATIF, OpenTelemetry, and OpenInference
exporters" to spell out the full term for ATIF followed by the acronym in
parentheses (e.g., "Agent Telemetry Interchange Format (ATIF)") so it matches
the existing ATOF expansion and coding guidelines; edit the phrase containing
ATOF/ATIF/OpenTelemetry/OpenInference to replace the bare "ATIF" with its
expanded form and keep the acronym in parentheses.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: b96dda0d-835d-4be9-b961-edd24ee39ced

📥 Commits

Reviewing files that changed from the base of the PR and between da59841 and 4151567.

📒 Files selected for processing (6)
  • README.md
  • crates/core/README.md
  • crates/core/src/observability/plugin_component.rs
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • docs/export-observability-data/advanced-guide.md
💤 Files with no reviewable changes (1)
  • docs/export-observability-data/advanced-guide.md
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (14)
  • GitHub Check: Rust / Test (windows-arm64)
  • GitHub Check: Go / Test (windows-arm64)
  • GitHub Check: Rust / Test (windows-amd64)
  • GitHub Check: WebAssembly / Test (windows-arm64)
  • GitHub Check: Python / Test (windows-arm64)
  • GitHub Check: Python / Test (windows-amd64)
  • GitHub Check: WebAssembly / Test (macos-arm64)
  • GitHub Check: WebAssembly / Test (linux-arm64)
  • GitHub Check: WebAssembly / Test (windows-amd64)
  • GitHub Check: Go / Test (windows-amd64)
  • GitHub Check: WebAssembly / Test (linux-amd64)
  • GitHub Check: Documentation / Build
  • GitHub Check: Node.js / Test (windows-arm64)
  • GitHub Check: Node.js / Test (macos-arm64)
🧰 Additional context used
📓 Path-based instructions (30)
**/*.{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:

  • crates/core/README.md
  • README.md
**/*.{md,rst,html}

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

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

Files:

  • crates/core/README.md
  • README.md
**/*.{md,rst,txt}

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

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

Files:

  • crates/core/README.md
  • README.md
**/*.{md,markdown,rst}

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

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

Files:

  • crates/core/README.md
  • README.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

  • crates/core/README.md
  • README.md
**/README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Update relevant crate or package README when that surface changed

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

Files:

  • crates/core/README.md
  • 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:

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

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

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

Files:

  • crates/core/README.md
  • README.md
**/*.{md,markdown,py,sh,bash}

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

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

Files:

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

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

Example commands must match current package names and paths

Files:

  • crates/core/README.md
  • 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:

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

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

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

Files:

  • crates/core/README.md
  • README.md
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/README.md
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/README.md
  • README.md
  • crates/core/src/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.rs
README.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

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

Files:

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

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

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

Files:

  • README.md
{README*,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:

  • README.md
{README.md,docs/**/*.md,examples/**/*.{js,ts,py,go,rs}}

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

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

Files:

  • README.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:

  • README.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:

  • 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

When Rust files changed as part of Python work, run cargo fmt --all, just test-rust, and cargo clippy --workspace --all-targets -- -D warnings

**/*.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/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.rs
{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
**/*.{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/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/plugin.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • crates/core/src/observability/plugin_component.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/unit/observability/plugin_component_tests.rs
🔇 Additional comments (3)
crates/core/src/observability/plugin_component.rs (1)

1-1180: LGTM! Comprehensive observability plugin implementation.

The built-in observability component is well-structured:

  • ATIF filesystem I/O moved outside the dispatcher mutex (lines 681-706)
  • Completed agent state evicted after successful write (lines 578-590)
  • Config validation with policy-driven diagnostics
  • Per-agent ATIF isolation and safe template enforcement

The architecture cleanly separates validation, registration, and runtime wiring across ATOF/ATIF/OTLP sections.

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

47-47: LGTM! One-time built-in registration correctly implemented.

The OnceLock<Result<()>> gate ensures register_observability_component() runs exactly once, with clone_cached_plugin_error() reusing the stored result on subsequent calls. The entry-point calls at lines 793, 814, 837, and 999 ensure automatic registration before registry queries.

Also applies to: 733-756

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

1-606: LGTM! Comprehensive test coverage for observability plugin.

The test suite covers:

  • Default config and component conversion (lines 88-130)
  • Built-in auto-registration (lines 133-142)
  • Disabled sections producing no subscribers/files (lines 145-189)
  • Singleton validation and policy-driven diagnostics (lines 192-289)
  • ATOF JSONL and ATIF trajectory file generation (lines 323-524)
  • Agent state eviction after write (lines 417-487)
  • OTLP subscriber registration (lines 561-605)

Thorough validation and lifecycle coverage.

@willkill07
Copy link
Copy Markdown
Member Author

@mnajafian-nv i will address as a follow up separately due to being out of scope

@willkill07
Copy link
Copy Markdown
Member Author

/merge

@rapids-bot rapids-bot Bot merged commit 43db71b into NVIDIA:main May 12, 2026
58 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:go PR changes/introduces Go code lang:js PR changes/introduces Javascript/Typescript code lang:python PR changes/introduces Python code lang:rust PR changes/introduces Rust code size:XL PR is extra large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants