Skip to content

[ENHANCEMENT] Auto Clean Task History #8172

@NaccOll

Description

@NaccOll

Problem (one or two sentences)

RooCode creates a new Task Id for each new conversation. If the user turns on the checkpoint function, this will cause the disk space to expand rapidly.

Context (who is affected and when)

People who enable checkpointing and work in large repositories

Desired behavior (conceptual, not technical)

Automatically clean up task history (mainly checkpoints)

When the number of task histories reaches the default upper limit, or the disk space reaches the default upper limit, or old tasks (more than 7 days ago) are automatically cleaned up

Constraints / preferences (optional)

It is best to clean up during idle time to avoid affecting the user's current work tasks.
Regarding the auto clean setting of thresholds, it is best to allow users to configure them.
In order not to affect old behavior, this feature should be turned off by default.

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

Type

No type

Projects

Status

Issue [Marketplace]

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions