Repository navigation
Conversation
Review: fix(sandbox): avoid duplicate root config uploadsClean, targeted fix for a genuine issue. Here's my assessment: What's correct
Minor readability nitThe allowlist guard uses double negation: [[ "$f" \!= .ralphrc || "$ralphrc_listed" \!= true ]] || continueThis is semantically correct (De Morgan of "skip if listed"), but the intent reads more directly written as: [[ "$f" == .ralphrc && "$ralphrc_listed" == true ]] && continueNot a blocker — just worth noting in case of future readers. Test observationThe The last test ( SummaryThe fix is correct, the tests are meaningful, and the blast radius is appropriately narrow. The double-negation condition is the only thing worth reconsidering for clarity, but it's not a correctness issue. Approval: ready to merge pending that minor readability consideration (or leaving as-is — it's defensible either way). |
Follow-up review (second commit:
|
Summary
The E2B upload list includes a normally selected
.ralphrctwice: once through the project listing and again through the control-file allowlist. Keep its original position and spelling, then skip the second append. If filtering excludes the config, the allowlist still includes it once.Fixes #389.
Validation
git diff --checkpassed.No cloud E2B or model calls were made. This keeps the existing control-directory and sync-filter policies; it does not address the separate workspace mapping cases in #388.