Skip to content

fix(plugin): route registration banner to stderr - #6480

Merged
cv merged 3 commits into
mainfrom
codex/issue-5654-banner-stderr
Jul 8, 2026
Merged

cv merged 3 commits into
mainfrom
codex/issue-5654-banner-stderr

Conversation

@cv

@cv cv commented Jul 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Routes the in-sandbox NemoClaw registration banner to stderr so non-JSON agent output on stdout remains machine-readable.
This is a current-main, GitHub-verified replacement for #5674 that preserves the contributor's original authorship.

Related Issue

Fixes #5654.

Changes

  • Write the plugin registration banner directly to stderr instead of plugin info logs.
  • Cover banner routing, live model rendering, mock restoration, and the non-JSON passthrough stream boundary.
  • Document the agent command's stdout/stderr contract.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification:
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification:
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Verification

  • PR description includes the DCO sign-off declaration and every commit appears as Verified in GitHub
  • Normal pre-commit, commit-msg, and pre-push hooks passed, or npm run check:diff passed when hooks were skipped or unavailable
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — command/result or justification: npm --prefix nemoclaw test -- src/register.test.ts passed 24/24; npx vitest run --project cli src/lib/actions/sandbox/agent/passthrough.test.ts passed 38/38; plugin and CLI builds passed.
  • Applicable broad gate passed — npm test for broad runtime/test-harness changes; npm run check for repo-wide validation/coverage changes — command/result:
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

npm run docs passed with zero errors and two pre-existing Fern warnings.


Signed-off-by: Carlos Villela [email protected]

Summary by CodeRabbit

  • Bug Fixes
    • Updated agent startup so the NemoClaw registration banner is emitted to standard error, avoiding interference with non-JSON agent replies on standard output.
  • Documentation
    • Refreshed the command reference to clarify where the banner appears during non-JSON runs.
  • Tests
    • Revised banner-related tests to capture and assert standard error output, and added coverage to ensure standard output remains clean for non-JSON replies.

Port the contributor patch onto current main with its original authorship.

Signed-off-by: WilliamK112 <[email protected]>
Signed-off-by: Carlos Villela <[email protected]>
@cv cv added NV QA Bugs found by the NVIDIA QA Team area: cli Command line interface, flags, terminal UX, or output bug-fix PR fixes a bug or regression v0.0.78 labels Jul 8, 2026
@cv cv self-assigned this Jul 8, 2026
@coderabbitai

coderabbitai Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 3bb953e7-f4ff-46ea-8657-0f9b4b98a695

📥 Commits

Reviewing files that changed from the base of the PR and between f252680 and 6b82a4d.

📒 Files selected for processing (1)
  • src/lib/actions/sandbox/agent/passthrough.test.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/lib/actions/sandbox/agent/passthrough.test.ts

📝 Walkthrough

Walkthrough

The NemoClaw registration banner now writes to stderr instead of the host logger. The registration tests and passthrough test assert the banner on stderr, and the reference docs note the output routing.

Changes

Banner output routing

Layer / File(s) Summary
Write banner directly to stderr
nemoclaw/src/index.ts, docs/reference/commands.mdx
Registration banner output switches to direct process.stderr.write calls, and the reference docs note the banner goes to stderr in non-JSON mode.
Update tests to assert stderr output
nemoclaw/src/register.test.ts
Adds stderr capture helpers and shared test hooks, then replaces logger-based banner checks with stderrOutput() assertions.
Verify agent passthrough stays clean
src/lib/actions/sandbox/agent/passthrough.test.ts
Adds a passthrough test that registers the plugin and checks the banner is written to stderr while the agent reply remains on stdout.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested labels: integration: openclaw

Suggested reviewers: jyaunches

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: routing the plugin registration banner to stderr.
Linked Issues check ✅ Passed The code and tests align with #5654 by sending the NemoClaw registration banner to stderr so stdout stays clean in non-JSON mode.
Out of Scope Changes check ✅ Passed The documentation and test updates support the stderr-routing fix and do not introduce unrelated scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/issue-5654-banner-stderr

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

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@github-code-quality

github-code-quality Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage in the codex/issue-5654-ban... branch is 96%. Coverage data for the main branch is not yet available.

Show a code coverage summary of the most covered files.
File main codex/issue-5654-ban... 6b82a4d +/-
nemoclaw/src/se...cret-scanner.ts — 100% —
nemoclaw/src/commands/slash.ts — 100% —
nemoclaw/src/li...bprocess-env.ts — 100% —
nemoclaw/src/bl...eprint/state.ts — 98% —
nemoclaw/src/onboard/config.ts — 98% —
nemoclaw/src/bl...int/snapshot.ts — 97% —
nemoclaw/src/bl...print/runner.ts — 95% —
nemoclaw/src/co...ration-state.ts — 94% —
nemoclaw/src/bl...ate-networks.ts — 94% —
nemoclaw/src/index.ts — 94% —

TypeScript / code-coverage/cli

The overall coverage in the codex/issue-5654-ban... branch is 76%. Coverage data for the main branch is not yet available.

Show a code coverage summary of the most covered files.
File main codex/issue-5654-ban... 6b82a4d +/-
src/lib/onboard/preflight.ts — 82% —
src/lib/state/o...oard-session.ts — 82% —
src/lib/actions...all/run-plan.ts — 81% —
src/lib/actions...licy-channel.ts — 79% —
src/lib/actions...box/snapshot.ts — 79% —
src/lib/state/sandbox.ts — 75% —
src/lib/onboard...er-gpu-patch.ts — 69% —
src/lib/policy/index.ts — 65% —
src/lib/shields/index.ts — 60% —
src/lib/onboard.ts — 28% —

