RFD for Interactive Compaction - #929
Open
rxgrant wants to merge 1 commit into
Open
Conversation
JeanMertz
reviewed
Aug 3, 2026
| A summary that drops the current task state, or that covers a range ending in | ||
| the middle of an unfinished topic, misleads the model worse than the long | ||
| conversation it replaced. | ||
| `compact --reset` removes every compaction event, not just the bad one, so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RFD D46 adds an interactive mode to
jp conversation compact. Instead of applying a summary blind, the user reviews and revises a proposed compaction by chatting with the model in a forked "compaction conversation", then applies the agreed result to the source with--continue(or discards it with--abort).The review negotiates every field of an RFD 064
Compactionproposal (turn range, summary text, reasoning and tool-call policies), with each revision recorded as a call to a new built-inpropose_compactiontool that JP validates against the source conversation as it is made. Compaction does not need other tools from the jp-tools kit to be active in the conversation; for instance, it does not need to give the LLM permission to read any files.