Skip to content

[ENHANCEMENT] Add Checkpoints in the Orchestrator mode #10623

@mdziekon

Description

@mdziekon

Problem (one or two sentences)

Right now, it is cumbersome to leverage Checkpoints feature from the Orchestrator mode's session view. As far as I can see, there are no Checkpoints created in this mode, however it is possible to reach into a subtask and try to revert from that place. But there are two problems with that: first, there's no easily accessible hierarchical navigation between subtasks (eg. going from parent by selecting specific subtask, and going back to parent from a subtask); and second, restoring from "not last" subtask is probably an error-prone action.

Context (who is affected and when)

Checkpoints in Orchestrator mode could be useful for situations where a subtask has been delegated, but ultimately the developer is not happy with the subtask's result (eg. the implementation is completely borked, and a different approach / prompt is necessary). With Checkpoints in Orchestrator, especially points created right before subtask delegation, it could be possible to restore to a place from before subtask delegation, effectively reverting that subtask's effects.

Desired behavior (conceptual, not technical)

When in Orchestrator mode, and when a subtask is being delegated - create a Checkpoint right before agent starts working on the subtask.

Later on, this Checkpoint should allow restoring both code and session conversation to the state from before the subtask has started.

Constraints / preferences (optional)

  • It might be necessary to work on the hierarchical view of tasks first, I believe there's an issue for that already here: [ENHANCEMENT]: Aggregate subtask costs and improve hierarchy visualization in Orchestrator/Boomerang mode #5376 Technically, hierarchical navigation would already be an improvement, therefore this proposal should be considered as "future enhancement request", if that makes sense.
  • As far as I can tell, when editing User messages in the Orchestrator mode, it offers a Checkpoint restore, therefore I suspect it should be possible to implement it on a subtask basis as well.

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

No response

Proposed approach (optional)

No response

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestIssue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions