Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#444 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
clojure
领域
tooling

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Clojure
星标
1k
派生
82
平均合并
3 天 39 分钟
30 天内合并 PR
15

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

editor-code-assistant/eca 的其他 Issue

查看 editor-code-assistant/eca 的全部 Issue

相似的 Issue

更多 Clojure Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。