Skip to content

Preserve special filesystem subpaths as wire strings - #33107

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/2214f03aa997fd0e6eb2ab60d425304bb4bd6132
Jul 14, 2026
Merged

Preserve special filesystem subpaths as wire strings#33107
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/2214f03aa997fd0e6eb2ab60d425304bb4bd6132

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 14, 2026

Copy link
Copy Markdown

Preserve special filesystem subpaths as wire strings

Why

Special filesystem subpaths can contain relative or foreign-platform path
spellings. Treating this wire text as a host-native path can reinterpret it.

What changed

  • Store special filesystem subpaths as strings in the core permissions model.
  • Represent app-server subpaths as LegacyAppPathString and convert them at
    the protocol boundary without changing their spelling.
  • Add LegacyAppPathString::from_string for callers that already own legacy
    app-server path text.

## Why

Special filesystem subpaths can contain relative or foreign-platform path
spellings. Treating this wire text as a host-native path can reinterpret it.

## What changed

- Store special filesystem subpaths as strings in the core permissions model.
- Represent app-server subpaths as `LegacyAppPathString` and convert them at
  the protocol boundary without changing their spelling.
- Add `LegacyAppPathString::from_string` for callers that already own legacy
  app-server path text.

GitOrigin-RevId: 2214f03aa997fd0e6eb2ab60d425304bb4bd6132
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/2214f03aa997fd0e6eb2ab60d425304bb4bd6132 branch from 8aa0dab to 0396f99 Compare July 14, 2026 16:41
@copyberry
copyberry Bot merged commit 0396f99 into main Jul 14, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/2214f03aa997fd0e6eb2ab60d425304bb4bd6132 branch July 14, 2026 16:42
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants