Repository navigation
feat(transcript): disclose stored compaction summaries - #2655
Merged
Merged
Conversation
Make completed compaction summaries explicitly readable and keyboard accessible while keeping them collapsed by default. Preserve transcript navigation and avoid extra Host reads.
Deploying pi-desktop with
|
| Latest commit: |
156d3cc
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6ad78da7.pi-desktop.pages.dev |
| Branch Preview URL: | https://feat-2630-compaction-summary.pi-desktop.pages.dev |
zergfff
added a commit
to zergfff/PI-Desktop-fork
that referenced
this pull request
Nov 30, 2026
Ported from vastsa/PI-Desktop v0.24.0-beta.7 (bug fixes only; the release's features were left for a later rebase): vastsa#2625 quarantine rejected outbox appends instead of retrying them forever vastsa#2574 settle live turns and tool rows when the sidecar dies mid-stream vastsa#2578 native Pi turns stay stoppable after a reload vastsa#2634 the task badge mirrors work that is still running vastsa#2639 let Arabic and Hebrew paragraphs choose their own side vastsa#2640 stop a renderer crash loop with one GPU-less relaunch, then a dialog vastsa#2642 reject differing spellings of one tool argument vastsa#2655 compaction summaries open on demand in the transcript
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.
What
Disclose stored compaction summaries in the transcript as an expandable row
instead of hiding them behind an opaque "context compacted" marker.
Why
Compaction summaries are persisted, but the transcript only showed a marker.
Users could not inspect what the model was actually given after compaction,
which made post-compaction behaviour hard to reason about and hard to report.
The row renders the stored summary text, stays collapsed by default, and
reuses the existing collapsible row primitive. Disclosure state is local to the
row; it does not change transcript scroll position for other rows.
Validation
pnpm build:jspasspnpm --filter @pi-desktop/desktop typecheckpasscompaction-summary-user-path,context-compactiongit diff --checkcleanRebased onto
origin/main@325167720.Spec / ADR
docs/adr/0064-codex-parity-context-compaction.mddocs/spec/04-ux/08-component-spec.mddocs/spec/04-ux/09-interaction-patterns.mddocs/spec/06-delivery/04-e2e-test-plan.mddocs/spec/06-delivery/e2e/conversation.md