mirror of
https://github.com/openai/codex.git
synced 2026-10-23 18:08:45 +00:00
## Why The `Cwd` session filter included sessions from linked worktrees, leaving no way to restrict the picker to the current directory. Project grouping also combined tasks across linked worktrees. ## What changed - Keep `Cwd` filtering and directory-scoped `resume --last` and `fork --last` lookups limited to the current directory. - Add an explicit `Repo` picker filter when multiple local worktrees are available, including sessions from corresponding directories across linked worktrees. Cycle between `Cwd`, `Repo`, and `All` in either direction. - Add `Directory` grouping to the agent command center alongside `Project`, `Status`, and `Model`. Keep this choice in memory without writing a configuration value older clients cannot read. ## Testing Extend coverage for directory and repository filtering, pagination scope, linked-worktree grouping, directory aliases, grouping persistence, and adjacent selection after task removal. Update picker and command center snapshots. GitOrigin-RevId: 59603c9c5136db43124102b3277d1d1dab36bb87