Skip to content

chore(skills): sync generated skills#3

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
automation/docs-to-skills-sync-25358032357-1
Open

chore(skills): sync generated skills#3
github-actions[bot] wants to merge 1 commit into
mainfrom
automation/docs-to-skills-sync-25358032357-1

Conversation

@github-actions

@github-actions github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

This PR was opened by the Docs to Skills workflow after documentation changed on main.

It contains only regenerated .agents/skills/nemoclaw-user-* artifacts from:

python3 scripts/docs-to-skills.py docs/ .agents/skills/ --prefix nemoclaw-user

CodysGuide2AI pushed a commit that referenced this pull request Jul 3, 2026
## Summary
Issue NVIDIA#5667: onboarding a Deep Agents / OpenAI-compatible sandbox
without an explicit NEMOCLAW_MODEL recorded the model id as
'nvidia/nvidia/nemotron-3-super-v3' (doubled 'nvidia/' namespace). Root
cause was the default fallback constant HOSTED_INFERENCE_MODEL in
src/lib/onboard/providers.ts, which was hardcoded with a duplicated
namespace segment (dev-triage hypothesis #3). When NEMOCLAW_MODEL is
unset, stageHostedInferenceSourceSecretEnv() falls back to this constant
and persists it into NEMOCLAW_MODEL / NEMOCLAW_COMPAT_MODEL, surfacing
the doubled prefix everywhere (status, build ARG, dcode header). Fixed
by changing the constant to the canonical single-prefix id
'nvidia/nemotron-3-super-v3'. Scope limited to the default constant; CI
workflow YAML and e2e fixtures set NEMOCLAW_MODEL explicitly and are
intentionally untouched.

## Related Issue
Fixes NVIDIA#5667

## Changes
- Automated Claude Code fix selected by
`auto_fix/auto_fix_recent_issues.py`.
- See the commits on this branch for the exact file-level changes.

## 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)

## Verification
<!-- Check each item you ran and confirmed. Leave unchecked items you
skipped. Doc-only changes do not require npm test unless you ran it. -->
- [ ] Git hooks passed during commit and push, or `npx prek run
--from-ref main --to-ref HEAD` passes
- [ ] Targeted tests pass for changed behavior
- [ ] Full `npm test` passes (broad runtime changes only)
- [ ] Tests added or updated for new or changed behavior
- [ ] No secrets, API keys, or credentials committed
- [ ] Docs updated for user-facing behavior changes
- [ ] `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)

Verification details reported by automation:
- Codex review (independent, advisory) posted as a PR comment.
- Addressed from codex review: Addressed the reviewer's completeness
findings by sweeping the doubled 'nvidia/nvidia/nemotron-3-super-v3' id
to the canonical 'nvidia/nemotron-3-super-v3' everywhere it represented
this model — not just the original constant. The earlier claim that
CI/fixtures were 'intentionally untouched' was wrong: those defaults
reintroduced the malformed id. Changed: the hosted CI exports in
.github/workflows/{e2e-script,nightly-e2e,e2e-vitest-scenarios}.yaml;
the e2e fixture default DEFAULT_HOSTED_INFERENCE_MODEL
(test/e2e-scenario/fixtures/hosted-inference.ts) and the
live-helper/shell-fixture fallbacks (agent-turn-latency-helpers,
hermes-discord, hermes-slack-e2e-helpers, rebuild-hermes,
upgrade-stale-sandbox-helpers, ci-compatible-inference.sh,
test-rebuild-*.sh, test-upgrade-stale-sandbox.sh); the onboard-probes
probe-payload test literal; and the workflow-content guard assertions in
test/e2e-script-workflow.test.ts that had locked in the doubled value.
Finding #3 (regression test should use NEMOCLAW_PROVIDER_KEY) was
rejected as incorrect: stageHostedInferenceSourceSecretEnv() — the
function that records the model and was the root cause — gates
exclusively on NVIDIA_INFERENCE_API_KEY (HOSTED_INFERENCE_SOURCE_ENV);
NEMOCLAW_PROVIDER_KEY is a provider-credential hint used only by the
Model Router / Hermes / deepagents config paths and never triggers model
staging, so the test correctly exercises the real bug path. Verified:
rebuilt dist and ran the issue-5667 regression test, e2e-script-workflow
guard tests, onboard-probes, and hosted-inference support tests — 67
tests pass.
- Added focused regression test
test/issue-5667-hosted-inference-model-namespace.test.ts that exercises
the real exported HOSTED_INFERENCE_MODEL constant and the real
stageHostedInferenceSourceSecretEnv() staging path (no mocking of the
unit under test).
- Built dist from the unfixed source and confirmed the new test fails
red: NEMOCLAW_MODEL staged as 'nvidia/nvidia/nemotron-3-super-v3'.
- Applied the one-line fix to src/lib/onboard/providers.ts, rebuilt
dist, and confirmed the test passes green (2/2).
- Ran related suites (credential-exposure, onboard-selection,
onboard-probes, e2e-script-workflow) — 129 tests pass — confirming no
regression and that the explicitly-overridden CI workflow values are
unaffected.
- `npm install --ignore-scripts`
- `npm run build:cli`
- `./node_modules/.bin/vitest run
test/issue-5667-hosted-inference-model-namespace.test.ts --project cli`
- `./node_modules/.bin/vitest run test/credential-exposure.test.ts
test/onboard-selection.test.ts src/lib/inference/onboard-probes.test.ts
test/issue-5667-hosted-inference-model-namespace.test.ts`
- `./node_modules/.bin/vitest run test/e2e-script-workflow.test.ts`

---
<!-- DCO sign-off required by CI. Run: git config user.name && git
config user.email -->
Signed-off-by: Jason Ma <jama@nvidia.com>


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

* **Bug Fixes**
* Corrected hosted-inference Nemotron model identifiers to consistently
use the proper single-prefix format (removing duplicated
`nvidia/nvidia/`) across onboarding, live scenarios, and CI/E2E
workflows.
* Improved Deep Agents hosted-inference staging by adding a safe
fallback for provider-key handling.
* **Tests**
* Updated E2E/workflow expectations and fixtures to match the corrected
model identifiers.
* Added/adjusted regression tests to prevent duplicated model namespaces
and verify Deep Agents staging behavior.
* **Documentation**
  * Fixed the Model Router pool example for Nemotron-3 Nano.
* **Security/Quality**
* Expanded secret redaction and direct-credential-env checks to include
`NEMOCLAW_PROVIDER_KEY`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Jason Ma <jama@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Carlos Villela <cvillela@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants