Repository navigation
fix(openshell): limit container home path relocation to segments - #2211
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Maintainer comment pass (author self-review):
|
|
Codex review: needs real behavior proof before merge. What this changesThis PR preserves environment values such as Example: A Sandbox workload declares NODE_PATH=/home/node_modules.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep this PR open: it makes a focused correction to a current-main OpenShell environment-mapping bug, with no introduced defect found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherKubernetes Compute supplies Harness workload requirements to the OpenShell Sandbox Driver, which translates environment and mount paths into the outgoing CreateSandbox request. flowchart LR
A[Agent revision] --> B[Kubernetes Compute]
B --> C[Harness requirements]
C --> D[OpenShell path mapping]
D --> E[CreateSandbox request]
E --> F[Harness runtime]
Technical reviewBest possible solution: Retain this narrow correction in the existing OpenShell environment mapper. Do we have a high-confidence way to reproduce the issue? The current-main mapper deterministically corrupts Is this the best way to solve the issue? The patch corrects the owning Driver directly, preserves exact mount overrides and intended home relocation, and adds focused coverage without another mapping layer. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b7a4d3bfe0ff. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 11, 2026, 11:40 AM ET / 15:40 UTC. |
Problem
Closes #2210
OpenShell rewrote every
/home/nodesubstring, corrupting values like/home/node_modules.Change
See commit on
ericcaiwx-star:codex/batch-d-2-oct11.Verification
Recorded at base
3b36bff33006f4e4be262968b7435db57e0180e1on USB worktreeoce-batch-d-2. Focusednode --teston the touched suite; exit 0.Risks
None identified beyond the stricter validation or slug behavior described above.
Made with Cursor