Skip to content

Add derived default cwd helper#22539

Draft
starr-openai wants to merge 1 commit into
mainfrom
starr/turncontext-default-cwd-helper-20260513
Draft

Add derived default cwd helper#22539
starr-openai wants to merge 1 commit into
mainfrom
starr/turncontext-default-cwd-helper-20260513

Conversation

@starr-openai
Copy link
Copy Markdown
Contributor

Summary

  • add TurnContext::default_cwd() to derive cwd from the primary turn environment with config.cwd fallback
  • switch the super-easy non-persistent readers off the deprecated stored TurnContext.cwd field
  • leave MCP, shell, hooks, and persistence/resume follow-ups out of scope

Testing

  • not run (not requested)

Move the super-easy TurnContext cwd readers off the deprecated stored field and onto a helper that derives cwd from the primary turn environment with config cwd fallback.

Co-authored-by: Codex <noreply@openai.com>
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