Updated July 08, 2026 18:22 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@github-actions

github-actions Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Advisor (Nemotron Ultra) — No blocking findings

Merge posture: No blocking advisor findings
Primary next action: Consider PRA-1: Test file monolith growth — 555 lines (+60 this PR, +5 from new #5654 test).
Open items: 0 required · 0 warnings · 3 suggestions · 0 test follow-ups
Since last review: 0 prior items resolved · 2 still apply · 0 new items found

Action checklist

Findings index

ID Severity Category Location Required action
PRA-1 Improvement architecture src/lib/actions/sandbox/agent/passthrough.test.ts:1 No action required for current PR. Extract to focused test modules (e.g., json-path.test.ts, selector-validation.test.ts, hermes-dispatch.test.ts, registry-errors.test.ts, phase-shields.test.ts) when file exceeds ~600 lines or when a new cohesive group is added.
PRA-2 Improvement architecture nemoclaw/src/register.test.ts:25 Acceptable for current scope. If register.test.ts grows further, split secret-scanner hook tests into nemoclaw/src/secret-scanner.test.ts (24 tests) leaving register.test.ts for plugin registration.
PRA-3 Improvement correctness nemoclaw/src/register.test.ts:89 Flatten by removing the describe('plugin registration', ...) wrapper and promoting its tests to the top-level describe.
Review findings by urgency: 0 required fixes, 0 items to resolve/justify, 3 in-scope improvements

⚠️ Resolve or justify before merge

Investigate these in the current review; either fix them, explain why they are not applicable, or document the accepted risk.

  • None.

💡 In-scope improvements

These are lower-risk, not throwaway. Prefer fixing them in this PR when they are local to changed code; defer only with rationale or a linked follow-up.

PRA-1 Improvement — Test file monolith growth — 555 lines (+60 this PR, +5 from new #5654 test)

  • Location: src/lib/actions/sandbox/agent/passthrough.test.ts:1
  • Category: architecture
  • Problem: File exceeded 20-line growth threshold in previous review (550 lines, +55). Now at 555 lines. Cohesive test groups (JSON path, selector validation, Hermes/DeepAgents dispatch, registry errors, phase/shields checks) could be extracted to focused modules under src/lib/actions/sandbox/agent/ if growth continues.
  • Impact: Maintainability risk if file continues growing without modularization. Current test additions are justified and well-scoped.
  • Suggested action: No action required for current PR. Extract to focused test modules (e.g., json-path.test.ts, selector-validation.test.ts, hermes-dispatch.test.ts, registry-errors.test.ts, phase-shields.test.ts) when file exceeds ~600 lines or when a new cohesive group is added.
  • Expected follow-up: Prefer a current-PR fix when local to changed code; defer only with rationale or linked follow-up.
  • Verification: wc -l src/lib/actions/sandbox/agent/passthrough.test.ts
  • Missing regression test: N/A — architectural observation, not a test gap
  • Done when: The local improvement is applied, or the PR notes why it should be deferred.
  • Evidence: Monolith delta: baseLines=495, headLines=555, delta=60, severity=blocker threshold (20+). New test 'keeps a non-JSON agent reply isolated from the plugin banner ([Ubuntu 26.04][CLI&UX] nemoclaw <name> agent writes "[plugins] NemoClaw registered" init box to stdout in non-json mode, polluting piped output #5654)' is the only behavioral addition.

PRA-2 Improvement — Test restructuring adds 15 lines to 438-line file — consider splitting secret-scanner tests

  • Location: nemoclaw/src/register.test.ts:25
  • Category: architecture
  • Problem: Test restructuring moved beforeEach/afterEach to top level and added stderr spy helpers (mockStderrWrite, stderrOutput). Clean improvement but file at warning threshold (438 lines, +15 delta).
  • Impact: Minor maintainability concern if growth continues. Current restructuring improves test clarity and reduces duplication.
  • Suggested action: Acceptable for current scope. If register.test.ts grows further, split secret-scanner hook tests into nemoclaw/src/secret-scanner.test.ts (24 tests) leaving register.test.ts for plugin registration.
  • Expected follow-up: Prefer a current-PR fix when local to changed code; defer only with rationale or linked follow-up.
  • Verification: wc -l nemoclaw/src/register.test.ts
  • Missing regression test: N/A — test infrastructure improvement
  • Done when: The local improvement is applied, or the PR notes why it should be deferred.
  • Evidence: Monolith delta: baseLines=423, headLines=438, delta=15, severity=warning threshold (1-19). New helper functions: mockStderrWrite() and stderrOutput().

PRA-3 Improvement — Unnecessary describe wrapper around single test group

  • Location: nemoclaw/src/register.test.ts:89
  • Category: correctness
  • Problem: The 'plugin registration' describe block at line 89 wraps a single test group. Flattening would reduce nesting without losing clarity.
  • Impact: Minor readability debt; extra nesting level with no grouping benefit.
  • Suggested action: Flatten by removing the describe('plugin registration', ...) wrapper and promoting its tests to the top-level describe.
  • Expected follow-up: Prefer a current-PR fix when local to changed code; defer only with rationale or linked follow-up.
  • Verification: Check nemoclaw/src/register.test.ts:89 — describe('plugin registration', ...) has no sibling describe blocks
  • Missing regression test: N/A — simplification only
  • Done when: The local improvement is applied, or the PR notes why it should be deferred.
  • Evidence: Only one describe block at top level; no parallel describe groups exist that would need grouping.
Simplification opportunities: 3 possible cuts, net -4 lines possible

These are safe simplification checks only. Do not remove validation, security controls, data-loss prevention, or required tests.

  • PRA-1 shrink (src/lib/actions/sandbox/agent/passthrough.test.ts:1): Extract cohesive test groups (JSON path, selector validation, Hermes/DeepAgents dispatch, registry errors, phase/shields checks) into separate test files
    • Replacement: Multiple focused test files under src/lib/actions/sandbox/agent/ with shared fixtures/helpers
    • Net: 0 lines
    • Safety boundary: All existing tests must pass; no behavior change. Security tests (selector validation, registry fail-closed, phase checks) must remain in same repo.
  • PRA-2 shrink (nemoclaw/src/register.test.ts:25): Split secret-scanner hook tests (24 tests) into nemoclaw/src/secret-scanner.test.ts
    • Replacement: Two focused test files: register.test.ts (plugin registration) + secret-scanner.test.ts (before_tool_call hook)
    • Net: 0 lines
    • Safety boundary: All 24 secret-scanner tests must continue passing; no behavior change.
  • PRA-3 shrink (nemoclaw/src/register.test.ts:89): describe('plugin registration', () => { ... }) wrapper
    • Replacement: Promote its 8 tests directly under the file's top-level describe
    • Net: -4 lines
    • Safety boundary: All 8 tests must continue passing; no behavior change.
Since last review details

Current findings, using the urgency labels above:

PRA-1 Improvement — Test file monolith growth — 555 lines (+60 this PR, +5 from new #5654 test)

  • Location: src/lib/actions/sandbox/agent/passthrough.test.ts:1
  • Category: architecture
  • Problem: File exceeded 20-line growth threshold in previous review (550 lines, +55). Now at 555 lines. Cohesive test groups (JSON path, selector validation, Hermes/DeepAgents dispatch, registry errors, phase/shields checks) could be extracted to focused modules under src/lib/actions/sandbox/agent/ if growth continues.
  • Impact: Maintainability risk if file continues growing without modularization. Current test additions are justified and well-scoped.
  • Suggested action: No action required for current PR. Extract to focused test modules (e.g., json-path.test.ts, selector-validation.test.ts, hermes-dispatch.test.ts, registry-errors.test.ts, phase-shields.test.ts) when file exceeds ~600 lines or when a new cohesive group is added.
  • Expected follow-up: Prefer a current-PR fix when local to changed code; defer only with rationale or linked follow-up.
  • Verification: wc -l src/lib/actions/sandbox/agent/passthrough.test.ts
  • Missing regression test: N/A — architectural observation, not a test gap
  • Done when: The local improvement is applied, or the PR notes why it should be deferred.
  • Evidence: Monolith delta: baseLines=495, headLines=555, delta=60, severity=blocker threshold (20+). New test 'keeps a non-JSON agent reply isolated from the plugin banner ([Ubuntu 26.04][CLI&UX] nemoclaw <name> agent writes "[plugins] NemoClaw registered" init box to stdout in non-json mode, polluting piped output #5654)' is the only behavioral addition.

PRA-2 Improvement — Test restructuring adds 15 lines to 438-line file — consider splitting secret-scanner tests

  • Location: nemoclaw/src/register.test.ts:25
  • Category: architecture
  • Problem: Test restructuring moved beforeEach/afterEach to top level and added stderr spy helpers (mockStderrWrite, stderrOutput). Clean improvement but file at warning threshold (438 lines, +15 delta).
  • Impact: Minor maintainability concern if growth continues. Current restructuring improves test clarity and reduces duplication.
  • Suggested action: Acceptable for current scope. If register.test.ts grows further, split secret-scanner hook tests into nemoclaw/src/secret-scanner.test.ts (24 tests) leaving register.test.ts for plugin registration.
  • Expected follow-up: Prefer a current-PR fix when local to changed code; defer only with rationale or linked follow-up.
  • Verification: wc -l nemoclaw/src/register.test.ts
  • Missing regression test: N/A — test infrastructure improvement
  • Done when: The local improvement is applied, or the PR notes why it should be deferred.
  • Evidence: Monolith delta: baseLines=423, headLines=438, delta=15, severity=warning threshold (1-19). New helper functions: mockStderrWrite() and stderrOutput().

PRA-3 Improvement — Unnecessary describe wrapper around single test group

  • Location: nemoclaw/src/register.test.ts:89
  • Category: correctness
  • Problem: The 'plugin registration' describe block at line 89 wraps a single test group. Flattening would reduce nesting without losing clarity.
  • Impact: Minor readability debt; extra nesting level with no grouping benefit.
  • Suggested action: Flatten by removing the describe('plugin registration', ...) wrapper and promoting its tests to the top-level describe.
  • Expected follow-up: Prefer a current-PR fix when local to changed code; defer only with rationale or linked follow-up.
  • Verification: Check nemoclaw/src/register.test.ts:89 — describe('plugin registration', ...) has no sibling describe blocks
  • Missing regression test: N/A — simplification only
  • Done when: The local improvement is applied, or the PR notes why it should be deferred.
  • Evidence: Only one describe block at top level; no parallel describe groups exist that would need grouping.

Workflow run details

This is an automated, non-binding review; it still expects maintainers and agents to respond to each required or warning item. Treat suggestions as current-PR improvements when they touch changed code; defer only with maintainer rationale or a linked follow-up. A human maintainer must make the final merge decision.

@github-actions

github-actions Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Advisor — No blocking findings

Merge posture: No blocking advisor findings
Primary next action: Add or justify PRA-T1 and any related test follow-ups.
Open items: 0 required · 0 warnings · 0 suggestions · 1 test follow-up
Since last review: 1 prior item resolved · 0 still apply · 0 new items found

Action checklist

  • PRA-T1 Add or justify test follow-up: Runtime validation
Test follow-ups to resolve or justify

If these cover changed behavior, prefer adding them in this PR; otherwise state why existing coverage is enough or link the follow-up.

  • PRA-T1 Runtime validation — Run or identify a targeted runtime check with a Ready OpenClaw sandbox: `nemoclaw <name> agent --agent main -m "Reply with exactly: ack" </dev/null >out 2>err`, then assert `out` contains only the reply and `err` contains `NemoClaw registered`.. The source change and unit tests are well targeted, but the reported bug crossed an OpenClaw/OpenShell process stream boundary. A real runtime check would add confidence that inherited stdio behaves the same outside the mocked seam.

Workflow run details

This is an automated, non-binding review; it still expects maintainers and agents to respond to each required or warning item. Treat suggestions as current-PR improvements when they touch changed code; defer only with maintainer rationale or a linked follow-up. A human maintainer must make the final merge decision.

@github-actions

github-actions Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

E2E Advisor Recommendation

Required E2E: sandbox-operations
Optional E2E: sessions-agents-cli

Dispatch hint: sandbox-operations

Workflow run

Full advisor summary

E2E Recommendation Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required E2E

  • sandbox-operations (high): Required because the PR changes OpenClaw plugin runtime output behavior that can affect real assistant command streams. This existing live E2E onboards an OpenClaw sandbox and exercises nemoclaw <sandbox> agent --json through the host wrapper, validating the closest existing stdout/stderr and inference-path contract.

Optional E2E

  • sessions-agents-cli (high): Optional adjacent confidence for OpenClaw sessions/agents gateway behavior after live onboarding. It exercises real agent turns and JSON-envelope parsing, but it does not directly assert the non-JSON nemoclaw <sandbox> agent stdout/banner separation introduced by this PR.

New E2E recommendations

  • Host agent passthrough stdout/stderr separation (high): No existing live E2E appears to directly run nemoclaw <sandbox> agent --agent main -m ... in non-JSON mode and assert that the assistant reply is the only stdout content while the NemoClaw plugin registration banner is on stderr. The PR adds unit coverage for this but live sandbox coverage would guard the real OpenShell/OpenClaw stream boundary.
    • Suggested test: Add a live E2E case, preferably under sandbox-operations or a focused agent-passthrough target, that onboards an OpenClaw sandbox, runs nemoclaw <name> agent --agent main -m 'Reply with exactly: ACK', asserts stdout contains the reply and not NemoClaw registered, and asserts stderr may contain the registration banner.

Dispatch hint

  • Workflow: .github/workflows/e2e.yaml
  • jobs input: sandbox-operations

@github-actions

github-actions Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

E2E Target Recommendation

Required E2E targets: ubuntu-repo-cloud-openclaw
Optional E2E targets: None

Dispatch required E2E targets:

  • gh workflow run e2e.yaml --ref <pr-head-ref> --field targets=ubuntu-repo-cloud-openclaw

Workflow run

Full E2E target advisor summary

E2E Target Advisor

Base: origin/main
Head: HEAD
Confidence: medium

Required E2E targets

  • ubuntu-repo-cloud-openclaw: The PR changes the in-sandbox NemoClaw OpenClaw plugin registration banner emission from plugin info logs to stderr. The live-supported Ubuntu repo Docker OpenClaw target is the smallest typed target that onboards a real OpenClaw sandbox from the repo build and exercises the OpenClaw runtime/inference surface that can be affected by stdout/stderr contamination.
    • Dispatch: gh workflow run e2e.yaml --ref <pr-head-ref> --field targets=ubuntu-repo-cloud-openclaw

Optional E2E targets

  • None.

Relevant changed files

  • nemoclaw/src/index.ts

cv added 2 commits July 8, 2026 11:06
Exercise plugin registration through the normal agent passthrough.

Consolidate shared stderr test setup.

Signed-off-by: Carlos Villela <[email protected]>
Mock onboard configuration so the passthrough regression cannot read or create user state.

Signed-off-by: Carlos Villela <[email protected]>
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

E2E Target Results — ❌ Some jobs failed

Run: 28965603331
Workflow ref: codex/issue-5654-banner-stderr
Requested targets: (selector rejected by workflow validation)
Requested jobs: (selector rejected by workflow validation)
Summary: 0 passed, 1 failed, 0 cancelled, 0 skipped

Job Result
generate-matrix ❌ failure

Failed jobs: generate-matrix. Check run artifacts for logs.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

E2E Target Results — ✅ All selected jobs passed

Run: 28965671217
Workflow ref: codex/issue-5654-banner-stderr
Requested targets: ubuntu-repo-cloud-openclaw
Requested jobs: (default — all default-enabled free-standing jobs; explicit-only jobs openshell-gateway-auth-contract, mcp-bridge-dev, hermes-gpu-startup, sandbox-rlimits-connect, and jetson-nvmap-gpu are skipped unless selected)
Summary: 1 passed, 0 failed, 0 cancelled, 0 skipped

Job Result
live ✅ success

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

E2E Target Results — ✅ All requested jobs passed

Run: 28965671212
Workflow ref: codex/issue-5654-banner-stderr
Requested targets: (default — all supported)
Requested jobs: sandbox-operations
Summary: 1 passed, 0 failed, 0 cancelled, 0 skipped

Job Result
sandbox-operations ✅ success

@cjagwani cjagwani left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved 6b82a4d: banner output is isolated to stderr, the normal passthrough stdout contract is covered across the plugin boundary, commits are verified/DCO-clean, and both advisors recommend merge as-is.

@cv
cv merged commit f400489 into main Jul 8, 2026
277 of 278 checks passed
@cv
cv deleted the codex/issue-5654-banner-stderr branch July 8, 2026 18:28
@cjagwani cjagwani mentioned this pull request Jul 9, 2026
9 of 21 tasks
cv pushed a commit that referenced this pull request Jul 9, 2026
<!-- markdownlint-disable MD041 -->
## Summary

Prepares the user documentation for NemoClaw v0.0.78 by replacing the
unreleased section with release highlights and synchronizing the
affected inference, lifecycle, messaging, and CLI reference pages with
merged behavior.

## Changes

- Publish the v0.0.78 release-notes section with links to the most
specific user guides for each shipped behavior.
- Document authoritative Deep Agents route health, Nemotron Ultra
profile behavior, and Hermes compatible-endpoint context metadata.
- Document forced rebuild recovery after total backup failure and the
ownership-safe tunnel/full-stop behavior.
- Keep command examples and shared agent variants aligned with the
current OpenClaw, Hermes, and Deep Agents interfaces.

Source mapping:

- [#3787](#3787) ->
`docs/about/release-notes.mdx`: Record reliable workspace template
seeding during sandbox startup.
- [#4960](#4960) ->
`docs/about/release-notes.mdx`: Record safer detection of rewritten
OpenClaw gateway processes.
- [#5676](#5676) ->
`docs/about/release-notes.mdx`: Record warning-tolerant agent-list JSON
handling.
- [#5857](#5857) ->
`docs/about/release-notes.mdx`: Record synchronization of explicit
OpenClaw main-agent model state.
- [#5929](#5929) ->
`docs/about/release-notes.mdx`: Record copyable SSH port-forward
guidance for remote dashboards.
- [#6068](#6068) ->
`docs/about/release-notes.mdx`: Record custom-image plugin provenance
reconciliation.
- [#6116](#6116) ->
`docs/about/release-notes.mdx`: Record live-loopback dashboard-forward
recovery.
- [#6122](#6122) ->
`docs/about/release-notes.mdx`: Announce validated, round-trippable
policy YAML output.
- [#6211](#6211) ->
`docs/manage-sandboxes/lifecycle.mdx`, `docs/reference/commands.mdx`,
`docs/about/release-notes.mdx`: Explain the explicit no-backup `rebuild
--force` recovery boundary.
- [#6283](#6283) ->
`docs/about/release-notes.mdx`: Record Hermes WebUI port alignment.
- [#6293](#6293) ->
`docs/inference/switch-inference-providers.mdx`,
`docs/about/release-notes.mdx`: Document compatible-endpoint
context-length probing for Hermes.
- [#6320](#6320) ->
`docs/about/release-notes.mdx`: Record bounded gateway-recovery waits.
- [#6377](#6377) ->
`docs/reference/commands.mdx`, `docs/about/release-notes.mdx`: Explain
rebuild diagnostics and prepared MCP-destroy recovery.
- [#6412](#6412) ->
`docs/get-started/quickstart-langchain-deepagents-code.mdx`,
`docs/about/release-notes.mdx`: Document authoritative agent-visible
inference route health.
- [#6421](#6421) ->
`docs/about/release-notes.mdx`: Record the longer quiet-pull window for
managed vLLM images.
- [#6431](#6431) ->
`docs/inference/model-capability-audit.mdx`,
`docs/about/release-notes.mdx`: Document the version-pinned Nemotron
Ultra profile plugin.
- [#6439](#6439) ->
`docs/about/release-notes.mdx`: Summarize the authenticated, pinned
credential-capture helper boundary.
- [#6450](#6450) ->
`docs/manage-sandboxes/messaging-channels.mdx`,
`docs/reference/commands.mdx`, `docs/about/release-notes.mdx`: Document
host-forward cleanup and ownership-safe gateway-port release.
- [#6474](#6474) ->
`docs/manage-sandboxes/messaging-channels.mdx`,
`docs/about/release-notes.mdx`: Record composable OpenClaw messaging
runtime loaders.
- [#6475](#6475) ->
`docs/about/release-notes.mdx`: Record removal of the unavailable Kimi
K2.6 production endpoint option.
- [#6480](#6480) ->
`docs/about/release-notes.mdx`: Record stderr routing for the plugin
registration banner.
- [#6481](#6481) ->
`docs/about/release-notes.mdx`: Record post-pull Ollama model discovery
checks.
- [#6482](#6482) ->
`docs/about/release-notes.mdx`: Record Ollama model warm-up after daemon
restart.
- [#6486](#6486) ->
`docs/about/release-notes.mdx`: Publish the opt-in, thread-scoped Deep
Agents auto-approval boundary.
- [#6490](#6490) ->
`docs/about/release-notes.mdx`: Record diagnostics for custom images
missing the managed runtime.
- [#6494](#6494) ->
`docs/inference/model-capability-audit.mdx`,
`docs/about/release-notes.mdx`: Document nonempty tool-call content
preservation and placeholder rejection.
- [#6497](#6497) ->
`docs/get-started/quickstart-langchain-deepagents-code.mdx`,
`docs/about/release-notes.mdx`: Document isolated Deep Agents
route-probe output.
- [#6506](#6506) ->
`docs/get-started/quickstart-langchain-deepagents-code.mdx`,
`docs/about/release-notes.mdx`: Document observability-preserving
managed route probes.
- [#6508](#6508) ->
`docs/about/release-notes.mdx`: Link the new extension taxonomy and
SDK-readiness reference from the release summary.

Release-source verification: GitHub reports all 29 cited source PRs as
merged with base `main`, and every merge commit is an ancestor of
`origin/main` at `17bf9a6a9688b3b1d69cf4b37d3f23110acb055e`. No
source-mapping mismatches were found.

## Type of Change

- [ ] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [x] Doc only (includes code sample changes)

## Quality Gates

<!-- Check exactly one tests line and one docs line. Check other lines
when applicable. Add every requested justification or approval
reference. -->
- [ ] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [x] Tests not applicable — justification: Documentation-only
release-prep changes; `npm run docs` validates variants, routes, and
Fern content.
- [x] Docs updated for user-facing behavior changes
- [ ] Docs not applicable — justification:
- [ ] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [ ] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification:
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Verification

<!-- Check each applicable item only when supported by the requested
evidence. Run targeted tests once per relevant change set and rerun
after later edits or hook autofixes that can affect the tested behavior.
Do not rerun hook-covered checks. -->
- [x] PR description includes the DCO sign-off declaration and every
commit appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run check:diff` passed when hooks were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — command/result or justification: Tests
are not applicable to this documentation-only change set.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result:
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only) — exited
0 with zero errors; Fern reported the existing unauthenticated
redirect-check and light-mode contrast warnings.
- [x] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

---
<!-- DCO sign-off is required in this PR description, and every commit
must appear as Verified in GitHub. Run: git config user.name && git
config user.email -->
Signed-off-by: Charan Jagwani <[email protected]>

---------

Signed-off-by: cjagwani <[email protected]>
Hadar301 pushed a commit to Hadar301/NemoClaw-OpenShift that referenced this pull request Jul 12, 2026
<!-- markdownlint-disable MD041 -->
## Summary
Routes the in-sandbox NemoClaw registration banner to `stderr` so
non-JSON agent output on `stdout` remains machine-readable.
This is a current-main, GitHub-verified replacement for NVIDIA#5674 that
preserves the contributor's original authorship.

## Related Issue
Fixes NVIDIA#5654.

## Changes
- Write the plugin registration banner directly to `stderr` instead of
plugin info logs.
- Cover banner routing, live model rendering, mock restoration, and the
non-JSON passthrough stream boundary.
- Document the agent command's stdout/stderr contract.

## Type of Change

- [ ] Code change (feature, bug fix, or refactor)
- [x] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates
<!-- Check exactly one tests line and one docs line. Check other lines
when applicable. Add every requested justification or approval
reference. -->
- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [x] Docs updated for user-facing behavior changes
- [ ] Docs not applicable — justification:
- [ ] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [ ] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification:
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Verification
<!-- Check each applicable item only when supported by the requested
evidence. Run targeted tests once per relevant change set and rerun
after later edits or hook autofixes that can affect the tested behavior.
Do not rerun hook-covered checks. -->
- [x] PR description includes the DCO sign-off declaration and every
commit appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run check:diff` passed when hooks were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — command/result or justification: `npm
--prefix nemoclaw test -- src/register.test.ts` passed 24/24; `npx
vitest run --project cli
src/lib/actions/sandbox/agent/passthrough.test.ts` passed 38/38; plugin
and CLI builds passed.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result:
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only)
- [x] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

`npm run docs` passed with zero errors and two pre-existing Fern
warnings.

---
<!-- DCO sign-off is required in this PR description, and every commit
must appear as Verified in GitHub. Run: git config user.name && git
config user.email -->
Signed-off-by: Carlos Villela <[email protected]>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Updated agent startup so the NemoClaw registration banner is emitted
to standard error, avoiding interference with non-JSON agent replies on
standard output.
* **Documentation**
* Refreshed the command reference to clarify where the banner appears
during non-JSON runs.
* **Tests**
* Revised banner-related tests to capture and assert standard error
output, and added coverage to ensure standard output remains clean for
non-JSON replies.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: WilliamK112 <[email protected]>
Signed-off-by: Carlos Villela <[email protected]>
Co-authored-by: WilliamK112 <[email protected]>
Hadar301 pushed a commit to Hadar301/NemoClaw-OpenShift that referenced this pull request Jul 12, 2026
<!-- markdownlint-disable MD041 -->
## Summary

Prepares the user documentation for NemoClaw v0.0.78 by replacing the
unreleased section with release highlights and synchronizing the
affected inference, lifecycle, messaging, and CLI reference pages with
merged behavior.

## Changes

- Publish the v0.0.78 release-notes section with links to the most
specific user guides for each shipped behavior.
- Document authoritative Deep Agents route health, Nemotron Ultra
profile behavior, and Hermes compatible-endpoint context metadata.
- Document forced rebuild recovery after total backup failure and the
ownership-safe tunnel/full-stop behavior.
- Keep command examples and shared agent variants aligned with the
current OpenClaw, Hermes, and Deep Agents interfaces.

Source mapping:

- [NVIDIA#3787](NVIDIA#3787) ->
`docs/about/release-notes.mdx`: Record reliable workspace template
seeding during sandbox startup.
- [NVIDIA#4960](NVIDIA#4960) ->
`docs/about/release-notes.mdx`: Record safer detection of rewritten
OpenClaw gateway processes.
- [NVIDIA#5676](NVIDIA#5676) ->
`docs/about/release-notes.mdx`: Record warning-tolerant agent-list JSON
handling.
- [NVIDIA#5857](NVIDIA#5857) ->
`docs/about/release-notes.mdx`: Record synchronization of explicit
OpenClaw main-agent model state.
- [NVIDIA#5929](NVIDIA#5929) ->
`docs/about/release-notes.mdx`: Record copyable SSH port-forward
guidance for remote dashboards.
- [NVIDIA#6068](NVIDIA#6068) ->
`docs/about/release-notes.mdx`: Record custom-image plugin provenance
reconciliation.
- [NVIDIA#6116](NVIDIA#6116) ->
`docs/about/release-notes.mdx`: Record live-loopback dashboard-forward
recovery.
- [NVIDIA#6122](NVIDIA#6122) ->
`docs/about/release-notes.mdx`: Announce validated, round-trippable
policy YAML output.
- [NVIDIA#6211](NVIDIA#6211) ->
`docs/manage-sandboxes/lifecycle.mdx`, `docs/reference/commands.mdx`,
`docs/about/release-notes.mdx`: Explain the explicit no-backup `rebuild
--force` recovery boundary.
- [NVIDIA#6283](NVIDIA#6283) ->
`docs/about/release-notes.mdx`: Record Hermes WebUI port alignment.
- [NVIDIA#6293](NVIDIA#6293) ->
`docs/inference/switch-inference-providers.mdx`,
`docs/about/release-notes.mdx`: Document compatible-endpoint
context-length probing for Hermes.
- [NVIDIA#6320](NVIDIA#6320) ->
`docs/about/release-notes.mdx`: Record bounded gateway-recovery waits.
- [NVIDIA#6377](NVIDIA#6377) ->
`docs/reference/commands.mdx`, `docs/about/release-notes.mdx`: Explain
rebuild diagnostics and prepared MCP-destroy recovery.
- [NVIDIA#6412](NVIDIA#6412) ->
`docs/get-started/quickstart-langchain-deepagents-code.mdx`,
`docs/about/release-notes.mdx`: Document authoritative agent-visible
inference route health.
- [NVIDIA#6421](NVIDIA#6421) ->
`docs/about/release-notes.mdx`: Record the longer quiet-pull window for
managed vLLM images.
- [NVIDIA#6431](NVIDIA#6431) ->
`docs/inference/model-capability-audit.mdx`,
`docs/about/release-notes.mdx`: Document the version-pinned Nemotron
Ultra profile plugin.
- [NVIDIA#6439](NVIDIA#6439) ->
`docs/about/release-notes.mdx`: Summarize the authenticated, pinned
credential-capture helper boundary.
- [NVIDIA#6450](NVIDIA#6450) ->
`docs/manage-sandboxes/messaging-channels.mdx`,
`docs/reference/commands.mdx`, `docs/about/release-notes.mdx`: Document
host-forward cleanup and ownership-safe gateway-port release.
- [NVIDIA#6474](NVIDIA#6474) ->
`docs/manage-sandboxes/messaging-channels.mdx`,
`docs/about/release-notes.mdx`: Record composable OpenClaw messaging
runtime loaders.
- [NVIDIA#6475](NVIDIA#6475) ->
`docs/about/release-notes.mdx`: Record removal of the unavailable Kimi
K2.6 production endpoint option.
- [NVIDIA#6480](NVIDIA#6480) ->
`docs/about/release-notes.mdx`: Record stderr routing for the plugin
registration banner.
- [NVIDIA#6481](NVIDIA#6481) ->
`docs/about/release-notes.mdx`: Record post-pull Ollama model discovery
checks.
- [NVIDIA#6482](NVIDIA#6482) ->
`docs/about/release-notes.mdx`: Record Ollama model warm-up after daemon
restart.
- [NVIDIA#6486](NVIDIA#6486) ->
`docs/about/release-notes.mdx`: Publish the opt-in, thread-scoped Deep
Agents auto-approval boundary.
- [NVIDIA#6490](NVIDIA#6490) ->
`docs/about/release-notes.mdx`: Record diagnostics for custom images
missing the managed runtime.
- [NVIDIA#6494](NVIDIA#6494) ->
`docs/inference/model-capability-audit.mdx`,
`docs/about/release-notes.mdx`: Document nonempty tool-call content
preservation and placeholder rejection.
- [NVIDIA#6497](NVIDIA#6497) ->
`docs/get-started/quickstart-langchain-deepagents-code.mdx`,
`docs/about/release-notes.mdx`: Document isolated Deep Agents
route-probe output.
- [NVIDIA#6506](NVIDIA#6506) ->
`docs/get-started/quickstart-langchain-deepagents-code.mdx`,
`docs/about/release-notes.mdx`: Document observability-preserving
managed route probes.
- [NVIDIA#6508](NVIDIA#6508) ->
`docs/about/release-notes.mdx`: Link the new extension taxonomy and
SDK-readiness reference from the release summary.

Release-source verification: GitHub reports all 29 cited source PRs as
merged with base `main`, and every merge commit is an ancestor of
`origin/main` at `17bf9a6a9688b3b1d69cf4b37d3f23110acb055e`. No
source-mapping mismatches were found.

## Type of Change

- [ ] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [x] Doc only (includes code sample changes)

## Quality Gates

<!-- Check exactly one tests line and one docs line. Check other lines
when applicable. Add every requested justification or approval
reference. -->
- [ ] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [x] Tests not applicable — justification: Documentation-only
release-prep changes; `npm run docs` validates variants, routes, and
Fern content.
- [x] Docs updated for user-facing behavior changes
- [ ] Docs not applicable — justification:
- [ ] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [ ] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification:
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Verification

<!-- Check each applicable item only when supported by the requested
evidence. Run targeted tests once per relevant change set and rerun
after later edits or hook autofixes that can affect the tested behavior.
Do not rerun hook-covered checks. -->
- [x] PR description includes the DCO sign-off declaration and every
commit appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run check:diff` passed when hooks were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — command/result or justification: Tests
are not applicable to this documentation-only change set.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result:
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only) — exited
0 with zero errors; Fern reported the existing unauthenticated
redirect-check and light-mode contrast warnings.
- [x] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

---
<!-- DCO sign-off is required in this PR description, and every commit
must appear as Verified in GitHub. Run: git config user.name && git
config user.email -->
Signed-off-by: Charan Jagwani <[email protected]>

---------

Signed-off-by: cjagwani <[email protected]>
prekshivyas added a commit that referenced this pull request Jul 24, 2026
…7322)

<!-- markdownlint-disable MD041 -->
## Summary
Tags every line of the NemoClaw plugin's registration banner with the
`[gateway] ` source prefix on `stderr`, matching the tag already carried
by other gateway log output. Previously the banner printed as raw,
untagged lines, so `nemoclaw <name> logs --follow` showed banner lines
with no indication of which source produced them.

## Related Issue
Fixes #7314

## Changes
- `nemoclaw/src/index.ts`: prefix each registration banner line written
to `stderr` with `[gateway] `, matching the tag already present on other
gateway log output. The banner still bypasses `api.logger` entirely
(unchanged) — routing it through `api.logger` was reverted by #6480
(fixing #5654) because it leaked banner text onto machine-readable
`stdout` during non-JSON agent passthrough; this change keeps that
stdout-isolation fix intact and only adds the tag at the existing
`stderr` write site. The bounding blank-spacer lines around the box stay
untagged.
- `nemoclaw/src/register.test.ts`: add a test asserting every non-blank
banner line written to `stderr` carries the `[gateway] ` prefix.

## Type of Change

- [x] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates
<!-- Check one tests line and one docs line. Check other lines when
applicable. Add every requested justification or approval reference. -->
- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [ ] Docs updated for user-facing behavior changes
- [x] Docs not applicable — justification: no doc page shows the
banner's raw log-output format or a `[gateway]`-tagged example line; the
`logs --follow` command reference itself is unchanged.
- [ ] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [ ] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification:
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Documentation Writer Review

- [x] Documentation writer subagent reviewed the completed changes
- Result: `docs-not-needed`
- Evidence: The registration banner remains on stderr; the diff only
adds a `[gateway]` source tag to diagnostic banner lines and changes no
documented command, configuration, or supported behavior.
- Agent: Codex Desktop
<!-- docs-review-head-sha: bc9d12f -->
<!-- docs-review-agents-blob-sha:
9c9b36d -->

## DGX Station Hardware Evidence
<!-- Required only when scripts/prepare-dgx-station-host.sh changes.
Maintainers must review the linked evidence before approving or merging.
This is human-reviewed evidence, not authenticated hardware provenance.
Exceptional bypasses use existing repository governance and must be
documented on the PR. -->
- [ ] Tested on DGX Station
- Tested commit:
- Station profile/scenario:
- Result:
- Supporting evidence:

## Verification
<!-- Check each applicable item only when supported by the requested
evidence. Run targeted tests once per relevant change set and rerun
after later edits or hook autofixes that can affect the tested behavior.
Do not rerun hook-covered checks. -->
- [x] PR description includes a `Signed-off-by:` line and every commit
appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run check:diff` passed when hooks were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — command/result or justification: `npm
test -- src/register.test.ts` (nemoclaw) 25/25; `npx vitest run
--project cli src/lib/actions/sandbox/agent/passthrough.test.ts` 38/38;
`npm test -- src/banner.test.ts` (nemoclaw) 3/3; `npm --prefix nemoclaw
run typecheck` clean.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result:
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only)
- [ ] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

---
Signed-off-by: Tinson Lai <[email protected]>

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Updated the startup/registration banner output to prefix every
non-empty stderr line with `[gateway]` for clearer source
identification.
* **Tests**
* Added an assertion to confirm the `[gateway]` prefix is present on
every non-empty registration banner line.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Tinson Lai <[email protected]>
Signed-off-by: Prekshi Vyas <[email protected]>
Co-authored-by: Prekshi Vyas <[email protected]>
Co-authored-by: Prekshi Vyas <[email protected]>
Co-authored-by: Carlos Villela <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli Command line interface, flags, terminal UX, or output bug-fix PR fixes a bug or regression NV QA Bugs found by the NVIDIA QA Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ubuntu 26.04][CLI&UX] nemoclaw <name> agent writes "[plugins] NemoClaw registered" init box to stdout in non-json mode, polluting piped output

3 participants