Repository navigation
Description
Warning
Regression — worked in v0.0.111, broken in v0.0.113.
Description
In NemoClaw v0.0.113, Discord and Slack messaging bridges fail to start after successful wizard enrollment and sandbox rebuild. The OpenShell provider credentials (DISCORD_BOT_TOKEN, SLACK_BOT_TOKEN, SLACK_APP_TOKEN) are stored in the gateway bridge provider but are never injected into the sandbox container runtime environment. The sandbox proxy returns HTTP 500 "Credential placeholder could not be resolved" on every bridge API call. Both OpenClaw and NemoHermes agents are affected.
Platform scope: Fails on Linux (Ubuntu 22.04, Ubuntu 24.04, Ubuntu 26.04 x86_64; DGX Spark aarch64). macOS could not be tested in v0.0.113 due to a separate onboard blocker.
Regression: Yes — Discord and Slack bridges connected successfully in v0.0.111; v0.0.113 broke credential injection.
OpenShell issue: No
Environment
Device: Multiple Linux x86_64 servers + DGX Spark aarch64
OS: Ubuntu 22.04, Ubuntu 24.04, Ubuntu 26.04; DGX Spark Ubuntu 24.04 aarch64
Architecture: x86_64 and aarch64
Node.js: v22.23.2
npm: 10.9.8
Docker: Docker CE 29.x
OpenShell CLI: 0.0.101
NemoClaw: v0.0.113
OpenClaw: 2026.7.x
Steps to Reproduce
- Install NemoClaw v0.0.113 and onboard any sandbox (OpenClaw or NemoHermes).
- Add Discord channel:
nemoclaw {sandbox} channels add discordEnter Discord bot token and server ID when prompted. Confirm sandbox rebuild succeeds.
3. Check bridge status: nemoclaw {sandbox} logs | grep -i discord
4. Repeat with Slack: nemoclaw {sandbox} channels add slack (enter xoxb and xapp tokens).
5. Check: docker exec {container} printenv | grep DISCORD or grep SLACK
Expected Result
After wizard and rebuild, bridges start successfully. Logs show [discord] [default] provider ready / Slack WSS established. docker exec shows env vars set.
Actual Result
Discord bridge:
ERROR: Credential placeholder could not be resolved
[sandbox] OCSF CONFIG:FAIL_CLOSED [HIGH]
"Rejected provider environment refresh; unclassified credential key"
[discord] channel exited: Failed to resolve Discord application id — auto-restart N/10
Slack bridge:
[channels] slack.default.botToken missing from runtime environment
HTTP:UNKNOWN DENIED [policy:slack engine:credential-binding] [reason:credential_unavailable]
socket-mode Failed to retrieve a new WSS URL (statusCode = 500) — retries indefinitely
docker exec {container} printenv | grep DISCORD → (empty)
docker exec {container} printenv | grep SLACK → (empty)
nemoclaw {sandbox} doctor falsely reports "Summary: healthy" despite continuous bridge failures.
Related: GitHub issue #9869 covers the Discord-only, single-platform instance of this bug.
Logs
Discord log excerpt:
ERROR hermes_plugins.discord_platform.adapter:
[Discord] Failed to connect: 500 Internal Server Error (error code: 0):
Credential placeholder could not be resolved
[sandbox] OCSF CONFIG:FAIL_CLOSED [HIGH] "unclassified credential key"
WARNING gateway.run: discord failed to connect
Slack log excerpt:
[channels] slack.default.botToken expects SLACK_BOT_TOKEN but missing from runtime
HTTP:UNKNOWN DENIED [policy:slack engine:credential-binding] [reason:credential_unavailable]
socket-mode Failed to retrieve a new WSS URL (statusCode=500); retry 19/inf in 30s
Activity
hulynn commentedon Aug 21, 2026
Root cause found in source:
src/lib/messaging/applier/openshell-provider.tsline 115 —buildProviderArgs()creates all messaging channel providers (Discord, Slack, Telegram, WeChat) with--type generic, but OpenShell 0.0.106 requires--type nemoclaw-mcp-v1for credential binding to work.Because the type is wrong, the credential-binding policy engine rejects the provider and credentials (DISCORD_BOT_TOKEN, SLACK_BOT_TOKEN, etc.) are never injected into the sandbox runtime.
MCP bridge providers already use the correct type (
src/lib/actions/sandbox/mcp-bridge-provider-mutation.ts). The messaging channel applier was never updated to match.Fix: change
--type genericto--type nemoclaw-mcp-v1inbuildProviderArgs(). Affects all messaging channels.fix(messaging): bind channel credentials to endpointless profile (#9913)
hulynn commentedon Aug 24, 2026
V2C Verification — v0.0.114 — STILL REPRODUCES (FAIL)
Fix PR: #9913 "fix(messaging): bind channel credentials to endpointless profile" (merged 2026-08-24T00:06:55Z). Confirmed via GitHub compare API that the merge commit is an ancestor of the v0.0.114 tag (0 commits ahead, 14 behind — fully contained). This PR is linked as the closing PR for both #9875 and #9869 (same fix, shared root cause), so this is a joint verification comment posted to both issues.
Environment: Ubuntu 26.04 x86_64 server, NVIDIA GPU, upgraded to NemoClaw v0.0.114 via the official installer (
nemoclaw --version→nemoclaw v0.0.114).Repro steps taken:
NEMOCLAW_PROVIDER=ollama NEMOCLAW_MODEL=llama3.1:8b nemoclaw onboard --non-interactive --yes --name v2cbridge --agent openclaw ...— completed successfully, sandbox healthy.nemoclaw v2cbridge channels add discordwith a Discord bot token + server ID:nemoclaw v2cbridge rebuild --yes— rebuild completed successfully, discord policy preset applied (policy version 3 loaded).Confirmed the fix's registration path is active:
Type: nemoclaw-mcp-v1is the new endpointless-profile provider type introduced by PR #9913 (replacing the old generic type) — so credential registration is going through the fixed code path.But the bridge still fails to start, with the exact original failure signature:
OpenShell OCSF audit log for the same window:
docker exec <container> printenv | grep DISCORD→ empty, same as originally reported.This is the same symptom described in both bug reports: a 500 "Credential placeholder could not be resolved" at the OpenShell proxy layer, never reaching Discord's real auth check (no
invalid_auth/401 from Discord).Verdict: FAIL — still reproduces on v0.0.114. PR #9913 does land the new
nemoclaw-mcp-v1endpointless-profile registration (confirmed above viaopenshell provider get), but the sandbox-side runtime placeholder resolution (the OpenShell credential-resolve proxy call that returns HTTP 500) is still broken. The registration-side of the fix appears to be in place but the resolution-side is not, or requires a newer OpenShell CLI than the 0.0.106 in this build. Discord was fully exercised end-to-end (onboard → channels add → rebuild → sandbox runtime); Slack could not be pushed through the same path becausechannels add slacklive-validates the bot token against Slack's real API before registration and rejects a synthetic token immediately (invalid_auth), so it never reaches the sandbox-side resolution step being tested here — but since both channels share the same OpenShell credential-resolve proxy described in the bug report, the Discord failure is direct evidence the shared root cause is not resolved.Leaving open/close status for QA triage — recommend routing back to dev given the fix does not appear complete.