-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed as duplicate of#8081
Labels
Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.Valid, but needs effort estimate or design input before work can start.bugSomething isn't workingSomething isn't working
Description
Problem Description
When VS Code reloads the RooCode extension, parent-child task relationships are lost. This means:
- Subtask context is lost - Child tasks can no longer return to their parent tasks
- Task hierarchy is lost - The original task stack structure cannot be reconstructed
- Workflow continuity is broken - Users cannot resume complex multi-step workflows
Current Behavior
- ✅ Individual tasks are preserved in history
- ✅ Task mode is preserved
- ✅ Task conversations are saved
- ❌ Parent-child relationships are lost
- ❌ Task hierarchy cannot be reconstructed
- ❌ Subtask context is lost
Expected Behavior
After extension reload, users should be able to:
- Resume parent tasks from child tasks
- See the complete task hierarchy in history
- Continue workflows that span multiple tasks
Technical Details
The issue stems from the HistoryItem schema not including parent-child relationship fields. The Task class stores parent relationships only in memory as Task object references, not as persistent IDs.
Impact
This limitation prevents RooCode from being used for persistent workflows that require:
- Multi-step task orchestration
- Complex problem-solving workflows
- Long-running development processes
- Task delegation and coordination
Suggested Solution
Extend the HistoryItem schema to include:
- parentTaskId?: string - ID of the parent task
- rootTaskId?: string - ID of the root task in the hierarchy
- taskHierarchy?: string[] - Array of task IDs in the hierarchy
This would allow reconstruction of the task hierarchy after extension reload.
Related
This is related to the broader limitation that RooCode is not a workflow engine, but this specific issue prevents even basic parent-child task persistence.
Metadata
Metadata
Assignees
Labels
Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.Valid, but needs effort estimate or design input before work can start.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done