Description
Description
When running `openclaw channels add telegram` or `openclaw channels remove telegram` inside the sandbox, the expected .bashrc guard does not exist. Instead of intercepting the command and displaying a host-side hint ("Run `nemoclaw channels add telegram` on the host"), openclaw directly processes the command and fails with "too many arguments for 'add'. Expected 0 arguments but got 1." The read-only `openclaw channels list` works correctly (EXIT=0).
Environment
Device: Linux automation runner (nemoclaw-automation-06) + macOS local
OS: Ubuntu 22.04 (CI) / macOS 26.0.1 (local)
Architecture: x86_64 (CI) / arm64 (local)
Node.js: v22.22.2 (CI) / v22.22.1 (local)
npm: 10.9.7 (CI) / 10.9.4 (local)
Docker: 29.4.1 (CI) / 29.2.1 (local)
OpenShell CLI: openshell 0.0.36
NemoClaw: v0.0.28
OpenClaw: 2026.4.9 (0512059)
Steps to Reproduce
1. Install NemoClaw v0.0.28 and onboard a sandbox
2. SSH into the sandbox
3. Run: source /sandbox/.bashrc 2>/dev/null; openclaw channels add telegram 2>&1; echo "EXIT=$?"
4. Run: source /sandbox/.bashrc 2>/dev/null; openclaw channels remove telegram 2>&1; echo "EXIT=$?"
5. Run: source /sandbox/.bashrc 2>/dev/null; openclaw channels list 2>&1; echo "EXIT=$?"
Expected Result
Steps 3-4: Guard in .bashrc intercepts the command, exits non-zero, and prints:
"Run `nemoclaw channels add telegram` on the host"
Step 5: `channels list` is allowed (read-only) and exits 0.
Actual Result
Step 3:
(node:81795) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental...
error: too many arguments for 'add'. Expected 0 arguments but got 1.
EXIT=1
Step 4:
error: too many arguments for 'remove'. Expected 0 arguments but got 1.
EXIT=1
Step 5:
Chat channels:
- Slack default: configured, bot=config, app=config, enabled
EXIT=0 (correct)
No guard exists in /sandbox/.bashrc. No host-side hint is shown for add/remove.
Logs
CI job: https://gitlab-master.nvidia.com/cloud-service-qa/nemoclaw/nemoclaw-test/-/jobs/305515692
Related test case: T5969541
Affected since: v0.0.27
Bug Details
| Field |
Value |
| Priority |
Unprioritized |
| Action |
Dev - Open - To fix |
| Disposition |
Open issue |
| Module |
Machine Learning - NemoClaw |
| Keyword |
NemoClaw, NemoClaw_Agent&Skills, NemoClaw_CLI&UX, NEMOCLAW_GH_SYNC_APPROVAL |
[NVB#6121592]
Description
Description
When running `openclaw channels add telegram` or `openclaw channels remove telegram` inside the sandbox, the expected .bashrc guard does not exist. Instead of intercepting the command and displaying a host-side hint ("Run `nemoclaw channels add telegram` on the host"), openclaw directly processes the command and fails with "too many arguments for 'add'. Expected 0 arguments but got 1." The read-only `openclaw channels list` works correctly (EXIT=0).Environment Steps to Reproduce Expected Result Actual Result LogsBug Details
[NVB#6121592]