mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
## What changed - Add `WorktreeManager::list` to return managed linked worktrees associated with the repository containing a requested working directory. - Preserve the requested repository-relative working directory in each result and sort results by worktree root. - Exclude primary and unrelated checkouts, paths outside the managed layout, unsafe working directories, aliases, and stale or mismatched Git registrations. ## Testing Add coverage for repository filtering, native paths, nested working directories, stale registrations, aliases, and layout validation. GitOrigin-RevId: 385133914bd601e6c72858166853a1d42f7722ee