Allow passing of context back to main agent, and enhance agent review system to sync with agent made git changes

Feature request for product/service

Cursor IDE

Describe the request

Allow passing of context back to main agent.

  1. Start plan in plan mode
  2. Delegate tasks from created plan to sub agents (duplicate chat w/ worktree enabled)
  3. When tasks are done have a way to integrate only the important context back to main agent

Note: Right now passing context back up isn’t available, and a lot of the times if the agent does things like commit or push things for you, the reviewed files become out-dated and disconnected from the main working directory and worktrees that you’re working in. e.g. I have 14 files to review in my sub-agent (worktree), my main working dir is on a random branch, and i have to keep communicating to my worktree to commit and push or review things because it still thinks old files need to be reviewed.

So, as part of this feature I think there needs to be an enhancement in the “X Files Edited [Review]” box to keep it sync’d if the agent does git things for you.

Operating System (if it applies)

MacOS