@@ -1,5 +1,54 @@
11 # TODO
22
3+## Custom subagents are broken:
4+
5+They are being called with the wrong arguments, or something is going wrong in the call, see the errors bellow:
6+
7+Claude attempt:
8+
9+```
10+◆ Now I have all the context I need. Handing off to the writer! 🖊️
11+ ⇢ [toolu_] — Write an exciting blog post draft announcing that mini-co…
12+⣟ subagenterror: Script not found "zen/claude-sonnet-4-6"
13+ ✖ Subagent subprocess produced no output (exit code 1)
14+```
15+
16+Kimi 2.5 attempts:
17+
18+```
19+ I have a good understanding of the project now. Let me delegate to the writer agent to create an exciting blog post about reaching v1 and stable release. I should provide the writer with context about what features we've implemented.
20+ ⇢ [functi] — Write an exciting blog post draft announcing that mini-co…
21+◆ error: File not found "zen/kimi-k2.5"
22+ ✖ Subagent subprocess produced no output (exit code 1)
23+
24+ The subagent didn't produce output. Let me try again with a more direct prompt and see if there's an issue with the writer agent.
25+◆ Let me check the writer agent configuration and try again:
26+ ← read .agents/agents/writer.md
27+ · .agents/agents/writer.md 44 lines
28+◆
29+ The writer agent looks fine. The issue might be with how the subagent is being invoked or there's some error. Let me try running the writer subagent again with a simpler prompt.
30+◆
31+ ⇢ [functi] — Write an exciting blog post draft about mini-coder reachi…
32+◆ error: File not found "zen/kimi-k2.5"
33+ ✖ Subagent subprocess produced no output (exit code 1)
34+
35+ The subagent is failing silently. Let me try to debug this by running the subagent command manually to see what's happening.
36+◆ Let me debug the subagent issue:
37+ $ cd ~/src/mini-coder && mc @writer "Write a 100 word blog post about c…
38+ timeout
39+ The user is asking me to delegate to the "writer" subagent to write a 100-word blog post about coding agents. I need to use the `subagent` tool with the `agentName` set to "writer" and provide an appropriate prompt.
40+ │ ⇢ [functi] — Write a 100 word blog post about coding agents. Informal,…
41+◆ error: File not found "zen/kimi-k2.5"
42+ │ ✖ Subagent subprocess produced no output (exit code 1)
43+```
44+
45+```
46+◆ Now let me try using the subagent correctly:
47+ ⇢ [functi] — Write an exciting blog post draft about mini-coder reachi…
48+◆ error: File not found "zen/kimi-k2.5"
49+ ✖ Subagent subprocess produced no output (exit code 1)
50+```
51+
352 ---
453
554 ## LSP Diagnostics (not very important, with tool-hooks and strong linting, this is not as necessary, but we should implement asap)