Skip to content

Commit 0fdbba9

Browse files
committed
chore(opencode): rule for diagnosing broken MCP subagents
1 parent cd5611c commit 0fdbba9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

home/dot_config/opencode/AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Load skills on-demand via the `skill` tool. Use subagents for delegated async wo
3333

3434
When delegating to subagents at session close, run them in sequence: one at a time, wait for each to complete.
3535

36+
If an MCP-backed subagent fails with "file not found" but the user confirms the file exists, suspect the MCP server's root or vault config before retrying. Verify the underlying MCP can resolve the path (e.g., a stats or list-directory call) before re-dispatching. If the MCP is broken, fall back to direct filesystem tools.
37+
3638
---
3739

3840
## Session close: mandatory

0 commit comments

Comments
 (0)