It's not clear what sub-agent permissions are allowed if multiple shell patterns are defined
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
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ả
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của editor-code-assistant/eca
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
editor-code-assistant/eca#655 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
editor-code-assistant/eca#652 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
editor-code-assistant/eca#648 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
editor-code-assistant/eca#644 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Add the ability to see what changed in the system promptCó thể đã có người làm @zikajk đã nhận 10 ngày trước. Đang mởenhancement
editor-code-assistant/eca#642 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của editor-code-assistant/eca
Issue tương tự
-
Usage analytics `v_tables` ignores table metadata set by users (`metabase_table_user_settings`)Đang mở.Needs Triage .Team/Graphy Priority:P3 Type:Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
metabase/metabase#84762 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NoahTheDuke/splint#57 · 1 bình luận ·
-
category:runtime
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
jank-lang/jank#1110 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
IOP MCP
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
calcit-lang/calcit#2133 ·
Maintainer thường phản hồi trong vòng 1 ngày