Skip to content

Add first-class uv command dispatch and hook rewrite#176

Open
GratefulDave wants to merge 5 commits intortk-ai:masterfrom
GratefulDave:fix/140-uv-first-class
Open

Add first-class uv command dispatch and hook rewrite#176
GratefulDave wants to merge 5 commits intortk-ai:masterfrom
GratefulDave:fix/140-uv-first-class

Conversation

@GratefulDave
Copy link

@GratefulDave GratefulDave commented Feb 17, 2026

Summary

  • add a first-class rtk uv command with subcommand dispatch
  • route rtk uv run python -m pytest ... (and rtk uv run pytest ...) through the existing pytest filter
  • route rtk uv pip ... through the existing pip filter
  • add compact handling for rtk uv sync ...
  • passthrough all other uv subcommands via rtk uv ...
  • update hook rewrite logic to rewrite any uv ... command to rtk uv ...
  • add hook rewrite tests for uv pip, uv run ... pytest, and uv sync

Testing

  • cargo test (pass)
  • HOOK=/Users/username/PycharmProjects/rtk/hooks/rtk-rewrite.sh bash /Users/username/PycharmProjects/rtk/hooks/test-rtk-rewrite.sh (fails on pre-existing expectations and audit-log checks unrelated to this change)

Refs: #140 (comment)

@GratefulDave
Copy link
Author

Do you need me to make any changes to this?

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.

2 participants

Comments