Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#444 4 bình luận 2 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
clojure
Lĩnh vực
tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Clojure
Star
1k
Fork
82
Merge trung bình
3 ngày 39 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của editor-code-assistant/eca

Tất cả issue của editor-code-assistant/eca

Issue tương tự

Thêm issue về Clojure

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.