Skip to content

feat(agents): add Deep Agents Code harness #3611

feat(agents): add Deep Agents Code harness

feat(agents): add Deep Agents Code harness #3611

# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: Docs / CLI Parity
# Catches drift between the actual `nemoclaw --help` command list and the
# command headings in `docs/reference/commands.mdx`. The same check runs in
# nightly E2E (`docs-validation-e2e`); this workflow runs it on every PR
# that touches CLI source so drift is caught before merge instead of next
# morning. Ref: NVIDIA/NemoClaw#3224.
on:
pull_request:
branches: [main]
types: [opened, reopened, synchronize]
paths:
- "src/**"
- "bin/**"
- "install.sh"
- "scripts/install.sh"
- "docs/reference/commands.mdx"
- "package.json"
- "package-lock.json"
- "tsconfig.src.json"
- "test/e2e/e2e-cloud-experimental/check-docs.sh"
- ".github/workflows/docs-cli-parity-pr.yaml"
permissions:
contents: read
concurrency:
group: docs-cli-parity-${{ github.ref }}
cancel-in-progress: true
jobs:
cli-parity:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: "22"
- name: Install dependencies
run: npm install --ignore-scripts
- name: Build CLI
run: npm run build:cli
- name: Run CLI/docs parity check (command + flag level)
run: bash test/e2e/e2e-cloud-experimental/check-docs.sh --only-cli
- name: Run install.sh provider parity check
run: bash test/e2e/e2e-cloud-experimental/check-docs.sh --only-install