Skip to content

exec: preserve command cwd as PathUri#28563

Closed
anp-oai wants to merge 4 commits into
codex/remote-windows-thread-pathsfrom
codex/remote-windows-command-cwd
Closed

exec: preserve command cwd as PathUri#28563
anp-oai wants to merge 4 commits into
codex/remote-windows-thread-pathsfrom
codex/remote-windows-command-cwd

Conversation

@anp-oai

@anp-oai anp-oai commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Commands may execute in an environment whose path convention differs from the app-server host. Their cwd must remain environment-native through execution, approvals, and emitted command items.

This carries command cwd as PathUri through core execution and approval events, renders it as an API path string at the app-server boundary, and limits host-native projection to code that actually parses commands on the host.

Stacked on #28560.

Validation:

  • just test -p codex-app-server-protocol
  • focused app-server, core unified-exec, exec event, and TUI compilation tests
  • bazel test //codex-rs/core/tests/remote_env_windows:smoke-test --test_output=errors
  • scoped just fix for the affected crates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant