Repository navigation
fix(codex): preserve WSL account home trust - #16496
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughCanonical Codex configuration synchronization now uses the system configuration mirror for every managed home. The change removes host-specific branching, hook trust sanitization, relative-path rewriting, and direct managed-config writes. Canonical metadata now stores a host-readable source home path and no longer tracks a hooks path. WSL account tests verify directory-based canonical homes, Windows/Linux path mapping, settings replacement, and project trust preservation. Merge Risk: ⚪ Minimal · up to The change preserves WSL account-home trust while refreshing settings and adds focused automated coverage; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description includes the required sections, explains the change and rationale, documents testing, records the lack of UI changes, and confirms checklist items. The linked issue is identified as STA-4606, although it is not formatted as a
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Electron validation evidence (PR 16496)Launched this worktree via
Visible state: empty-workspace welcome ("Add a project to get started"), no Vite/runtime error overlay. Console: 0 errors. This is a config-sync change; no UI delta expected. |
Review statusVerdict: land after fixes. The review loop found and fixed three concrete issues without broadening product scope:
Pushed commits:
Validation:
No mobile-facing, SSH/relay, wire protocol, or persisted schema changes were touched. The Windows low-spec remote runtime was unavailable during this session, so that platform runtime check remains unverified; the path behavior is covered by targeted Windows/WSL mocks. |
Windows high-spec validation updateAttempted the requested remote validation on Windows high spec using Orca orchestration with a Grok/Electron worker and the registered |
Final review statusVerdict: code review clean; merge remains gated by current CI. The same-model review loop ran through the focused fixes and the final readiness pass reported PASS. The branch is clean at Validated locally:
The requested Windows high-spec Grok/Electron run was retried after the runtime became reachable. Orca created/reused the disposable worktree, but Grok prompt delivery stalled before the worker could start ( The current GitHub PR Checks run is red on unrelated |
Electron visual proof (STA-4606 / PR 16496)Launched this worktree via CDP ( Backing state: Before — empty home (isolated profile)After — AI Provider Accounts / Codex (closest related UI)Orchestration settings (no PR UI change; pane renders)Screenshots are not committed. Full notes: |
|
Additional transparency: the WSL Electron main log showed the pre-existing non-fatal |
* fix(codex): preserve WSL account home trust * fix(codex): preserve WSL drive path semantics * fix(codex): preserve mounted-drive WSL config paths * test(codex): preserve WSL path helpers in mock
* fix(codex): preserve WSL account home trust * fix(codex): preserve WSL drive path semantics * fix(codex): preserve mounted-drive WSL config paths * test(codex): preserve WSL path helpers in mock
* fix(codex): preserve WSL account home trust * fix(codex): preserve WSL drive path semantics * fix(codex): preserve mounted-drive WSL config paths * test(codex): preserve WSL path helpers in mock (cherry picked from commit e8005c3)
* fix(codex): preserve WSL account home trust * fix(codex): preserve WSL drive path semantics * fix(codex): preserve mounted-drive WSL config paths * test(codex): preserve WSL path helpers in mock





ELI5
WSL account homes now keep Codex's project and hook approvals when Orca refreshes their settings.
What Changed
Why
WSL account homes will become the live
CODEX_HOME. A plain overwrite would erase trust Codex recorded there after each config sync.Linked Issue
STA-4606
Visual Proof
N/A — config synchronization has no rendered UI change.
Testing
pnpm test src/main/codex src/main/codex-accounts src/main/agent-hooks(1,855 passed, 12 skipped)pnpm typechecknode config/scripts/check-changed-code-quality.mjspreserves WSL account-home project trust while refreshing canonical settingsfail.Review
Agent skill upstream boundary
Notes
This is the prerequisite trust-safety stage only; it does not change WSL launch routing.
Checklist