Skip to content

[BUG] Context Condensing Initial Prompt Preservation Should Be Optional #8093

@enerage

Description

@enerage

Context condensing currently always preserves/includes the initial prompt in the condensed context. This causes RooCode to restart previously completed tasks when they get reintroduced through the preserved initial prompt.

Impact
Tasks that were already resolved are being restarted after context condensing
This creates unnecessary work and potential confusion in the workflow
Users have no control over this behavior

Proposed Solution
Make initial prompt preservation conditional on the experimental power-steering feature being enabled. This would:

Give users control over whether they want this behavior
Prevent task restarts for users who don't need the preservation feature
Maintain backward compatibility for existing workflows

Issue reported on: September 17, 2025
This behavior change was introduced recently
Affects task management and workflow efficiency

Context (who is affected and when)

All users

Reproduction steps

Complete a task in RooCode
Trigger context condensing
Observe that the initial prompt is preserved in condensed context
Note that RooCode attempts to restart the previously completed task

Expected result

Initial prompt preservation should only occur when power-steering is explicitly enabled by the user.

Actual result

Initial prompt is always preserved during context condensing, regardless of user preferences.

Variations tried (optional)

No response

App Version

3.28.3

API Provider (optional)

OpenAI

Model Used (optional)

GPT5-High-Codex

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions