fix(registry): preserve external policy authority during recovery - #10141
fix(registry): preserve external policy authority during recovery#10141apurvvkumaria wants to merge 18 commits into
Conversation
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
|
✨ Thanks for the fix. This preserves external policy authority during registry recovery, which addresses the sandbox policy lifecycle issue. Related open issues: |
…odex/9833-registry-recovery-authority
…very-authority Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
…very-authority Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
Signed-off-by: Apurv Kumaria <akumaria@nvidia.com>
cv
left a comment
There was a problem hiding this comment.
Reviewed commit 0f6614c. The complete two-file diff preserves external policy authority during registry recovery and preserves recorded authority for existing entries. The tests cover both behaviors. Issue #9833 contains the accepted product decision for this lifecycle mode.
I found no concrete unresolved defect in the changed code. DCO passes, GitHub verifies every PR commit, CodeRabbit reports no finding, and GitHub reports no review thread. I am submitting a neutral review because the accepted product decision requires security review and broader validation before approval, and the PR does not contain that complete evidence for this commit. The failed or skipped checks did not determine this review outcome.
Focused local validation could not start because this isolated worktree has no installed Vitest dependency. The PR description records 20 passing focused tests for registry-recovery-action.test.ts.
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
senthilr-nv
left a comment
There was a problem hiding this comment.
Reviewed latest PR commit 0f05e66. The accepted #9833 scope is satisfied: recovery records externally managed authority without NemoClaw attribution, leaves managed authority unknown without a durable creation receipt, and preserves an existing registry row's authority and attribution while updating unrelated metadata. All nine security categories pass. Focused tests pass 21/21; CLI type-check and normal repository hooks pass. The terminal review cycle has no unresolved thread or actionable automated finding. CI did not determine this approval.
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
|
Closing this PR because the accepted policy decision in #10514 supersedes #9833. This PR preserves external policy authority in registry recovery, but #10514 removes durable policy authority and receipt fields from completed NemoClaw state. Replacement work is in #10515, which delivers the accepted cutover and states that no intermediate authority-stack PR is intended to merge. This closure records supersession. It does not assess the contributor or the implementation quality. |
Summary
Registry recovery now preserves externally managed policy authority when it rebuilds a missing sandbox row from a resumable onboarding session. It keeps NemoClaw-managed authority unknown when session state has no durable creation receipt. Recovery also leaves an existing row's policy authority and NemoClaw attribution unchanged when session state is stale.
Related Issue
Related to #9833.
Changes
Type of Change
Quality Gates
0f05e6680nine-category review and approved the change: fix(registry): preserve external policy authority during recovery #10141 (review)DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailableregistry-recovery-action.test.tspassed 21/21; CLI type-check, repository hooks, andgit diff --checkpassed.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes, command/result: Not applicable; the change is isolated to registry recovery.npm run docsbuilds without warnings (doc changes only)Documentation Writer Review
no-docs-needed0f05e6680d029917cd7cb5db34c9594ace5cd48fagainst base884b42e23695f8f1a0a12e9ed131575337766755. Registry recovery preserves externally managed policy authority without NemoClaw policy attribution, keeps NemoClaw-managed authority unknown without a durable creation receipt, and preserves an existing registry row's authority and attribution when session state is stale. This accepted Respect externally managed sandbox policy across lifecycle operations #9833 slice changes no public command, flag, configuration input, default, diagnostic, operator workflow, or public schema. Existing documentation treatssandboxes.jsonas opaque recovery state and makes no contradictory field-level recovery claim. Focused tests passed 21/21; CLI type-check, repository hooks, andgit diff --checkpassed./root/docs_review_9176_exact)Signed-off-by: Apurv Kumaria akumaria@nvidia.com