fix(policy): preserve Homebrew in permissive OpenClaw policies#3943
Conversation
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
|
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 (3)
📝 WalkthroughWalkthroughThis PR updates permissive OpenClaw sandbox policies to grant write access to the ChangesHomebrew Path Write Access in Permissive Policies
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Auto-dispatched E2E: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
PR Review AdvisorRecommendation: blocked This is an automated advisory review. A human maintainer must make the final merge decision. Limitations: This review used provided trusted PR metadata, diff, and read-only file inspection only; it did not execute tests, package-manager commands, or E2E jobs.; CI and E2E status were still in progress/queued at the time of review, so final pass/fail status for head SHA b2e0659 is unknown.; No linked issues were present in the trusted metadata; acceptance coverage maps PR body clauses and referenced failure/verification bullets instead.; CodeRabbit final review state was unavailable because its comment/status indicated review was still pending.; E2E Advisor produced an in-progress check but no final recommendation/comment was available in the provided context. Full advisor summaryPR Review AdvisorBase: The policy alignment looks narrowly scoped and has a useful regression test, but the PR is not merge-ready because CI/E2E recommendation are still pending and mergeStateStatus is BLOCKED. Gate status
🔴 Blockers
🟡 Warnings
🔵 Suggestions
Acceptance coverage
Security review
Test / E2E status
✅ What looks good
Review completeness
|
Selective E2E Results — ✅ All requested jobs passedRun: 26197888412
|
Selective E2E Results — ✅ All requested jobs passedRun: 26198021532
|
Summary
/home/linuxbrewin the global OpenClaw permissive policy used directly bynetwork-policy-e2eTC-NET-06./home/linuxbrewin the agent-specific OpenClaw permissive policy used bynemoclaw <sandbox> shields down.filesystem_policy.read_writepath.Failure
Pinned nightly: https://github.com/NVIDIA/NemoClaw/actions/runs/26197248467 at
413503870a01f0e2ed27c8d9e067a7003af66cb2after PR #3916.shields-config-e2e: https://github.com/NVIDIA/NemoClaw/actions/runs/26197248467/job/77079286013network-policy-e2e: https://github.com/NVIDIA/NemoClaw/actions/runs/26197248467/job/77079286006Both failed while applying a permissive policy because OpenShell rejected the live removal of the PR #3916 Homebrew writable path:
filesystem read_write path '/home/linuxbrew' cannot be removed on a live sandbox.Verification
git diff --checknpm test -- test/policies.test.tsnpm run validate:configsnpm run typecheckNo focused E2E was dispatched from this branch; the change is a static policy alignment plus targeted regression coverage.
Summary by CodeRabbit
New Features
Tests