Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

It's not clear what sub-agent permissions are allowed if multiple shell patterns are defined

Aperta
#444 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
clojure
Ambito
tooling

Direzione di ricerca

Start by locating the code that parses sub-agent tool permissions and the /subagents display; the issue does not name specific files or tests. Trace how multiple eca__shell_command(...) patterns are represented and displayed, then check the relevant tests. Done when the display makes the enabled shell patterns clear and helps explain why a permission was allowed or denied.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Please avoid AI slops, be concise, and focus on what matters for this issue.

Describe the bug

I have a sub-agent defined with the following permissions:

---
mode: subagent
description: A subagent to run qemu helper tasks such as code exploration, building and issue handling
inherit: general
model: google/models/gemini-flash-latest
tools:
  allow:
    - eca__compact_chat
    - eca__directory_tree
    - eca__editor_diagnostics
    - eca__fetch_rule
    - eca__grep
    - eca__read_file
    - eca__skill
    - eca__task
    - eca__bg_job
    - eca__shell_command(ls)
    - eca__shell_command(global)
    - eca__shell_command(git grep)
    - eca__shell_command(git diff(\s+.*)?)
    - eca__shell_command(glab issue view)
    - eca__shell_command(glab issue list)
    - eca__shell_command(make)
---

You should check what skills are available, there is likely a skill available for the task you've been asked to do.

However when running the sub-agent I keep getting prompted for things that should be good to go. However /subagents indicates there is only one allow permission:

/subagents


Subagents available:

- **explorer**: Codebase search specialist. Focuses on finding and reading file contents without modifying the system.

  Tool permissions:
  Default: ask
  Allow: eca__compact_chat, eca__directory_tree, eca__editor_diagnostics, eca__fetch_rule, eca__grep, eca__read_file, eca__shell_command, eca__skill, eca__task
  Deny: eca__shell_command

- **general**: General-purpose agent for researching complex questions and executing multi-step tasks. 
Use this agent to execute multiple units of work in parallel.


- **qemu-helper-agent**: A subagent to run qemu helper tasks such as code exploration, building and issue handling
  Model: google/models/gemini-flash-latest
  Tool permissions:
  Allow: eca__bg_job, eca__compact_chat, eca__directory_tree, eca__editor_diagnostics, eca__fetch_rule, eca__grep, eca__read_file, eca__shell_command, eca__skill, eca__task

Expected behaviour

The subagents display should clearly show which shell patterns are enabled.A clear and concise description of what you expected to happen. It would be useful to find out why a tool permission was allowed or denied.

Lingua principale
Clojure
Stelle
1k
Fork
82
Merge medio
1g 19h
PR unite (30g)
18

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di editor-code-assistant/eca

Tutte le issue di editor-code-assistant/eca

Issue simili

Altre issue su Clojure

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.