Skip to content

GA "plan" context preservation through compaction #1464

@stirby

Description

@stirby

UPDATE: Completed, needs to be brought out of experimental.

Issue statement

When users conduct a plan, we can presume that's high-value context they expect to preserve through execution. If the execution of that plan exceeds the context compression threshold, the meticulously crafted plan maybe compacted with the chat.

Proposed behavior

When autocompaction runs after any plan has been created (using plan mode), the contents of that plan. Should be completely preserved through compaction.

Open questions

When /compact is run, we could prompt the user to preserve the plan context. I am not sure if indefinitely storing the plan is really a viable strategy.

If a user ever decides to run multiple plans in a single chat, do we preserve all context? Or just the latest plan?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions