You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spun off from PR #387 (issue #383) during post-merge disposition.
Context
validate_e2b_sandbox_config (lib/sandbox_e2b.sh) now rejects a RALPH_DIR at the workspace root or outside the workspace for --sandbox e2b. Three shapes were left as Known Limitations in that PR; the GLM review on #387 confirmed the first two.
Symlinked RALPH_DIR. The check is lexical, like the rest of the control-dir handling. An in-workspace RALPH_DIR that is a symlink to a directory outside the workspace passes validation. What the upload, download and deletion guards then do with it has not been verified.
Working directory /._e2b_control_dir strips the workspace prefix with a "$base"/* match, which never matches when the base is /. An in-workspace RALPH_DIR such as /.ralph stays absolute and is rejected as "outside the workspace". Fail-closed, and only reachable by running the loop from the filesystem root.
Categorized as a bug — correctly already labeled bug and legacy. This is a legitimate follow-up tracking issue spun off from PR #387 / issue #383, capturing three remaining RALPH_DIR edge cases for --sandbox e2b. It is not a duplicate: the neighboring issue #389 covers a separate E2B upload-list defect (.ralphrc listed twice), not the control-dir validation gaps described here.
No label changes needed. Assigning to @frankbria for disposition of the open Definition-of-Done items:
Symlinked RALPH_DIR — the validation is lexical, so an in-workspace symlink pointing outside the workspace passes. Add a test and either support it or reject it at startup with a clear message.
Working-directory / — currently fails closed (an in-workspace RALPH_DIR like /.ralph is rejected as "outside the workspace"); only reachable when running from the filesystem root. Decide whether it's worth fixing.
Outside-workspace mapping — implement only if a concrete use case appears; otherwise close this item as not planned.
Activity
github-actions commentedon Oct 10, 2026
Triage: bug (technical debt / follow-up)
Categorized as a bug — correctly already labeled
bugandlegacy. This is a legitimate follow-up tracking issue spun off from PR #387 / issue #383, capturing three remainingRALPH_DIRedge cases for--sandbox e2b. It is not a duplicate: the neighboring issue #389 covers a separate E2B upload-list defect (.ralphrclisted twice), not the control-dir validation gaps described here.No label changes needed. Assigning to @frankbria for disposition of the open Definition-of-Done items:
RALPH_DIR— the validation is lexical, so an in-workspace symlink pointing outside the workspace passes. Add a test and either support it or reject it at startup with a clear message./— currently fails closed (an in-workspaceRALPH_DIRlike/.ralphis rejected as "outside the workspace"); only reachable when running from the filesystem root. Decide whether it's worth fixing.Automated triage.