Repository navigation
Keep locally owned chats accessible when a UUID trips the child privacy filter - #718
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes across local chat reads, activity, pending attention, retained stream ownership, and chat ID creation, including their callers and privacy boundaries.
- Owner-bound reads: Transcript and provisional recovery metadata must match the requested chat, with workspace consistency checked when a transcript is present.
- Activity and attention: Independently known local UUIDs remain usable without allowing unknown filtered Bot IDs to suppress other chats' activity or approvals.
- Stream recovery: Detached and observed runs retain local ownership, while terminal transcripts remain bound to the retained stream, chat, and workspace.
- UUID creation and privacy: New draft, Bot, and fork UUIDs are screened before use; global child snapshot validation remains strict. The saved-chat contract is documented.
- Verification: All 290 focused tests run during review passed. Electron E2E and native mobile suites were not rerun; several hosted CI jobs were still pending at inspection.
gpt-6.1-sol | 𝕏
This was referenced Nov 3, 2026
This was referenced Nov 3, 2026
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.

Failure and scope
On main
c975f6e77, a real desktop draft with the valid UUIDd2492706-6417-42f1-974d-0c12a2fad0b4saved successfully. Reopening it invoked the child identifier privacy heuristic on the chat ID. That heuristic interpreted a random UUID segment as encoded private text. The app showed “This chat could not be loaded. Try again.”In an isolated Linux Cua Space, forcing this UUID with the local provider fixture reproduced three original Playwright failures with zero retries: saved approval recovery (interrupted-question-resume.spec.ts:151), second send (workspace-settings.spec.ts:32) and Snooze approval (inbox-sidebar.spec.ts:190). The first two also failed on #703's previous head. Hosted logs contained the same notice and assertion locations, but did not retain the chat IDs. #703 Linux job · Earlier Snooze job
Change
A local read now matches the requested chat against the returned transcript and recovery marker. Activity recognizes a filtered UUID only through independently known local owners. Older Bot UUIDs outside the regular index cannot hide another chat's approval. Detached and observed runs retain their local owner, and a terminal transcript must match its retained stream, chat and workspace. New draft, fork and Bot chat IDs are screened before use. The global child privacy validator stays strict, including for UUID-shaped text that encodes a path.
Verification
c5d372c3f, all three original cases passed with the same forced UUID, a local provider fixture, one worker and zero retries (30.9 s).Hosted validation gap: run 41556368490, Electron E2E (3/3) on exact head
c5d372c3fbacc1120b9966c88423f22a6d2d309bwas cancelled by the annotated 20-minute job budget. It started 108 of 117 tests; the last wastests/e2e/workspace-panel.spec.ts:210, Quick View docking/floating. No assertion failure or flaky result appeared before cancellation; unfinished coverage is not a pass. No manual rerun has executed. One recovery is deferred until the entire workflow is terminal, with exact-head revalidation. Timeout, worker, retry and fail-on-flaky policy remain unchanged. This PR remains open.Recovery update: after the entire workflow became terminal and exact head
c5d372c3fbacc1120b9966c88423f22a6d2d309bwas reverified, the single allowed recovery was accepted for the cancelled shard3 job. Its one executed manual-rerun budget is now spent; result pending. The original 20-minute /108-of-117 coverage gap remains recorded above. No timeout, worker, retry or flaky-test policy changes.Recovery result: the single executed shard3 recovery job 125727652529 passed. All 24 applicable checks, including every required context, are now green on exact head
c5d372c3fbacc1120b9966c88423f22a6d2d309b, with no unresolved review threads at the supervisor snapshot. The original 20-minute budget failure is retained above; the manual recovery budget is spent. This PR remains open.Fresh main and the hosted Remote approval UUID
Regular merge
a983c12789098e604ad8d845b6839de7bd7d345aincorporates maincad91dc2c(#609). The 47 upstream files are byte-identical to main, and the 22 files in this PR are byte-identical to the previously reviewed head. The complete package script inventory includes main’s workspace-artifact, MCP launch-review and Linux contract suites. The Remote contract, both native clients, OpenAPI and shared fixture retain revision 53.The #715 hosted job captured the actual missing Inbox row UUID,
a9762f97-b864-4eb0-a13a-217127305bb1. On the unchanged #715 head the local Electron reproduction lost that row, while the safe control passed. On this merge head, both the hosted UUID and safe control passed the complete flow in 22.3 seconds with one worker, zero retries and a local provider. The fixture asserted each persisted ID before relaunch, opened the approval from the keyboard and the row, checked Deny focus, approved it and verified the switch to Working. This is direct evidence for the #715 failure. Earlier #703 and #704 logs did not retain their UUIDs.Local checks passed: 381 focused ownership, privacy, lifecycle, Remote and storage/MCP tests, 33 IPC/read-marker tests, 364 iOS tests, and 146 Android tests. Root, CLI and E2E TypeScript passed. The standalone CLI type check used its own lockfile install. Scoped lint passed. Full workspace lint picked up a previous Cua test report’s generated JavaScript; the same command on a clean archive of this exact head passed.