Skip to content

fix(transcript): fold finished groups as the turn moves on - #2585

Merged
Tioit-Wang merged 1 commit into
mainfrom
fix/transcript-fold-previous-groups
Nov 25, 2026
Merged

Tioit-Wang merged 1 commit into
mainfrom
fix/transcript-fold-previous-groups

Conversation

@Tioit-Wang

Copy link
Copy Markdown
Collaborator

Summary

  • With Fold finished groups on, an untouched activity group folds when the turn moves on, in both Commands first and Fully folded. The current group and any group with work still running remain open by default.
  • Preserve manual disclosure choices and reading holds; turning the setting off leaves previous groups open. Flat mode, the outer process, tool details, and settings storage are unchanged.
  • Update localized help and the turn-process UX spec, ADR, and E2E scenario.

Verification

  • Candidate d351bb807; base 649c3456af65. PR base check, 55 targeted tests, Biome, and style-token checks passed.
  • On Windows, the isolated Electron transcript runner passed all four renderer phases, including the 61-check folding probe (both layouts, switch changes, manual reopening, and a running tool in a previous group) and long-history render counts.
  • The full runner could not pass its final, unrelated context-overflow runtime scenario: the local Pi SDK cache lacks pi-ai/dist/utils/hosted-search.js. Draft pending CI on a clean locked dependency install.

A turn can continue long after its earlier activity groups finish. Base
folding on the current segment and in-flight work instead of the whole
turn, while preserving manual disclosure choices and reading holds.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pi-desktop with  Cloudflare Pages  Cloudflare Pages

Latest commit: d351bb8
Status: ✅  Deploy successful!
Preview URL: https://9e5ef572.pi-desktop.pages.dev
Branch Preview URL: https://fix-transcript-fold-previous.pi-desktop.pages.dev

View logs

@Tioit-Wang
Tioit-Wang marked this pull request as ready for review November 25, 2026 09:04
@Tioit-Wang
Tioit-Wang merged commit eaabecf into main Nov 25, 2026
10 of 11 checks passed
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