subagent permission approval lacks context and is confusing
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire l’invite d’autorisation avec les étapes copilot-cli indiquées, puis suivez le flux d’approbation des autorisations du subagent. Le travail est considéré comme terminé lorsque l’invite affiche la commande complète, l’identité de l’agent, le raisonnement ou le contexte pertinent, ainsi que la portée réelle du répertoire, au lieu d’afficher uniquement "/".
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- cli, security
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100