iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🪃

Task Orchestration with Boomerang Tasks in Roo Code

に公開

About Roo Code

A fork of Cline
While many unique features have been added making it easy to use, prompts tend to get longer, leading to rising costs.
https://github.com/RooVetGit/Roo-Code

About Boomerang Tasks

Most of it is summarized here, but to provide a summary:
https://docs.roocode.com/features/boomerang-tasks

  • Roo Code allows you to set up custom modes.
  • Within that, you can configure a "Boomerang Tasks" mode.
  • It automatically splits child tasks from the parent task into separate sessions (this is truly amazing).
  • It automatically assigns them to Architect or Code modes and works smoothly.
  • Since it doesn't bloat the context length, tasks fit nicely within the context on a per-task basis.
  • It's a bit of a wild horse; it would be even better if it could be controlled more precisely.

A modest illustration

Parent

Part of a child

Why it's good

I have repeatedly mentioned that both Cursor and Cline face issues because context length becomes strained.
https://zenn.dev/tesla/articles/ade9883b2f62c9

I also mentioned that Cline's localized code understanding is a way to save tokens due to context length limitations.
https://zenn.dev/tesla/articles/33d196d17bf3bb

However, Boomerang Tasks allows the parent task's context to be kept to a minimum. Since large refactors can be handled by breaking them down into small child tasks, it can avoid various issues caused by context length bloat.

It also allows for a much broader scope to be completed in one go.
https://zenn.dev/erukiti/articles/2503-cline-express

Also, what I've been saying before was about issue management within a single session, so I'm very happy to see this achieved (Wait, who am I?).
https://x.com/tesla0225/status/1905196207879712983

I've been trying things like the Manager-Executor pattern around here.
https://zenn.dev/tesla/articles/8bda33347b3c54

Conclusion

If you haven't used it yet, go try it right now.
Since parallel tasks are impossible for humans to handle, I think Cursor and the original (Cline) will likely follow suit.

An example of why it's impossible:
https://zenn.dev/tesla/articles/3768e558b73ad8

Bonus

Please follow me if you'd like! (200k, 1M, and 32k refer to the context window sizes.)
https://x.com/tesla0225/status/1908318453716647950

Discussion