Compositional allow commands / allow prefixes

Feature request for product/service

– Other –

Describe the request

It would be nice if you could compose other allowed commands. For example, I have these two commands whitelisted:

uv run pre-commit and pre-commit.

This uv run prefix is occasionally applied to a lot of my allow-list commands, leading to a lot of duplicates. It would be nice if I could just allow-list this:

uv run {OTHER}

The behavioral result of this would be any other allow-listed command is allowed to go into the {OTHER} slot.

Another way do this is to support for allow-list “prefixes” instead of a whole template structure. This would cover the cases I’ve run into.