Repository navigation
chore(release): defer dcode status to v0.0.74 - #6223
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (9)
💤 Files with no reviewable changes (6)
📝 WalkthroughWalkthroughThis PR removes sandbox-name forwarding across onboarding code, ChangesSandbox Name Forwarding Removal
dcode-wrapper.sh Secret Guard Tightening
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)Not applicable — changes are guard-logic tightening, config/env forwarding, and test/doc cleanup without new multi-component control flow. Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
🌿 Preview your docs: https://nvidia-preview-pr-6223.docs.buildwithfern.com/nemoclaw |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in the Show a code coverage summary of the most covered files.
TypeScript / code-coverage/cliThe overall coverage in the Show a code coverage summary of the most covered files.
Updated |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Target RecommendationRequired E2E targets: Dispatch required E2E targets:
Full E2E target advisor summaryE2E Target AdvisorBase: Required E2E targets
Optional E2E targets
Relevant changed files
|
PR Review Advisor (Nemotron Ultra) — BlockedMerge posture: Do not merge until addressed Action checklist
Findings index
🚨 Required before mergeAddress these before merging unless a maintainer explicitly overrides the advisor with rationale.
|
PR Review Advisor — BlockedMerge posture: Do not merge until addressed Action checklist
Findings index
🚨 Required before mergeAddress these before merging unless a maintainer explicitly overrides the advisor with rationale.
|
|
Maintainer disposition for the automated review and E2E recommendations:
The E2E advisor's two required scenarios already passed on release run 28628886300, attempt 1: That run used Additional local verification on the revert:
This is the requested maintainer rationale/override for the advisor items; human review and PR CI remain required before merge. |
<!-- markdownlint-disable MD041 --> ## Summary <!-- 1-3 sentences: what this PR does and why. --> Restores #6202 now that v0.0.73 has been tagged. This reintroduces `dcode status` identity reporting, managed help, the exact OpenShell TLS-key runtime allowance, sandbox-name propagation, and their docs and tests for v0.0.74, with focused follow-ups that suppress private-key-shaped or encoded-credential metadata and fail closed on malformed or unsupported identity config scalars. ## Related Issue <!-- Fixes #NNN or Closes #NNN. Remove this section if none. --> Restores #6202 after the release-boundary revert in #6223. Related to #6189, #6186, and the complementary runtime hardening in #6082. ## Changes <!-- Bullet list of key changes. --> - Restore `dcode status`, `dcode whoami`, and `dcode identity` without launching the interactive UI. - Restore the exact runtime-only `OPENSHELL_TLS_KEY=/etc/openshell/tls/client/tls.key` allowance while keeping arbitrary paths, values, PEM material, and persisted `.env` entries fail-closed. - Restore Tavily and context-shaped secret detection in the managed Deep Agents Code wrapper. - Mirror canonical private-key block detection before mutable config or runtime metadata can reach `dcode status`, including the managed Slack early-allowlist path, and scan the complete mutable `.deepagents/.env` so raw multiline blocks cannot evade per-line classification. - Reject literal, escaped, percent-encoded, and double-encoded query, fragment, and userinfo delimiters before endpoint metadata can reach `dcode status`. - Restrict the informational TOML reader to known generated sections and complete quoted scalars so malformed, commented, array, and unsupported nested values fall back safely instead of being displayed. - Restore Deep Agents Code sandbox-name propagation through onboarding and startup state. - Restore the original #6202 quickstart documentation, identity tests, secret-boundary tests, and shared fixture, then add a composed onboarding → `start.sh` → `dcode status` handoff test. - Record the #6082 rebase contract: #6232's managed-proxy and secret-filtering paths remain authoritative while #6082's runtime upgrade, auth-store, and mutation-command work layers on afterward. ## Type of Change - [ ] Code change (feature, bug fix, or refactor) - [x] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Quality Gates <!-- Check all that apply. For any "covered by existing tests", "not applicable", or waiver entry, add a brief justification on the same line or in the Changes section. --> - [x] Tests added or updated for changed behavior — restores the original #6202 identity, secret-boundary, image-contract, and onboarding coverage; adds canonical private-key parity, malformed/unsupported config, encoded endpoint, and composed sandbox-name handoff cases. - [ ] Existing tests cover changed behavior — justification: - [ ] Tests not applicable — justification: - [x] Docs updated for user-facing behavior changes — restores the original `dcode status` quickstart section. - [ ] Docs not applicable — justification: - [x] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [x] Sensitive-path review completed or maintainer-approved waiver recorded — the restoration commit exactly matches the previously reviewed #6202 tree; independent reproduction confirmed the advisor-reported private-key status leak, and focused follow-ups mirror the canonical block pattern, reject raw multiline `.env` key blocks and encoded endpoint delimiters, and fail closed on malformed generated scalars with status, parity, managed-Slack, composed-handoff, no-launch, redaction, and secret-scanner coverage. - [ ] Non-success, skipped, or missing CI check accepted by maintainer — no CI waiver requested; required remote checks remain mandatory. ## 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. --> - [x] PR description includes the DCO sign-off declaration and every commit appears as `Verified` in GitHub. - [ ] Git hooks passed during commit and push, or `npx prek run --from-ref main --to-ref HEAD` passes — all commit hooks except the disclosed local `test-cli` environment-sensitive baseline lane passed; normal pre-push CLI typecheck and tag-version synchronization passed. - [x] Targeted tests pass for changed behavior — onboarding 8/8 and Deep Agents Code wrapper/image/composed-handoff tests 77/77 after review follow-ups; CLI typecheck, ShellCheck, Biome, test-size/project-overlap gates, detect-private-key, and gitleaks also pass. - [x] Required exact-head live E2Es pass on attempt 1 — `ubuntu-repo-cloud-langchain-deepagents-code` and `cloud-onboard` at `a503d95a81094cd3415ce933b64a0213a4d3aa2d`. - [ ] Full `npm test` passes (broad runtime changes only) — not rerun; remote CI remains required. - [x] Quality Gates section completed with required justifications or waivers. - [x] No secrets, API keys, or credentials committed. - [ ] `npm run docs` builds without warnings (doc changes only) — build passed with 0 errors and two pre-existing Fern warnings. - [x] Doc pages follow the style guide; independent docs review found no additional changes needed. - [ ] New doc pages include SPDX header and frontmatter — no new doc pages. --- <!-- DCO sign-off is required in this PR description, and every commit must appear as Verified in GitHub. Run: git config user.name && git config user.email --> Signed-off-by: Carlos Villela <cvillela@nvidia.com> --------- Signed-off-by: Carlos Villela <cvillela@nvidia.com>
## Summary Reverts NVIDIA#6202 from `main` so v0.0.73 retains the release boundary that was already documented and exercised by the release E2E run. PR NVIDIA#6202 remains targeted for v0.0.74. The resulting tree is byte-for-byte identical to commit `2276b2e1373548f9afa95b3a4f4bcd8db244874c` (`967ad0207b591bfc7f3398f37c230f199bb932ed`). ## Related Issue Release-boundary housekeeping for v0.0.73. Reverts NVIDIA#6202 without closing its related issues. ## Changes - Revert the Deep Agents Code `status`/identity wrapper commands introduced by NVIDIA#6202. - Revert the OpenShell TLS-key secret-guard exception introduced by NVIDIA#6202. - Revert the Deep Agents Code sandbox-name propagation and accompanying tests. - Remove the deferred user-facing `dcode status` documentation from the v0.0.73 tree. ## Type of Change - [ ] Code change (feature, bug fix, or refactor) - [x] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Quality Gates - [x] Tests added or updated for changed behavior — exact revert restores the previously tested tree. - [ ] Existing tests cover changed behavior — justification: - [ ] Tests not applicable — justification: - [x] Docs updated for user-facing behavior changes — NVIDIA#6202 documentation is reverted with the code. - [ ] Docs not applicable — justification: - [x] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [x] Sensitive-path review completed or maintainer-approved waiver recorded — the index tree exactly matches the pre-NVIDIA#6202 release tree, and no manual edits were made to the revert. - [ ] Non-success, skipped, or missing CI check accepted by maintainer — no CI waiver requested; the local broad `test-cli` pre-commit hook was skipped after seven unrelated environment-sensitive baseline failures in Hermes file modes, managed-gateway trust state, and state-dir permission modes. Changed-area tests pass and PR CI remains required. ## Verification - [x] PR description includes the DCO sign-off declaration and the commit appears as `Verified` in GitHub. - [x] Normal pre-push hooks passed; all pre-commit hooks except the disclosed broad `test-cli` baseline lane passed. - [x] `npx vitest run --project cli src/lib/onboard/sandbox-create-launch.test.ts --silent=false --reporter=default` — 6/6 passed. - [x] `npx vitest run --project integration test/langchain-deepagents-code-image.test.ts --silent=false --reporter=default` — 53/53 passed. - [ ] Full `npm test` passes (broad runtime changes only) — not rerun; the broad hook's unrelated baseline failures are disclosed above. - [x] Quality Gates section completed with required justifications or waivers. - [x] No secrets, API keys, or credentials committed. - [x] `npm run docs` passes with 0 errors and two pre-existing Fern warnings. - [x] Doc pages follow the style guide. - [ ] New doc pages include SPDX header and frontmatter — no new doc pages. --- Signed-off-by: Carlos Villela <cvillela@nvidia.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Additional environment details are now carried into runtime setup for better tracing and project context. * **Bug Fixes** * Tightened secret-detection and runtime-value checks to reduce the chance of sensitive values being accepted. * Improved sandbox launch behavior by simplifying how launch settings are prepared. * **Documentation** * Removed outdated guidance about checking the current sandbox from the quickstart. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Carlos Villela <cvillela@nvidia.com>
<!-- markdownlint-disable MD041 --> ## Summary <!-- 1-3 sentences: what this PR does and why. --> Restores NVIDIA#6202 now that v0.0.73 has been tagged. This reintroduces `dcode status` identity reporting, managed help, the exact OpenShell TLS-key runtime allowance, sandbox-name propagation, and their docs and tests for v0.0.74, with focused follow-ups that suppress private-key-shaped or encoded-credential metadata and fail closed on malformed or unsupported identity config scalars. ## Related Issue <!-- Fixes #NNN or Closes #NNN. Remove this section if none. --> Restores NVIDIA#6202 after the release-boundary revert in NVIDIA#6223. Related to NVIDIA#6189, NVIDIA#6186, and the complementary runtime hardening in NVIDIA#6082. ## Changes <!-- Bullet list of key changes. --> - Restore `dcode status`, `dcode whoami`, and `dcode identity` without launching the interactive UI. - Restore the exact runtime-only `OPENSHELL_TLS_KEY=/etc/openshell/tls/client/tls.key` allowance while keeping arbitrary paths, values, PEM material, and persisted `.env` entries fail-closed. - Restore Tavily and context-shaped secret detection in the managed Deep Agents Code wrapper. - Mirror canonical private-key block detection before mutable config or runtime metadata can reach `dcode status`, including the managed Slack early-allowlist path, and scan the complete mutable `.deepagents/.env` so raw multiline blocks cannot evade per-line classification. - Reject literal, escaped, percent-encoded, and double-encoded query, fragment, and userinfo delimiters before endpoint metadata can reach `dcode status`. - Restrict the informational TOML reader to known generated sections and complete quoted scalars so malformed, commented, array, and unsupported nested values fall back safely instead of being displayed. - Restore Deep Agents Code sandbox-name propagation through onboarding and startup state. - Restore the original NVIDIA#6202 quickstart documentation, identity tests, secret-boundary tests, and shared fixture, then add a composed onboarding → `start.sh` → `dcode status` handoff test. - Record the NVIDIA#6082 rebase contract: NVIDIA#6232's managed-proxy and secret-filtering paths remain authoritative while NVIDIA#6082's runtime upgrade, auth-store, and mutation-command work layers on afterward. ## Type of Change - [ ] Code change (feature, bug fix, or refactor) - [x] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Quality Gates <!-- Check all that apply. For any "covered by existing tests", "not applicable", or waiver entry, add a brief justification on the same line or in the Changes section. --> - [x] Tests added or updated for changed behavior — restores the original NVIDIA#6202 identity, secret-boundary, image-contract, and onboarding coverage; adds canonical private-key parity, malformed/unsupported config, encoded endpoint, and composed sandbox-name handoff cases. - [ ] Existing tests cover changed behavior — justification: - [ ] Tests not applicable — justification: - [x] Docs updated for user-facing behavior changes — restores the original `dcode status` quickstart section. - [ ] Docs not applicable — justification: - [x] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [x] Sensitive-path review completed or maintainer-approved waiver recorded — the restoration commit exactly matches the previously reviewed NVIDIA#6202 tree; independent reproduction confirmed the advisor-reported private-key status leak, and focused follow-ups mirror the canonical block pattern, reject raw multiline `.env` key blocks and encoded endpoint delimiters, and fail closed on malformed generated scalars with status, parity, managed-Slack, composed-handoff, no-launch, redaction, and secret-scanner coverage. - [ ] Non-success, skipped, or missing CI check accepted by maintainer — no CI waiver requested; required remote checks remain mandatory. ## 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. --> - [x] PR description includes the DCO sign-off declaration and every commit appears as `Verified` in GitHub. - [ ] Git hooks passed during commit and push, or `npx prek run --from-ref main --to-ref HEAD` passes — all commit hooks except the disclosed local `test-cli` environment-sensitive baseline lane passed; normal pre-push CLI typecheck and tag-version synchronization passed. - [x] Targeted tests pass for changed behavior — onboarding 8/8 and Deep Agents Code wrapper/image/composed-handoff tests 77/77 after review follow-ups; CLI typecheck, ShellCheck, Biome, test-size/project-overlap gates, detect-private-key, and gitleaks also pass. - [x] Required exact-head live E2Es pass on attempt 1 — `ubuntu-repo-cloud-langchain-deepagents-code` and `cloud-onboard` at `a503d95a81094cd3415ce933b64a0213a4d3aa2d`. - [ ] Full `npm test` passes (broad runtime changes only) — not rerun; remote CI remains required. - [x] Quality Gates section completed with required justifications or waivers. - [x] No secrets, API keys, or credentials committed. - [ ] `npm run docs` builds without warnings (doc changes only) — build passed with 0 errors and two pre-existing Fern warnings. - [x] Doc pages follow the style guide; independent docs review found no additional changes needed. - [ ] New doc pages include SPDX header and frontmatter — no new doc pages. --- <!-- DCO sign-off is required in this PR description, and every commit must appear as Verified in GitHub. Run: git config user.name && git config user.email --> Signed-off-by: Carlos Villela <cvillela@nvidia.com> --------- Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Summary
Reverts #6202 from
mainso v0.0.73 retains the release boundary that was already documented and exercised by the release E2E run. PR #6202 remains targeted for v0.0.74.The resulting tree is byte-for-byte identical to commit
2276b2e1373548f9afa95b3a4f4bcd8db244874c(967ad0207b591bfc7f3398f37c230f199bb932ed).Related Issue
Release-boundary housekeeping for v0.0.73. Reverts #6202 without closing its related issues.
Changes
status/identity wrapper commands introduced by feat(deepagents-code): add dcode status and allow OpenShell TLS key in secret guard #6202.dcode statusdocumentation from the v0.0.73 tree.Type of Change
Quality Gates
test-clipre-commit hook was skipped after seven unrelated environment-sensitive baseline failures in Hermes file modes, managed-gateway trust state, and state-dir permission modes. Changed-area tests pass and PR CI remains required.Verification
Verifiedin GitHub.test-clibaseline lane passed.npx vitest run --project cli src/lib/onboard/sandbox-create-launch.test.ts --silent=false --reporter=default— 6/6 passed.npx vitest run --project integration test/langchain-deepagents-code-image.test.ts --silent=false --reporter=default— 53/53 passed.npm testpasses (broad runtime changes only) — not rerun; the broad hook's unrelated baseline failures are disclosed above.npm run docspasses with 0 errors and two pre-existing Fern warnings.Signed-off-by: Carlos Villela cvillela@nvidia.com
Summary by CodeRabbit