What happened?
When I used/understood-anything --language zh, I encountered a problem where the child agent kept creating child agents infinitely. Has anyone else encountered this issue?
Minimal reproduction
No response
Plugin version
2.7.7
Platform / client
Claude Code (CLI)
OS + Node version
Windows 11 + Nodev22.14.0
Primary language of the analyzed project
C#
Approximate file count of the analyzed project
1322
Relevant logs
I used AI to troubleshoot the problem. This is the troubleshooting result provided by AI :
● 找到了!问题的根本原因:
真正的死循环原因
从日志中可以看到:
1. 子代理收到了技能列表(包括 understand-anything:understand 等)
2. 子代理尝试调用 Agent 工具派生另一个子代理:
{"name":"Agent","type":"tool_use","input":{"subagent_type":"understand-anything:project-scanner"...}}
这说明:
- 子代理 project-scanner 收到了任务
- 它看到可用的技能列表
- 它认为应该派生另一个 project-scanner 子代理来完成任务
- 这形成了子代理派生子代理的无限递归
What happened?
When I used/understood-anything --language zh, I encountered a problem where the child agent kept creating child agents infinitely. Has anyone else encountered this issue?
Minimal reproduction
No response
Plugin version
2.7.7
Platform / client
Claude Code (CLI)
OS + Node version
Windows 11 + Nodev22.14.0
Primary language of the analyzed project
C#
Approximate file count of the analyzed project
1322
Relevant logs