You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[All Platforms][CLI&UX] nemoclaw channels add without <channel> argument dumps raw stack trace instead of actionable usage hint #3719
Running `nemoclaw channels add` without specifying a channel name
(slack/telegram/discord) crashes with a full Node.js RequiredArgsError
stack trace instead of a concise "missing argument" message. The --help
output is also misleading: it shows `` at the end of the
description text rather than in the command syntax, making it look
optional.
Concise error message:
Missing required argument: channel (slack | telegram | discord)
Usage: nemoclaw channels add [--dry-run]
And --help should show the argument in the command syntax:
nemoclaw channels add Save messaging channel credentials and rebuild
Actual Result
Full stack trace dumped to terminal:
RequiredArgsError: Missing 1 required arg:
channel Messaging channel
See more help with --help
at validateArgs (.../parser/validate.js:84:19)
at validate (.../parser/validate.js:272:5)
...
(30+ lines of internal oclif/Node.js stack)
Additionally, --help output is misleading:
nemoclaw channels add Save messaging channel credentials and rebuild
The appears at the end of the description, not in the
command syntax column, making it look like part of the description
rather than a required positional argument.
Logs
Same issue affects all channels subcommands that require :
channels add, channels remove, channels stop, channels start
Already fixed on main. Re-verified on HEAD 4f9b74983 (v0.0.50 line) per #nemoclaw-situation-room direction to re-check pre-v0.0.50 bugs.
Root fix: #3635 (refactor(cli): align public dispatch with oclif conventions, merged 2026-05-19) — added RequiredArgsError to the friendly-formatting branch of isOclifParseError() in src/lib/cli/oclif-runner.ts. The user-friendly oclif help output now fires for missing-required-arg cases, replacing the raw stack trace.
Verification by regression test on main: test/cli.test.ts:2099-2109 locks the exact post-fix behavior for all four channels {add,remove,start,stop} subcommands:
This covers all 3 reported symptoms (concise error, no stack trace, correct USAGE format).
Sibling closed PR #3722 attempted the same fix on this issue's narrow path; it was superseded by the broader oclif-alignment refactor in #3635 which subsumes it.
Closing as fixed by #3635. Reopen if any channels add/remove/start/stop invocation still produces a stack trace on v0.0.50+ on a fresh install.
Activity
laitingsheng commentedon May 18, 2026
Duplicate of #3704
nvshaxie commentedon May 26, 2026
Already fixed on
main. Re-verified on HEAD4f9b74983(v0.0.50 line) per #nemoclaw-situation-room direction to re-check pre-v0.0.50 bugs.Root fix: #3635 (
refactor(cli): align public dispatch with oclif conventions, merged 2026-05-19) — addedRequiredArgsErrorto the friendly-formatting branch ofisOclifParseError()insrc/lib/cli/oclif-runner.ts. The user-friendly oclif help output now fires for missing-required-arg cases, replacing the raw stack trace.Verification by regression test on main:
test/cli.test.ts:2099-2109locks the exact post-fix behavior for all fourchannels {add,remove,start,stop}subcommands:This covers all 3 reported symptoms (concise error, no stack trace, correct USAGE format).
Sibling closed PR #3722 attempted the same fix on this issue's narrow path; it was superseded by the broader oclif-alignment refactor in #3635 which subsumes it.
Closing as fixed by #3635. Reopen if any
channels add/remove/start/stopinvocation still produces a stack trace on v0.0.50+ on a fresh install.PrachiShevate-nv commentedon May 27, 2026
Unable to reproduce the issue on v0.0.52. Closing the bug.
local-mercl@2u2g-gen-0690:~$ nemoclaw my-assistant channels add
› Error: Missing 1 required arg:
› channel Messaging channel
› See more help with --help
USAGE
$ nemoclaw sandbox channels add [--dry-run]
ARGUMENTS
SANDBOXNAME Sandbox name
CHANNEL Messaging channel
FLAGS
-h, --help Show CLI help.
--dry-run Preview the change without applying it
Or use -h
local-mercl@2u2g-gen-0690:~$ nemoclaw my-assistant channels add -h
Save messaging channel credentials and rebuild
USAGE
$ nemoclaw sandbox channels add [--dry-run]
ARGUMENTS
SANDBOXNAME Sandbox name
CHANNEL Messaging channel
FLAGS
-h, --help Show CLI help.
--dry-run Preview the change without applying it
DESCRIPTION
Save messaging channel credentials and rebuild
Store credentials for a messaging channel and queue a sandbox rebuild.
EXAMPLES
$ nemoclaw sandbox channels add alpha telegram
local-mercl@2u2g-gen-0690:~$