Repository navigation
fix(sandbox): allow group-writable homes for launch readiness - #13133
Merged
Merged
Conversation
Signed-off-by: Aaron Erickson <[email protected]>
|
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. |
Contributor
Contributor
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage/plugin
View coverage of the 8 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 |
Signed-off-by: Aaron Erickson <[email protected]>
Signed-off-by: Aaron Erickson <[email protected]>
Signed-off-by: Aaron Erickson <[email protected]>
Member
Author
|
@coderabbitai full review |
Contributor
✅ Action performedFull review finished. |
Member
Author
|
@coderabbitai full review |
Contributor
✅ Action performedFull review finished. |
Member
Author
|
@coderabbitai full review |
Contributor
✅ Action performedFull review finished. |
Contributor
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
ericksoa
marked this pull request as ready for review
October 14, 2026 18:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Launch-readiness publication and reuse accept a current-user home with group-write permission, including
0775withumask 0002. NemoClaw keeps its existing private state locations and leaves the home permissions unchanged.Reason
The readiness store applied the application-state permission rule to the containing home directory. A private NemoClaw state tree was rejected solely because the home was group-writable. This change follows OpenClaw's native handling of private application state more closely.
Related issues
Refs #10638 for the group-writable-home reproduction. Other causes of unsafe readiness state remain outside this proved repair.
Changes
umask 0002, with unsafe-state and world-writable-home denials.full-e2elaunch scenario on disposable GitHub runners. A fixture removes only the test sandbox's readiness receipt, runs the existing producer and two PTY sessions under a0775home, and requires the resulting lease to be valid. It restores the original home mode and umask on success, launch failure, and invalid-lease rejection. Local and preinstalled Launchable execution retain their original permission handling.8.14.1-2+deb13u7and update the existing version assertion. This resolves the separate curl/libcurl APT mismatch without adding library pins or changing other package versions. The Dockerfile values match the repair merged in fix(images): align curl with current Debian security libraries #13158.Verification
8.14.1-2+deb13u7packages for AMD64 and ARM64.f5435ac29b7a5242d1431a1f95b268ebc09ed2ddis GitHub Verified. Main PR CI passed on attempt 1, including all twelve CLI shards and pinned-v1 compatibility. Rootless Linux validation passed on attempt 1; its digest-authenticated receipts bind the exact candidate to successful lifecycle recovery, authenticated routes, receipt-owned transaction, and cleanup.full-e2e,onboard-repair, both resume scenarios,rebuild-openclaw, andrebuild-hermes. Its authenticated full-E2E artifact binds candidatef5435ac29b7a5242d1431a1f95b268ebc09ed2dd, workflow45a898e2b70839a5a728fd5dedaa450110da075c, and Docker execution. The live log recordsmode=775 umask=2 receipt=absentbefore the real producer and two PTY sessions, thenmode=775 lease=valid sessions=2; all eleven scenario phases and five registered cleanup operations passed. The fixture restoration path returned without error. Exact post-restoration mode and umask values are asserted by the focused tests but are not separately retained in the live artifact.Review notes
The final exact-head Advisor reevaluation has all nine findings ledgers clear, zero E2E recommendations, and a passing blocker gate. Earlier reviews identified the parent-path replacement case repaired by
f5435ac29b7a5242d1431a1f95b268ebc09ed2dd, requested the combined live evidence supplied above, and once missed the existing Linux-only caller gate. Those reviews were resolved with the repair and exact evidence; no finding is waived.CodeRabbit full review covered all thirteen files through exact head
f5435ac29b7a5242d1431a1f95b268ebc09ed2ddand produced no actionable comments. Its docstring warning is advisory.The curl-only repair was self-reviewed against the retained failing log, Debian metadata, all nine install locations, and the same package versions already merged in #13158. The production readiness code and its live fixture are unchanged by that dependency repair. Two independent source reviews found no remaining issue in the retained-directory repair.
Signed-off-by: Aaron Erickson [email protected]