Make "Allow command" more granular

Feature request for product/service

Cursor IDE

Describe the request

It would be great if Allowed commands could be specified more granular. Example, agent (in full auto) could be allowed to add/Stage, add message with comit, push/synch, but only in a certain directly, or file ending etc.
I used git here as an exmaple, but this goes for MANY things that could be alot more granular than in today’s capabilites.
This would speed up alot, while staying safe.