Description
When an agent delegates a task to a sub-agent, the following error occurs:
Error: rtk find does not support compound predicates or actions (e.g. -not, -exec). Use find directly.
Steps to Reproduce
- Run an agent that delegates a task to a sub-agent
- Sub-agent attempts to use
rtk find with compound predicates (e.g. -not, -exec)
- Error is thrown
Expected Behavior
Sub-agent should either:
- Use
find directly instead of rtk find, or
rtk find should support compound predicates/actions
Actual Behavior
Error is thrown and the delegation fails.
Environment
- rtk version: 0.31.0
- OS: Fedora