Skip to content

Conversation

@riatzukiza
Copy link
Owner

Summary

  • resolve the requested working directory relative to the project root when using realpath
  • validate destructive command arguments using the effective working directory so relative parent paths inside the project are accepted

Testing

  • not run

https://chatgpt.com/codex/tasks/task_e_6903d154f9888324bfbfd8b138b07833

@coderabbitai
Copy link

coderabbitai bot commented Oct 30, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/fix-cwd-validation-for-command-paths

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@riatzukiza riatzukiza merged commit 2ebf9aa into feat/cwd-arg-for-bash-tool Oct 30, 2025
5 checks passed
@riatzukiza riatzukiza deleted the codex/fix-cwd-validation-for-command-paths branch October 30, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants