Repository navigation
Keep No workspace copies and first sends in private folders - #714
Conversation
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the private-folder assignment, first-send skill handoff, copy/fork lifecycle, and native-client integration across all changed files; 226 focused tests passed. Native mobile suites and full Electron E2E were not run in this review.
- Shared reservations: Main-process assignment excludes concurrent private-folder claims and retains uncertain commit targets for reconciliation.
- First sends: Private-folder allocation now happens after receipt replay checks, preserving the selected skill's source authority while binding the saved chat and prepared turn to the destination.
- Copies and forks: No workspace copies receive separate empty folders and independent access; named-workspace sharing and existing persisted data remain unchanged.
- Client handoff: Desktop refreshes workspace metadata before opening copies, iOS validates fork lineage and follows the returned workspace, and Android coverage verifies distinct-workspace caching.
- Documentation and tests: Product and API guidance describe the behavior, with focused coverage for isolation, reservation exclusion, cleanup, replay, skills, and mobile composer handoffs.
gpt-6.1-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the delta since c8295f1, focusing on the startup initialization fix, dependency integration, and added Electron behavior coverage.
- Deferred workspace initialization: Replaced eager workspace-singleton imports with callback-local dynamic imports in first-send and fork wiring, preserving assignment and cleanup behavior; production bundle inspection confirmed deferred evaluation.
- Expanded Electron coverage: Added startup create/read IPC checks, private copy/fork file and access isolation with follow-up sends, and selected-skill first-turn coverage after private-folder allocation.
- Integrated dependencies: Merged current main and the owner-bound chat-read dependency, and recorded startup reproduction and validation limits in project memory.
Validation: 178 focused tests passed, along with application/E2E type checks, scoped ESLint, and the standalone production Electron bundle build. Electron E2E was not run here: the full build failed because pkg-config could not find gio-unix-2.0 and libsecret-1; Linux prerequisite configuration was also blocked by sudo: The "no new privileges" flag is set, which prevents sudo from running as root. Native suites were not rerun in this review.
gpt-6.1-sol | 𝕏
Keep main's workspace lookup for chat analytics with the main-owned private folder assignment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the d84cbc2..602164f merge delta, focusing on the interaction between private-folder first sends and the workspace-aware analytics now on main.
- Integrated current main: Merged
origin/mainwhile retaining callback-local workspace-service loading, private-folder reservation, source-bound skill validation, and destination-bound first-turn execution. - Preserved creation analytics: Replaced the old boolean workspace check with the real workspace record, so durable first sends report
chat_createdonce with the establishedfolder,scratch,worktree, ornoneclassification without changing replay or cleanup behavior. - Validated affected paths: 153 focused first-send, workspace, fork, analytics, and Remote tests passed, along with the root TypeScript check. The broader worktree suite passed 14/15; its interrupted-worktree rollback case failed twice in code identical to current
main, before the PR-modified committer runs, so it is not a PR-scoped regression.
@v0 or keep the SHA fresh with Dependabot | View workflow run | Using GPT Sol | 𝕏

A populated No workspace copy/fork retained its source's private folder and mutable access setting. A first send that allocated a new folder also invalidated its already-selected skill. The host now reserves private workspace assignments across first-send, fork/copy, and supported phone creation until commit and cleanup settle. New populated copies/forks get independent empty folders and Ask first access. First-send skills keep their original selection authority while the turn belongs to the destination. iOS follows the returned workspace while checking fork lineage; Android already did. Existing shared copies and migrated shared homes keep their data.
Stacked on #718 (
feature/owner-bound-chat-reads), which owns the reviewed UUID and owner-bound read correction. That dependency was merged normally; its implementation was preserved. Current mainc975f6e77760d183e4fa548785ffde49423b5cb5was also merged normally. Remote remains revision 53, with the complete main test chain retained. No new wire contract or runtime network fetch is introduced here.The initial #714 head
c8295f11ba1856ca9b3ab0f5f182260a8f0ad465had a separate startup regression: eager workspace-singleton imports changed circular initialization, leaving the chat application service'sllmClientundefined. The workspace service is now resolved inside the first-send and fork workspace callbacks. Reservation and cleanup behavior is unchanged by that correction.Validation:
chats:createthrowing onrequiresAppendReconciliationon the original head and again on Keep No workspace copies and first sends in private folders #714 merged with current main (b22394caefda87835558cd52a1fb253ddb8a40f2). The same create/read control and ordinary No workspace/Workspace settings follow-up sends pass on current main. With only the lazy-import correction, all three controls pass with zero retries, before introducing the Keep locally owned chats accessible when a UUID trips the child privacy filter #718 dependency.The original Linux x64 job reported 33 distinct E2E failures before its one-hour budget expired. This was a product regression, not an infrastructure-only interruption. No manual hosted rerun was requested here, and test timeout, retry, and fail-on-flaky policies were not weakened. The coordinator owns hosted CI and review polling. Keep this PR and its dependency open.
Local environment gap:
follow-through-lifecycle.spec.ts:64(replaced-worktree/drain case) cannot get pastgit:createWorktreein the gVisor Space. ItsstatfsreportsavailableBytes=9223372034644681000(about 8 EiB), which fails the unchanged capacity guard's safe-integer check. The exact same case fails with the sameWorktreeCapacityUnavailableErroron unchanged mainc975f6e77760d183e4fa548785ffde49423b5cb5. This is not counted as a passing test. No capacity bypass or test-policy change was introduced.Limits: full Electron/native suites and physical-device acceptance have not run. Cua Space coverage is Linux arm64; hosted Linux x64/macOS exact-head checks, including the capacity-blocked case, remain outstanding. Older iOS clients with the previous workspace-equality check need the companion update to open new No workspace forks. PR #716 remains untouched at
f6710cb9bb93eced7a198b47805a665efb6f8a79.CI flakes on
602164f74Run 42186086604, attempt 1, had two failures. The whole run was rerun once, as the repo rules allow.
AidenChatTests.testCatalogRevocationRedactsPublishedTranscriptBeforePurgeCompletesfailed with "Expected caller to reach held chat write" (job 127788780111). This PR's iOS app change is only the fork response check, and it does not edit this test.tests/e2e/bots-persistence.spec.ts:10timed out waiting for the Bot's self-intro, passed on retry, and failed the job under--fail-on-flaky-tests(job 127827299073). The same spec also failed on Clean up Cua Spaces after e2e runs #780 in run 42173069005, on a commit without this PR's changes.