-
Notifications
You must be signed in to change notification settings - Fork 8
[Task] Harden interaction locks and session route ownership #413
Copy link
Copy link
Closed
Labels
P1High priorityHigh priorityappApplication behavior and product flowsApplication behavior and product flowsplatformElectron shell, OS integration, packaging, updater, signing, paths, and permissionsElectron shell, OS integration, packaging, updater, signing, paths, and permissionstaskNarrow execution, audit, spike, migration, tracking, or upstream follow-up workNarrow execution, audit, spike, migration, tracking, or upstream follow-up workuiDesign system and user interfaceDesign system and user interface
Metadata
Metadata
Assignees
Labels
P1High priorityHigh priorityappApplication behavior and product flowsApplication behavior and product flowsplatformElectron shell, OS integration, packaging, updater, signing, paths, and permissionsElectron shell, OS integration, packaging, updater, signing, paths, and permissionstaskNarrow execution, audit, spike, migration, tracking, or upstream follow-up workNarrow execution, audit, spike, migration, tracking, or upstream follow-up workuiDesign system and user interfaceDesign system and user interface
Goal
PawWork should keep the immediate fixes from #412, then harden the two boundaries that made the May 4 packaged-app failure dangerous:
/:dir/session/:idmust not be overwritten by project-opening or layout sync logic.When this is done, the app should have a clear ownership rule for these interactions, plus regression coverage that exercises the delayed failure modes.
Scope
In scope:
pointer-eventsdisabling where it can deadlock the UI.openProject(projectRoot),openSession(directory, id), andnewSession(directory)./:dir/session/:idroute.Out of scope:
Relevant files or context
Context:
Likely files:
packages/app/src/pages/layout.tsxpackages/app/src/pages/layout/sidebar-items.tsxpackages/app/src/pages/layout/pawwork-sidebar.tsxpackages/app/src/pages/session/helpers.tspackages/app/src/pages/session/session-side-panel.tsxpackages/ui/src/components/resize-handle.tsxpackages/app/e2e/sidebar/sidebar-session-links.spec.tspackages/app/e2e/commands/panels.spec.tsVerification
/:dir/session/:idafter a delayed stability window, not just immediately after the click./:root/session.Execution mode
Agent should investigate and propose a plan first