Let users remember the working directory for resumed sessions - #33950
Merged
copyberry[bot] merged 1 commit intoJul 18, 2026
Conversation
## What changed - Add `tui.resume_cwd` with `current` and `session` modes for resume and fork flows. - Let users persist either mode directly from the working-directory prompt, while preserving one-time choices when no preference is configured. - Apply the preference consistently during startup and in-app resume, honor explicit `--cd` overrides, and reject unsupported or unavailable directory choices with a clear error. ## Testing - Cover configuration parsing and persistence, prompt behavior, startup and in-app flows, session metadata fallback, and remote workspace constraints. GitOrigin-RevId: 7bf144c4b8c55bdb868cc8a71caf397c7740451a
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/7bf144c4b8c55bdb868cc8a71caf397c7740451a
branch
from
July 18, 2026 03:59
cf04d80 to
2895d82
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/7bf144c4b8c55bdb868cc8a71caf397c7740451a
branch
July 18, 2026 04:00
johnsilvavlogs
temporarily deployed
to
issue-triage
July 18, 2026 04:19 — with
GitHub Actions
Inactive
johnsilvavlogs
temporarily deployed
to
issue-triage
July 18, 2026 04:19 — with
GitHub Actions
Inactive
johnsilvavlogs
temporarily deployed
to
issue-triage
July 18, 2026 04:19 — with
GitHub Actions
Inactive
johnsilvavlogs
temporarily deployed
to
issue-triage
July 18, 2026 04:20 — with
GitHub Actions
Inactive
luziyi123448-gif
temporarily deployed
to
issue-triage
July 18, 2026 04:25 — with
GitHub Actions
Inactive
luziyi123448-gif
temporarily deployed
to
issue-triage
July 18, 2026 04:25 — with
GitHub Actions
Inactive
luziyi123448-gif
temporarily deployed
to
issue-triage
July 18, 2026 04:25 — with
GitHub Actions
Inactive
tianyadavid6-hue
temporarily deployed
to
issue-triage
July 18, 2026 04:26 — with
GitHub Actions
Inactive
tianyadavid6-hue
temporarily deployed
to
issue-triage
July 18, 2026 04:26 — with
GitHub Actions
Inactive
tianyadavid6-hue
temporarily deployed
to
issue-triage
July 18, 2026 04:26 — with
GitHub Actions
Inactive
tianyadavid6-hue
temporarily deployed
to
issue-triage
July 18, 2026 04:28 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let users remember the working directory for resumed sessions
What changed
tui.resume_cwdwithcurrentandsessionmodes for resume and fork flows.--cdoverrides, and reject unsupported or unavailable directory choices with a clear error.Testing