subagent permission approval lacks context and is confusing
Open
area:agents
area:permissions
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### Describe the bug
Linux subagents can run commands that the permission pattern only captures "/" as the directory which is super dangerous, without giving me the exact command will be run and context around it like a regular agent.
### Affected version
_No response_
### Steps to reproduce the behavior
1. run copilot-cli
2. ask it to run a command in subagent that require additional permission
3. find that permission itself got prompted, but reasoning/context isn't
### Expected behavior
I should be able to see which agent and its full glory
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.