[FEATURE] Hierarchical planning and execution.
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When implementing something sufficiently complicated, Claude would often create a good plan, but then be unable to execute because the steps of the plan are not something it can 1-shot correctly. It would be great to be able to put into a "hierarchical planning and execution" mode, where for each step of the outer plan, it would go into an inner planning more, then execute the inter plan (with or without my approval), then proceed onto the next outer step. Of course both the inner and outer plan should have a Todo.
Proposed Solution
A natural way would be for Claude code to know to spawn a effectively a copy of itself as an agent for executing each step of the outer plan - of course providing that other copy with all the relevant context / etc
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Interactive mode (TUI)
Use Case Example
_No response_
Additional Context
_No response_
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