Repository navigation
Conversation
Co-authored-by: OpenAI Codex <noreply@openai.com>
johnnyhuy
marked this pull request as ready for review
November 29, 2026 23:44
Contributor
Author
|
Closing as a duplicate. This slice shipped as #96, which merged into main as 30177c7. The branch also conflicts with main now that the feature has landed. The merged pull request adds the exit recovery layout bound and the short window media query that keep the transcript readable while the handoff form is open, and exposes openSession on the workbench hook so the empty transcript guard is testable. The branch is deleted with this pull request. |
johnnyhuy
deleted the
ao/continue-building-pidex-3/agent/issue-94-exited-handoff
branch
November 30, 2026 00:47
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.
Exited tabs now offer Continue in another root for their retained transcript, including when the saved archive is missing or Pi never supplied one. Preparing the handoff appends the existing snapshot Markdown to the destination's new-session draft, preserves existing destination text and the source's unsent draft, and waits for an explicit Send before opening Pi.
The destination form identifies the snapshot as potentially incomplete. Live and empty tabs, unavailable destinations and the source root cannot prepare a handoff. Short windows keep the transcript readable with a scrollable recovery panel and compact disabled composer.
Part of #4.
Closes #94.
Verification
bun install --frozen-lockfilepassed through the pinned mise environment.mise run buildpassed lint, all three TypeScript projects, 115 unit tests, 134 integration tests and production bundling.mise exec -- bun run test:e2e tests/e2e/session-activity.test.tspassed all 6 tests.c1c95c7, including the full CI gate.rpc.jsonlfixture logs and a transcript timing failure insession-tree.test.ts, plus slow cleanup. The focused changed-surface suite passed locally; the complete suite passed in CI on this commit.git diff --checkpassed.Proof
The new Electron case removes the source archive, prepares a draft in a different workspace group using the keyboard, checks that existing destination text is preserved, excludes the source's unsent draft and saved-selection claims, and verifies that preparation issues no runtime requests. Returning to the source tab preserves its disabled unsent draft. Hook tests also cover unavailable and invalid destinations, live/empty tabs, and a runtime with no archive path. The app integration test exercises the visible snapshot wording and preparation action.
Captured and visually inspected
.tmp/proof/exited-session-handoff.pngat 1280 x 840,.tmp/proof/exited-session-handoff-minimum.pngat 900 x 600 and.tmp/proof/exited-session-prepared-draft.png. Electron also writes these captures undertest-results/session-activity/in the uploaded CI pidex-e2e artefact. Local output is.tmp/proof/session-activity.log,.tmp/proof/e2e.logand.tmp/proof/build.log.Limits
A retained transcript may be incomplete and disappears after closing the app unless saved. Preparing the draft transfers context and does not restore files or create a resumable archive. Validation uses deterministic Pi RPC fixtures; no live provider was used.