Skip to content

feat(transcript): disclose stored compaction summaries - #2655

Merged
Tioit-Wang merged 3 commits into
mainfrom
feat/2630-compaction-summary
Nov 29, 2026
Merged

Tioit-Wang merged 3 commits into
mainfrom
feat/2630-compaction-summary

Conversation

@Tioit-Wang

Copy link
Copy Markdown
Collaborator

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:js pass
  • pnpm --filter @pi-desktop/desktop typecheck pass
  • focused tests 14/14: compaction-summary-user-path, context-compaction
  • git diff --check clean

Rebased onto origin/main @ 325167720.

Spec / ADR

  • docs/adr/0064-codex-parity-context-compaction.md
  • docs/spec/04-ux/08-component-spec.md
  • docs/spec/04-ux/09-interaction-patterns.md
  • docs/spec/06-delivery/04-e2e-test-plan.md
  • docs/spec/06-delivery/e2e/conversation.md

Make completed compaction summaries explicitly readable and keyboard accessible while keeping them collapsed by default. Preserve transcript navigation and avoid extra Host reads.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Deploying pi-desktop with  Cloudflare Pages  Cloudflare Pages

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

View logs

@Tioit-Wang
Tioit-Wang merged commit a80d69d into main Nov 29, 2026
7 checks passed
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant