Repository navigation
Conversation
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage/plugin
View coverage of the 10 most impacted files.
TypeScript / code-coverage/cli
View coverage of the 10 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
|
Closing as this was reviewed and decided to be fixing an upstream and perhaps intentional prodcut decision in dcode. |
Outcome
Managed DCode returns to Manual when
/clearor/force-clearcreates a new thread. Previously, the new thread retained Auto or YOLO from the previous conversation.Reason
The approval menu offers Auto for the current thread, but the native reset preserves the approval mode. This change restores fresh consent at the clear-command boundary requested in #12747, narrowing the lifecycle persistence introduced by #11683.
Related issues
Fixes #12747.
Changes
finallyso a failure after thread creation cannot retain consent. A failure before thread creation preserves the existing mode.Verification
main— failed because Auto survived clear; passed with the fix.npx vitest run --project integration test/agents/deepagents/langchain-deepagents-code-approval-lifecycle.test.ts test/agents/deepagents/langchain-deepagents-code-direct-module-patch.test.ts test/agents/deepagents/langchain-deepagents-code-managed-entrypoints.test.ts— 178 passed, two existing skips.NODE_OPTIONS=--max-old-space-size=8192 npm run typecheck:cli— passed. Initial contributor setup exhausted the default Node heap during this check.sparky/spark-5ba8, Ubuntu 24.04.4 ARM64 — reproduced with installed DCode 0.1.55 and with DCode 0.1.71 patched from base486ff49e9fe58cedd959c1454cb25c875291480c. Issue findings.sparky— 12 runtime checks passed, including Manual/Auto/YOLO, both clear commands, normalized input, early/late failures, and blocked execution after an approval-store write failure. Successful resets updated the status bar and wrote Manual for the new thread. Fresh explicit Auto opt-in remained available.ghcr.io/nvidia/nemoclaw/langchain-deepagents-code-sandbox-base@sha256:0f9502a2babfbf1183f614e488d78345ab6aa92b9138bf574f89c1b1239d56e4. The candidate patch applied twice without error and the installed app compiled.Review notes
Self-review covers the three-file change at
1508f729c6813580b1ddd877fb6e34dce5d23e11in NVIDIA/NemoClaw, including the sensitive runtime pathagents/langchain-deepagents-code/patch-managed-deepagents-code.py. The review checked reset detection, failure propagation, native persistence handling, and preservation of adjacent lifecycle behavior. Independent review is pending; this PR is a draft.Public documentation updates may follow through the repository's post-merge documentation workflow.
Signed-off-by: Julie Yaunches jyaunches@nvidia.com