Skip to content

feat(core): add inspection adapter poc#287

Draft
afourniernv wants to merge 1 commit into
NVIDIA:mainfrom
afourniernv:feat-openshell-inspection-poc
Draft

feat(core): add inspection adapter poc#287
afourniernv wants to merge 1 commit into
NVIDIA:mainfrom
afourniernv:feat-openshell-inspection-poc

Conversation

@afourniernv

Copy link
Copy Markdown
Collaborator

Summary

Add a small internal inspection adapter POC in NeMo Relay that maps LLM and tool interception flows into a shared allow/deny/mutate decision model. This is intended as a loose-coupling exploration alongside OpenShell runtime-boundary inspection, not a hard OpenShell integration.

Related Issue

Changes

  • Add a minimal inspection adapter module in crates/core/src/inspection.rs
  • Export the adapter from crates/core/src/lib.rs
  • Add focused unit tests for LLM/tool allow, deny, and mutate behavior

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Local validation run:

  • cargo test -p nemo-relay relay_inspection_adapter -- --nocapture

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

@copy-pr-bot

copy-pr-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 0baf83b5-7c47-4e9d-8301-43468808c421

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

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

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

@github-actions github-actions Bot added size:M PR is medium Feature a new feature lang:rust PR changes/introduces Rust code labels Jun 22, 2026
@afourniernv afourniernv added the DO NOT MERGE PR should not be merged; see PR for details label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO NOT MERGE PR should not be merged; see PR for details Feature a new feature lang:rust PR changes/introduces Rust code size:M PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant